aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-11-24 17:59:30 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-11-26 19:30:19 +0300
commit49c675a0e98daecef2d89f7f187b3c899648684a (patch)
treebf5933f26754efcbfdc941d8d83eeeaf9d0b0646
parent9d2994f1eaa7bf13b7251293ceea04040cdf8553 (diff)
downloadlibmicrohttpd-49c675a0e98daecef2d89f7f187b3c899648684a.tar.gz
libmicrohttpd-49c675a0e98daecef2d89f7f187b3c899648684a.zip
configure: fixed detection of eventfd() with new compilers builds
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 39548981..cf261ead 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2032,6 +2032,7 @@ AS_IF([[test "x$enable_itc" = "xeventfd" || test "x$enable_itc" = "xauto"]], [
2032 AC_LINK_IFELSE([ 2032 AC_LINK_IFELSE([
2033 AC_LANG_PROGRAM([[ 2033 AC_LANG_PROGRAM([[
2034#include <sys/eventfd.h> 2034#include <sys/eventfd.h>
2035#include <unistd.h>
2035 ]], [[ 2036 ]], [[
2036 int ef = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); 2037 int ef = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
2037 if (ef < 0) return 1; 2038 if (ef < 0) return 1;