From: Georg Brandl Date: Sat, 1 Apr 2006 08:51:29 +0000 (+0000) Subject: patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther X-Git-Tag: v2.4.4c1~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3823e9c6cbeb5193451a0a0c3806b72b440963a5;p=thirdparty%2FPython%2Fcpython.git patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther (backport from rev. 43536) --- diff --git a/configure b/configure index 53c6feda615c..32be6ed2e14c 100755 --- a/configure +++ b/configure @@ -1513,7 +1513,9 @@ case $ac_sys_system/$ac_sys_release in ;; # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE # disables platform specific features beyond repair. - Darwin/8.*) + # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE + # has no effect, don't bother defineing them + Darwin/[78].*) define_xopen_source=no ;; diff --git a/configure.in b/configure.in index 459e1061b2bf..a520b82136ce 100644 --- a/configure.in +++ b/configure.in @@ -173,7 +173,9 @@ case $ac_sys_system/$ac_sys_release in ;; # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE # disables platform specific features beyond repair. - Darwin/8.*) + # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE + # has no effect, don't bother defineing them + Darwin/[78].*) define_xopen_source=no ;;