- Lower the bar for the python version check: require >= 2.3 instead of >= 2.4

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@291 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-02-05 14:01:19 +00:00
parent 18916e3f43
commit 1ebfef4064
2 changed files with 4 additions and 2 deletions

View File

@ -70,7 +70,7 @@ dnl make
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
dnl check for python and SWIG dnl check for python and SWIG
AC_PYTHON_DEVEL([>= '2.4']) AC_PYTHON_DEVEL([>= '2.3'])
AC_PROG_SWIG AC_PROG_SWIG
SWIG_ENABLE_CXX SWIG_ENABLE_CXX
SWIG_PYTHON SWIG_PYTHON

View File

@ -37,7 +37,9 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
# Allow the use of a (user set) custom python version # Allow the use of a (user set) custom python version
# #
AC_ARG_VAR([PYTHON_VERSION],[The installed Python AC_ARG_VAR([PYTHON_VERSION],[The installed Python
version to use, for example '2.3']) version to use, for example '2.3'. This string
will be appended to the Python interpreter
canonical name.])
AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]]) AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
if test -z "$PYTHON"; then if test -z "$PYTHON"; then