From: Dave Hart Date: Mon, 8 Aug 2011 18:13:07 +0000 (+0000) Subject: [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). X-Git-Tag: NTP_4_2_7P202~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ea3be531765cbfc4e2ecebb7536f7a03dcaa5b;p=thirdparty%2Fntp.git [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). bk: 4e402733zsdftcTNcF8grkNrQnmGNA --- diff --git a/ChangeLog b/ChangeLog index b8020c6f9..8aafff842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ --- +* [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion). * [Backward Incompatible] sntp: -l/--filelog -> -l/--logfile, to be consistent with ntpd. * libopts/file.c fix from Bruce Korb (arg-type=file). diff --git a/configure.ac b/configure.ac index b2d6082bc..e68fdb1e5 100644 --- a/configure.ac +++ b/configure.ac @@ -5314,6 +5314,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], diff --git a/sntp/configure.ac b/sntp/configure.ac index d05d53600..63db09dff 100644 --- a/sntp/configure.ac +++ b/sntp/configure.ac @@ -620,6 +620,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],