aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-04-05 15:31:09 -0700
committerTheodore Ts'o <tytso@mit.edu>2012-04-05 15:31:09 -0700
commitb24efa218794b567c27ad99db319b4bd5d696958 (patch)
tree96075639a63da5d83a8d2d681eb311abfe91319b /configure.in
parentd47e2af76351090588ee2be3d85a2c31eb383223 (diff)
downloade2fsprogs-b24efa218794b567c27ad99db319b4bd5d696958.tar.gz
e2fsprogs-b24efa218794b567c27ad99db319b4bd5d696958.tar.xz
e2fsprogs-b24efa218794b567c27ad99db319b4bd5d696958.zip
Don't assume that the presence of mntent.h means that setmntent() exists
Change autoconf to test for setmntent() and use that to decide whether to use getmntent() and setmntent(), since some systems don't have setmntent() but they do have the mntent.h header file. Also, remove the includes of mntent.h from e2fsck and mke2fs and other places where it is not needed. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e458a7d6..e15a77a6 100644
--- a/configure.in
+++ b/configure.in
@@ -986,6 +986,7 @@ AC_CHECK_FUNCS(m4_flatten([
posix_memalign
prctl
quotactl
+ setmntent
setresgid
setresuid
srandom