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
15863 15863
               elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then
15864 15864
                  mac_version_min="-mmacosx-version-min=10.4"
15865 15865
                  mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`"
15866
+              elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then
15867
+                 mac_version_min="-mmacosx-version-min=10.4"
15868
+                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`"
15866 15869
               else
15867
-                 as_fn_error $? "Could not find 10.5 to 10.12 SDK." "$LINENO" 5
15870
+                 as_fn_error $? "Could not find 10.5 to 10.13 SDK." "$LINENO" 5
15868 15871
               fi
15869 15872
            esac
15870 15873
 

+ 4
- 1
configure.in View File

@@ -258,8 +258,11 @@ case "${host_os}" in
258 258
               elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then
259 259
                  mac_version_min="-mmacosx-version-min=10.4"
260 260
                  mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`"
261
+              elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then
262
+                 mac_version_min="-mmacosx-version-min=10.4"
263
+                 mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`"
261 264
               else
262
-                 AC_MSG_ERROR([Could not find 10.5 to 10.12 SDK.])
265
+                 AC_MSG_ERROR([Could not find 10.5 to 10.13 SDK.])
263 266
               fi
264 267
            esac
265 268
 

Loading…
Cancel
Save