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
0a62bdad
Commit
0a62bdad
authored
Apr 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: fail when vorbis encoder is enabled but not found
Use MPD_AUTO_PKG(). Removed the checks for the Ogg Vorbis decoder plugin, this is not directly related.
parent
9509bd46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
configure.ac
configure.ac
+5
-17
No files found.
configure.ac
View file @
0a62bdad
...
...
@@ -516,9 +516,9 @@ dnl encoder plugins
dnl
AC_ARG_ENABLE(oggvorbis-encoder,
AS_HELP_STRING([--
dis
able-oggvorbis-encoder],
[
disable support for ogg streaming (default: enable)
]),,
[enable_oggvorbis_encoder=
yes
])
AS_HELP_STRING([--
en
able-oggvorbis-encoder],
[
enable support for ogg streaming
]),,
[enable_oggvorbis_encoder=
auto
])
AC_ARG_ENABLE(lame,
AS_HELP_STRING([--disable-lame],
...
...
@@ -953,20 +953,8 @@ else
enable_lame=no
fi
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_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_oggvorbis_encoder=no
fi
if test x$enable_oggvorbis_encoder = xyes; then
PKG_CHECK_MODULES(VORBISENC, [vorbisenc],,
enable_oggvorbis_encoder=no)
fi
fi
MPD_AUTO_PKG(oggvorbis_encoder, VORBISENC, [vorbisenc],
[Ogg Vorbis encoder], [libvorbisenc not found])
if test x$enable_lame = xyes; then
AM_PATH_LAME([MPD_LIBS="$MPD_LIBS $LAME_LIBS"
...
...
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