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
a672cf1c
Commit
a672cf1c
authored
Mar 15, 2009
by
Avuton Olrich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: replace all instances shout*[mp3|ogg] with [lame|oggvorbis]*encoder
parent
87070651
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
configure.ac
configure.ac
+26
-26
No files found.
configure.ac
View file @
a672cf1c
...
...
@@ -558,15 +558,15 @@ AC_ARG_ENABLE(pulse,
[disable support for the PulseAudio sound server (default: enable)]),,
enable_pulse=yes)
AC_ARG_ENABLE(
shout-ogg
,
AS_HELP_STRING([--disable-
shout-ogg
],
[disable support for ogg streaming
through shout
(default: enable)]),,
[enable_
shout_ogg
=yes])
AC_ARG_ENABLE(
oggvorbis-encoder
,
AS_HELP_STRING([--disable-
oggvorbis-encoder
],
[disable support for ogg streaming (default: enable)]),,
[enable_
oggvorbis_encoder
=yes])
AC_ARG_ENABLE(
shout-mp3
,
AS_HELP_STRING([--disable-
shout-mp3
],
[disable support for mp3 streaming
through shout
(default: enable)]),,
[enable_
shout_mp3
=yes])
AC_ARG_ENABLE(
lame-encoder
,
AS_HELP_STRING([--disable-
lame-encoder
],
[disable support for mp3 streaming (default: enable)]),,
[enable_
lame_encoder
=yes])
AC_ARG_ENABLE(httpd-output,
AS_HELP_STRING([--enable-httpd-output],
...
...
@@ -588,24 +588,24 @@ esac
AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes)
if test x$enable_
shout_ogg = xyes || test x$enable_shout_mp3
= xyes; then
if test x$enable_
oggvorbis_encoder = xyes || test x$enable_lame_encoder
= xyes; then
PKG_CHECK_MODULES([SHOUT], [shout],,
[enable_
shout_ogg=no; enable_shout_mp3
=no;
[enable_
oggvorbis_encoder=no; enable_lame_encoder
=no;
AC_MSG_WARN([disabling shout streaming support because libshout is not available])])
fi
if test x$enable_
shout_ogg
= xyes; then
if test x$enable_
oggvorbis_encoder
= xyes; then
if test x$enable_oggvorbis = xno; then
AC_MSG_WARN([disabling ogg shout streaming support because vorbis is not enabled])
enable_
shout_ogg
=no
enable_
oggvorbis_encoder
=no
fi
if test x$use_tremor = xyes; then
AC_MSG_WARN([disabling ogg shout streaming support because tremor does not support vorbis encoding])
enable_
shout_ogg
=no
enable_
oggvorbis_encoder
=no
fi
if test x$enable_
shout_ogg
= xyes; then
if test x$enable_
oggvorbis_encoder
= xyes; then
PKG_CHECK_MODULES(VORBISENC, [vorbisenc],,
enable_
shout_ogg
=no)
enable_
oggvorbis_encoder
=no)
fi
fi
...
...
@@ -616,14 +616,14 @@ if test x$enable_lame = xyes; then
AC_MSG_WARN(You need lame -- disabling lame support)])
fi
if test x$enable_
shout_mp3
= xyes; then
if test x$enable_
lame_encoder
= xyes; then
if test x$enable_lame = xno; then
AC_MSG_WARN([disabling mp3 shout streaming support because lame is not enabled])
enable_
shout_mp3
=no
enable_
lame_encoder
=no
fi
fi
if test x$enable_
shout_ogg = xyes || test x$enable_shout_mp3
= xyes; then
if test x$enable_
oggvorbis_encoder = xyes || test x$enable_lame_encoder
= xyes; then
enable_shout=yes
AC_DEFINE(HAVE_SHOUT, 1, [Define to enable libshout support])
else
...
...
@@ -633,13 +633,13 @@ fi
AM_CONDITIONAL(HAVE_SHOUT, test x$enable_shout = xyes)
AM_CONDITIONAL(ENABLE_ENCODER, test x$enable_shout = xyes || test x$enable_httpd_output = xyes)
AM_CONDITIONAL(ENABLE_VORBIS_ENCODER, test x$enable_
shout_ogg
= xyes)
if test x$enable_
shout_ogg
= xyes; then
AM_CONDITIONAL(ENABLE_VORBIS_ENCODER, test x$enable_
oggvorbis_encoder
= xyes)
if test x$enable_
oggvorbis_encoder
= xyes; then
AC_DEFINE(ENABLE_VORBIS_ENCODER, 1,
[Define to enable the vorbis encoder plugin])
fi
AM_CONDITIONAL(ENABLE_LAME_ENCODER, test x$enable_
shout_mp3
= xyes)
if test x$enable_
shout_mp3
= 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
...
...
@@ -1150,13 +1150,13 @@ fi
if test x$enable_shout = xyes; then
echo " SHOUTcast support .............enabled"
if test x$enable_
shout_mp3
= xyes; then
if test x$enable_
lame_encoder
= xyes; then
echo " with LAME mp3 encoder .......enabled"
else
echo " with LAME mp3 encoder .......disabled"
fi
if test x$enable_
shout_ogg
= xyes; then
if test x$enable_
oggvorbis_encoder
= xyes; then
echo " with Ogg Vorbis encoder .....enabled"
else
echo " with Ogg Vorbis encoder .....disabled"
...
...
@@ -1176,8 +1176,8 @@ echo ""
if
test x$enable_ao = xno &&
test x$enable_oss = xno &&
test x$enable_
shout_ogg
= xno &&
test x$enable_
shout_mp3
= xno &&
test x$enable_
oggvorbis_encoder
= xno &&
test x$enable_
lame_encoder
= xno &&
test x$enable_alsa = xno &&
test x$enable_osx = xno &&
test x$enable_pulse = xno &&
...
...
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