configure.ac (a0ec95a2) configure.ac (37308aa2)
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

--- 3927 unchanged lines hidden (view full) ---

3936 sdk_minor=`echo $sdk_target | cut -d"." -f2`
3937
3938 if test "$sdk_minor" -lt "7"; then
3939 AC_MSG_ERROR([SDK version < 10.7 is not longer supported])
3940 else
3941 MACOSX_DEPLOYMENT_TARGET=$sdk_target
3942
3943 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

--- 3927 unchanged lines hidden (view full) ---

3936 sdk_minor=`echo $sdk_target | cut -d"." -f2`
3937
3938 if test "$sdk_minor" -lt "7"; then
3939 AC_MSG_ERROR([SDK version < 10.7 is not longer supported])
3940 else
3941 MACOSX_DEPLOYMENT_TARGET=$sdk_target
3942
3943 dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?)
3944 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11)" | sed -e "s/.*sdk //" | tail -n1`
3944 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11|12|13|14)" | sed -e "s/.*sdk //" | tail -n1`
3945 if test -z "$sdk_found"; then
3946 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
3947 else
3948 AC_MSG_RESULT([yes, by using SDK $sdk_found])
3949 fi
3950
3951 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path`
3952 AC_MSG_CHECKING([for $sdk_path])

--- 3561 unchanged lines hidden ---
3945 if test -z "$sdk_found"; then
3946 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
3947 else
3948 AC_MSG_RESULT([yes, by using SDK $sdk_found])
3949 fi
3950
3951 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path`
3952 AC_MSG_CHECKING([for $sdk_path])

--- 3561 unchanged lines hidden ---