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:
parent
5b6319dcee
commit
812cce323d
@ -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=
|
||||||
|
Loading…
Reference in New Issue
Block a user