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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28161e2465a7bbf3cf93976311a8ba2cd5c9f1bb;p=python patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther --- diff --git a/configure b/configure index c5b795f491..7151b2e988 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 8a73c4fdd3..a8b91d6517 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 ;;