also handle -isystem
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 22 Sep 2008 12:38:04 +0000 (12:38 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 22 Sep 2008 12:38:04 +0000 (12:38 +0000)
acinclude.m4

index 3bb5b10bc1bc77fb1d3d2ef01335868a026a261b..b71c89f4898ba250418a9a919bb92e640463e700 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