configure.ac (3c5114b8) | configure.ac (9e1bc291) |
---|---|
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.9 deployment target | 3827dnl Checks for a MacOS platform SDK compatible with an OSX 10.7 deployment target |
3828dnl =================================================================== 3829if test "$_os" = "Darwin"; then | 3828dnl =================================================================== 3829if test "$_os" = "Darwin"; then |
3830 sdk_target=10.9 | 3830 sdk_target=10.7 |
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 "9"; then 3836 AC_MSG_ERROR([SDK version < 10.9 is not longer supported]) | 3835 if test "$sdk_minor" -lt "7"; then 3836 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) |
3837 else 3838 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3839 3840 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(9|10|11)" | sed -e "s/.*sdk //" | tail -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]) --- 3486 unchanged lines hidden --- | 3837 else 3838 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3839 3840 sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(9|10|11)" | sed -e "s/.*sdk //" | tail -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]) --- 3486 unchanged lines hidden --- |