]> Repos - portaudio/commitdiff
[macosx] Add support for SDK 10.8 and 10.9.
authorphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 16 Jan 2014 17:49:33 +0000 (17:49 +0000)
committerphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 16 Jan 2014 17:49:33 +0000 (17:49 +0000)
This was required to fix a broken build caused
by not having SDK 10.7 or earlier.

configure
configure.in

index a58b15da5fbec419423493b0e8cb60043674fc12..13846d8d076efb9215a2d052a019d037b239fa9b 100755 (executable)
Binary files a/configure and b/configure differ
index 8501ea6a65f880c42b833192bae1490973cdf287..305b64ece7aaebbf55960f401d49fd3a549ae5d7 100644 (file)
@@ -243,8 +243,14 @@ case "${host_os}" in
               elif xcodebuild -version -sdk macosx10.7 Path >/dev/null 2>&1 ; then
                  mac_version_min="-mmacosx-version-min=10.4"
                  mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.7 Path`"
+              elif xcodebuild -version -sdk macosx10.8 Path >/dev/null 2>&1 ; then
+                 mac_version_min="-mmacosx-version-min=10.4"
+                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.8 Path`"
+              elif xcodebuild -version -sdk macosx10.9 Path >/dev/null 2>&1 ; then
+                 mac_version_min="-mmacosx-version-min=10.4"
+                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.9 Path`"
               else
-                 AC_MSG_ERROR([Couldn't find 10.5, 10.6, or 10.7 SDK])
+                 AC_MSG_ERROR([Couldn't find 10.5, 10.6, 10.7, 10.8 or 10.9 SDK])
               fi
            esac