From: Bernhard Froehlich Date: Sat, 4 May 2013 11:56:24 +0000 (+0200) Subject: Add kqueue option and allow to disable epoll. X-Git-Tag: v3.9~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe66a47efbb63cd3741bfea8a5f16c8e9687798;p=thirdparty%2Ftvheadend.git Add kqueue option and allow to disable epoll. --- diff --git a/configure b/configure index 198e4d1bd..901be2c42 100755 --- a/configure +++ b/configure @@ -29,6 +29,8 @@ OPTIONS=( "inotify:auto" "bundle:no" "dvbcsa:no" + "epoll:yes" + "kqueue:no" ) # @@ -189,6 +191,20 @@ if enabled linuxdvb && enabled dvbscan; then echo "ok" fi +# +# epoll +# +if [ ${PLATFORM} != "linux" ]; then + disable epoll +fi + +# +# kqueue +# +if [ ${PLATFORM} = "freebsd" ]; then + enable kqueue +fi + # ########################################################################### # Write config # ###########################################################################