]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
remove unused osx10.5 sdk check
authorBenjamin Peterson <benjamin@python.org>
Fri, 9 Sep 2016 18:37:58 +0000 (11:37 -0700)
committerBenjamin Peterson <benjamin@python.org>
Fri, 9 Sep 2016 18:37:58 +0000 (11:37 -0700)
configure
configure.ac
pyconfig.h.in

index 83550056b4900c6577cbcda1a9fb95d0476acfd7..92071cd3dfaffed880aa2bc1c22ee878203ac3f6 100755 (executable)
--- a/configure
+++ b/configure
@@ -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; }
index 67d3aefa618ad09b9f9456ba856f3064141fcb3a..98f67e1895f1f5aea8e04e3565924c4930257c22 100644 (file)
@@ -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,
index fb79413f429e91b98815b1dfe051686a7467703c..f181d7ffeeb0be57f1e5ca8e6cc23c89c03540e6 100644 (file)
 /* 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