Fix test for arts.
This commit is contained in:
parent
d5714dfc50
commit
80816e93f3
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue