summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthew Fischer <matthew.fischer@canonical.com>2012-06-05 21:31:03 -0600
committerMatthew Fischer <matthew.fischer@canonical.com>2012-06-05 21:31:03 -0600
commitfe50efbbc89331d32653b9acb41e675e2cd24891 (patch)
treeed38f62373ec2c1c82c2e01aacf6802df5340a86 /configure.ac
parent28f4f0777c33c16809569eb01dabd5708827eb4a (diff)
downloadlightdm-git-fe50efbbc89331d32653b9acb41e675e2cd24891.tar.gz
fixes 999713: setresuid/setresgid don't work on some platforms
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 690ba6b6..d585c9b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,8 @@ dnl ###########################################################################
AC_CHECK_HEADERS(security/pam_appl.h, [], AC_MSG_ERROR(PAM not found))
+AC_CHECK_FUNCS(setresgid setresuid)
+
PKG_CHECK_MODULES(LIGHTDM, [
glib-2.0 >= 2.24
gio-2.0 >= 2.26