aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
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.in
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.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index acbcec62..7ed3d4dd 100644
--- a/configure.in
+++ b/configure.in
@@ -828,7 +828,7 @@ AC_CHECK_MEMBER(struct sockaddr.sa_len,
[#include <sys/types.h>
#include <sys/socket.h>])
dnl
-AC_CHECK_FUNCS(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)
+AC_CHECK_FUNCS(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)
dnl
dnl Check to see if -lsocket is required (solaris) to make something
dnl that uses socket() to compile; this is needed for the UUID library