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

20
configure vendored
View file

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