summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-11-30 07:23:53 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-11-30 07:23:53 +1100
commit3ddd15e1b63a4d4f06c8ab16fbdd8a5a61764f16 (patch)
tree4fbce3d8671872f8e1cd91230a73af14e288a28f /configure.ac
parentb1d6b3971ef256a08692efc409fc9ada719111cc (diff)
Add a null implementation of pledge.
Fixes builds on almost everything.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1527a13d..85e98437 100644
--- a/configure.ac
+++ b/configure.ac
@@ -854,7 +854,6 @@ mips-sony-bsd|mips-sony-newsos4)
AC_DEFINE([SYSLOG_R_SAFE_IN_SIGHAND], [1],
[syslog_r function is safe to use in in a signal handler])
TEST_MALLOC_OPTIONS="AFGJPRX"
- AC_CHECK_FUNCS([pledge])
;;
*-*-solaris*)
if test "x$withval" != "xno" ; then
@@ -1669,6 +1668,7 @@ AC_CHECK_FUNCS([ \
nsleep \
ogetaddrinfo \
openlog_r \
+ pledge \
poll \
prctl \
pstat \