[Python-checkins] r81004 - in python/trunk: configure configure.in

mark.dickinson python-checkins at python.org
Sat May 8 21:13:21 CEST 2010


Author: mark.dickinson
Date: Sat May  8 21:13:21 2010
New Revision: 81004

Log:
Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X.

Modified:
   python/trunk/configure
   python/trunk/configure.in

Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure	(original)
+++ python/trunk/configure	Sat May  8 21:13:21 2010
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 80969 .
+# From configure.in Revision: 80970 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65 for python 2.7.
 #
@@ -9281,10 +9281,9 @@
   ;
   return 0;
 }
+
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  ]
-else
 
 
 $as_echo "#define HAVE_OSX105_SDK 1" >>confdefs.h
@@ -9292,6 +9291,11 @@
   { $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
 

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Sat May  8 21:13:21 2010
@@ -2569,7 +2569,7 @@
 
 AC_MSG_CHECKING(for OSX 10.5 SDK or later)
 AC_COMPILE_IFELSE([
-  AC_LANG_PROGRAM([[#include <Carbon/Carbon.h>]], [[FSIORefNum fRef = 0]])],
+  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)


More information about the Python-checkins mailing list