]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Make sure CONFIG_NFSIDMAP is always defined.
authorSteve Dickson <steved@redhat.com>
Tue, 12 Jul 2011 21:21:09 +0000 (17:21 -0400)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:45 +0000 (16:16 +0200)
CONFIG_NFSIDMAP always need to be define either
negatively or positive whether nfsv4 is or is not
defined.

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

index ca12f9ea455231e0c1a43370ff038cfe517c936b..f8b079609143c02724924fa91b40528dff3471ae 100644 (file)
@@ -249,6 +249,9 @@ 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
@@ -256,9 +259,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