Commit 1333d4a7 authored by Ondřej Surý's avatar Ondřej Surý

Remove dummy ISC_PLATFORM_HAVELIFCONF platform define

parent 0bea5c2b
...@@ -769,7 +769,6 @@ ISC_PLATFORM_NEEDSYSSELECTH ...@@ -769,7 +769,6 @@ ISC_PLATFORM_NEEDSYSSELECTH
ISC_PLATFORM_HAVEDEVPOLL ISC_PLATFORM_HAVEDEVPOLL
ISC_PLATFORM_HAVEEPOLL ISC_PLATFORM_HAVEEPOLL
ISC_PLATFORM_HAVEKQUEUE ISC_PLATFORM_HAVEKQUEUE
ISC_PLATFORM_HAVELIFCONF
ISC_PLATFORM_NORETURN_POST ISC_PLATFORM_NORETURN_POST
ISC_PLATFORM_NORETURN_PRE ISC_PLATFORM_NORETURN_PRE
ISC_SOCKADDR_LEN_T ISC_SOCKADDR_LEN_T
...@@ -13880,42 +13879,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ...@@ -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 # check if we have kqueue
# #
......
...@@ -528,26 +528,6 @@ AC_TRY_COMPILE([],[void foo() __attribute__((noreturn));], ...@@ -528,26 +528,6 @@ AC_TRY_COMPILE([],[void foo() __attribute__((noreturn));],
AC_SUBST(ISC_PLATFORM_NORETURN_PRE) AC_SUBST(ISC_PLATFORM_NORETURN_PRE)
AC_SUBST(ISC_PLATFORM_NORETURN_POST) 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 # check if we have kqueue
# #
......
...@@ -36,12 +36,6 @@ ...@@ -36,12 +36,6 @@
*** Network. *** Network.
***/ ***/
/*! \brief
* Define if the system has struct lifconf which is a extended struct ifconf
* for IPv6.
*/
@ISC_PLATFORM_HAVELIFCONF@
/*! \brief /*! \brief
* Define if the system has TCP_FASTOPEN socket option. * Define if the system has TCP_FASTOPEN socket option.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment