From 0712b5651a67de5ba3bb9dafa243e6a5b0a80846 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 8 May 2010 19:13:21 +0000 Subject: Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X. --- configure | 10 +++++++--- configure.in | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 1990f59..d6f8f4f 100755 --- a/configure +++ b/configure @@ -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 @@ FSIORefNum fRef = 0 ; 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 "#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 diff --git a/configure.in b/configure.in index 48c4eb3..a13b44a 100644 --- a/configure.in +++ b/configure.in @@ -2569,7 +2569,7 @@ fi AC_MSG_CHECKING(for OSX 10.5 SDK or later) AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[#include ]], [[FSIORefNum fRef = 0]])], + AC_LANG_PROGRAM([[#include ]], [[FSIORefNum fRef = 0]]) ],[ AC_DEFINE(HAVE_OSX105_SDK, 1, [Define if compiling using MacOS X 10.5 SDK or later.]) AC_MSG_RESULT(yes) -- cgit v0.12