# HG changeset patch # User Sam Lantinga # Date 1102923173 0 # Node ID 0276883787622d18088860ed9e6a20789dc33812 # Parent 5fb02068b6484cea67092d75c7966f6db9fea4bd No really, don't link with the ALSA library! diff -r 5fb02068b648 -r 027688378762 configure.in --- a/configure.in Mon Dec 13 07:07:08 2004 +0000 +++ b/configure.in Mon Dec 13 07:32:53 2004 +0000 @@ -283,6 +283,10 @@ , enable_alsa=yes) if test x$enable_audio = xyes -a x$enable_alsa = xyes; then AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no) + # Restore all flags from before the ALSA detection runs + CFLAGS="$alsa_save_CFLAGS" + LDFLAGS="$alsa_save_LDFLAGS" + LIBS="$alsa_save_LIBS" if test x$have_alsa = xyes; then AC_ARG_ENABLE(alsa-shared, [ --enable-alsa-shared dynamically load ALSA audio support [default=yes]],