diff options
author | Avuton Olrich <avuton@gmail.com> | 2010-04-17 03:35:47 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-04-21 07:10:15 -0700 |
commit | abf974c5c57df2d13a81176903cc990f5682893d (patch) | |
tree | 61a4fb30c4d8683fe5c44b2b022e069a60401d88 /configure.ac | |
parent | 97f80e04b05971c5d5f55b15dd7a9a98f88fa813 (diff) | |
download | mpd-abf974c5c57df2d13a81176903cc990f5682893d.tar.gz mpd-abf974c5c57df2d13a81176903cc990f5682893d.tar.xz mpd-abf974c5c57df2d13a81176903cc990f5682893d.zip |
configure.ac: Move libmad to Decoder Plugins, add header.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index b64f245c7..5855777ab 100644 --- a/configure.ac +++ b/configure.ac @@ -705,12 +705,7 @@ dnl ### dnl MAD mp3 decoder dnl ### -MPD_AUTO_PKG(mad, MAD, [mad], - [libmad MP3 decoder plugin], [libmad not found]) -if test x$enable_mad = xyes; then - AC_DEFINE(HAVE_MAD, 1, [Define to use libmad]) -fi -AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes) + MPD_AUTO_PKG(mpg123, MPG123, [libmpg123], [libmpg123 decoder plugin], [libmpg123 not found]) @@ -1031,6 +1026,13 @@ fi AM_CONDITIONAL(ENABLE_FLUIDSYNTH, test x$enable_fluidsynth = xyes) +dnl ---------------------------------- libmad --------------------------------- +MPD_AUTO_PKG(mad, MAD, [mad], + [libmad MP3 decoder plugin], [libmad not found]) +if test x$enable_mad = xyes; then + AC_DEFINE(HAVE_MAD, 1, [Define to use libmad]) +fi +AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes) enable_shout2="$enable_shout" MPD_AUTO_PKG(shout, SHOUT, [shout], |