summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in10
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