From cf5100d27cbaeaa9dc2e3fa473c67f21259bf659 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. --- ChangeLog | 4 ++++ configure.ac | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a1d6901..1d05763 100644 --- a/ChangeLog +++ b/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/configure.ac b/configure.ac index e824b47..0d2c71a 100644 --- a/configure.ac +++ b/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