aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2010-04-17 04:14:48 -0700
committerAvuton Olrich <avuton@gmail.com>2010-04-21 07:35:31 -0700
commit5e616b4ff3a0a1de922e0d9fcfb7cb728568c49b (patch)
tree678b36c0f40418718c71cacb95e6979c375b623e
parentd847593a8e413688f00f50ec72a9057826006046 (diff)
downloadmpd-5e616b4ff3a0a1de922e0d9fcfb7cb728568c49b.tar.gz
mpd-5e616b4ff3a0a1de922e0d9fcfb7cb728568c49b.tar.xz
mpd-5e616b4ff3a0a1de922e0d9fcfb7cb728568c49b.zip
configure.ac: Move LAME Encoder to Encoder Plugins.
-rw-r--r--configure.ac12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index bdb20f7dc..6b742aae2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1218,6 +1218,7 @@ dnl ---------------------------- Ogg Vorbis Encoder ---------------------------
MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc],
[Ogg Vorbis encoder], [libvorbisenc not found])
+dnl ------------------------------- LAME Encoder ------------------------------
if test x$enable_vorbis_encoder = xyes; then
AC_DEFINE(ENABLE_VORBIS_ENCODER, 1,
[Define to enable the vorbis encoder plugin])
@@ -1241,6 +1242,12 @@ fi
AC_SUBST(LAME_LIBS)
+if test x$enable_lame_encoder = xyes; then
+ AC_DEFINE(ENABLE_LAME_ENCODER, 1,
+ [Define to enable the lame encoder plugin])
+fi
+AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_lame_encoder = xyes)
+
MPD_AUTO_PKG(twolame_encoder, TWOLAME, [twolame],
[TwoLAME encoder], [libtwolame not found])
@@ -1315,11 +1322,6 @@ if test x$enable_encoder = xyes; then
[Define to enable the encoder plugins])
fi
-AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_lame_encoder = xyes)
-if test x$enable_lame_encoder = xyes; then
- AC_DEFINE(ENABLE_LAME_ENCODER, 1,
- [Define to enable the lame encoder plugin])
-fi
AM_CONDITIONAL(ENABLE_TWOLAME_ENCODER, test x$enable_twolame_encoder = xyes)
if test x$enable_twolame_encoder = xyes; then