diff mbox

configure: fix AM_CONDITIONAL(CONFIG_NFSIDMAP)

Message ID 1295451963-14978-1-git-send-email-kzak@redhat.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Karel Zak Jan. 19, 2011, 3:46 p.m. UTC
None
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 92833e3..2e074d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,9 +247,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
 
@@ -260,6 +257,9 @@  if test "$enable_nfsv4" = yes; then
   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"])
 fi