X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=acinclude.m4;h=4ece919bcc32d296ecb815063c685a08d758ec0c;hp=d1a5a04d0a6b6daa09561f8c863b3fa323254d8f;hb=283c17a74cf11f40b822807f2d9f52644136c749;hpb=bbfe3b4c706d6e9cf6a9e07188454b5fd6a802e0 diff --git a/acinclude.m4 b/acinclude.m4 index d1a5a04..4ece919 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