]> err.no Git - systemd/commitdiff
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 c5c5cc0d4e191f23a1d4a47e0622852b3bc8d1d7..f44b493dd71e5a5edd6ff8897a92e7eaa3f80c2d 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=