]> git.pld-linux.org Git - packages/crossfire.git/blob - crossfire-python2.3.patch
a9bb71dd678349147a11b0c0d0f1bbe68c860588
[packages/crossfire.git] / crossfire-python2.3.patch
1 diff -dur crossfire-1.5.0.20030416.orig/acinclude.m4 crossfire-1.5.0.20030416/acinclude.m4
2 --- crossfire-1.5.0.20030416.orig/acinclude.m4  2003-04-05 07:39:46.000000000 +0200
3 +++ crossfire-1.5.0.20030416/acinclude.m4       2004-04-16 18:53:42.867327547 +0200
4 @@ -7,7 +7,7 @@
5         dir=""
6         AC_CHECK_HEADERS([Python.h],[cf_have_python_h=yes])
7         if test "x$cf_have_python_h" = "x"  ; then
8 -               for dir in /usr{,/local}/include/python{,2.2,2.1,2.0} ; do
9 +               for dir in /usr{,/local}/include/python{,2.4,2.3,2.2,2.1,2.0} ; do
10                         AC_CHECK_HEADERS(["$dir/Python.h"],[cf_have_python_h=yes])
11                         if test "x$cf_have_python_h" != "x" ; then
12                                 PY_INCLUDES="-I$dir"
13 @@ -21,7 +21,7 @@
14         if test "x$cf_have_python_h" = "xyes" ; then
15                 PYTHON_LIB=""
16  
17 -                for lib in python{,2.2,2.1,2.0} ; do
18 +                for lib in python{,2.4,2.3,2.2,2.1,2.0} ; do
19                          AC_CHECK_LIB($lib, PyArg_ParseTuple,[PYTHON_LIB="-l$lib"])
20                          if test "x$PYTHON_LIB" != "x" ; then
21                                  break
This page took 0.020694 seconds and 2 git commands to generate.