File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 873873
874874
875875 BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
876+ CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
876877 fi
877878
878879 ;;
13971398CC="$ac_save_cc"
13981399
13991400
1401+
14001402AC_SUBST(OTHER_LIBTOOL_OPT)
14011403case $ac_sys_system/$ac_sys_release in
14021404 Darwin/@<:@01567@:>@\..*)
@@ -1718,6 +1720,7 @@ then
17181720fi
17191721AC_MSG_RESULT($LINKFORSHARED)
17201722
1723+
17211724AC_SUBST(CFLAGSFORSHARED)
17221725AC_MSG_CHECKING(CFLAGSFORSHARED)
17231726if test ! "$LIBRARY" = "$LDLIBRARY"
@@ -2223,6 +2226,13 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
22232226 fi
22242227fi
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
22272237AC_MSG_CHECKING(for --with-doc-strings)
22282238AC_ARG_WITH(doc-strings,
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments