X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.ac;h=3132fe4f29f4d113fc900f36982f59e453e4d9f0;hp=1e8b035aa56f8c067ac9399dd92961f74ea5673e;hb=cdbe3d3d8067a5ad0ad823f20b86151bfe9359cc;hpb=fa3a5cd1ce1a2af0550ee8f5c30f6fbd6a0a28d4 diff --git a/configure.ac b/configure.ac index 1e8b035..3132fe4 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,8 @@ AC_ARG_WITH(release, RELEASE=1) AC_SUBST(RELEASE) AC_ARG_WITH(statedir, - [ --with-statedir=/foo use state dir /foo [/var/lib/nfs]], + [AC_HELP_STRING([--with-statedir=/foo], + [use state dir /foo @<:@default=/var/lib/nfs@:>@])], statedir=$withval, statedir=/var/lib/nfs) AC_SUBST(statedir) @@ -137,7 +138,7 @@ if test "$enable_mount" = yes; then AC_ARG_ENABLE(libmount-mount, [AC_HELP_STRING([--enable-libmount-mount], [Link mount.nfs with libmount (EXPERIMENTAL)])], - enable_libmount=yes, + enable_libmount=$enableval, enable_libmount=no) fi @@ -266,7 +267,7 @@ if test "$enable_nfsv4" = yes; then fi fi dnl enable nfsidmap when its support by libnfsidmap -AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyes"]) if test "$knfsd_cv_glibc2" = no; then