diff options
Diffstat (limited to 'meta-extras/packages/flumotion/flumotion/python-path.patch')
-rw-r--r-- | meta-extras/packages/flumotion/flumotion/python-path.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-extras/packages/flumotion/flumotion/python-path.patch b/meta-extras/packages/flumotion/flumotion/python-path.patch new file mode 100644 index 0000000000..377994e729 --- /dev/null +++ b/meta-extras/packages/flumotion/flumotion/python-path.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Index: flumotion-0.3.1/common/as-python.m4 | ||
2 | =================================================================== | ||
3 | --- flumotion-0.3.1.orig/common/as-python.m4 2007-03-02 15:26:46.704717964 +0100 | ||
4 | +++ flumotion-0.3.1/common/as-python.m4 2007-03-02 15:27:28.601326374 +0100 | ||
5 | @@ -199,6 +199,12 @@ | ||
6 | AC_MSG_CHECKING(for headers required to compile python extensions) | ||
7 | |||
8 | dnl deduce PYTHON_INCLUDES | ||
9 | + | ||
10 | + AC_ARG_WITH(python-includes, | ||
11 | + [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) | ||
12 | + if test x$py_exec_prefix != x; then | ||
13 | + PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" | ||
14 | + else | ||
15 | py_prefix=`$PYTHON -c "import sys; print sys.prefix"` | ||
16 | py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` | ||
17 | PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" | ||
18 | @@ -206,6 +212,7 @@ | ||
19 | if test "$py_prefix" != "$py_exec_prefix"; then | ||
20 | PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" | ||
21 | fi | ||
22 | + fi | ||
23 | AC_SUBST(PYTHON_INCLUDES) | ||
24 | |||
25 | dnl check if the headers exist: | ||