]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- support python 2.4
authorsaq <saq@pld-linux.org>
Thu, 23 Dec 2004 12:25:51 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-python24.patch -> 1.1

rpm-python24.patch [new file with mode: 0644]

diff --git a/rpm-python24.patch b/rpm-python24.patch
new file mode 100644 (file)
index 0000000..fbda09d
--- /dev/null
@@ -0,0 +1,28 @@
+--- rpm-4.3/configure.ac.orig  2004-12-23 12:17:23.000217152 +0000
++++ rpm-4.3/configure.ac       2004-12-23 12:19:30.094895824 +0000
+@@ -817,6 +817,16 @@
+ WITH_PYTHON_VERSION=$withval
+ if test $withval = auto ; then
++AC_MSG_CHECKING(for python 2.4)
++AC_RUN_IFELSE([AC_LANG_SOURCE([[
++#include <python2.4/Python.h>
++main() {
++  exit(strncmp("2.3", PY_VERSION, 3));
++} ]])],[withval=yes],[withval=no],[withval=yes])
++  AC_MSG_RESULT($withval)
++  if test $withval = yes ; then
++    WITH_PYTHON_VERSION="2.4"
++  else
+ AC_MSG_CHECKING(for python 2.3)
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
+ #include <python2.3/Python.h>
+@@ -851,7 +861,7 @@
+       fi
+     fi
+   fi
+-
++fi
+ fi
+ if test "$WITH_PYTHON_VERSION" != no ; then
This page took 0.039177 seconds and 4 git commands to generate.