summaryrefslogtreecommitdiff
blob: 373bbfe8c70025b33cb26fded18df5579d6e7ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -ur cyphesis-0.5.20.orig/configure.ac cyphesis-0.5.20/configure.ac
--- cyphesis-0.5.20.orig/configure.ac	2009-05-11 15:23:20.000000000 +0300
+++ cyphesis-0.5.20/configure.ac	2009-08-15 12:28:19.000000000 +0300
@@ -161,28 +161,28 @@
 dnl if found define HAVE_PYTHON_H
 dnl
 
-AC_CHECK_HEADER(python2.5/Python.h,
+AC_CHECK_HEADER(python2.6/Python.h,
 [
-    python_include_path=-I${python_prefix}/include/python2.5
-    python_version=2.5
+    python_include_path=-I${python_prefix}/include/python2.6
+    python_version=2.6
 ],[
-    AC_CHECK_HEADER(python2.4/Python.h,
+    AC_CHECK_HEADER(python2.5/Python.h,
     [
-        python_include_path=-I${python_prefix}/include/python2.4
-        python_version=2.4
+        python_include_path=-I${python_prefix}/include/python2.5
+        python_version=2.5
     ],[
-        AC_CHECK_HEADER(python2.3/Python.h,
+        AC_CHECK_HEADER(python2.4/Python.h,
         [
-            python_include_path=-I${python_prefix}/include/python2.3
-            python_version=2.3
+            python_include_path=-I${python_prefix}/include/python2.4
+            python_version=2.4
         ],[
-            AC_CHECK_HEADER(python2.2/Python.h,
+            AC_CHECK_HEADER(python2.3/Python.h,
             [
-                python_include_path=-I${python_prefix}/include/python2.2
-                python_version=2.2
+                python_include_path=-I${python_prefix}/include/python2.3
+                python_version=2.3
             ],[
                 AC_MSG_ERROR([
-Cannot find python headers for Python 2.2 or later.
+Cannot find python headers for Python 2.3 or later.
 Please see http://www.python.org/ for details of how to download and install
 Python. If Python is installed somewhere other than in /usr the please use the
 --with-python=DIR option to point to the prefix where Python is installed.])