tcp_wrappers support is optional. If its not installed, then the feature is not compiled in

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-02-04 13:27:39 +01:00
parent e4c2ec8d7f
commit 8d0e2c29d8
2 changed files with 2 additions and 4 deletions

3
configure vendored
View File

@ -3642,8 +3642,7 @@ fi
ac_cv_lib_wrap=ac_cv_lib_wrap_main
if test "$have_tcpwrappers" = "no"; then
echo "can't find either tcpd.h or libwrap";
exit 1
echo "can't find either tcpd.h or libwrap. Tcpwrappers support is disabled";
fi

View File

@ -121,8 +121,7 @@ AC_CHECK_HEADERS(tcpd.h, have_tcpwrappers=yes, echo "tcpd.h is not found")
AC_CHECK_LIB([wrap],[hosts_access],[AC_CHECK_LIB(wrap, hosts_access, have_tcpwrappers=yes, echo "libwrap is not found"; have_tcpwrappers=no)],[],[])ac_cv_lib_wrap=ac_cv_lib_wrap_main
if test "$have_tcpwrappers" = "no"; then
echo "can't find either tcpd.h or libwrap";
exit 1
echo "can't find either tcpd.h or libwrap. Tcpwrappers support is disabled";
fi