… | |
… | |
5 | AC_CHECK_HEADERS(sys/epoll.h sys/event.h sys/queue.h port.h) |
5 | AC_CHECK_HEADERS(sys/epoll.h sys/event.h sys/queue.h port.h) |
6 | |
6 | |
7 | AC_CHECK_FUNCS(epoll_ctl kqueue port_create) |
7 | AC_CHECK_FUNCS(epoll_ctl kqueue port_create) |
8 | |
8 | |
9 | AC_CHECK_FUNC(clock_gettime, [], [ |
9 | AC_CHECK_FUNC(clock_gettime, [], [ |
|
|
10 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
10 | AC_CHECK_LIB(rt, clock_gettime) |
11 | AC_CHECK_LIB(rt, clock_gettime) |
11 | AC_CHECK_FUNCS(clock_gettime) |
12 | AC_CHECK_FUNCS(clock_gettime) |
|
|
13 | fi |
12 | ]) |
14 | ]) |
13 | |
15 | |
14 | AC_CHECK_LIB(m, ceil) |
16 | AC_CHECK_LIB(m, ceil) |
15 | |
17 | |
16 | |
18 | |