]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove dummy ISC_PLATFORM_HAVELIFCONF platform define
authorOndřej Surý <ondrej@sury.org>
Tue, 4 Sep 2018 10:37:59 +0000 (12:37 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 7 Sep 2018 10:17:30 +0000 (12:17 +0200)
configure
configure.in
lib/isc/include/isc/platform.h.in

index 53ab9f8d13632035f8df73c1e0e3899b50ea4237..cbf970700be6b763040dba763be68808270b27b6 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 #
index 87e1d6efb6ac6cc542f53957467a4f9efadc38c8..04f51bc77f67a0b1e0a2e06bdcf3d6ef42d880b3 100644 (file)
@@ -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
 #
index 05fe3071bf3582d4e4ae8c242bb5b8db18084968..13e138e6e1a932c0f8e738f61e2c744271adcdd1 100644 (file)
  *** 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.
  */