From 04199db013725683b2c8ef9f11e7572bc4eef61e 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 6e4577fb..d7f5ec0e 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 # ###########################################################################