]> 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 c9fb27b7bc0734330e7879809c11aa7d6856b3cf..1a28f8a4cd50367397d478e64626027ef35c4ca3 100644 (file)
@@ -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