From ff52e6f4e36b6665fc867034e64051471876269f Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 12 Oct 2015 15:34:03 -0500 Subject: check for pledge(2) --- m4/check-libc.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 2e3e820..c0df011 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 @@ -18,10 +18,10 @@ AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) ]) AC_DEFUN([CHECK_SYSCALL_COMPAT], [ -AC_CHECK_FUNCS([accept4 poll tame]) +AC_CHECK_FUNCS([accept4 pledge poll]) AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = 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_TAME], [test "x$ac_cv_func_tame" = xyes]) ]) AC_DEFUN([CHECK_B64_NTOP], [ -- cgit v1.2.3-55-g6feb