Set the minimum Python version to 3.0
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 26 May 2017 13:20:41 +0000 (09:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 26 May 2017 13:20:45 +0000 (09:20 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index c8e9b9835e6099181a7d141c16f9c2340fbac49b..5b32e26db9426aed2782d8b773d19789b86b43ea 100644 (file)
@@ -240,7 +240,7 @@ AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes])
 
 if test "x${enable_python:-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_MSG_ERROR([Python 3.0 or newer is needed]) ])
 
   AM_PATH_PYTHON_MODULES([PYTHON])
   # pythondir is the path where extra modules are to be installed
This page took 0.026847 seconds and 4 git commands to generate.