mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Remove dummy ISC_PLATFORM_HAVELIFCONF platform define
This commit is contained in:
parent
0bea5c2baf
commit
1333d4a71a
3 changed files with 0 additions and 63 deletions
37
configure
vendored
37
configure
vendored
|
|
@ -769,7 +769,6 @@ ISC_PLATFORM_NEEDSYSSELECTH
|
|||
ISC_PLATFORM_HAVEDEVPOLL
|
||||
ISC_PLATFORM_HAVEEPOLL
|
||||
ISC_PLATFORM_HAVEKQUEUE
|
||||
ISC_PLATFORM_HAVELIFCONF
|
||||
ISC_PLATFORM_NORETURN_POST
|
||||
ISC_PLATFORM_NORETURN_PRE
|
||||
ISC_SOCKADDR_LEN_T
|
||||
|
|
@ -13880,42 +13879,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|||
|
||||
|
||||
|
||||
#
|
||||
# check if we have lifconf
|
||||
#
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifconf" >&5
|
||||
$as_echo_n "checking for struct lifconf... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
struct lifconf lifconf;
|
||||
lifconf.lifc_len = 0;
|
||||
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
ISC_PLATFORM_HAVELIFCONF="#define ISC_PLATFORM_HAVELIFCONF 1"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
ISC_PLATFORM_HAVELIFCONF="#undef ISC_PLATFORM_HAVELIFCONF"
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
||||
|
||||
#
|
||||
# check if we have kqueue
|
||||
#
|
||||
|
|
|
|||
20
configure.in
20
configure.in
|
|
@ -528,26 +528,6 @@ AC_TRY_COMPILE([],[void foo() __attribute__((noreturn));],
|
|||
AC_SUBST(ISC_PLATFORM_NORETURN_PRE)
|
||||
AC_SUBST(ISC_PLATFORM_NORETURN_POST)
|
||||
|
||||
#
|
||||
# check if we have lifconf
|
||||
#
|
||||
AC_MSG_CHECKING(for struct lifconf)
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
],
|
||||
[
|
||||
struct lifconf lifconf;
|
||||
lifconf.lifc_len = 0;
|
||||
]
|
||||
,
|
||||
[AC_MSG_RESULT(yes)
|
||||
ISC_PLATFORM_HAVELIFCONF="#define ISC_PLATFORM_HAVELIFCONF 1"],
|
||||
[AC_MSG_RESULT(no)
|
||||
ISC_PLATFORM_HAVELIFCONF="#undef ISC_PLATFORM_HAVELIFCONF"])
|
||||
AC_SUBST(ISC_PLATFORM_HAVELIFCONF)
|
||||
|
||||
#
|
||||
# check if we have kqueue
|
||||
#
|
||||
|
|
|
|||
|
|
@ -36,12 +36,6 @@
|
|||
*** Network.
|
||||
***/
|
||||
|
||||
/*! \brief
|
||||
* Define if the system has struct lifconf which is a extended struct ifconf
|
||||
* for IPv6.
|
||||
*/
|
||||
@ISC_PLATFORM_HAVELIFCONF@
|
||||
|
||||
/*! \brief
|
||||
* Define if the system has TCP_FASTOPEN socket option.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue