X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=593808cab417327c3c3cb7deb573c0434223fe81;hb=bdaecae8ac3ff2c4f1b643c9226699f5a8295a45;hp=ca12f9ea455231e0c1a43370ff038cfe517c936b;hpb=5b1ffc69dc68b355cdc7d02153068f6efef1c9b7;p=nfs-utils.git diff --git a/configure.ac b/configure.ac index ca12f9e..593808c 100644 --- a/configure.ac +++ b/configure.ac @@ -256,9 +256,6 @@ if test "$enable_nfsv4" = yes; then dnl check for nfsidmap libraries and headers AC_LIBNFSIDMAP - dnl enable nfsidmap when its support by libnfsidmap - AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) - dnl check for the keyutils libraries and headers AC_KEYUTILS @@ -268,6 +265,9 @@ if test "$enable_nfsv4" = yes; then AC_RPCSEC_VERSION fi fi +dnl enable nfsidmap when its support by libnfsidmap +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) + if test "$knfsd_cv_glibc2" = no; then AC_CHECK_LIB(bsd, daemon, [LIBBSD="-lbsd"])