Fix test for arts.

This commit is contained in:
Vitaliy Margolen 2005-06-30 20:46:59 +00:00 committed by Alexandre Julliard
parent d5714dfc50
commit 80816e93f3
2 changed files with 3 additions and 2 deletions

2
configure vendored
View File

@ -11043,7 +11043,7 @@ if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lartsc $LIBS" LIBS="-lartsc $ARTSC_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ /* confdefs.h. */
_ACEOF _ACEOF

View File

@ -684,7 +684,8 @@ then
[AC_TRY_COMPILE([#include <artsc.h>],[arts_stream_t stream;], [AC_TRY_COMPILE([#include <artsc.h>],[arts_stream_t stream;],
[AC_SUBST(ARTSLIBS, $ARTSC_LIBS) [AC_SUBST(ARTSLIBS, $ARTSC_LIBS)
AC_SUBST(ARTSINCL, $ARTSC_CFLAGS) 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" CFLAGS="$save_CFLAGS"
fi fi