]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - configure.ac
nfsidmap: auto disable when keyutils is not found
[nfs-utils.git] / configure.ac
index 1e8b035aa56f8c067ac9399dd92961f74ea5673e..1a28f8a4cd50367397d478e64626027ef35c4ca3 100644 (file)
@@ -137,7 +137,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 +266,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