From 3993ed6b8118daee8b8185bc7dbeec1fd15859cc Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 17 Apr 2010 03:37:24 -0700 Subject: configure.ac: Move libmpg123 to Decoder Plugins, add header. --- configure.ac | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 5855777ab..18a2ae6d5 100644 --- a/configure.ac +++ b/configure.ac @@ -707,12 +707,7 @@ dnl ### -MPD_AUTO_PKG(mpg123, MPG123, [libmpg123], - [libmpg123 decoder plugin], [libmpg123 not found]) -if test x$enable_mpg123 = xyes; then - AC_DEFINE(HAVE_MPG123, 1, [Define to use libmpg123]) -fi -AM_CONDITIONAL(HAVE_MPG123, test x$enable_mpg123 = xyes) + if test x$enable_mikmod = xyes; then AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config) @@ -1041,7 +1036,13 @@ if test x$enable_shout = xyes && test x$enable_shout2 = xauto; then enable_shout=auto fi - +dnl -------------------------------- libmpg123 -------------------------------- +MPD_AUTO_PKG(mpg123, MPG123, [libmpg123], + [libmpg123 decoder plugin], [libmpg123 not found]) +if test x$enable_mpg123 = xyes; then + AC_DEFINE(HAVE_MPG123, 1, [Define to use libmpg123]) +fi +AM_CONDITIONAL(HAVE_MPG123, test x$enable_mpg123 = xyes) -- cgit v1.2.3