comparison configure.in @ 1009:027688378762

No really, don't link with the ALSA library!
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Dec 2004 07:32:53 +0000
parents 12b13601a544
children e3b3130f3af8
comparison
equal deleted inserted replaced
1008:5fb02068b648 1009:027688378762
281 AC_ARG_ENABLE(alsa, 281 AC_ARG_ENABLE(alsa,
282 [ --enable-alsa support the ALSA audio API [default=yes]], 282 [ --enable-alsa support the ALSA audio API [default=yes]],
283 , enable_alsa=yes) 283 , enable_alsa=yes)
284 if test x$enable_audio = xyes -a x$enable_alsa = xyes; then 284 if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
285 AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no) 285 AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
286 # Restore all flags from before the ALSA detection runs
287 CFLAGS="$alsa_save_CFLAGS"
288 LDFLAGS="$alsa_save_LDFLAGS"
289 LIBS="$alsa_save_LIBS"
286 if test x$have_alsa = xyes; then 290 if test x$have_alsa = xyes; then
287 AC_ARG_ENABLE(alsa-shared, 291 AC_ARG_ENABLE(alsa-shared,
288 [ --enable-alsa-shared dynamically load ALSA audio support [default=yes]], 292 [ --enable-alsa-shared dynamically load ALSA audio support [default=yes]],
289 , enable_alsa_shared=yes) 293 , enable_alsa_shared=yes)
290 if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then 294 if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then