Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
31ad7873
Kaydet (Commit)
31ad7873
authored
Haz 20, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Look for the 10.9 SDK, too
Change-Id: Iee70f531422fe6a312830dc9aa2d57e4f802953d
üst
0cf61137
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
configure.ac
configure.ac
+25
-8
No files found.
configure.ac
Dosyayı görüntüle @
31ad7873
...
@@ -2417,8 +2417,8 @@ if test $_os = Darwin; then
...
@@ -2417,8 +2417,8 @@ if test $_os = Darwin; then
BITNESS_OVERRIDE=64
BITNESS_OVERRIDE=64
fi
fi
# If no --with-macosx-sdk option is given, look for 10.6, 10.7
# If no --with-macosx-sdk option is given, look for 10.6, 10.7
,
#
and 10.8
SDKs, in that order. If not found in some (old)
#
10.8 and 10.9
SDKs, in that order. If not found in some (old)
# default locations, try the xcode-select tool.
# default locations, try the xcode-select tool.
# The intent is that for "most" Mac-based developers, a suitable
# The intent is that for "most" Mac-based developers, a suitable
...
@@ -2429,8 +2429,8 @@ if test $_os = Darwin; then
...
@@ -2429,8 +2429,8 @@ if test $_os = Darwin; then
# addition to Xcode 4 in /Applications/Xcode.app, the 10.6 SDK
# addition to Xcode 4 in /Applications/Xcode.app, the 10.6 SDK
# should be found.
# should be found.
# For developers with a current Xcode
4 installed from the Mac App
# For developers with a current Xcode
, the lowest-numbered SDK
#
Store, the 10.6, 10.7 or 10.8 SDK
should be found.
# should be found.
AC_MSG_CHECKING([what Mac OS X SDK to use])
AC_MSG_CHECKING([what Mac OS X SDK to use])
...
@@ -2451,6 +2451,8 @@ if test $_os = Darwin; then
...
@@ -2451,6 +2451,8 @@ if test $_os = Darwin; then
with_macosx_sdk=10.7
with_macosx_sdk=10.7
elif test -d "$xcodepath/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"; then
elif test -d "$xcodepath/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"; then
with_macosx_sdk=10.8
with_macosx_sdk=10.8
elif test -d "$xcodepath/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"; then
with_macosx_sdk=10.9
fi
fi
fi
fi
if test -z "$with_macosx_sdk"; then
if test -z "$with_macosx_sdk"; then
...
@@ -2468,6 +2470,9 @@ if test $_os = Darwin; then
...
@@ -2468,6 +2470,9 @@ if test $_os = Darwin; then
10.8)
10.8)
MACOSX_SDK_VERSION=1080
MACOSX_SDK_VERSION=1080
;;
;;
10.9)
MACOSX_SDK_VERSION=1090
;;
*)
*)
AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported value are 10.6--8])
AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported value are 10.6--8])
;;
;;
...
@@ -2475,7 +2480,7 @@ if test $_os = Darwin; then
...
@@ -2475,7 +2480,7 @@ if test $_os = Darwin; then
# Next find it (again, if we deduced its version above by finding
# Next find it (again, if we deduced its version above by finding
# it... but we need to look for it once more in case
# it... but we need to look for it once more in case
# --with-macosx-sdk was given so that the abo
c
e search did not
# --with-macosx-sdk was given so that the abo
v
e search did not
# happen).
# happen).
if test -z "$MACOSX_SDK_PATH"; then
if test -z "$MACOSX_SDK_PATH"; then
case $with_macosx_sdk in
case $with_macosx_sdk in
...
@@ -2493,7 +2498,7 @@ if test $_os = Darwin; then
...
@@ -2493,7 +2498,7 @@ if test $_os = Darwin; then
fi
fi
fi
fi
;;
;;
10.7
|10.8
)
10.7)
if test -d /Developer/SDKs/MacOSX$with_macosx_sdk.sdk; then
if test -d /Developer/SDKs/MacOSX$with_macosx_sdk.sdk; then
MACOSX_SDK_PATH=/Developer/SDKs/MacOSX$with_macosx_sdk.sdk
MACOSX_SDK_PATH=/Developer/SDKs/MacOSX$with_macosx_sdk.sdk
elif test -x /usr/bin/xcode-select; then
elif test -x /usr/bin/xcode-select; then
...
@@ -2503,6 +2508,12 @@ if test $_os = Darwin; then
...
@@ -2503,6 +2508,12 @@ if test $_os = Darwin; then
fi
fi
fi
fi
;;
;;
10.8|10.9)
xcodepath="`xcode-select -print-path`"
if test -d "$xcodepath/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$with_macosx_sdk.sdk"; then
MACOSX_SDK_PATH="$xcodepath/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$with_macosx_sdk.sdk"
fi
;;
esac
esac
if test -z "$MACOSX_SDK_PATH"; then
if test -z "$MACOSX_SDK_PATH"; then
AC_MSG_ERROR([Could not figure out the location of Mac OS X $with_macosx_sdk SDK])
AC_MSG_ERROR([Could not figure out the location of Mac OS X $with_macosx_sdk SDK])
...
@@ -2531,8 +2542,11 @@ if test $_os = Darwin; then
...
@@ -2531,8 +2542,11 @@ if test $_os = Darwin; then
10.8)
10.8)
MAC_OS_X_VERSION_MIN_REQUIRED="1080"
MAC_OS_X_VERSION_MIN_REQUIRED="1080"
;;
;;
10.9)
MAC_OS_X_VERSION_MIN_REQUIRED="1090"
;;
*)
*)
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported value are 10.6--
8
])
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported value are 10.6--
9
])
;;
;;
esac
esac
...
@@ -2570,7 +2584,7 @@ if test $_os = Darwin; then
...
@@ -2570,7 +2584,7 @@ if test $_os = Darwin; then
CXX="g++-4.2 $bitness -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH"
CXX="g++-4.2 $bitness -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH"
fi
fi
;;
;;
10.7|10.8)
10.7|10.8
|10.9
)
if test "$enable_libc__" = yes -a "$with_macosx_version_min_required" != 10.6; then
if test "$enable_libc__" = yes -a "$with_macosx_version_min_required" != 10.6; then
# Use libc++ instead of libstdc++ when possible
# Use libc++ instead of libstdc++ when possible
# and also compile as C++11
# and also compile as C++11
...
@@ -2603,6 +2617,9 @@ if test $_os = Darwin; then
...
@@ -2603,6 +2617,9 @@ if test $_os = Darwin; then
10.8)
10.8)
MAC_OS_X_VERSION_MAX_ALLOWED="1080"
MAC_OS_X_VERSION_MAX_ALLOWED="1080"
;;
;;
10.9)
MAC_OS_X_VERSION_MAX_ALLOWED="1090"
;;
*)
*)
AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported value are 10.6--8])
AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported value are 10.6--8])
;;
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment