From 9984f19106941e0050e1643e98aa9f0549caacc5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 13 Dec 2004 07:32:53 +0000 Subject: [PATCH] No really, don't link with the ALSA library! --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401010 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index d2729ddf8..040fa8eec 100644 --- a/configure.in +++ b/configure.in @@ -283,6 +283,10 @@ CheckALSA() , 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]],