Fix ALSA block (remove legacy code)
Originally committed to SVN as r2695.
This commit is contained in:
parent
c37e33e29c
commit
0035436eff
1 changed files with 9 additions and 6 deletions
15
configure.in
15
configure.in
|
@ -375,16 +375,19 @@ AC_SUBST(ICONV_CFLAGS)
|
||||||
## ALSA
|
## ALSA
|
||||||
#######
|
#######
|
||||||
AC_ARG_WITH(alsa, [ --without-alsa build without ALSA audio provider. (default: auto)], alsa_disabled="(disabled)")
|
AC_ARG_WITH(alsa, [ --without-alsa build without ALSA audio provider. (default: auto)], alsa_disabled="(disabled)")
|
||||||
if test "x$with_alsa" != xno; then
|
if test "$with_alsa" != "no"; then
|
||||||
AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound"; found_audio=yes; with_alsa=yes], [with_alsa=no])
|
AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound"; with_alsa="yes"], [with_alsa="no"])
|
||||||
fi
|
fi
|
||||||
if test "$with_alsa" = "yes"; then
|
|
||||||
AC_DEFINE(WITH_ALSA, 1, [Enable ALSA Support])
|
if test "$with_alsa" != "no"; then
|
||||||
|
AC_DEFINE(WITH_ALSA, 1, [Enable ALSA Support])
|
||||||
|
AC_SUBST(ALSA_LDFLAGS)
|
||||||
|
found_audio="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(ALSA_LDFLAGS)
|
|
||||||
AM_CONDITIONAL([HAVE_ALSA], [test "$with_alsa" != "no"])
|
AM_CONDITIONAL([HAVE_ALSA], [test "$with_alsa" != "no"])
|
||||||
|
|
||||||
|
|
||||||
############
|
############
|
||||||
## PortAudio
|
## PortAudio
|
||||||
############
|
############
|
||||||
|
|
Loading…
Reference in a new issue