diff --git a/configure.ac b/configure.ac index c92006b74..d4e29ffcf 100644 --- a/configure.ac +++ b/configure.ac @@ -1028,7 +1028,7 @@ else if test "$SCILABINCDIR" != ""; then dirs="$SCILABINCDIR" else - dirs=`pkg-config scilab --cflags-only-I` + dirs=`pkg-config scilab --cflags-only-I | sed -e 's/-I//g'` fi for i in $dirs; do if test -r $i/api_scilab.h; then