1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

build-sys: fix configure output without libwrap

This commit is contained in:
Lennart Poettering 2010-06-16 23:11:48 +02:00
parent 5b6319dcee
commit 812cce323d

View File

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