diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-01-03 00:51:24 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-01-03 00:51:24 +0000 |
| commit | a27edb006a2c1e54305be359d3198b508f80d457 (patch) | |
| tree | 5ad1e1b10941df1776bd48e54491ea3240612d4b /acinclude.m4 | |
| parent | 974c5968c1a263879795003dfdbdda6f96030982 (diff) | |
| download | enigma2-a27edb006a2c1e54305be359d3198b508f80d457.tar.gz enigma2-a27edb006a2c1e54305be359d3198b508f80d457.zip | |
workaround: don't use host include path. this needs a real fix
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index d1a5a04d..4ece919b 100644 --- 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]) - 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 |
