| configure.ac (0e02109a) | configure.ac (e7dbd3e3) |
|---|---|
| 1dnl * ************************************************************* 2dnl * 3dnl * Licensed to the Apache Software Foundation (ASF) under one 4dnl * or more contributor license agreements. See the NOTICE file 5dnl * distributed with this work for additional information 6dnl * regarding copyright ownership. The ASF licenses this file 7dnl * to you under the Apache License, Version 2.0 (the 8dnl * "License"); you may not use this file except in compliance --- 3931 unchanged lines hidden (view full) --- 3940 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3941 3942 if test "$sdk_minor" -lt "7"; then 3943 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3944 else 3945 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3946 3947 dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?) | 1dnl * ************************************************************* 2dnl * 3dnl * Licensed to the Apache Software Foundation (ASF) under one 4dnl * or more contributor license agreements. See the NOTICE file 5dnl * distributed with this work for additional information 6dnl * regarding copyright ownership. The ASF licenses this file 7dnl * to you under the Apache License, Version 2.0 (the 8dnl * "License"); you may not use this file except in compliance --- 3931 unchanged lines hidden (view full) --- 3940 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3941 3942 if test "$sdk_minor" -lt "7"; then 3943 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3944 else 3945 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3946 3947 dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?) |
| 3948 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11|12|13|14)" | sed -e "s/.*sdk //" | tail -n1` | 3948 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11)" | sed -e "s/.*sdk //" | tail -n1` |
| 3949 if test -z "$sdk_found"; then 3950 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) 3951 else 3952 AC_MSG_RESULT([yes, by using SDK $sdk_found]) 3953 fi 3954 3955 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3956 AC_MSG_CHECKING([for $sdk_path]) --- 3561 unchanged lines hidden --- | 3949 if test -z "$sdk_found"; then 3950 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) 3951 else 3952 AC_MSG_RESULT([yes, by using SDK $sdk_found]) 3953 fi 3954 3955 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3956 AC_MSG_CHECKING([for $sdk_path]) --- 3561 unchanged lines hidden --- |