| configure.ac (e9b3fa8a) | configure.ac (e038f100) |
|---|---|
| 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 --- 4077 unchanged lines hidden (view full) --- 4086 with_system_python=yes 4087 AC_MSG_RESULT([compiling against MacOSX10.4u.sdk (python version 2.3)]) 4088 PYTHON_CFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3" 4089 PYTHON_LIBS="-framework Python" 4090elif test -n "$with_system_python" -o -n "$with_system_libs" && \ 4091 test "$with_system_python" != "no"; then 4092 with_system_python=yes 4093 AC_MSG_RESULT([external]) | 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 --- 4077 unchanged lines hidden (view full) --- 4086 with_system_python=yes 4087 AC_MSG_RESULT([compiling against MacOSX10.4u.sdk (python version 2.3)]) 4088 PYTHON_CFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3" 4089 PYTHON_LIBS="-framework Python" 4090elif test -n "$with_system_python" -o -n "$with_system_libs" && \ 4091 test "$with_system_python" != "no"; then 4092 with_system_python=yes 4093 AC_MSG_RESULT([external]) |
| 4094 AM_PATH_PYTHON([2.2]) | 4094 AM_PATH_PYTHON([2.3]) |
| 4095 | 4095 |
| 4096 python_include=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('INCLUDEPY');"` 4097 python_version=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('VERSION');"` | 4096 python_include=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('INCLUDEPY'));"` 4097 python_version=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"` |
| 4098 PYTHON_CFLAGS="-I$python_include" 4099 PYTHON_LIBS="-lpython$python_version" 4100fi 4101if test "$with_system_python" = "yes" ; then 4102 SYSTEM_PYTHON=YES 4103 dnl check if the headers really work: 4104 save_CPPFLAGS="$CPPFLAGS" 4105 CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS" --- 3608 unchanged lines hidden --- | 4098 PYTHON_CFLAGS="-I$python_include" 4099 PYTHON_LIBS="-lpython$python_version" 4100fi 4101if test "$with_system_python" = "yes" ; then 4102 SYSTEM_PYTHON=YES 4103 dnl check if the headers really work: 4104 save_CPPFLAGS="$CPPFLAGS" 4105 CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS" --- 3608 unchanged lines hidden --- |