Build: look for python >= 3.0 when building python bindings
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 6 Aug 2015 23:00:15 +0000 (19:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 14 Aug 2015 21:58:25 +0000 (17:58 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index 5afcfb7d25a26c7dd4269bc109eee8ba658787c3..45e92853ab2acf519f993dddc16dfcf0a333cfe0 100644 (file)
@@ -320,7 +320,7 @@ AM_CONDITIONAL([PYTHON_BINDING], [test "x${enable_python_binding:-yes}" = xyes])
 
 if test "x${enable_python_binding:-yes}" = xyes; then
   AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ])
-  AM_PATH_PYTHON
+  AM_PATH_PYTHON([3.0])
 
   AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config])
   AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config])
This page took 0.031392 seconds and 4 git commands to generate.