projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
974c596
)
workaround: don't use host include path. this needs a real fix
author
Felix Domke
<tmbinc@elitedvb.net>
Wed, 3 Jan 2007 00:51:24 +0000
(
00:51
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Wed, 3 Jan 2007 00:51:24 +0000
(
00:51
+0000)
acinclude.m4
patch
|
blob
|
history
diff --git
a/acinclude.m4
b/acinclude.m4
index
d1a5a04
..
4ece919
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-410,7
+410,10
@@
AC_DEFUN([AC_PYTHON_DEVEL],[
# Check for Python include path
AC_MSG_CHECKING([for Python include path])
# Check for Python include path
AC_MSG_CHECKING([for Python include path])
- python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+ # FIXME:
+ # we hardcode for i686 host and mipsel target here.
+ # the whole thing is broken. fix this.
+ python_path=`echo $PYTHON | sed "s,/bin.*$,," | sed "s,i686,mipsel,"`
for i in "$python_path/include/python$PYTHON_VERSION/" "$python_path/include/python/" "$python_path/" ; do
python_path=`find $i -type f -name Python.h -print | sed "1q"`
if test -n "$python_path" ; then
for i in "$python_path/include/python$PYTHON_VERSION/" "$python_path/include/python/" "$python_path/" ; do
python_path=`find $i -type f -name Python.h -print | sed "1q"`
if test -n "$python_path" ; then