]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfsidmap: Configuration regression
authorSteve Dickson <steved@redhat.com>
Thu, 21 Jul 2011 18:47:39 +0000 (14:47 -0400)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:46 +0000 (16:16 +0200)
Commit f3d38a7c introduce a configuration regression
that cause the nfsidmap code to never get enabled.

Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac

index f8b079609143c02724924fa91b40528dff3471ae..593808cab417327c3c3cb7deb573c0434223fe81 100644 (file)
@@ -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"])