Reduce minimum python version to 2.3.

This commit is contained in:
Ralf Corsépius 2007-09-12 08:23:51 +02:00
parent 2ff6e07f50
commit cfe8875a0f
1 changed files with 2 additions and 2 deletions

View File

@ -778,8 +778,8 @@ esac],
AS_IF([test "$enable_python" = yes],[ AS_IF([test "$enable_python" = yes],[
# rpm-python is based on python-2.5, # rpm-python is based on python-2.5,
# with legacy hacks for building against 2.4 # with legacy hacks to allow building against python >= 2.3
AM_PATH_PYTHON([2.4],[ AM_PATH_PYTHON([2.3],[
WITH_PYTHON_INCLUDE=`${PYTHON} -c 'from distutils.sysconfig import *; print get_python_inc()'` WITH_PYTHON_INCLUDE=`${PYTHON} -c 'from distutils.sysconfig import *; print get_python_inc()'`
WITH_PYTHON_SUBPACKAGE=1 WITH_PYTHON_SUBPACKAGE=1
save_CPPFLAGS="$CPPFLAGS" save_CPPFLAGS="$CPPFLAGS"