aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@rapid7.com>2017-01-15 04:30:41 -0600
committerBrent Cook <busterb@gmail.com>2017-01-15 16:00:16 -0600
commitdfb6b11e5a5ba21c6658d87b4df83c2a05d2deab (patch)
tree8ecf72c600ad63d8eba282b0c64cb0169451620d /m4
parentfa20dae3297fd547341021c7bda9b7a567f6a881 (diff)
downloadportable-dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab.tar.gz
portable-dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab.tar.bz2
portable-dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab.zip
include pipe2/socketpair compat for macOS
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index b58f0b1..54efc37 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -20,10 +20,12 @@ AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes])
20]) 20])
21 21
22AC_DEFUN([CHECK_SYSCALL_COMPAT], [ 22AC_DEFUN([CHECK_SYSCALL_COMPAT], [
23AC_CHECK_FUNCS([accept4 pledge poll]) 23AC_CHECK_FUNCS([accept4 pipe2 pledge poll socketpair])
24AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) 24AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes])
25AM_CONDITIONAL([HAVE_PIPE2], [test "x$ac_cv_func_pipe2" = xyes])
25AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes]) 26AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes])
26AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) 27AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes])
28AM_CONDITIONAL([HAVE_SOCKETPAIR], [test "x$ac_cv_func_socketpair" = xyes])
27]) 29])
28 30
29AC_DEFUN([CHECK_B64_NTOP], [ 31AC_DEFUN([CHECK_B64_NTOP], [