dvbci.cpp: fix crash on service stop when more than one CI was used for this service
[enigma2.git] / acinclude.m4
index 3bb5b10..b71c89f 100644 (file)
@@ -414,6 +414,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
                python_path=
                for i in $CPPFLAGS ; do
                        p=`echo $i | sed "s,^-I,,"`
+                       p=`echo $p | sed "s,^-isystem,,"`
                        if test -f "$p/python$cross_PYTHON_VERSION/Python.h"; then
                                python_path="$p/python$cross_PYTHON_VERSION"
                                break