2008-09-16 Marcus Brinkmann <marcus@g10code.com>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 16 Sep 2008 15:30:44 +0000 (15:30 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 16 Sep 2008 15:30:44 +0000 (15:30 +0000)
* configure.ac (_XOPEN_SOURCE) [apple-darwin]: Define it.

ChangeLog
configure.ac

index a1d6901..1d05763 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-16  Marcus Brinkmann  <marcus@g10code.com>
+
+       * configure.ac (_XOPEN_SOURCE) [apple-darwin]: Define it. 
+
 2008-07-04  Werner Koch  <wk@g10code.com>
 
        * config.guess, config.sub: Update to 2007-11-19.  Also update
index e824b47..0d2c71a 100644 (file)
@@ -110,6 +110,11 @@ case "${host}" in
     *-*-gnu*)
        have_ld_version_script=yes
         ;;
+    *-apple-darwin*)
+        AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X)
+        ;;
+esac
+
 esac
 AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")