diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-07-16 21:40:11 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-07-23 15:12:20 +0300 |
commit | 9d1263d108244c172e682624557ca4d23ddfcd10 (patch) | |
tree | 6dd5e3cbabd1829fff46927e0059a14b59a2b96b /configure.in | |
parent | 4e7cfbfaedc747a9c7bfabf891897d36b741a765 (diff) |
Use xcode-select -print-path for 10.6 and 10.7 SDKs
Change-Id: I79d71c682c07f49b70c6791953c000868bf65cd9
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 7a0ec39e8def..783520f09cdc 100644 --- a/configure.in +++ b/configure.in @@ -2443,19 +2443,13 @@ if test "$_os" = "Darwin"; then echo "Building with a SDK > 10.4 is experimental" >> warn ;; 10.6) - MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.6.sdk" - if test ! -d "$MACOSX_SDK_PATH"; then - MACOSX_SDK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk - fi + MACOSX_SDK_PATH="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk" macosx_sdk_value="1060" AC_MSG_WARN([Building with a SDK > 10.4 is experimental]) echo "Building with a SDK > 10.4 is experimental" >> warn ;; 10.7) - MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.7.sdk" - if test ! -d "$MACOSX_SDK_PATH"; then - MACOSX_SDK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk - fi + MACOSX_SDK_PATH="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" macosx_sdk_value="1070" 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 |