From 80816e93f3fc361f6014df0815fa311151520526 Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Thu, 30 Jun 2005 20:46:59 +0000 Subject: [PATCH] Fix test for arts. --- configure | 2 +- configure.ac | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1e90ec2276..87fce3848c 100755 --- a/configure +++ b/configure @@ -11043,7 +11043,7 @@ if test "${ac_cv_lib_artsc_arts_init+set}" = set; then 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 diff --git a/configure.ac b/configure.ac index f714b3fc01..175eadd505 100644 --- a/configure.ac +++ b/configure.ac @@ -684,7 +684,8 @@ then [AC_TRY_COMPILE([#include ],[arts_stream_t stream;], [AC_SUBST(ARTSLIBS, $ARTSC_LIBS) AC_SUBST(ARTSINCL, $ARTSC_CFLAGS) - AC_DEFINE(HAVE_ARTS, 1, [Define if you have ARTS sound server])])],) + AC_DEFINE(HAVE_ARTS, 1, [Define if you have ARTS sound server])])],, + $ARTSC_LIBS) CFLAGS="$save_CFLAGS" fi -- 2.32.0.93.g670b81a890