| configure.ac (b9b58fda) | configure.ac (434ea190) |
|---|---|
| 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 --- 4079 unchanged lines hidden (view full) --- 4088AC_MSG_CHECKING([which python to use]) 4089if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then 4090 with_system_python=yes 4091 4092 _python="/Library/Frameworks/Python.framework/Versions/Current/bin/python" 4093 _python_hexversion=`$_python -c "import sys; print sys.hexversion;"` 4094 4095 dnl hex version of Python 2.7.1 = 34013680 | 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 --- 4079 unchanged lines hidden (view full) --- 4088AC_MSG_CHECKING([which python to use]) 4089if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then 4090 with_system_python=yes 4091 4092 _python="/Library/Frameworks/Python.framework/Versions/Current/bin/python" 4093 _python_hexversion=`$_python -c "import sys; print sys.hexversion;"` 4094 4095 dnl hex version of Python 2.7.1 = 34013680 |
| 4096 if test "$_python_hexversion" >= "34013680" ; then | 4096 if test $_python_hexversion -ge 34013680 ; then |
| 4097 AC_MSG_RESULT([compiling against system python (version $_python_version)]) 4098 4099 _python_ver=`$_python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"` 4100 4101 PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 4102 else 4103 AC_MSG_ERROR([Python 2.7.1 or higher is required]) 4104 fi --- 3604 unchanged lines hidden --- | 4097 AC_MSG_RESULT([compiling against system python (version $_python_version)]) 4098 4099 _python_ver=`$_python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"` 4100 4101 PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 4102 else 4103 AC_MSG_ERROR([Python 2.7.1 or higher is required]) 4104 fi --- 3604 unchanged lines hidden --- |