1 | dnl this file is part of libev, do not make local modifications |
1 | dnl this file is part of libev, do not make local modifications |
2 | dnl http://software.schmorp.de/pkg/libev |
2 | dnl http://software.schmorp.de/pkg/libev |
3 | |
3 | |
4 | dnl libev support |
4 | dnl libev support |
5 | AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h) |
5 | AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h) |
6 | |
6 | |
7 | AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd) |
7 | AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd) |
8 | |
8 | |
9 | AC_CHECK_FUNC(clock_gettime, [], [ |
9 | AC_CHECK_FUNC(clock_gettime, [], [ |
10 | dnl on linux, try syscall wrapper first |
10 | dnl on linux, try syscall wrapper first |
11 | if test $(uname) = Linux; then |
11 | if test $(uname) = Linux; then |
12 | AC_MSG_CHECKING(for clock_gettime syscall) |
12 | AC_MSG_CHECKING(for clock_gettime syscall) |
… | |
… | |
34 | fi |
34 | fi |
35 | ]) |
35 | ]) |
36 | |
36 | |
37 | AC_CHECK_LIB(m, ceil) |
37 | AC_CHECK_LIB(m, ceil) |
38 | |
38 | |
39 | |
|
|
40 | |
|
|