summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-04 05:32:17 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-04 05:32:17 (GMT)
commite8fb992f756cc8799a914abca24f92601e38b577 (patch)
tree156eb73c46b67744a745abc4ab96f053320e0f02 /configure.in
parent2f327c14eb998e8796a3775aa6a7aade14e97004 (diff)
downloadcpython-e8fb992f756cc8799a914abca24f92601e38b577.zip
cpython-e8fb992f756cc8799a914abca24f92601e38b577.tar.gz
cpython-e8fb992f756cc8799a914abca24f92601e38b577.tar.bz2
Martin's change 43604 broke the Mac builds apparently due to an autoconf
bug. I don't understand this at all, but Darwin/[78].* gets converted to Darwin/78.* which is not correct. Maybe I'm just clueless or overworked. I can't see why in the original checkin this should have changed. This hack gets the Mac build working again. If someone figures out the real problem, please revert this and fix for real. Anthony is telling me that AC_PROG_CXX_WORKS which we use is broken. I have no idea if that's related. This change breaks up the case and fixes a typo.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 12ac149..4fb6cea 100644
--- a/configure.in
+++ b/configure.in
@@ -171,14 +171,18 @@ case $ac_sys_system/$ac_sys_release in
define_xopen_source=no
fi
;;
+ # XXX(nnorwitz): the 2 cases below should be Darwin/[78].*,
+ # but autoconf seems to convert that to Darwin/78.* which is incorrect.
+ # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
+ # has no effect, don't bother defining them.
+ Darwin/7.*)
+ define_xopen_source=no
+ ;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
- # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
- # has no effect, don't bother defineing them
- Darwin/[78].*)
+ Darwin/8.*)
define_xopen_source=no
;;
-
esac
if test $define_xopen_source = yes