summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-07-21 14:47:39 -0400
committerSteve Dickson <steved@redhat.com>2011-07-21 14:47:39 -0400
commitbdaecae8ac3ff2c4f1b643c9226699f5a8295a45 (patch)
tree54b9ef4266c6c96a136bb5a90782181c4da61cbe
parent1ce0374d445d8a3dbdfb3e9da4c76be9df44666b (diff)
downloadnfs-utils-bdaecae8ac3ff2c4f1b643c9226699f5a8295a45.tar.gz
nfsidmap: Configuration regressionnfs-utils-1-2-5-rc1
Commit f3d38a7c introduce a configuration regression that cause the nfsidmap code to never get enabled. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
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"])