aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-04-20 21:16:39 +0200
committerMax Kellermann <max@duempel.org>2010-04-20 21:16:39 +0200
commitcf3ada3d04c75252739a98b7d3a6c1de1a4bff5a (patch)
tree5162e62e323f520e8bbe0accf8701acc010fd75f /configure.ac
parent7df94b1718d5b60b26a891ec2ca2cec4f5938d04 (diff)
parent9d55b16998b6336bfdd6ea0ae3ac31f8685521f6 (diff)
downloadmpd-cf3ada3d04c75252739a98b7d3a6c1de1a4bff5a.tar.gz
mpd-cf3ada3d04c75252739a98b7d3a6c1de1a4bff5a.tar.xz
mpd-cf3ada3d04c75252739a98b7d3a6c1de1a4bff5a.zip
Merge branch 'master' of git://github.com/mcfiredrill/mpd
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 18c2f1f8f..ff64bee06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,6 +533,18 @@ 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],
+ [enable Blargg's game music emulator plugin]),,
+ enable_gme=auto)
+
+MPD_AUTO_PKG(gme, GME, [libgme],
+ [gme decoder plugin], [libgme not found])
+AM_CONDITIONAL(HAVE_GME, test x$enable_gme = xyes)
+if test x$enable_gme = xyes; then
+ AC_DEFINE(HAVE_GME, 1, [Define for gme support])
+fi
+
AC_ARG_ENABLE(mpc,
AS_HELP_STRING([--disable-mpc],
[disable musepack (MPC) support (default: enable)]),,
@@ -1561,6 +1573,12 @@ else
echo " MODPLUG support ...............disabled"
fi
+if test x$enable_gme = xyes; then
+ echo " GME support ....................enabled"
+else
+ echo " GME support ...................disabled"
+fi
+
if test x$enable_mad = xyes; then
echo " MAD mp3 decoder support .......enabled"
else
@@ -1647,6 +1665,7 @@ if
test x$enable_ffmpeg = xno &&
test x$enable_modplug = xno &&
test x$enable_sidplay = xno &&
+ test x$enable_gme = xno &&
test x$enable_fluidsynth = xno &&
test x$enable_wildmidi = xno &&
test x$enable_mp4 = xno &&