diff options
| author | Brent Cook <bcook@rapid7.com> | 2017-01-15 04:30:41 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2017-01-15 16:00:16 -0600 |
| commit | dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab (patch) | |
| tree | 8ecf72c600ad63d8eba282b0c64cb0169451620d /m4 | |
| parent | fa20dae3297fd547341021c7bda9b7a567f6a881 (diff) | |
| download | portable-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.m4 | 4 |
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 | ||
| 22 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ | 22 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ |
| 23 | AC_CHECK_FUNCS([accept4 pledge poll]) | 23 | AC_CHECK_FUNCS([accept4 pipe2 pledge poll socketpair]) |
| 24 | AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) | 24 | AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) |
| 25 | AM_CONDITIONAL([HAVE_PIPE2], [test "x$ac_cv_func_pipe2" = xyes]) | ||
| 25 | AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes]) | 26 | AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes]) |
| 26 | AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) | 27 | AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) |
| 28 | AM_CONDITIONAL([HAVE_SOCKETPAIR], [test "x$ac_cv_func_socketpair" = xyes]) | ||
| 27 | ]) | 29 | ]) |
| 28 | 30 | ||
| 29 | AC_DEFUN([CHECK_B64_NTOP], [ | 31 | AC_DEFUN([CHECK_B64_NTOP], [ |
