summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2014-09-24 20:57:30 +0200
committerJulian Andres Klode <jak@debian.org>2014-09-24 20:57:30 +0200
commit550ab420d398f303ff8cbc51e1f4dab79f8cbdf2 (patch)
tree979e98c951b52c9b8a2bc148d874d36358f6f921 /configure.ac
parent3b084f06b65ea073176b26fd9e472dc0f76b44b0 (diff)
DropPrivs: Also check for saved set-user-ID and set-group-ID
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 89950fccd..5d0e0a9db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,6 +172,12 @@ AC_EGREP_HEADER(h_errno, netdb.h, [AC_MSG_RESULT(normal)],
[AC_MSG_ERROR("not found.")])
])
+
+dnl check for setuid checking function
+AC_CHECK_FUNCS(getresuid getresgid)
+AC_SUBST(HAVE_GETRESUID)
+AC_SUBST(HAVE_GETRESGID)
+
dnl Check for doxygen
AC_PATH_PROG(DOXYGEN, doxygen)