From 7c014c5bf41dc38802e8889c0a9110204eb1a552 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 9 Nov 2001 23:08:22 +0000 Subject: [PATCH] 117. [port] The configure check for in6addr_loopback incorrectly succeeded on AIX 4.3 when compiling with -O2 because the test code was optimized away. [RT #2016] --- CHANGES | 5 +++++ configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index cc2e3474da..03aa72ef23 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +1117. [port] The configure check for in6addr_loopback incorrectly + succeeded on AIX 4.3 when compiling with -O2 + because the test code was optimized away. + [RT #2016] + 1116. [bug] Setting transfers in a server clause, transfers-in, or transfers-per-ns to a value greater than 2147483647 disabled transfers. [RT #2002] diff --git a/configure.in b/configure.in index b2a8b4ea0d..51120b38ff 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.311 $) +AC_REVISION($Revision: 1.312 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -1053,7 +1053,7 @@ $isc_netinetin6_hack $isc_netinet6in6_hack $isc_in_addr6_hack ], - [struct in6_addr in6; in6 = in6addr_any; return (0);], + [struct in6_addr in6; in6 = in6addr_any; return (in6.s6_addr[0]);], [AC_MSG_RESULT(yes) ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY" LWRES_PLATFORM_NEEDIN6ADDRANY="#undef LWRES_PLATFORM_NEEDIN6ADDRANY"], @@ -1070,7 +1070,7 @@ $isc_netinetin6_hack $isc_netinet6in6_hack $isc_in_addr6_hack ], - [struct in6_addr in6; in6 = in6addr_loopback; return (0);], + [struct in6_addr in6; in6 = in6addr_loopback; return (in6.s6_addr[0]);], [AC_MSG_RESULT(yes) ISC_PLATFORM_NEEDIN6ADDRLOOPBACK="#undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK" LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK="#undef LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK"],