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
d07a6edd
Commit
d07a6edd
authored
Mar 01, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: detect libyajl for playlist/soundcloud
parent
553d4e92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+9
-2
No files found.
Makefile.am
View file @
d07a6edd
...
...
@@ -906,7 +906,7 @@ if ENABLE_SOUNDCLOUD
libplaylist_plugins_a_SOURCES
+=
\
src/playlist/soundcloud_playlist_plugin.h
\
src/playlist/soundcloud_playlist_plugin.c
PLAYLIST_LIBS
+=
-lyajl
PLAYLIST_LIBS
+=
$(YAJL_LIBS)
endif
#
...
...
configure.ac
View file @
d07a6edd
...
...
@@ -274,8 +274,8 @@ AC_ARG_ENABLE(despotify,
AC_ARG_ENABLE(soundcloud,
AS_HELP_STRING([--enable-soundcloud],
[enable support for soundcloud
(default: disable)
]),,
[enable_soundcloud=
n
o])
[enable support for soundcloud
.com
]),,
[enable_soundcloud=
aut
o])
AC_ARG_ENABLE(lame-encoder,
AS_HELP_STRING([--enable-lame-encoder],
...
...
@@ -708,10 +708,17 @@ fi
AM_CONDITIONAL(ENABLE_DESPOTIFY, test x$enable_despotify = xyes)
dnl --------------------------------- Soundcloud ------------------------------
if test x$enable_soundcloud != xno; then
AC_CHECK_LIB([yajl], [yajl_alloc],
[found_soundcloud=yes YAJL_LIBS=-lyajl],
[found_soundcloud=no])
fi
MPD_AUTO_RESULT([soundcloud], [soundcloud.com support], [libyajl not found])
if test x$enable_soundcloud = xyes; then
AC_DEFINE(ENABLE_SOUNDCLOUD, 1, [Define when soundcloud is enabled])
fi
AM_CONDITIONAL(ENABLE_SOUNDCLOUD, test x$enable_soundcloud = xyes)
AC_SUBST(YAJL_LIBS)
dnl ---------------------------------- cdio ---------------------------------
MPD_AUTO_PKG(cdio_paranoia, CDIO_PARANOIA, [libcdio_paranoia],
...
...
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