summaryrefslogtreecommitdiff
path: root/packages/python/python-openmoko/python-path.patch
blob: f43260cd0e2dc13b532a85f65c2568dc824f1d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- python.orig/m4/python.m4
+++ python/m4/python.m4
@@ -43,12 +43,18 @@
 [AC_REQUIRE([AM_PATH_PYTHON])
 AC_MSG_CHECKING(for headers required to compile python extensions)
 dnl deduce PYTHON_INCLUDES
+AC_ARG_WITH(python-includes,
+	[  --with-python-includes=DIR  path to Python includes], py_exec_prefix=$withval)
+if test x$py_exec_prefix != x; then
+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+else
 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
 if test "$py_prefix" != "$py_exec_prefix"; then
   PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
 fi
+fi
 AC_SUBST(PYTHON_INCLUDES)
 dnl check if the headers exist:
 save_CPPFLAGS="$CPPFLAGS"
gheader'>2006-08-31ruby: added 1.8.5Marcin Juszkiewicz2 2006-08-05packages: sed -i s/^"include "/"require "/ */*.bb GNU sed rocks!Holger Freyther1 Use require for the BitBake files within packages. In contrast to the conf files the authors of these files expected these files to be included. 2006-07-14ruby: add 1.8.4, remove 1.8.2Philipp Zabel2 - 1.8.2 is gone upstream, closes bug 1171 2005-10-03add ruby 1.8.2; NOTE: ruby-native doesn't need to be adjustedMichael Lauer1 2005-06-30import clean BK tree at cset 1.3670Koen Kooi3 2005-02-16Merge bk://oe-devel@oe-devel.bkbits.net/openembeddedMichael Lauer2 into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/02/16 16:23:36+01:00 uni-frankfurt.de!mickeyl add ruby 1.8.2 courtesy Gints Polis BKrev: 421365ceT26rXTNFdhr2ay9kA9sh9A