From: Dave Hart Date: Mon, 8 Aug 2011 20:03:45 +0000 (+0000) Subject: [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). X-Git-Tag: NTP_4_2_7P202~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899d16bddbe7c188071bbb3d34df858d379abd5f;p=thirdparty%2Fntp.git [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). bk: 4e404121iHa3ROs5XmQhpNi_zKKo9Q --- diff --git a/ChangeLog b/ChangeLog index a26a6473e..ac9aca15b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). (4.2.7p201) 2011/08/05 Released by Harlan Stenn * sntp: change -h/--headspace to -g/--gap, and change the default gap from 10 to 50ms diff --git a/sntp/m4/ntp_ipv6.m4 b/sntp/m4/ntp_ipv6.m4 index 8ea9d6783..97a6d3ed1 100644 --- a/sntp/m4/ntp_ipv6.m4 +++ b/sntp/m4/ntp_ipv6.m4 @@ -185,6 +185,13 @@ case "$enable_ipv6" in esac +dnl [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion) +case "$host" in + *-*-darwin*) + AC_DEFINE([__APPLE_USE_RFC_3542], [1], [Are we _special_?]) +esac + + AC_CACHE_CHECK( [for IPv6 structures], [isc_cv_found_ipv6],