[PATCH] configure: fix AM_CONDITIONAL(CONFIG_NFSIDMAP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



./configure --disable-gss --disable-nfsv4
[...]
configure: error: conditional "CONFIG_NFSIDMAP" was never defined.

Signed-off-by: Karel Zak <kzak@xxxxxxxxxx>
---
 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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
-- 
1.7.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux