]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion).
authorDave Hart <hart@ntp.org>
Mon, 8 Aug 2011 18:13:07 +0000 (18:13 +0000)
committerDave Hart <hart@ntp.org>
Mon, 8 Aug 2011 18:13:07 +0000 (18:13 +0000)
bk: 4e402733zsdftcTNcF8grkNrQnmGNA

ChangeLog
configure.ac
sntp/configure.ac

index b8020c6f90219dd5ac7bff822810d63fc76d3d3b..8aafff842917e63a8dac4d6f184e86a754501d19 100644 (file)
--- 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).
index b2d6082bcd5568f9375e1ab95b5047edeae1ee1c..e68fdb1e56499b6772cf4a05c74ef71101335b35 100644 (file)
@@ -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],
index d05d536001a518ff9065502e202e066afe5ce846..63db09dff89a69881c0b0847d1e610dabc5abea0 100644 (file)
@@ -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],