summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <j@jasper.la>2017-12-22 10:40:40 +0100
committerHans Petter Jansson <hpj@cl.no>2019-07-23 18:49:05 +0200
commit7cebcedd9cf392977d40910a660245dc3f73b257 (patch)
tree6dc1167359ffdaee7618420fe945e091f8ac02d7 /configure.ac
parent217cb97b7a9b093835282f736be34f0d4b01be09 (diff)
downloaddesktop-file-utils-7cebcedd9cf392977d40910a660245dc3f73b257.tar.gz
Use pledge(2) on OpenBSD to limit the sets of syscalls that can be used
Signed-off-by: Hans Petter Jansson <hpj@cl.no>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f342196..633d9e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,8 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_LN_S
AC_PROG_CC
+AC_CHECK_FUNCS(pledge)
+
if test "x$GCC" = "xyes"; then
changequote(,)dnl
case " $CFLAGS " in