diff options
author | Max Kellermann <max@duempel.org> | 2008-10-26 19:32:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-26 19:32:43 +0100 |
commit | 3609de8685cfdfbf2d01fb8bbff02a78d9c07d06 (patch) | |
tree | e5573fbdbb7a392abbb163a73318874ed615e03c /src/Makefile.am | |
parent | 6b09e4daefec2db743e4a0a9d7ff4ad86004d036 (diff) | |
download | mpd-3609de8685cfdfbf2d01fb8bbff02a78d9c07d06.tar.gz mpd-3609de8685cfdfbf2d01fb8bbff02a78d9c07d06.tar.xz mpd-3609de8685cfdfbf2d01fb8bbff02a78d9c07d06.zip |
http: use libcurl
MPD's HTTP client code has always been broken, no matter how effort
was put into fixing it. Replace it with libcurl, which is known to be
quite stable. This adds a fat library dependency, but only for people
who need streaming.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7e2386dc8..12e690cf7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -49,8 +49,6 @@ mpd_headers = \ decoder/_ogg_common.h \ inputStream.h \ inputStream_file.h \ - inputStream_http.h \ - inputStream_http_auth.h \ client.h \ list.h \ dlist.h \ @@ -132,7 +130,6 @@ mpd_SOURCES = \ decoder_list.c \ inputStream.c \ inputStream_file.c \ - inputStream_http.c \ client.c \ ioops.c \ list.c \ @@ -246,8 +243,14 @@ mpd_SOURCES += zeroconf.c endif +if HAVE_CURL +mpd_SOURCES += input_curl.c +endif + + mpd_CFLAGS = $(MPD_CFLAGS) mpd_CPPFLAGS = \ + $(CURL_CFLAGS) \ $(AO_CFLAGS) $(ALSA_CFLAGS) \ $(SHOUT_CFLAGS) \ $(OGGVORBIS_CFLAGS) $(VORBISENC_CFLAGS) \ @@ -258,6 +261,7 @@ mpd_CPPFLAGS = \ $(FFMPEG_CFLAGS) \ $(GLIB_CFLAGS) mpd_LDADD = $(MPD_LIBS) \ + $(CURL_LIBS) \ $(AO_LIBS) $(ALSA_LIBS) \ $(SHOUT_LIBS) \ $(OGGVORBIS_LIBS) $(VORBISENC_LIBS) $(FLAC_LIBS) \ |