From: Steve Dickson Date: Thu, 21 Jul 2011 18:47:39 +0000 (-0400) Subject: nfsidmap: Configuration regression X-Git-Tag: debian/1%1.2.5-1~11^2~43 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e438055d752ef4f34712afc30ef61b67f43d7c90;p=nfs-utils.git nfsidmap: Configuration regression Commit f3d38a7c introduce a configuration regression that cause the nfsidmap code to never get enabled. Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index f8b0796..593808c 100644 --- a/configure.ac +++ b/configure.ac @@ -249,9 +249,6 @@ AC_CHECK_FUNC([getservbyname], , AC_CHECK_LIB([crypt], [crypt], [LIBCRYPT="-lcrypt"]) -dnl enable nfsidmap when its support by libnfsidmap -AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) - if test "$enable_nfsv4" = yes; then dnl check for libevent libraries and headers AC_LIBEVENT @@ -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"])