configure.ac: Move libmpg123 to Decoder Plugins, add header.

This commit is contained in:
Avuton Olrich 2010-04-17 03:37:24 -07:00
parent abf974c5c5
commit 3993ed6b81

View File

@ -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)