comparison configure.ac @ 2184:3bd61577ab8b

[gaim-migrate @ 2194] i wonder if this works better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 28 Aug 2001 18:44:13 +0000
parents 665e1dbeb8da
children 65d76d629d1b
comparison
equal deleted inserted replaced
2183:94ee8eacb6f8 2184:3bd61577ab8b
225 if test "$enable_esd" = yes ; then 225 if test "$enable_esd" = yes ; then
226 AM_PATH_GESD 226 AM_PATH_GESD
227 if test "$no_esd" != yes ; then 227 if test "$no_esd" != yes ; then
228 old_CFLAGS="$CFLAGS" 228 old_CFLAGS="$CFLAGS"
229 CFLAGS="$CFLAGS $ESD_CFLAGS" 229 CFLAGS="$CFLAGS $ESD_CFLAGS"
230 AC_CHECK_HEADER(esd.h, 230 AC_TRY_COMPILE(,[#include <esd.h>],
231 [ 231 [
232 AC_DEFINE(ESD_SOUND) 232 AC_DEFINE(ESD_SOUND)
233 SOUND_LIBS="$SOUND_LIBS $ESD_LIBS" 233 SOUND_LIBS="$SOUND_LIBS $ESD_LIBS"
234 ],[ 234 ],[
235 enable_esd=no 235 enable_esd=no
242 if test "x$enable_artsc" = "xyes"; then 242 if test "x$enable_artsc" = "xyes"; then
243 AM_PATH_ARTSC 243 AM_PATH_ARTSC
244 if test "x$no_artsc" != "xyes" ; then 244 if test "x$no_artsc" != "xyes" ; then
245 old_CFLAGS="$CFLAGS" 245 old_CFLAGS="$CFLAGS"
246 CFLAGS="$CFLAGS $ARTSC_CFLAGS" 246 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
247 AC_CHECK_HEADER(artsc.h, 247 AC_TRY_COMPILE(,[#include <artsc.h>],
248 [ 248 [
249 AC_DEFINE(ARTSC_SOUND) 249 AC_DEFINE(ARTSC_SOUND)
250 SOUND_LIBS="$SOUND_LIBS $ARTSC_LIBS" 250 SOUND_LIBS="$SOUND_LIBS $ARTSC_LIBS"
251 ],[ 251 ],[
252 enable_artsc=no 252 enable_artsc=no