support iptv: updated the configure script and Makefile for iptv code

This commit is contained in:
Adam Sutton 2013-11-24 12:10:53 +00:00
parent d4d92c4217
commit e26a202034
2 changed files with 20 additions and 4 deletions

View file

@ -75,6 +75,7 @@ SRCS = src/version.c \
src/access.c \ src/access.c \
src/dtable.c \ src/dtable.c \
src/tcp.c \ src/tcp.c \
src/url.c \
src/http.c \ src/http.c \
src/notify.c \ src/notify.c \
src/file.c \ src/file.c \
@ -110,6 +111,7 @@ SRCS = src/version.c \
src/descrambler/descrambler.c \ src/descrambler/descrambler.c \
src/service_mapper.c \ src/service_mapper.c \
src/input.c \ src/input.c \
src/http/http_client.c \
SRCS += \ SRCS += \
src/api.c \ src/api.c \
@ -199,6 +201,8 @@ SRCS-${CONFIG_IPTV} += \
src/input/mpegts/iptv/iptv.c \ src/input/mpegts/iptv/iptv.c \
src/input/mpegts/iptv/iptv_mux.c \ src/input/mpegts/iptv/iptv_mux.c \
src/input/mpegts/iptv/iptv_service.c \ src/input/mpegts/iptv/iptv_service.c \
src/input/mpegts/iptv/iptv_http.c \
src/input/mpegts/iptv/iptv_udp.c \
# TSfile # TSfile
SRCS-$(CONFIG_TSFILE) += \ SRCS-$(CONFIG_TSFILE) += \

20
configure vendored
View file

@ -29,10 +29,11 @@ OPTIONS=(
"zlib:auto" "zlib:auto"
"libav:auto" "libav:auto"
"inotify:auto" "inotify:auto"
"curl:auto"
"epoll:auto"
"uriparser:auto" "uriparser:auto"
"bundle:no" "bundle:no"
"dvbcsa:no" "dvbcsa:no"
"epoll:yes"
"kqueue:no" "kqueue:no"
) )
@ -134,6 +135,17 @@ if enabled_or_auto zlib; then
fi fi
fi fi
#
# CURL
#
if enabled_or_auto curl; then
if check_pkg libcurl; then
enable curl
elif enabled curl; then
die "Curl development support not foun (use --disable-curl)"
fi
fi
# #
# uriparser # uriparser
# #
@ -227,7 +239,7 @@ fi
# Icon caching # Icon caching
# #
if enabled_or_auto imagecache; then if enabled_or_auto imagecache; then
if check_pkg libcurl; then if enabled curl; then
enable imagecache enable imagecache
elif enabled imagecache; then elif enabled imagecache; then
die "Libcurl support not found (use --disable-imagecache)" die "Libcurl support not found (use --disable-imagecache)"
@ -250,8 +262,8 @@ fi
# #
# epoll # epoll
# #
if [ ${PLATFORM} != "linux" ]; then if [ ${PLATFORM} = "linux" ]; then
disable epoll enable epoll
fi fi
# #