diff options
author | Avuton Olrich <avuton@gmail.com> | 2010-04-17 03:39:56 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-04-21 07:10:16 -0700 |
commit | 18cdbfa70f137b40466700eda11352f126ca810c (patch) | |
tree | 7e403e303ef21c1f15fca0697ffb81514a61a56d /configure.ac | |
parent | 7886fd711f757c64744966455243b035badaf419 (diff) | |
download | mpd-18cdbfa70f137b40466700eda11352f126ca810c.tar.gz mpd-18cdbfa70f137b40466700eda11352f126ca810c.tar.xz mpd-18cdbfa70f137b40466700eda11352f126ca810c.zip |
configure.ac: Move libmodplug to Decoder Plugins, add header.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index ad2b973be..4456b2a7d 100644 --- a/configure.ac +++ b/configure.ac @@ -711,15 +711,7 @@ dnl ### -found_modplug=$HAVE_CXX -MPD_AUTO_PRE(modplug, [modplug decoder plugin], [No C++ compiler found]) -MPD_AUTO_PKG(modplug, MODPLUG, [libmodplug], - [modplug decoder plugin], [libmodplug not found]) -AM_CONDITIONAL(HAVE_MODPLUG, test x$enable_modplug = xyes) -if test x$enable_modplug = xyes; then - AC_DEFINE(HAVE_MODPLUG, 1, [Define for modplug support]) -fi AC_ARG_ENABLE(gme, AS_HELP_STRING([--enable-gme], @@ -1047,8 +1039,17 @@ fi AM_CONDITIONAL(ENABLE_MIKMOD_DECODER, test x$enable_mikmod = xyes) +dnl -------------------------------- libmodplug ------------------------------- +found_modplug=$HAVE_CXX +MPD_AUTO_PRE(modplug, [modplug decoder plugin], [No C++ compiler found]) +MPD_AUTO_PKG(modplug, MODPLUG, [libmodplug], + [modplug decoder plugin], [libmodplug not found]) +if test x$enable_modplug = xyes; then + AC_DEFINE(HAVE_MODPLUG, 1, [Define for modplug support]) +fi +AM_CONDITIONAL(HAVE_MODPLUG, test x$enable_modplug = xyes) |