forked from mirrors/tftp-hpa-google
Allow compilation without tcpwrappers.
This commit is contained in:
parent
7eb7968b74
commit
772b990b91
3 changed files with 341 additions and 92 deletions
10
configure.in
10
configure.in
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue