mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:20:11 +01:00
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:
parent
e4c2ec8d7f
commit
8d0e2c29d8
3
configure
vendored
3
configure
vendored
@ -3642,8 +3642,7 @@ fi
|
|||||||
ac_cv_lib_wrap=ac_cv_lib_wrap_main
|
ac_cv_lib_wrap=ac_cv_lib_wrap_main
|
||||||
|
|
||||||
if test "$have_tcpwrappers" = "no"; then
|
if test "$have_tcpwrappers" = "no"; then
|
||||||
echo "can't find either tcpd.h or libwrap";
|
echo "can't find either tcpd.h or libwrap. Tcpwrappers support is disabled";
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
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
|
if test "$have_tcpwrappers" = "no"; then
|
||||||
echo "can't find either tcpd.h or libwrap";
|
echo "can't find either tcpd.h or libwrap. Tcpwrappers support is disabled";
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user