]>
Commit | Line | Data |
---|---|---|
301fcd53 | 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 | |
3 | @@ -817,6 +817,16 @@ | |
4 | WITH_PYTHON_VERSION=$withval | |
5 | if test $withval = auto ; then | |
6 | ||
7 | +AC_MSG_CHECKING(for python 2.4) | |
8 | +AC_RUN_IFELSE([AC_LANG_SOURCE([[ | |
9 | +#include <python2.4/Python.h> | |
10 | +main() { | |
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" | |
16 | + else | |
17 | AC_MSG_CHECKING(for python 2.3) | |
18 | AC_RUN_IFELSE([AC_LANG_SOURCE([[ | |
19 | #include <python2.3/Python.h> | |
20 | @@ -851,7 +861,7 @@ | |
21 | fi | |
22 | fi | |
23 | fi | |
24 | - | |
25 | +fi | |
26 | fi | |
27 | ||
28 | if test "$WITH_PYTHON_VERSION" != no ; then |