Skip to content

Commit

Permalink
fix alsa configury and cmake checks
Browse files Browse the repository at this point in the history
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 7aba846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -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"
Expand Down

0 comments on commit 7aba846

Please sign in to comment.