| configure.ac (c4211d71) | configure.ac (4fa6b83d) |
|---|---|
| 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 --- 3832 unchanged lines hidden (view full) --- 3841 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3842 3843 if test "$sdk_minor" -lt "7"; then 3844 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3845 else 3846 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3847 3848 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 --- 3832 unchanged lines hidden (view full) --- 3841 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3842 3843 if test "$sdk_minor" -lt "7"; then 3844 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3845 else 3846 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3847 3848 dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?) |
| 3849 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11)" | sed -e "s/.*sdk //" | head -n1` | 3849 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11)" | sed -e "s/.*sdk //" | tail -n1` |
| 3850 if test -z "$sdk_found"; then 3851 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) 3852 else 3853 AC_MSG_RESULT([yes, by using SDK $sdk_found]) 3854 fi 3855 3856 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3857 AC_MSG_CHECKING([for $sdk_path]) --- 3482 unchanged lines hidden --- | 3850 if test -z "$sdk_found"; then 3851 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) 3852 else 3853 AC_MSG_RESULT([yes, by using SDK $sdk_found]) 3854 fi 3855 3856 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3857 AC_MSG_CHECKING([for $sdk_path]) --- 3482 unchanged lines hidden --- |