From c781f3056128ebb74c2e20948909581b366c0b90 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 16 Sep 2008 15:30:44 +0000 Subject: [PATCH] 2008-09-16 Marcus Brinkmann * configure.ac (_XOPEN_SOURCE) [apple-darwin]: Define it. --- trunk/ChangeLog | 4 ++++ trunk/configure.ac | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/trunk/ChangeLog b/trunk/ChangeLog index a1d6901..1d05763 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2008-09-16 Marcus Brinkmann + + * configure.ac (_XOPEN_SOURCE) [apple-darwin]: Define it. + 2008-07-04 Werner Koch * config.guess, config.sub: Update to 2007-11-19. Also update diff --git a/trunk/configure.ac b/trunk/configure.ac index e824b47..0d2c71a 100644 --- a/trunk/configure.ac +++ b/trunk/configure.ac @@ -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") -- 2.26.2