configure: support SDK 10.13 in XCode

Updated configure.in
then ran autoconf to regenerate the configure script.

Fixes #274
This commit is contained in:
Phil Burk 2018-03-18 15:30:01 -07:00
parent 1bdcb9e413
commit 6e3f6b702f
2 changed files with 8 additions and 2 deletions

5
configure vendored
View File

@ -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

View File

@ -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