mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 19:59:40 +00:00
fix eventfd = no
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@335 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
f4444c40b8
commit
32ba7bbd00
13
config.inc
13
config.inc
@ -48,7 +48,7 @@ post_configure_hook() {
|
||||
finalize target "$target"
|
||||
|
||||
kevent="src/posix/kevent.c"
|
||||
evfilt_signal="src/$target/signal.c"
|
||||
evfilt_signal="src/posix/signal.c"
|
||||
evfilt_proc="src/$target/proc.c"
|
||||
evfilt_socket="src/$target/socket.c"
|
||||
evfilt_timer="src/$target/timer.c"
|
||||
@ -57,14 +57,14 @@ post_configure_hook() {
|
||||
eventfd="src/posix/eventfd.c"
|
||||
|
||||
if [ $target = "linux" ] ; then
|
||||
if [ "$have_sys_signalfd_h" != "yes" ] ; then
|
||||
evfilt_signal="src/posix/signal.c"
|
||||
fi
|
||||
evfilt_signal="src/posix/signal.c" #XXX-FIXME TESTING
|
||||
# FIXME: not tested
|
||||
#if [ "$have_sys_signalfd_h" = "yes" ] ; then
|
||||
# evfilt_signal="src/linux/signal.c"
|
||||
#fi
|
||||
if [ "$have_sys_timerfd_h" != "yes" ] ; then
|
||||
evfilt_timer="src/posix/timer.c"
|
||||
fi
|
||||
if [ "$have_sys_eventfd_h" != "yes" ] ; then
|
||||
if [ "$have_sys_eventfd_h" = "yes" ] ; then
|
||||
eventfd="src/linux/eventfd.c"
|
||||
fi
|
||||
fi
|
||||
@ -72,7 +72,6 @@ post_configure_hook() {
|
||||
if [ $target = "solaris" ] ; then
|
||||
cflags="$cflags -D__EXTENSIONS__"
|
||||
kevent="src/solaris/kevent.c"
|
||||
evfilt_signal="src/posix/signal.c"
|
||||
evfilt_timer="src/solaris/timer.c"
|
||||
evfilt_user="src/solaris/user.c"
|
||||
evfilt_proc=""
|
||||
|
Loading…
Reference in New Issue
Block a user