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
47ab2ad6
Commit
47ab2ad6
authored
Sep 24, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: rename HAVE_CURL to ENABLE_CURL
parent
06d5d4b0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+2
-2
input_stream.c
src/input_stream.c
+2
-2
ls.c
src/ls.c
+1
-1
No files found.
Makefile.am
View file @
47ab2ad6
...
@@ -515,7 +515,7 @@ INPUT_SRC = \
...
@@ -515,7 +515,7 @@ INPUT_SRC = \
src/input_stream.c
\
src/input_stream.c
\
src/input/file_input_plugin.c
src/input/file_input_plugin.c
if
HAV
E_CURL
if
ENABL
E_CURL
INPUT_SRC
+=
src/input/curl_input_plugin.c src/icy_metadata.c
INPUT_SRC
+=
src/input/curl_input_plugin.c src/icy_metadata.c
endif
endif
...
...
configure.ac
View file @
47ab2ad6
...
@@ -280,9 +280,9 @@ AC_ARG_ENABLE(curl,
...
@@ -280,9 +280,9 @@ AC_ARG_ENABLE(curl,
MPD_AUTO_PKG(curl, CURL, [libcurl],
MPD_AUTO_PKG(curl, CURL, [libcurl],
[libcurl HTTP streaming], [libcurl not found])
[libcurl HTTP streaming], [libcurl not found])
if test x$enable_curl = xyes; then
if test x$enable_curl = xyes; then
AC_DEFINE(
HAV
E_CURL, 1, [Define when libcurl is used for HTTP streaming])
AC_DEFINE(
ENABL
E_CURL, 1, [Define when libcurl is used for HTTP streaming])
fi
fi
AM_CONDITIONAL(
HAV
E_CURL, test x$enable_curl = xyes)
AM_CONDITIONAL(
ENABL
E_CURL, test x$enable_curl = xyes)
AC_ARG_ENABLE(lastfm,
AC_ARG_ENABLE(lastfm,
AS_HELP_STRING([--enable-lastfm],
AS_HELP_STRING([--enable-lastfm],
...
...
src/input_stream.c
View file @
47ab2ad6
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include "input/archive_input_plugin.h"
#include "input/archive_input_plugin.h"
#endif
#endif
#ifdef
HAV
E_CURL
#ifdef
ENABL
E_CURL
#include "input/curl_input_plugin.h"
#include "input/curl_input_plugin.h"
#endif
#endif
...
@@ -46,7 +46,7 @@ static const struct input_plugin *const input_plugins[] = {
...
@@ -46,7 +46,7 @@ static const struct input_plugin *const input_plugins[] = {
#ifdef ENABLE_ARCHIVE
#ifdef ENABLE_ARCHIVE
&
input_plugin_archive
,
&
input_plugin_archive
,
#endif
#endif
#ifdef
HAV
E_CURL
#ifdef
ENABL
E_CURL
&
input_plugin_curl
,
&
input_plugin_curl
,
#endif
#endif
#ifdef ENABLE_LASTFM
#ifdef ENABLE_LASTFM
...
...
src/ls.c
View file @
47ab2ad6
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
* connected by IPC socket.
* connected by IPC socket.
*/
*/
static
const
char
*
remoteUrlPrefixes
[]
=
{
static
const
char
*
remoteUrlPrefixes
[]
=
{
#ifdef
HAV
E_CURL
#ifdef
ENABL
E_CURL
"http://"
,
"http://"
,
#endif
#endif
#ifdef ENABLE_LASTFM
#ifdef ENABLE_LASTFM
...
...
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