diff options
author | Brent Cook <bcook@openbsd.org> | 2015-10-12 15:34:03 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-12 15:34:03 -0500 |
commit | ff52e6f4e36b6665fc867034e64051471876269f (patch) | |
tree | 0ed6dd6160d49c352cfea77a42caf9bfba220e71 /m4 | |
parent | 41cebd325f5fe5138ae407af7da2360ada16b9e2 (diff) | |
download | portable-ff52e6f4e36b6665fc867034e64051471876269f.tar.gz portable-ff52e6f4e36b6665fc867034e64051471876269f.tar.bz2 portable-ff52e6f4e36b6665fc867034e64051471876269f.zip |
check for pledge(2)
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 4 |
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 | ||
20 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ | 20 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ |
21 | AC_CHECK_FUNCS([accept4 poll tame]) | 21 | AC_CHECK_FUNCS([accept4 pledge poll]) |
22 | AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) | 22 | AM_CONDITIONAL([HAVE_ACCEPT4], [test "x$ac_cv_func_accept4" = xyes]) |
23 | AM_CONDITIONAL([HAVE_PLEDGE], [test "x$ac_cv_func_pledge" = xyes]) | ||
23 | AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) | 24 | AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) |
24 | AM_CONDITIONAL([HAVE_TAME], [test "x$ac_cv_func_tame" = xyes]) | ||
25 | ]) | 25 | ]) |
26 | 26 | ||
27 | AC_DEFUN([CHECK_B64_NTOP], [ | 27 | AC_DEFUN([CHECK_B64_NTOP], [ |