* Fabrice Coutadeur <[email protected]>, 2010-12-11, 10:32:
--- cyphesis-cpp-0.5.21.orig/configure.ac
+++ cyphesis-cpp-0.5.21/configure.ac
@@ -161,6 +161,11 @@
dnl if found define HAVE_PYTHON_H
dnl

+AC_CHECK_HEADER(python2.7/Python.h,
+[
+    python_include_path=-I${python_prefix}/include/python2.7
+    python_version=2.7
+],[
AC_CHECK_HEADER(python2.6/Python.h,
[
    python_include_path=-I${python_prefix}/include/python2.6
@@ -195,7 +200,7 @@
            ])
        ])
    ])
-])
+])])

PYTHON_VERSION=${python_version}
PYTHON_INCLUDES=${python_include_path}

But with your patch cyphesis-cpp would use python2.7 if it's installed but not yet a default version, wouldn't it? If this is the case, I'm afraid that this patch is not suitable for Debian. (Though it might be suitable for upstream.)

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to