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