]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove dummy ISC_PLATFORM_HAVEIF_LADDRCONF define
authorOndřej Surý <ondrej@sury.org>
Tue, 4 Sep 2018 10:30:59 +0000 (12:30 +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 7e7bdd9fae4a3bc49967ef273457da19ec54e43e..c75da2e26d5cdf6442d312a55324e481890100c1 100755 (executable)
--- a/configure
+++ b/configure
@@ -720,7 +720,6 @@ READLINE_LIB
 ISC_PLATFORM_NEEDSTRLCAT
 ISC_PLATFORM_NEEDSTRLCPY
 ISC_PLATFORM_HAVETFO
-ISC_PLATFORM_HAVEIF_LADDRCONF
 ISC_PLATFORM_HAVEIF_LADDRREQ
 BIND9_CO_RULE
 LIBTOOL_MODE_UNINSTALL
@@ -17678,35 +17677,6 @@ rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
-$as_echo_n "checking for struct if_laddrconf... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#include <sys/types.h>
-#include <net/if6.h>
-
-int
-main ()
-{
- struct if_laddrconf a;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       ISC_PLATFORM_HAVEIF_LADDRCONF="#define ISC_PLATFORM_HAVEIF_LADDRCONF 1"
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-       ISC_PLATFORM_HAVEIF_LADDRCONF="#undef ISC_PLATFORM_HAVEIF_LADDRCONF"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-
-
 #
 # Allow forcibly disabling TCP Fast Open support as autodetection might yield
 # confusing results on some systems (e.g. FreeBSD; see set_tcp_fastopen()
index c26cb4608b908ade8ef6b48724543d0e4e2e3222..ddfd37505df0fee46ddb94e0075bc3b317dc3b7c 100644 (file)
@@ -1925,17 +1925,6 @@ AC_TRY_LINK([
        ISC_PLATFORM_HAVEIF_LADDRREQ="#undef ISC_PLATFORM_HAVEIF_LADDRREQ"])
 AC_SUBST(ISC_PLATFORM_HAVEIF_LADDRREQ)
 
-AC_MSG_CHECKING([for struct if_laddrconf])
-AC_TRY_LINK([
-#include <sys/types.h>
-#include <net/if6.h>
-],[ struct if_laddrconf a; ],
-       [AC_MSG_RESULT(yes)
-       ISC_PLATFORM_HAVEIF_LADDRCONF="#define ISC_PLATFORM_HAVEIF_LADDRCONF 1"],
-       [AC_MSG_RESULT(no)
-       ISC_PLATFORM_HAVEIF_LADDRCONF="#undef ISC_PLATFORM_HAVEIF_LADDRCONF"])
-AC_SUBST(ISC_PLATFORM_HAVEIF_LADDRCONF)
-
 #
 # Allow forcibly disabling TCP Fast Open support as autodetection might yield
 # confusing results on some systems (e.g. FreeBSD; see set_tcp_fastopen()
index 3916bdf0558afb75d0915824208e39b861485eb3..1d51efe5c4a63cc63dd2ed5c0c6ed6208143f15a 100644 (file)
  */
 @ISC_PLATFORM_HAVELIFCONF@
 
-/*! \brief
- * Define if the system has struct if_laddrconf which is a extended struct
- * ifconf for IPv6.
- */
-@ISC_PLATFORM_HAVEIF_LADDRCONF@
-
 /*! \brief
  * Define if the system has struct if_laddrreq.
  */