mirror of
https://repo.or.cz/socat.git
synced 2025-07-19 09:22:57 +00:00
Added option res-nsaddr
This commit is contained in:
parent
282db9feda
commit
254958a34d
12 changed files with 234 additions and 12 deletions
|
@ -2156,6 +2156,12 @@ AC_TRY_COMPILE([#include <resolv.h>],
|
|||
[AC_MSG_RESULT(yes);
|
||||
AC_DEFINE(HAVE_RES_RETRY, 1)],
|
||||
[AC_MSG_RESULT(no)])
|
||||
AC_MSG_CHECKING(for _res.nsaddr_list)
|
||||
AC_TRY_COMPILE([#include <resolv.h>],
|
||||
[_res.nsaddr_list[0].sin_family == 0],
|
||||
[AC_MSG_RESULT(yes);
|
||||
AC_DEFINE(HAVE_RES_NSADDR_LIST, 1)],
|
||||
[AC_MSG_RESULT(no)])
|
||||
|
||||
|
||||
dnl "tcpd" "tcpwrappers"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue