diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-28 14:50:49 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-28 14:50:49 +0000 |
commit | 352009371aa7244b96c1bf142d19f49340739542 (patch) | |
tree | 508f3aaba1ed617e1e9f4594995d2f67be987a42 /configure.in | |
parent | 4cecc259adb642b3f24130ac0fc9f1f394eb139d (diff) | |
download | libfuse-352009371aa7244b96c1bf142d19f49340739542.tar.gz |
fix
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5e35c26..ec9eb16 100644 --- a/configure.in +++ b/configure.in @@ -26,6 +26,8 @@ AC_ARG_ENABLE(util, [ --enable-util Compile with util ]) AC_ARG_ENABLE(example, [ --enable-example Compile with examples ]) +AC_ARG_ENABLE(mtab, + [ --disable-mtab Disable and ignore usage of /etc/mtab ]) subdirs2="include" @@ -42,7 +44,10 @@ fi if test "$enable_example" != "no"; then subdirs2="$subdirs2 example"; fi -AC_CHECK_FUNCS([setxattr]) +if test "$enable_mtab" = "no"; then + AC_DEFINE(IGNORE_MTAB, 1, [Don't update /etc/mtab]) +fi +AC_CHECK_FUNCS([fork setxattr]) AC_CHECK_MEMBERS([struct stat.st_atim]) if test -z "$MOUNT_FUSE_PATH"; then |