chiark / gitweb /
build-sys: fix configure output without libwrap
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Jun 2010 21:11:48 +0000 (23:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Jun 2010 21:11:48 +0000 (23:11 +0200)
configure.ac

index c5c5cc0..f44b493 100644 (file)
@@ -123,6 +123,7 @@ if test "x${have_tcpwrap}" != xno ; then
                 if test "x$have_tcpwrap" = xyes ; then
                         AC_MSG_ERROR([*** TCP wrappers support not found.])
                 fi
+                have_tcpwrap=no
         else
                 have_tcpwrap=yes
         fi
@@ -159,6 +160,8 @@ if test "x${have_pam}" != xno ; then
         if test "x$have_pam" = xyes ; then
                 PAM_LIBS="-lpam -lpam_misc"
                 AC_DEFINE(HAVE_PAM, 1, [PAM available])
+        else
+                have_pam=no
         fi
 else
         PAM_LIBS=