diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-09 18:37:58 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-09 18:37:58 (GMT) |
commit | a845a81e427402cff449d4d31434ffd7230d0beb (patch) | |
tree | 5c16ed0043a6941abcbba348cccd724341e8296d | |
parent | cce02f8b825ce462193c2e52fadc690004d1cd56 (diff) | |
download | cpython-a845a81e427402cff449d4d31434ffd7230d0beb.zip cpython-a845a81e427402cff449d4d31434ffd7230d0beb.tar.gz cpython-a845a81e427402cff449d4d31434ffd7230d0beb.tar.bz2 |
remove unused osx10.5 sdk check
-rwxr-xr-x | configure | 31 | ||||
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | pyconfig.h.in | 3 |
3 files changed, 0 insertions, 44 deletions
@@ -10806,37 +10806,6 @@ $as_echo "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSX 10.5 SDK or later" >&5 -$as_echo_n "checking for OSX 10.5 SDK or later... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include <Carbon/Carbon.h> -int -main () -{ -FSIORefNum fRef = 0 - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - - -$as_echo "#define HAVE_OSX105_SDK 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - # Check for --with-doc-strings { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5 $as_echo_n "checking for --with-doc-strings... " >&6; } diff --git a/configure.ac b/configure.ac index 67d3aef..98f67e1 100644 --- a/configure.ac +++ b/configure.ac @@ -3203,16 +3203,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ /* CAN_RAW_FD_FRAMES available check */ AC_MSG_RESULT(no) ]) -AC_MSG_CHECKING(for OSX 10.5 SDK or later) -AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[#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, diff --git a/pyconfig.h.in b/pyconfig.h.in index fb79413..f181d7f 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -649,9 +649,6 @@ /* Define to 1 if you have the `openpty' function. */ #undef HAVE_OPENPTY -/* Define if compiling using MacOS X 10.5 SDK or later. */ -#undef HAVE_OSX105_SDK - /* Define to 1 if you have the `pathconf' function. */ #undef HAVE_PATHCONF |