summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-07-16 02:21:06 (GMT)
committerGeorg Brandl <georg@python.org>2008-07-16 02:21:06 (GMT)
commit93de216a33bc8cda02e24ca4f6d69af0e0288523 (patch)
tree0d3afedb9b2c0ab52bea5c46754014dee88a9914 /configure.in
parent14ae959bb4280a8232734284fcd9acc1d57ea510 (diff)
downloadcpython-93de216a33bc8cda02e24ca4f6d69af0e0288523.zip
cpython-93de216a33bc8cda02e24ca4f6d69af0e0288523.tar.gz
cpython-93de216a33bc8cda02e24ca4f6d69af0e0288523.tar.bz2
Merged revisions 63997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r63997 | ronald.oussoren | 2008-06-06 23:31:33 +0200 (Fri, 06 Jun 2008) | 2 lines Fix build issue on OSX 10.4 ........
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 871592a..1e1cc1d 100644
--- a/configure.in
+++ b/configure.in
@@ -873,6 +873,7 @@ yes)
BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
+ CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
fi
;;
@@ -1397,6 +1398,7 @@ fi
CC="$ac_save_cc"
+
AC_SUBST(OTHER_LIBTOOL_OPT)
case $ac_sys_system/$ac_sys_release in
Darwin/@<:@01567@:>@\..*)
@@ -1718,6 +1720,7 @@ then
fi
AC_MSG_RESULT($LINKFORSHARED)
+
AC_SUBST(CFLAGSFORSHARED)
AC_MSG_CHECKING(CFLAGSFORSHARED)
if test ! "$LIBRARY" = "$LDLIBRARY"
@@ -2223,6 +2226,13 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
fi
fi
+AC_MSG_CHECKING(for OSX 10.5 SDK or later)
+AC_TRY_COMPILE([#include <Carbon/Carbon.h>], FSIORefNum fRef = 0,
+ AC_DEFINE(HAVE_OSX105_SDK, 1, Define if compiling using MacOS X 10.5 SDK or later.)
+ AC_MSG_RESULT(yes),
+ AC_MSG_RESULT(no)
+)
+
# Check for --with-doc-strings
AC_MSG_CHECKING(for --with-doc-strings)
AC_ARG_WITH(doc-strings,