From: Georg Brandl Date: Sat, 1 Apr 2006 08:51:25 +0000 (+0000) Subject: patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther X-Git-Tag: v2.5a1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28161e2465a7bbf3cf93976311a8ba2cd5c9f1bb;p=thirdparty%2FPython%2Fcpython.git patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther --- diff --git a/configure b/configure index c5b795f4914f..7151b2e988da 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 8a73c4fdd331..a8b91d651711 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 ;;