]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove support for legacy KAME IPv6 stack
authorOndřej Surý <ondrej@sury.org>
Tue, 21 Aug 2018 09:51:57 +0000 (11:51 +0200)
committerOndřej Surý <ondrej@sury.org>
Tue, 28 Aug 2018 08:31:47 +0000 (10:31 +0200)
README.md
configure
configure.in

index 0d9bf0f1d85fcdd969d024e3699baaf8dbbd567b..fc76e440967b97b579271724f5d7b3c591ee1882 100644 (file)
--- a/README.md
+++ b/README.md
@@ -271,10 +271,6 @@ specifying `--enable-fixed-rrset` or `--disable-fixed-rrset` on the
 configure command line.  By default, fixed rrset-order is disabled to
 reduce memory footprint.
 
-If your operating system has integrated support for IPv6, it will be used
-automatically.  If you have installed KAME IPv6 separately, use
-`--with-kame[=PATH]` to specify its location.
-
 `make install` will install `named` and the various BIND 9 libraries.  By
 default, installation is into /usr/local, but this can be changed with the
 `--prefix` option when running `configure`.
index 9ea0cf99a79dfb6c75c5132ada95c9d69db1d8d4..f99bafcf0f045003c07955a943e9b3fc09967442 100755 (executable)
--- a/configure
+++ b/configure
@@ -963,7 +963,6 @@ with_purify
 with_gperftools_profiler
 enable_backtrace
 enable_symtable
-with_kame
 enable_tcp_fastopen
 enable_getifaddrs
 with_readline
@@ -1706,7 +1705,6 @@ Optional Packages:
   --with-purify=PATH      use Rational purify
   --with-gperftools-profiler
                           use gperftools CPU profiler
-  --with-kame=PATH        use Kame IPv6 [default path /usr/local/v6]
   --with-readline=LIBSPEC specify readline library [default auto]
   --with-dnsrps-libname   DNSRPS provider library name (librpz.so)
   --with-dnsrps-dir       path to DNSRPS provider library
@@ -17865,53 +17863,6 @@ See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-#
-# See whether IPv6 support is provided via a Kame add-on.
-# This is done before other IPv6 linking tests to LIBS is properly set.
-#
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Kame IPv6 support" >&5
-$as_echo_n "checking for Kame IPv6 support... " >&6; }
-
-# Check whether --with-kame was given.
-if test "${with_kame+set}" = set; then :
-  withval=$with_kame; use_kame="$withval"
-else
-  use_kame="no"
-fi
-
-
-case "$use_kame" in
-       no)
-               ;;
-       yes)
-               kame_path=/usr/local/v6
-               ;;
-       *)
-               kame_path="$use_kame"
-               ;;
-esac
-
-case "$use_kame" in
-       no)
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-               ;;
-       *)
-               if test -f $kame_path/lib/libinet6.a; then
-                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kame_path/lib/libinet6.a" >&5
-$as_echo "$kame_path/lib/libinet6.a" >&6; }
-                       LIBS="-L$kame_path/lib -linet6 $LIBS"
-               else
-                       as_fn_error $? "$kame_path/lib/libinet6.a not found.
-
-Please choose the proper path with the following command:
-
-    configure --with-kame=PATH
-" "$LINENO" 5
-               fi
-               ;;
-esac
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_addr" >&5
 $as_echo_n "checking for in6_addr... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
index 2dbb8fc586e10afe02c8f2b07b1be396cc2e83b2..31944a7ce8617c594246b33a56d38039bc5b0d8c 100644 (file)
@@ -1948,46 +1948,6 @@ AC_COMPILE_IFELSE(
   [AC_MSG_RESULT([yes])],
   [AC_MSG_FAILURE([IPv6 support is mandatory])])
 
-#
-# See whether IPv6 support is provided via a Kame add-on.
-# This is done before other IPv6 linking tests to LIBS is properly set.
-#
-AC_MSG_CHECKING(for Kame IPv6 support)
-AC_ARG_WITH(kame,
-           AS_HELP_STRING([--with-kame[=PATH]],
-                          [use Kame IPv6 [default path /usr/local/v6]]),
-           use_kame="$withval", use_kame="no")
-
-case "$use_kame" in
-       no)
-               ;;
-       yes)
-               kame_path=/usr/local/v6
-               ;;
-       *)
-               kame_path="$use_kame"
-               ;;
-esac
-
-case "$use_kame" in
-       no)
-               AC_MSG_RESULT(no)
-               ;;
-       *)
-               if test -f $kame_path/lib/libinet6.a; then
-                       AC_MSG_RESULT($kame_path/lib/libinet6.a)
-                       LIBS="-L$kame_path/lib -linet6 $LIBS"
-               else
-                       AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.
-
-Please choose the proper path with the following command:
-
-    configure --with-kame=PATH
-])
-               fi
-               ;;
-esac
-
 AC_MSG_CHECKING([for in6_addr])
 AC_COMPILE_IFELSE(
   [AC_LANG_PROGRAM(