Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From: Otavio Salvador <otavio@ossystems.com.br> |
| 2 | Date: Fri, 4 Dec 2015 16:11:41 +0000 |
| 3 | Subject: [PATCH] Revert "Build: look for python >= 3.0 when building python bindings" |
| 4 | Organization: O.S. Systems Software LTDA. |
| 5 | |
| 6 | This reverts commit 227703a2ceada3c104edd56756d48455ca4c271a. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 11 | --- |
| 12 | configure.ac | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/configure.ac b/configure.ac |
| 16 | index 4dee4b4..6608bcd 100644 |
| 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac |
| 19 | @@ -339,7 +339,7 @@ AM_CONDITIONAL([PYTHON_BINDING], [test "x${enable_python_binding:-yes}" = xyes]) |
| 20 | |
| 21 | if test "x${enable_python_binding:-yes}" = xyes; then |
| 22 | AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) |
| 23 | - AM_PATH_PYTHON([3.0]) |
| 24 | + AM_PATH_PYTHON |
| 25 | |
| 26 | AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config]) |
| 27 | AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config]) |
| 28 | -- |
| 29 | 2.1.4 |
| 30 | |