Kaydet (Commit) d4e34db6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Andras Timar

Accept also OS X 10.11

Change-Id: Ieedf4810f1e726bf11f0d0b1a203e560a0b16550
üst 8dc2806f
......@@ -2764,7 +2764,7 @@ if test $_os = Darwin; then
AC_MSG_CHECKING([what Mac OS X SDK to use])
for _macosx_sdk in $with_macosx_sdk 10.8 10.9 10.10; do
for _macosx_sdk in $with_macosx_sdk 10.8 10.9 10.10 10.11; do
MACOSX_SDK_PATH=`xcrun --sdk macosx${_macosx_sdk} --show-sdk-path 2> /dev/null`
if test -d "$MACOSX_SDK_PATH"; then
with_macosx_sdk="${_macosx_sdk}"
......@@ -2792,8 +2792,11 @@ if test $_os = Darwin; then
10.10)
MACOSX_SDK_VERSION=101000
;;
10.11)
MACOSX_SDK_VERSION=101100
;;
*)
AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.8--10])
AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.8--11])
;;
esac
......@@ -2822,8 +2825,11 @@ if test $_os = Darwin; then
10.10)
MAC_OS_X_VERSION_MIN_REQUIRED="101000"
;;
10.11)
MAC_OS_X_VERSION_MIN_REQUIRED="101100"
;;
*)
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.8--10])
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.8--11])
;;
esac
......@@ -2856,8 +2862,11 @@ if test $_os = Darwin; then
10.10)
MAC_OS_X_VERSION_MAX_ALLOWED="101000"
;;
10.11)
MAC_OS_X_VERSION_MAX_ALLOWED="101100"
;;
*)
AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.8--10])
AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.8--11])
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment