projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: on-event condition: don't abort() on invalid event expression type
[lttng-tools.git]
/
m4
/
ax_have_epoll.m4
diff --git
a/m4/ax_have_epoll.m4
b/m4/ax_have_epoll.m4
index 9d9bc8736a0777113af86c6d7335473d713e3b63..8b23e1aa107d220ec2178bb49baf4e0f2f37ff33 100644
(file)
--- a/
m4/ax_have_epoll.m4
+++ b/
m4/ax_have_epoll.m4
@@
-42,7
+42,7
@@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 1
1
+#serial 1
2
AC_DEFUN([AX_HAVE_EPOLL], [dnl
ax_have_epoll_cppflags="${CPPFLAGS}"
AC_DEFUN([AX_HAVE_EPOLL], [dnl
ax_have_epoll_cppflags="${CPPFLAGS}"
@@
-59,10
+59,10
@@
AC_DEFUN([AX_HAVE_EPOLL], [dnl
# endif
#endif
], [dnl
# endif
#endif
], [dnl
-int fd
, rc
;
+int fd;
struct epoll_event ev;
fd = epoll_create(128);
struct epoll_event ev;
fd = epoll_create(128);
-
rc =
epoll_wait(fd, &ev, 1, 0);])],
+epoll_wait(fd, &ev, 1, 0);])],
[ax_cv_have_epoll=yes],
[ax_cv_have_epoll=no])])
CPPFLAGS="${ax_have_epoll_cppflags}"
[ax_cv_have_epoll=yes],
[ax_cv_have_epoll=no])])
CPPFLAGS="${ax_have_epoll_cppflags}"
@@
-89,11
+89,11
@@
AC_DEFUN([AX_HAVE_EPOLL_PWAIT], [dnl
#include <sys/epoll.h>
#include <signal.h>
], [dnl
#include <sys/epoll.h>
#include <signal.h>
], [dnl
-int fd
, rc
;
+int fd;
struct epoll_event ev;
fd = epoll_create(128);
struct epoll_event ev;
fd = epoll_create(128);
-
rc =
epoll_wait(fd, &ev, 1, 0);
-
rc =
epoll_pwait(fd, &ev, 1, 0, (sigset_t const *)(0));])],
+epoll_wait(fd, &ev, 1, 0);
+epoll_pwait(fd, &ev, 1, 0, (sigset_t const *)(0));])],
[ax_cv_have_epoll_pwait=yes],
[ax_cv_have_epoll_pwait=no])])
CPPFLAGS="${ax_have_epoll_cppflags}"
[ax_cv_have_epoll_pwait=yes],
[ax_cv_have_epoll_pwait=no])])
CPPFLAGS="${ax_have_epoll_cppflags}"
This page took
0.023859 seconds
and
4
git commands to generate.