configure.ac (5532af06) configure.ac (c235b4bc)
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

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

3819 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
3820fi
3821AC_SUBST(SYSTEM_LIBXML)
3822AC_SUBST(LIBXML_CFLAGS)
3823AC_SUBST(LIBXML_LIBS)
3824
3825
3826dnl ===================================================================
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

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

3819 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
3820fi
3821AC_SUBST(SYSTEM_LIBXML)
3822AC_SUBST(LIBXML_CFLAGS)
3823AC_SUBST(LIBXML_LIBS)
3824
3825
3826dnl ===================================================================
3827dnl Checks for a MacOS platform SDK compatible with an OSX 10.7 deployment target
3827dnl Checks for a MacOS platform SDK compatible with an OSX 10.9 deployment target
3828dnl ===================================================================
3829if test "$_os" = "Darwin"; then
3828dnl ===================================================================
3829if test "$_os" = "Darwin"; then
3830 sdk_target=10.7
3830 sdk_target=10.9
3831 AC_MSG_CHECKING([checking SDK compatibility with OSX $sdk_target])
3832
3833 sdk_minor=`echo $sdk_target | cut -d"." -f2`
3834
3831 AC_MSG_CHECKING([checking SDK compatibility with OSX $sdk_target])
3832
3833 sdk_minor=`echo $sdk_target | cut -d"." -f2`
3834
3835 if test "$sdk_minor" -lt "7"; then
3836 AC_MSG_ERROR([SDK version < 10.7 is not longer supported])
3835 if test "$sdk_minor" -lt "9"; then
3836 AC_MSG_ERROR([SDK version < 10.9 is not longer supported])
3837 else
3838 MACOSX_DEPLOYMENT_TARGET=$sdk_target
3839
3837 else
3838 MACOSX_DEPLOYMENT_TARGET=$sdk_target
3839
3840 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|9|10|11)" | sed -e "s/.*sdk //" | head -n1`
3840 dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?)
3841 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(10|11)" | sed -e "s/.*sdk //" | head -n1`
3841 if test -z "$sdk_found"; then
3842 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
3843 else
3844 AC_MSG_RESULT([yes, by using SDK $sdk_found])
3845 fi
3846
3847 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path`
3848 AC_MSG_CHECKING([for $sdk_path])

--- 3482 unchanged lines hidden ---
3842 if test -z "$sdk_found"; then
3843 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
3844 else
3845 AC_MSG_RESULT([yes, by using SDK $sdk_found])
3846 fi
3847
3848 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path`
3849 AC_MSG_CHECKING([for $sdk_path])

--- 3482 unchanged lines hidden ---