Blob Blame History Raw
diff -up cyphesis-0.5.21/configure.ac.python27 cyphesis-0.5.21/configure.ac
--- cyphesis-0.5.21/configure.ac.python27	2010-07-27 17:10:12.034256643 -0400
+++ cyphesis-0.5.21/configure.ac	2010-07-27 17:11:15.697256087 -0400
@@ -161,42 +161,48 @@ dnl
 dnl if found define HAVE_PYTHON_H
 dnl
 
-AC_CHECK_HEADER(python2.6/Python.h,
+AC_CHECK_HEADER(python2.7/Python.h,
 [
-    python_include_path=-I${python_prefix}/include/python2.6
-    python_version=2.6
+    python_include_path=-I${python_prefix}/include/python2.7
+    python_version=2.7
 ],[
-    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.
-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.])
+                    AC_CHECK_HEADER(python2.2/Python.h,
+                    [
+                        python_include_path=-I${python_prefix}/include/python2.2
+                        python_version=2.2
+                    ],[
+                        AC_MSG_ERROR([
+    Cannot find python headers for Python 2.2 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.])
+                    ])
                 ])
             ])
         ])
     ])
 ])
-
+    
 PYTHON_VERSION=${python_version}
 PYTHON_INCLUDES=${python_include_path}
 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"