diff -up cyphesis-0.5.17/configure.ac.py26 cyphesis-0.5.17/configure.ac
--- cyphesis-0.5.17/configure.ac.py26 2008-12-05 21:39:01.000000000 -0500
+++ cyphesis-0.5.17/configure.ac 2008-12-05 21:44:01.000000000 -0500
@@ -161,6 +161,11 @@ dnl
dnl if found define HAVE_PYTHON_H
dnl
+AC_CHECK_HEADER(python2.6/Python.h,
+[
+ python_include_path=-I${python_prefix}/include/python2.6
+ python_version=2.6
+],[
AC_CHECK_HEADER(python2.5/Python.h,
[
python_include_path=-I${python_prefix}/include/python2.5
@@ -190,6 +195,7 @@ Python. If Python is installed somewhere
])
])
])
+])
PYTHON_VERSION=${python_version}
PYTHON_INCLUDES=${python_include_path}