Browse Source

configure: support SDK 10.13 in XCode

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

Fixes #274
mr/6183813/6e3f6b702f382905e3905682e7adaedf7e58958f
Phil Burk 1 year ago
parent
commit
6e3f6b702f
2 changed files with 8 additions and 2 deletions
  1. 4
    1
      configure
  2. 4
    1
      configure.in

+ 4
- 1
configure 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


+ 4
- 1
configure.in 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


Loading…
Cancel
Save