mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 08:55:40 +03:00
Fix epoll detection
The "ac_cv_header-..." macros are either set to "yes" or "no" and never to the empty string.
This commit is contained in:
1 parent
7858c57919
commit
f8a6debe81
1 file changed
+1
-1
+1
-1
@@ -575,7 +575,7 @@ AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h \
|
||||
# For epoll, need two headers (sys/epoll.h sys/timerfd.h), but set up one #define
|
||||
AC_CHECK_HEADER([sys/epoll.h])
|
||||
AC_CHECK_HEADER([sys/timerfd.h])
|
||||
if test "x$ac_cv_header_sys_epoll_h" != "x" -a "x$ac_cv_header_sys_timerfd_h" != "x"; then
|
||||
if test "x$ac_cv_header_sys_epoll_h" = "xyes" -a "x$ac_cv_header_sys_timerfd_h" = "xyes"; then
|
||||
have_epoll="yes"
|
||||
AC_ARG_WITH([epoll],
|
||||
[AS_HELP_STRING([--with-epoll],
|
||||
|
||||
Reference in new issue
Block a user