Commit b3b12cff authored by Alexandre Julliard's avatar Alexandre Julliard

More robust fix for the artsc-config breakage.

parent 3e2fa2c3
......@@ -11188,7 +11188,13 @@ fi
if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
then
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags | sed 's/\-pthread//'`
ARTSC_CFLAGS=""
for i in `$ARTSCCONFIG --cflags`
do
case "$i" in
-I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
esac
done
ARTSC_LIBS=`$ARTSCCONFIG --libs`
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
......
......@@ -602,7 +602,13 @@ dnl **** Check for aRts Sound Server ****
AC_PATH_PROG(ARTSCCONFIG, artsc-config)
if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
then
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags | sed 's/\-pthread//'`
ARTSC_CFLAGS=""
for i in `$ARTSCCONFIG --cflags`
do
case "$i" in
-I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
esac
done
ARTSC_LIBS=`$ARTSCCONFIG --libs`
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment