Look for the Mac OS X SDKs also where current Xcode has them
This commit is contained in:
14
configure.in
14
configure.in
@@ -2317,20 +2317,20 @@ if test "$_os" = "Darwin"; then
|
||||
10.4)
|
||||
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.4u.sdk"
|
||||
if test ! -d "$MACOSX_SDK_PATH"; then
|
||||
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.4u.sdk"
|
||||
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.4u.sdk"
|
||||
fi
|
||||
if test ! -d "$MACOSX_SDK_PATH"; then
|
||||
MACOSX_SDK_PATH="/Xcode3/SDKs/MacOSX10.4u.sdk"
|
||||
MACOSX_SDK_PATH="/Xcode3/SDKs/MacOSX10.4u.sdk"
|
||||
fi
|
||||
macosx_sdk_value="1040"
|
||||
;;
|
||||
10.5)
|
||||
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.5.sdk"
|
||||
if test ! -d "$MACOSX_SDK_PATH"; then
|
||||
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.5.sdk"
|
||||
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.5.sdk"
|
||||
fi
|
||||
if test ! -d "$MACOSX_SDK_PATH"; then
|
||||
MACOSX_SDK_PATH="/Xcode3/SDKs/MacOSX10.5.sdk"
|
||||
MACOSX_SDK_PATH="/Xcode3/SDKs/MacOSX10.5.sdk"
|
||||
fi
|
||||
macosx_sdk_value="1050"
|
||||
AC_MSG_WARN([Building with a SDK > 10.4 is experimental])
|
||||
@@ -2338,12 +2338,18 @@ if test "$_os" = "Darwin"; then
|
||||
;;
|
||||
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_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_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
|
||||
|
Reference in New Issue
Block a user