Fix test for arts.

diff --git a/configure b/configure
index 1e90ec2..87fce38 100755
--- a/configure
+++ b/configure
@@ -11043,7 +11043,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lartsc  $LIBS"
+LIBS="-lartsc $ARTSC_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF