summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-02-28 22:24:09 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-02-28 22:24:09 +0100
commit537ed164ae1875a8d38e06dbc214ef4f91bc4642 (patch)
tree6c165e76e099270b8c885828be46d1d4a978365a /configure.ac
parentb5143b28554608102d1ddce8aa08c37e11c858d8 (diff)
Check for accept4() and provide alternative
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 71452a9..753af8a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,9 @@ AX_GCC_FUNC_ATTRIBUTE([format])
AC_CHECK_HEADERS([sys/ioctl.h])
+# accept
+AC_CHECK_FUNCS([accept4])
+
# Thread
THREAD_CFLAGS=-pthread