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
f1fb4e99
Commit
f1fb4e99
authored
Mar 16, 2009
by
Avuton Olrich
Committed by
Max Kellermann
Mar 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Always run pkg-config for shout, define AC_DEFINE if enabled
[mk: don't run pkg-config when shout is disabled]
parent
04b092bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
configure.ac
configure.ac
+4
-11
No files found.
configure.ac
View file @
f1fb4e99
...
...
@@ -593,10 +593,10 @@ AC_ARG_ENABLE(shout,
[enables the shoutcast streaming output (default: disable)]),,
[enable_shout=no])
if test x$enable_
oggvorbis_encoder = xyes || test x$enable_lame_encoder
= xyes; then
PKG_CHECK_MODULES([SHOUT], [shout],
,
[enable_oggvorbis_encoder=no; enable_lame_encoder=no;
AC_MSG_WARN([disabling shout streaming support because libshout is not available])]
)
if test x$enable_
shout
= xyes; then
PKG_CHECK_MODULES([SHOUT], [shout],
AC_DEFINE(HAVE_SHOUT, 1, [Define to enable libshout support]),
enable_shout=no
)
fi
if test x$enable_oggvorbis_encoder = xyes; then
...
...
@@ -628,13 +628,6 @@ if test x$enable_lame_encoder = xyes; then
fi
fi
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
enable_shout=no
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)
...
...
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