]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add kqueue option and allow to disable epoll.
authorBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 11:56:24 +0000 (13:56 +0200)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 31 May 2013 13:19:26 +0000 (14:19 +0100)
configure

index 6e4577fb2830a36a161ecf773f07a674273b5f07..d7f5ec0ea6d419884ad0c2ab94a61f614a1458d9 100755 (executable)
--- 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
 # ###########################################################################