summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-07-30 21:10:41 +0300
committerTor Lillqvist <tml@iki.fi>2012-07-30 21:10:41 +0300
commit6e60ee677ebbb47ac22d4cb18925afb1fd7e6c9f (patch)
treecfe3b616e106787825c17b30e88041b4bfab1bce
parent4646a4e5e8a82cffa13cf524b22863f4e805944c (diff)
Add "support" for building against the 10.8 SDK
Presumably like building against the 10.7 SDK, --enable-coretext should be used to avoid compilation errors, and it will likely get into a loop at run-time quite quickly. Change-Id: Ib773368a0c5f79dafd3264a8229c5133943f88d6
-rw-r--r--configure.in26
1 files changed, 22 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 48ccef83fb0f..20d5b886ba3b 100644
--- a/configure.in
+++ b/configure.in
@@ -2487,8 +2487,14 @@ if test "$_os" = "Darwin"; then
AC_MSG_WARN([Building with SDK 10.7 is known to fail in vcl])
echo "Building with SDK 10.7 is known to fail in vcl" >> warn
;;
+ 10.8)
+ MACOSX_SDK_PATH="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
+ MACOSX_SDK_VERSION="1080"
+ AC_MSG_WARN([Building with SDK 10.8 is known to fail in vcl])
+ echo "Building with SDK 10.8 is known to fail in vcl" >> warn
+ ;;
*)
- AC_MSG_ERROR([$with_macosx_sdk is not a supported SDK value, supported value are 10.4, 10.5, 10.6 and 10.7])
+ AC_MSG_ERROR([$with_macosx_sdk is not a supported SDK value, supported value are 10.4--8])
;;
esac
AC_MSG_CHECKING([the presence of the SDK $with_macosx_sdk])
@@ -2532,8 +2538,17 @@ if test "$_os" = "Darwin"; then
CXX="g++-4.2 -m32"
fi
;;
+ 10.8)
+ MAC_OS_X_VERSION_MIN_REQUIRED="1080"
+ AC_MSG_WARN([Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build])
+ echo "Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build" >>warn
+ if test -z "$save_CC"; then
+ CC="gcc-4.2 -m32"
+ CXX="g++-4.2 -m32"
+ fi
+ ;;
*)
- AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported value are 10.4, 10.5, 10.6 and 10.7])
+ AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported value are 10.4--8])
;;
esac
@@ -2551,8 +2566,11 @@ if test "$_os" = "Darwin"; then
10.7)
MAC_OS_X_VERSION_MAX_ALLOWED="1070"
;;
+ 10.8)
+ MAC_OS_X_VERSION_MAX_ALLOWED="1080"
+ ;;
*)
- AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported value are 10.4, 10.5, 10.6 and 10.7])
+ AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported value are 10.4--8])
;;
esac
@@ -6747,7 +6765,7 @@ else
case $with_macosx_sdk in
10.6)
python_version=2.6;;
- 10.7)
+ 10.7|10.8)
python_version=2.7;;
*)
# ???