Allow compilation without tcpwrappers.

This commit is contained in:
hpa 2001-04-23 19:30:26 +00:00
parent 7eb7968b74
commit 772b990b91
3 changed files with 341 additions and 92 deletions

View file

@ -11,7 +11,15 @@ AC_C_INLINE
AC_CHECK_FUNCS(recvmsg)
PA_MSGHDR_MSG_CONTROL
PA_HAVE_TCPWRAPPERS
PA_WITH_BOOL(tcpwrappers, 1,
[ --without-tcpwrappers Disable tcpwrapper permissions checking],
[
AC_SEARCH_LIBS(yp_get_default_domain, [nsl resolv])
PA_HAVE_TCPWRAPPERS
],
[
:
])
PA_ADD_CFLAGS(-Wall)
PA_ADD_CFLAGS(-W)