Add kqueue option and allow to disable epoll.
This commit is contained in:
parent
cf74b5f1c9
commit
04199db013
1 changed files with 16 additions and 0 deletions
16
configure
vendored
16
configure
vendored
|
@ -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
|
||||
# ###########################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue