aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-10-12 15:34:03 -0500
committerBrent Cook <bcook@openbsd.org>2015-10-12 15:34:03 -0500
commitff52e6f4e36b6665fc867034e64051471876269f (patch)
tree0ed6dd6160d49c352cfea77a42caf9bfba220e71 /m4
parent41cebd325f5fe5138ae407af7da2360ada16b9e2 (diff)
downloadportable-ff52e6f4e36b6665fc867034e64051471876269f.tar.gz
portable-ff52e6f4e36b6665fc867034e64051471876269f.tar.bz2
portable-ff52e6f4e36b6665fc867034e64051471876269f.zip
check for pledge(2)
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m44
1 files changed, 2 insertions, 2 deletions
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])
18]) 18])
19 19
20AC_DEFUN([CHECK_SYSCALL_COMPAT], [ 20AC_DEFUN([CHECK_SYSCALL_COMPAT], [
21AC_CHECK_FUNCS([accept4 poll tame]) 21AC_CHECK_FUNCS([accept4 pledge poll])
22AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) 22AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes])
23AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes])
23AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) 24AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes])
24AM_CONDITIONAL([HAVE_TAME], [test "x$ac_cv_func_tame" = xyes])
25]) 25])
26 26
27AC_DEFUN([CHECK_B64_NTOP], [ 27AC_DEFUN([CHECK_B64_NTOP], [