| configure.ac (63ad6360) | configure.ac (e4db7d0f) |
|---|---|
| 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 --- 3893 unchanged lines hidden (view full) --- 3902 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC" 3903fi 3904AC_SUBST(SYSTEM_LIBXML) 3905AC_SUBST(LIBXML_CFLAGS) 3906AC_SUBST(LIBXML_LIBS) 3907 3908 3909dnl =================================================================== | 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 --- 3893 unchanged lines hidden (view full) --- 3902 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC" 3903fi 3904AC_SUBST(SYSTEM_LIBXML) 3905AC_SUBST(LIBXML_CFLAGS) 3906AC_SUBST(LIBXML_LIBS) 3907 3908 3909dnl =================================================================== |
| 3910dnl Checks for a MacOS platform SDK which supports a OSX 10.7 deployment target | 3910dnl Checks for a MacOS platform SDK compatible with an OSX 10.7 deployment target |
| 3911dnl =================================================================== 3912if test "$_os" = "Darwin"; then 3913 sdk_target=10.7 3914 AC_MSG_CHECKING([checking SDK compatiblity with OSX $sdk_target]) 3915 3916 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3917 3918 if test "$sdk_minor" -lt "7"; then 3919 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3920 else | 3911dnl =================================================================== 3912if test "$_os" = "Darwin"; then 3913 sdk_target=10.7 3914 AC_MSG_CHECKING([checking SDK compatiblity with OSX $sdk_target]) 3915 3916 sdk_minor=`echo $sdk_target | cut -d"." -f2` 3917 3918 if test "$sdk_minor" -lt "7"; then 3919 AC_MSG_ERROR([SDK version < 10.7 is not longer supported]) 3920 else |
| 3921 AC_MSG_RESULT([yes]) | |
| 3922 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3923 | 3921 MACOSX_DEPLOYMENT_TARGET=$sdk_target 3922 |
| 3924 AC_MSG_CHECKING([for SDKs compatible with $MACOSX_DEPLOYMENT_TARGET]) | |
| 3925 sdk_found=`xcodebuild -showsdks | grep "sdk macosx10.[[789]]" | sed -e "s/.*sdk //" | head -n1` 3926 if test -z "$sdk_found"; then 3927 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) | 3923 sdk_found=`xcodebuild -showsdks | grep "sdk macosx10.[[789]]" | sed -e "s/.*sdk //" | head -n1` 3924 if test -z "$sdk_found"; then 3925 AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found]) |
| 3926 else 3927 AC_MSG_RESULT([yes, by using SDK $sdk_found]) |
|
| 3928 fi 3929 3930 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3931 AC_MSG_CHECKING([for $sdk_path]) 3932 if test -d "$sdk_path"; then 3933 AC_MSG_RESULT([yes]) 3934 else | 3928 fi 3929 3930 sdk_path=`xcodebuild -version -sdk ${sdk_found} Path` 3931 AC_MSG_CHECKING([for $sdk_path]) 3932 if test -d "$sdk_path"; then 3933 AC_MSG_RESULT([yes]) 3934 else |
| 3935 AC_MSG_ERROR([MacOS SDK $sdk_found is not available at $sdk_path]) | 3935 AC_MSG_ERROR([not found!]) |
| 3936 fi 3937 3938 MACOSX_SDK_PATH=$sdk_path 3939 fi 3940 3941fi 3942AC_SUBST(MACOSX_DEPLOYMENT_TARGET) 3943AC_SUBST(MACOSX_SDK_PATH) --- 3393 unchanged lines hidden --- | 3936 fi 3937 3938 MACOSX_SDK_PATH=$sdk_path 3939 fi 3940 3941fi 3942AC_SUBST(MACOSX_DEPLOYMENT_TARGET) 3943AC_SUBST(MACOSX_SDK_PATH) --- 3393 unchanged lines hidden --- |