aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2009-07-27 10:53:46 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-07-27 10:53:46 -0400
commit4f1d0e8608ddf488316dffbe4cd9993bf3b22084 (patch)
tree8a541f944f131d3f3d90a3757971ad882ade87d7 /configure
parent1ef4118e0a55f47a32d44062a2c9dcd834f35037 (diff)
downloade2fsprogs-4f1d0e8608ddf488316dffbe4cd9993bf3b22084.tar.gz
e2fsprogs-4f1d0e8608ddf488316dffbe4cd9993bf3b22084.tar.xz
e2fsprogs-4f1d0e8608ddf488316dffbe4cd9993bf3b22084.zip
e4defrag: remove a lot of cruft
e4defrag.c had a lot of stuff copied into it from other places, redefinitions of existing interfaces, etc. We should be able to remove most of this, as the tool only works on recent kernels anyway, we should just pick up definitions from recent kernel headers whenever possible. I've left the local definitions of fallocate, fadvise (changed to posix_fadvise) and sync_file_range, and wrapped them in #ifdef configure-time tests - though really it seems like only fallocate should be necessary by now, and perhaps the others can be dropped. We still need some Makefile work so that it won't try to build e4defrag if the right pieces aren't there (and if the local definitions won't work...) Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index f2729e51..11c5e5af 100755
--- a/configure
+++ b/configure
@@ -15790,7 +15790,10 @@ fi
-for ac_func in chflags getrusage llseek lseek64 open64 fstat64 ftruncate64 getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo fdatasync strnlen strptime strdup sysconf pathconf posix_memalign memalign valloc __secure_getenv prctl mmap utime setresuid setresgid usleep nanosleep getdtablesize getrlimit
+
+
+
+for ac_func in chflags getrusage llseek lseek64 open64 fstat64 ftruncate64 getmntinfo strtoull strcasecmp srandom jrand48 fchown mallinfo fdatasync strnlen strptime strdup sysconf pathconf posix_memalign memalign valloc __secure_getenv prctl mmap utime setresuid setresgid usleep nanosleep getdtablesize getrlimit sync_file_range posix_fadvise fallocate
do
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5