ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/libev.m4
Revision: 1.9
Committed: Sat Dec 22 17:28:20 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_01, rel-2_0, rel-3_2, rel-3_1, rel-3_0
Changes since 1.8: +4 -4 lines
Log Message:
last second change

File Contents

# User Rev Content
1 root 1.1 dnl this file is part of libev, do not make local modifications
2     dnl http://software.schmorp.de/pkg/libev
3    
4     dnl libev support
5 root 1.6 AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h)
6 root 1.1
7 root 1.6 AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select)
8 root 1.1
9     AC_CHECK_FUNC(clock_gettime, [], [
10 root 1.3 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
11 root 1.5 AC_CHECK_LIB(rt, clock_gettime)
12 root 1.7 unset ac_cv_func_clock_gettime
13 root 1.5 AC_CHECK_FUNCS(clock_gettime)
14 root 1.3 fi
15 root 1.1 ])
16    
17 root 1.9 AC_CHECK_FUNC(nanosleep, [], [
18 root 1.8 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
19 root 1.9 AC_CHECK_LIB(rt, nanosleep)
20     unset ac_cv_func_nanosleep
21     AC_CHECK_FUNCS(nanosleep)
22 root 1.8 fi
23     ])
24    
25 root 1.2 AC_CHECK_LIB(m, ceil)
26 root 1.1
27    
28