commit | b24efa218794b567c27ad99db319b4bd5d696958 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Apr 05 15:31:09 2012 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Apr 05 15:31:09 2012 -0700 |
tree | 96075639a63da5d83a8d2d681eb311abfe91319b | |
parent | d47e2af76351090588ee2be3d85a2c31eb383223 [diff] |
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>