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.

trunk/ChangeLog
trunk/configure.ac

index a1d6901bd1deb4a33464bb07d8b07211875b7218..1d057631838e1b7a9c5740678bf4cebbfd026b1c 100644 (file)
@@ -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 e824b475a34be1ce61a9e1642faf37559a20c272..0d2c71a767f3f05548cd28bc2fe46b61d475036d 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")