[Python-checkins] cpython: remove unused osx10.5 sdk check

benjamin.peterson python-checkins at python.org
Fri Sep 9 14:39:44 EDT 2016


https://hg.python.org/cpython/rev/b366a4d5860a
changeset:   103428:b366a4d5860a
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Sep 09 11:37:58 2016 -0700
summary:
  remove unused osx10.5 sdk check

files:
  configure     |  31 -------------------------------
  configure.ac  |  10 ----------
  pyconfig.h.in |   3 ---
  3 files changed, 0 insertions(+), 44 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -10806,37 +10806,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
--- a/configure.ac
+++ b/configure.ac
@@ -3203,16 +3203,6 @@
   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
--- 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
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list