Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
(Debian/Ubuntu : python3-dev)
swig >= 2.0 (optional)
(Debian/Ubuntu : swig2.0)
- python 3.0 or better (optional)
+ python >= 3.0 (optional)
(Debian/Ubuntu : python3)
If you want Python bindings, run ./configure --enable-python-bindings.
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(Python3 is not available or is not the default Python interpreter on your system. See the README file to learn how to override your distribution's default Python interpreter.)])
AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config])
AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config])