diff options
author | Avuton Olrich <avuton@gmail.com> | 2010-04-17 03:37:24 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-04-21 07:10:15 -0700 |
commit | 3993ed6b8118daee8b8185bc7dbeec1fd15859cc (patch) | |
tree | 673b648a219e3e25200cc5b1e135b8e8982f5601 | |
parent | abf974c5c57df2d13a81176903cc990f5682893d (diff) | |
download | mpd-3993ed6b8118daee8b8185bc7dbeec1fd15859cc.tar.gz mpd-3993ed6b8118daee8b8185bc7dbeec1fd15859cc.tar.xz mpd-3993ed6b8118daee8b8185bc7dbeec1fd15859cc.zip |
configure.ac: Move libmpg123 to Decoder Plugins, add header.
-rw-r--r-- | configure.ac | 15 |
1 files 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) |