aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-11-17 21:32:48 +0100
committerGilles Chehade <gilles@poolp.org>2019-11-17 21:32:48 +0100
commitc139eb1610e931739d6cde4194c9560124b08165 (patch)
tree8beb8e440b5745543b6c6a830e904538e12d6029 /configure.ac
parentconditionally build progname (diff)
downloadOpenSMTPD-c139eb1610e931739d6cde4194c9560124b08165.tar.xz
OpenSMTPD-c139eb1610e931739d6cde4194c9560124b08165.zip
fix pledge() detection and fix argv on systems with setproctitle
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 2febfdfb..354a80d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -564,6 +564,7 @@ AC_CHECK_FUNCS([ \
nanosleep \
nsleep \
pidfile \
+ pledge \
reallocarray \
recallocarray \
res_hnok \
@@ -599,7 +600,6 @@ AC_CHECK_FUNCS([ \
warn \
warnx \
])
-AC_DEFINE([HAVE_PLEDGE], [0], [compat layer is not pledge ready])
AC_CHECK_DECL([strsep],
[AC_CHECK_FUNCS([strsep])],