summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index afa749cf..587be871 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,6 +459,7 @@ AC_SUBST(LIBDB)
AC_ARG_ENABLE([nis],
AS_HELP_STRING([--disable-nis], [Disable building NIS/YP support in pam_unix]))
+AM_CONDITIONAL([HAVE_NIS], [test "x$enable_nis" != "xno"])
AS_IF([test "x$enable_nis" != "xno"], [
old_CFLAGS=$CFLAGS