aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-09-24 21:40:07 +0200
committerMax Kellermann <max@duempel.org>2009-09-24 21:40:07 +0200
commit47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b (patch)
treeaf5cb2093c27a475244645f862acac68070c1990
parent06d5d4b03ec446b9eb7a7351c32ef2fdca29d3c8 (diff)
downloadmpd-47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b.tar.gz
mpd-47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b.tar.xz
mpd-47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b.zip
configure.ac: rename HAVE_CURL to ENABLE_CURL
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
-rw-r--r--src/input_stream.c4
-rw-r--r--src/ls.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index dd9690a2c..1fb3b8451 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -515,7 +515,7 @@ INPUT_SRC = \
src/input_stream.c \
src/input/file_input_plugin.c
-if HAVE_CURL
+if ENABLE_CURL
INPUT_SRC += src/input/curl_input_plugin.c src/icy_metadata.c
endif
diff --git a/configure.ac b/configure.ac
index f5d84bb6d..d0d215762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,9 +280,9 @@ AC_ARG_ENABLE(curl,
MPD_AUTO_PKG(curl, CURL, [libcurl],
[libcurl HTTP streaming], [libcurl not found])
if test x$enable_curl = xyes; then
- AC_DEFINE(HAVE_CURL, 1, [Define when libcurl is used for HTTP streaming])
+ AC_DEFINE(ENABLE_CURL, 1, [Define when libcurl is used for HTTP streaming])
fi
-AM_CONDITIONAL(HAVE_CURL, test x$enable_curl = xyes)
+AM_CONDITIONAL(ENABLE_CURL, test x$enable_curl = xyes)
AC_ARG_ENABLE(lastfm,
AS_HELP_STRING([--enable-lastfm],
diff --git a/src/input_stream.c b/src/input_stream.c
index 69dc644a2..6c07da98f 100644
--- a/src/input_stream.c
+++ b/src/input_stream.c
@@ -27,7 +27,7 @@
#include "input/archive_input_plugin.h"
#endif
-#ifdef HAVE_CURL
+#ifdef ENABLE_CURL
#include "input/curl_input_plugin.h"
#endif
@@ -46,7 +46,7 @@ static const struct input_plugin *const input_plugins[] = {
#ifdef ENABLE_ARCHIVE
&input_plugin_archive,
#endif
-#ifdef HAVE_CURL
+#ifdef ENABLE_CURL
&input_plugin_curl,
#endif
#ifdef ENABLE_LASTFM
diff --git a/src/ls.c b/src/ls.c
index fd8f22fd4..9ed083e2e 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -32,7 +32,7 @@
* connected by IPC socket.
*/
static const char *remoteUrlPrefixes[] = {
-#ifdef HAVE_CURL
+#ifdef ENABLE_CURL
"http://",
#endif
#ifdef ENABLE_LASTFM