Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e2ca6b15
Commit
e2ca6b15
authored
Apr 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: renamed --enable-lame to --enable-lame-encoder
parent
8fe27203
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
16 deletions
+17
-16
configure.ac
configure.ac
+13
-12
test.sh
scripts/test.sh
+4
-4
No files found.
configure.ac
View file @
e2ca6b15
...
...
@@ -520,10 +520,10 @@ AC_ARG_ENABLE(oggvorbis-encoder,
[enable support for ogg streaming]),,
[enable_oggvorbis_encoder=auto])
AC_ARG_ENABLE(lame,
AS_HELP_STRING([--enable-lame],
[
disable support for mp3 streaming
]),,
enable_lame=auto)
AC_ARG_ENABLE(lame
-encoder
,
AS_HELP_STRING([--enable-lame
-encoder
],
[
enable the LAME mp3 encoder
]),,
enable_lame
_encoder
=auto)
dnl
...
...
@@ -950,22 +950,23 @@ else
# don't bother to check for encoder plugins
enable_oggvorbis_encoder=no
enable_lame=no
enable_lame
_encoder
=no
fi
MPD_AUTO_PKG(oggvorbis_encoder, VORBISENC, [vorbisenc],
[Ogg Vorbis encoder], [libvorbisenc not found])
if test x$enable_lame != xno; then
AM_PATH_LAME([found_lame
=yes], [found_lame
=no])
MPD_AUTO_RESULT(lame, [LAME encoder plugin],
if test x$enable_lame
_encoder
!= xno; then
AM_PATH_LAME([found_lame
_encoder=yes], [found_lame_encoder
=no])
MPD_AUTO_RESULT(lame
_encoder
, [LAME encoder plugin],
[LAME not found])
fi
AC_SUBST(LAME_CFLAGS)
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
enable_encoder=yes
else
...
...
@@ -1015,8 +1016,8 @@ if test x$enable_oggvorbis_encoder = xyes; then
[Define to enable the vorbis encoder plugin])
fi
AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_lame = xyes)
if test x$enable_lame = xyes; then
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
...
...
@@ -1239,7 +1240,7 @@ if
test x$enable_shout = xyes ||
test x$enable_httpd_output = xyes; then
echo " Streaming Encoder Support:"
if test x$enable_lame = xyes; then
if test x$enable_lame
_encoder
= xyes; then
echo " LAME mp3 encoder ..............enabled"
else
echo " LAME mp3 encoder ..............disabled"
...
...
scripts/test.sh
View file @
e2ca6b15
...
...
@@ -38,7 +38,7 @@ CFLAGS="$CFLAGS -DNDEBUG" \
--disable-curl
\
--disable-id3
--disable-lsr
\
--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-flac
--disable-oggvorbis
--disable-oggflac
--disable-audiofile
\
--disable-cue
\
...
...
@@ -53,7 +53,7 @@ $MAKE distclean
--disable-curl
\
--disable-id3
--disable-lsr
\
--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-flac
--enable-oggvorbis
--disable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
...
...
@@ -67,7 +67,7 @@ $MAKE distclean
--disable-curl
\
--disable-id3
--disable-lsr
\
--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-flac
--disable-oggvorbis
--disable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
...
...
@@ -82,7 +82,7 @@ $MAKE distclean
--disable-id3
--disable-lsr
\
--disable-mp3
\
--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-flac
--enable-oggvorbis
--enable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment