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~46^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04199db013725683b2c8ef9f11e7572bc4eef61e;p=thirdparty%2Ftvheadend.git Add kqueue option and allow to disable epoll. --- diff --git a/configure b/configure index 6e4577fb2..d7f5ec0ea 100755 --- a/configure +++ b/configure @@ -29,6 +29,8 @@ OPTIONS=( "inotify:auto" "bundle:no" "dvbcsa:no" + "epoll:yes" + "kqueue:no" ) # @@ -196,6 +198,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 # ###########################################################################