From 7fe66a47efbb63cd3741bfea8a5f16c8e9687798 Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sat, 4 May 2013 13:56:24 +0200 Subject: [PATCH] Add kqueue option and allow to disable epoll. --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 # ########################################################################### -- 2.47.2