Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93de216

Browse files
committed
Merged revisions 63997 via svnmerge from
svn+ssh://[email protected]/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 ........
1 parent 14ae959 commit 93de216

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

configure.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,7 @@ yes)
873873

874874

875875
BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
876+
CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
876877
fi
877878

878879
;;
@@ -1397,6 +1398,7 @@ fi
13971398
CC="$ac_save_cc"
13981399

13991400

1401+
14001402
AC_SUBST(OTHER_LIBTOOL_OPT)
14011403
case $ac_sys_system/$ac_sys_release in
14021404
Darwin/@<:@01567@:>@\..*)
@@ -1718,6 +1720,7 @@ then
17181720
fi
17191721
AC_MSG_RESULT($LINKFORSHARED)
17201722

1723+
17211724
AC_SUBST(CFLAGSFORSHARED)
17221725
AC_MSG_CHECKING(CFLAGSFORSHARED)
17231726
if test ! "$LIBRARY" = "$LDLIBRARY"
@@ -2223,6 +2226,13 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
22232226
fi
22242227
fi
22252228

2229+
AC_MSG_CHECKING(for OSX 10.5 SDK or later)
2230+
AC_TRY_COMPILE([#include <Carbon/Carbon.h>], FSIORefNum fRef = 0,
2231+
AC_DEFINE(HAVE_OSX105_SDK, 1, Define if compiling using MacOS X 10.5 SDK or later.)
2232+
AC_MSG_RESULT(yes),
2233+
AC_MSG_RESULT(no)
2234+
)
2235+
22262236
# Check for --with-doc-strings
22272237
AC_MSG_CHECKING(for --with-doc-strings)
22282238
AC_ARG_WITH(doc-strings,

pyconfig.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@
426426
/* Define to 1 if you have the `openpty' function. */
427427
#undef HAVE_OPENPTY
428428

429+
/* Define if compiling using MacOS X 10.5 SDK or later. */
430+
#undef HAVE_OSX105_SDK
431+
429432
/* Define to 1 if you have the `pathconf' function. */
430433
#undef HAVE_PATHCONF
431434

@@ -489,9 +492,6 @@
489492
/* Define if you have readline 4.2 */
490493
#undef HAVE_RL_COMPLETION_MATCHES
491494

492-
/* Define when using libedit's readline emulation */
493-
#undef HAVE_RL_DISPM_VFUNC
494-
495495
/* Define if you have readline 4.0 */
496496
#undef HAVE_RL_PRE_INPUT_HOOK
497497

0 commit comments

Comments
 (0)