Skip to content
Snippets Groups Projects
Commit b3b12cff authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

More robust fix for the artsc-config breakage.

parent 3e2fa2c3
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment