Commit 197a7d04 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Filter out garbage from arts-config --libs too.

parent 1b7600c6
......@@ -10855,7 +10855,14 @@ then
-I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
esac
done
ARTSC_LIBS=`$ARTSCCONFIG --libs`
ARTSC_LIBS=""
for i in `$ARTSCCONFIG --libs`
do
case "$i" in
-L/usr/lib|-L/usr/lib64) ;;
-L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
esac
done
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
......
......@@ -711,7 +711,14 @@ then
-I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
esac
done
ARTSC_LIBS=`$ARTSCCONFIG --libs`
ARTSC_LIBS=""
for i in `$ARTSCCONFIG --libs`
do
case "$i" in
-L/usr/lib|-L/usr/lib64) ;;
-L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
esac
done
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
AC_CHECK_LIB(artsc,arts_init,
......
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