configure.ac: rename HAVE_CURL to ENABLE_CURL
This commit is contained in:
parent
06d5d4b03e
commit
47ab2ad6f3
@ -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 HAVE_CURL
|
if ENABLE_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
|
||||||
|
|
||||||
|
@ -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(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
|
fi
|
||||||
AM_CONDITIONAL(HAVE_CURL, test x$enable_curl = xyes)
|
AM_CONDITIONAL(ENABLE_CURL, test x$enable_curl = xyes)
|
||||||
|
|
||||||
AC_ARG_ENABLE(lastfm,
|
AC_ARG_ENABLE(lastfm,
|
||||||
AS_HELP_STRING([--enable-lastfm],
|
AS_HELP_STRING([--enable-lastfm],
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "input/archive_input_plugin.h"
|
#include "input/archive_input_plugin.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CURL
|
#ifdef ENABLE_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[] = {
|
|||||||
#ifdef ENABLE_ARCHIVE
|
#ifdef ENABLE_ARCHIVE
|
||||||
&input_plugin_archive,
|
&input_plugin_archive,
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_CURL
|
#ifdef ENABLE_CURL
|
||||||
&input_plugin_curl,
|
&input_plugin_curl,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_LASTFM
|
#ifdef ENABLE_LASTFM
|
||||||
|
Loading…
Reference in New Issue
Block a user