configure: support SDK 10.13 in XCode fixed #274 +1: Ryan Ollos Merged-on: https://assembla.com/code/portaudio/git/merge_requests/6183813mr/new/c0d239712d9afcd4b7ad58b6e1ba97a1d789d9eb
@@ -15863,8 +15863,11 @@ case "${host_os}" in | |||
elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then | |||
mac_version_min="-mmacosx-version-min=10.4" | |||
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`" | |||
elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then | |||
mac_version_min="-mmacosx-version-min=10.4" | |||
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`" | |||
else | |||
as_fn_error $? "Could not find 10.5 to 10.12 SDK." "$LINENO" 5 | |||
as_fn_error $? "Could not find 10.5 to 10.13 SDK." "$LINENO" 5 | |||
fi | |||
esac | |||
@@ -258,8 +258,11 @@ case "${host_os}" in | |||
elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then | |||
mac_version_min="-mmacosx-version-min=10.4" | |||
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`" | |||
elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then | |||
mac_version_min="-mmacosx-version-min=10.4" | |||
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`" | |||
else | |||
AC_MSG_ERROR([Could not find 10.5 to 10.12 SDK.]) | |||
AC_MSG_ERROR([Could not find 10.5 to 10.13 SDK.]) | |||
fi | |||
esac | |||