From: Steve Dickson Date: Tue, 12 Jul 2011 21:21:09 +0000 (-0400) Subject: Make sure CONFIG_NFSIDMAP is always defined. X-Git-Tag: debian/1%1.2.5-1~11^2~48 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=251e3a10ec0d78d0a09e3e15698661ee2d764a7b;p=nfs-utils.git Make sure CONFIG_NFSIDMAP is always defined. CONFIG_NFSIDMAP always need to be define either negatively or positive whether nfsv4 is or is not defined. Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index ca12f9e..f8b0796 100644 --- a/configure.ac +++ b/configure.ac @@ -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