diff options
author | Max Kellermann <max@duempel.org> | 2009-08-26 20:08:13 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-08-26 20:08:13 +0200 |
commit | bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae (patch) | |
tree | 31faabe85d032cf3e5d21f54fdbb8469e3ab6e46 /configure.ac | |
parent | df0c26a394be7dd4137c9614dd867122019d78f8 (diff) | |
download | mpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.tar.gz mpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.tar.xz mpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.zip |
decoder/mpg123: new decoder plugin based on libmpg123
Still missing:
- seeking
- tags
- streaming
- encodings other than MPG123_ENC_SIGNED_16
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index efa638caa..681feae6c 100644 --- a/configure.ac +++ b/configure.ac @@ -427,6 +427,18 @@ if test x$enable_mad = xyes; then fi AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes) +AC_ARG_ENABLE(mpg123, + AS_HELP_STRING([--enable-mpg123], + [enable libmpg123 decoder plugin]),, + enable_mpg123=auto) + +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) + AC_ARG_ENABLE(mikmod, AS_HELP_STRING([--enable-mikmod], [enable the mikmod decoder (default: disable)]),, @@ -1411,6 +1423,12 @@ else echo " MAD mp3 decoder support .......disabled" fi +if test x$enable_mpg123 = xyes; then + echo " libmpg123 decoder support .....enabled" +else + echo " libmpg123 decoder support .....disabled" +fi + if test x$enable_mp4 = xyes; then echo " MP4 support ...................enabled" else @@ -1474,6 +1492,7 @@ fi if test x$enable_mad = xno && + test x$enable_mpg123 = xno && test x$enable_vorbis = xno && test x$enable_flac = xno && test x$enable_oggflac = xno && |