Skip to content
Permalink
Browse files

fix alsa configury and cmake checks

SDL's alsa uses snd_pcm_recover() which has been available only since
alsa-lib-1.0.11. (backported fix for bug #3043.)
  • Loading branch information
sezero committed Mar 24, 2018
1 parent aa32ff7 commit 7aba8469109a68cf00f61eff61fdcb208928c3fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.in
@@ -361,7 +361,7 @@ CheckALSA()
AC_HELP_STRING([--enable-alsa], [support the ALSA audio API [[default=yes]]]),
, 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)
AM_PATH_ALSA(1.0.11, have_alsa=yes, have_alsa=no)
# Restore all flags from before the ALSA detection runs
CFLAGS="$alsa_save_CFLAGS"
LDFLAGS="$alsa_save_LDFLAGS"

0 comments on commit 7aba846

Please sign in to comment.