diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-06-06 21:31:33 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-06-06 21:31:33 (GMT) |
commit | 0d236eb05a80c088a15eb68d41eec7f3384dd76e (patch) | |
tree | 4979d4d29ec96f1375e1d29b0c8ae12f92189aef /configure.in | |
parent | 3f67c43f7874d1a27d11b6cf0240fb9bebbe90bf (diff) | |
download | cpython-0d236eb05a80c088a15eb68d41eec7f3384dd76e.zip cpython-0d236eb05a80c088a15eb68d41eec7f3384dd76e.tar.gz cpython-0d236eb05a80c088a15eb68d41eec7f3384dd76e.tar.bz2 |
Fix build issue on OSX 10.4
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 6e8b9fe..2dea658 100644 --- a/configure.in +++ b/configure.in @@ -918,6 +918,7 @@ yes) BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}" + CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}" fi ;; @@ -1456,6 +1457,7 @@ yes) esac AC_MSG_RESULT($enable_toolbox_glue) + AC_SUBST(OTHER_LIBTOOL_OPT) case $ac_sys_system/$ac_sys_release in Darwin/@<:@01567@:>@\..*) @@ -1781,6 +1783,7 @@ then fi AC_MSG_RESULT($LINKFORSHARED) + AC_SUBST(CFLAGSFORSHARED) AC_MSG_CHECKING(CFLAGSFORSHARED) if test ! "$LIBRARY" = "$LDLIBRARY" @@ -2297,6 +2300,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, |