configure.ac: renamed --enable-lame to --enable-lame-encoder

This commit is contained in:
Max Kellermann 2009-04-01 22:44:28 +02:00
parent 8fe2720310
commit e2ca6b156e
2 changed files with 17 additions and 16 deletions

View File

@ -520,10 +520,10 @@ AC_ARG_ENABLE(oggvorbis-encoder,
[enable support for ogg streaming]),, [enable support for ogg streaming]),,
[enable_oggvorbis_encoder=auto]) [enable_oggvorbis_encoder=auto])
AC_ARG_ENABLE(lame, AC_ARG_ENABLE(lame-encoder,
AS_HELP_STRING([--enable-lame], AS_HELP_STRING([--enable-lame-encoder],
[disable support for mp3 streaming]),, [enable the LAME mp3 encoder]),,
enable_lame=auto) enable_lame_encoder=auto)
dnl dnl
@ -950,22 +950,23 @@ else
# don't bother to check for encoder plugins # don't bother to check for encoder plugins
enable_oggvorbis_encoder=no enable_oggvorbis_encoder=no
enable_lame=no enable_lame_encoder=no
fi fi
MPD_AUTO_PKG(oggvorbis_encoder, VORBISENC, [vorbisenc], MPD_AUTO_PKG(oggvorbis_encoder, VORBISENC, [vorbisenc],
[Ogg Vorbis encoder], [libvorbisenc not found]) [Ogg Vorbis encoder], [libvorbisenc not found])
if test x$enable_lame != xno; then if test x$enable_lame_encoder != xno; then
AM_PATH_LAME([found_lame=yes], [found_lame=no]) AM_PATH_LAME([found_lame_encoder=yes], [found_lame_encoder=no])
MPD_AUTO_RESULT(lame, [LAME encoder plugin], MPD_AUTO_RESULT(lame_encoder, [LAME encoder plugin],
[LAME not found]) [LAME not found])
fi fi
AC_SUBST(LAME_CFLAGS) AC_SUBST(LAME_CFLAGS)
AC_SUBST(LAME_LIBS) AC_SUBST(LAME_LIBS)
if test x$enable_oggvorbis_encoder != xno || test x$enable_lame != xno; then if test x$enable_oggvorbis_encoder != xno ||
test x$enable_lame_encoder != xno; then
# at least one encoder plugin is enabled # at least one encoder plugin is enabled
enable_encoder=yes enable_encoder=yes
else else
@ -1015,8 +1016,8 @@ if test x$enable_oggvorbis_encoder = xyes; then
[Define to enable the vorbis encoder plugin]) [Define to enable the vorbis encoder plugin])
fi fi
AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_lame = xyes) AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_lame_encoder = xyes)
if test x$enable_lame = xyes; then if test x$enable_lame_encoder = xyes; then
AC_DEFINE(ENABLE_LAME_ENCODER, 1, AC_DEFINE(ENABLE_LAME_ENCODER, 1,
[Define to enable the lame encoder plugin]) [Define to enable the lame encoder plugin])
fi fi
@ -1239,7 +1240,7 @@ if
test x$enable_shout = xyes || test x$enable_shout = xyes ||
test x$enable_httpd_output = xyes; then test x$enable_httpd_output = xyes; then
echo " Streaming Encoder Support:" echo " Streaming Encoder Support:"
if test x$enable_lame = xyes; then if test x$enable_lame_encoder = xyes; then
echo " LAME mp3 encoder ..............enabled" echo " LAME mp3 encoder ..............enabled"
else else
echo " LAME mp3 encoder ..............disabled" echo " LAME mp3 encoder ..............disabled"

View File

@ -38,7 +38,7 @@ CFLAGS="$CFLAGS -DNDEBUG" \
--disable-curl \ --disable-curl \
--disable-id3 --disable-lsr \ --disable-id3 --disable-lsr \
--disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \ --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
--disable-shout-ogg --disable-shout-mp3 --disable-lame \ --disable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
--disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \ --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
--disable-flac --disable-oggvorbis --disable-oggflac --disable-audiofile \ --disable-flac --disable-oggvorbis --disable-oggflac --disable-audiofile \
--disable-cue \ --disable-cue \
@ -53,7 +53,7 @@ $MAKE distclean
--disable-curl \ --disable-curl \
--disable-id3 --disable-lsr \ --disable-id3 --disable-lsr \
--disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \ --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
--enable-shout-ogg --disable-shout-mp3 --disable-lame \ --enable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
--disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \ --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
--disable-flac --enable-oggvorbis --disable-oggflac --disable-audiofile \ --disable-flac --enable-oggvorbis --disable-oggflac --disable-audiofile \
--with-zeroconf=no --with-zeroconf=no
@ -67,7 +67,7 @@ $MAKE distclean
--disable-curl \ --disable-curl \
--disable-id3 --disable-lsr \ --disable-id3 --disable-lsr \
--disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \ --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
--disable-shout-ogg --enable-shout-mp3 --enable-lame \ --disable-shout-ogg --enable-shout-mp3 --enable-lame-encoder \
--disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \ --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
--disable-flac --disable-oggvorbis --disable-oggflac --disable-audiofile \ --disable-flac --disable-oggvorbis --disable-oggflac --disable-audiofile \
--with-zeroconf=no --with-zeroconf=no
@ -82,7 +82,7 @@ $MAKE distclean
--disable-id3 --disable-lsr \ --disable-id3 --disable-lsr \
--disable-mp3 \ --disable-mp3 \
--disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \ --disable-ao --disable-alsa --disable-jack --disable-pulse --disable-fifo \
--disable-shout-ogg --disable-shout-mp3 --disable-lame \ --disable-shout-ogg --disable-shout-mp3 --disable-lame-encoder \
--disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \ --disable-ffmpeg --disable-wavpack --disable-mpc --disable-aac \
--disable-flac --enable-oggvorbis --enable-oggflac --disable-audiofile \ --disable-flac --enable-oggvorbis --enable-oggflac --disable-audiofile \
--with-zeroconf=no --with-zeroconf=no