From dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 15 Jan 2017 04:30:41 -0600 Subject: include pipe2/socketpair compat for macOS --- m4/check-libc.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'm4') 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]) ]) AC_DEFUN([CHECK_SYSCALL_COMPAT], [ -AC_CHECK_FUNCS([accept4 pledge poll]) +AC_CHECK_FUNCS([accept4 pipe2 pledge poll socketpair]) AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) +AM_CONDITIONAL([HAVE_PIPE2], [test "x$ac_cv_func_pipe2" = xyes]) AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes]) AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) +AM_CONDITIONAL([HAVE_SOCKETPAIR], [test "x$ac_cv_func_socketpair" = xyes]) ]) AC_DEFUN([CHECK_B64_NTOP], [ -- cgit v1.2.3-55-g6feb