1 --- rpm-4.3/configure.ac.orig 2004-12-23 12:17:23.000217152 +0000
2 +++ rpm-4.3/configure.ac 2004-12-23 12:19:30.094895824 +0000
4 WITH_PYTHON_VERSION=$withval
5 if test $withval = auto ; then
7 +AC_MSG_CHECKING(for python 2.4)
8 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
9 +#include <python2.4/Python.h>
11 + exit(strncmp("2.3", PY_VERSION, 3));
12 +} ]])],[withval=yes],[withval=no],[withval=yes])
13 + AC_MSG_RESULT($withval)
14 + if test $withval = yes ; then
15 + WITH_PYTHON_VERSION="2.4"
17 AC_MSG_CHECKING(for python 2.3)
18 AC_RUN_IFELSE([AC_LANG_SOURCE([[
19 #include <python2.3/Python.h>
28 if test "$WITH_PYTHON_VERSION" != no ; then