]>
Commit | Line | Data |
---|---|---|
ae447a11 AM |
1 | --- crossfire-1.9.1/acinclude.m4~ 2011-02-13 10:39:46.944104327 +0100 |
2 | +++ crossfire-1.9.1/acinclude.m4 2011-02-13 10:42:41.044603409 +0100 | |
3 | @@ -6,7 +6,7 @@ | |
4 | PY_INCLUDES="" | |
5 | dir="" | |
6 | if test "x$PYTHON_HOME" != "x"; then | |
7 | - for pyver in "" 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
8 | + for pyver in "" 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
9 | dir=$PYTHON_HOME/include/python${pyver} | |
10 | AC_CHECK_HEADERS(["$dir/Python.h"],[cf_have_python_h=yes]) | |
11 | if test "x$cf_have_python_h" != "x" ; then | |
12 | @@ -20,7 +20,7 @@ | |
13 | PY_INCLUDES="" | |
14 | if test "x$cf_have_python_h" = "x" ; then | |
15 | for ldir in "" /local ; do | |
16 | - for pyver in "" 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
17 | + for pyver in "" 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
18 | dir=/usr${ldir}/include/python${pyver} | |
19 | AC_CHECK_HEADERS(["$dir/Python.h"],[cf_have_python_h=yes]) | |
20 | if test "x$cf_have_python_h" != "x" ; then | |
21 | @@ -67,7 +67,7 @@ | |
22 | fi | |
23 | ||
24 | else | |
25 | - for pyver in "" 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
26 | + for pyver in "" 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 ; do | |
27 | AC_CHECK_LIB(python$pyver, PyArg_ParseTuple,[PYTHON_LIB="-lpython$pyver"]) | |
28 | if test "x$PYTHON_LIB" != "x" ; then | |
29 | break |