From c3ecb5aa5ebfa3b475ea70276e6f7ae4463c826b Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 16 Apr 2010 20:02:38 -0700 Subject: configure.ac: Move ALSA to Audio Output Plugins (nonstreaming), add subheader. --- configure.ac | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index b79e09ef8..20ae3ed19 100644 --- a/configure.ac +++ b/configure.ac @@ -858,6 +858,19 @@ dnl --------------------------------------------------------------------------- dnl Audio Output Plugins (Nonstreaming) dnl --------------------------------------------------------------------------- +dnl ----------------------------------- ALSA ---------------------------------- +MPD_AUTO_PKG(alsa, ALSA, [alsa >= 0.9.0], + [ALSA output plugin], [libasound not found]) + +if test x$enable_alsa = xyes; then + AC_DEFINE(HAVE_ALSA, 1, [Define to enable ALSA support]) +fi + +AM_CONDITIONAL(HAVE_ALSA, test x$enable_alsa = xyes) + + + + MPD_AUTO_PKG(ao, AO, [ao], [libao output plugin], [libao not found]) if test x$enable_ao = xyes; then @@ -974,17 +987,6 @@ fi AM_CONDITIONAL(HAVE_MVP, test x$enable_mvp = xyes) -MPD_AUTO_PKG(alsa, ALSA, [alsa >= 0.9.0], - [ALSA output plugin], [libasound not found]) - -if test x$enable_alsa = xyes; then - AC_DEFINE(HAVE_ALSA, 1, [Define to enable ALSA support]) -fi - -AM_CONDITIONAL(HAVE_ALSA, test x$enable_alsa = xyes) - - - if test x$enable_mpc = xyes; then if test "x$mpcdec_libraries" != "x" ; then MPCDEC_LIBS="-L$mpcdec_libraries" -- cgit v1.2.3