summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-06-25 21:12:57 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-06-25 21:12:57 +0200
commit20e658ab5d903d9f5ba0be24248c1cbf69360693 (patch)
tree53a56fd6a99637c6ddeed35e6e4b11fba7cae4be
parentd78232d09c99b3f704d5d94e57efe304277450ec (diff)
downloadgdm-20e658ab5d903d9f5ba0be24248c1cbf69360693.tar.gz
configure.ac: remove setpenv check.
It's nowhere used in the code, so we can safely remove it.
-rw-r--r--configure.ac18
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index 599a1ea2..418728a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -537,24 +537,6 @@ AC_CHECK_LIB(keyutils, keyctl_read, [
AC_SUBST(KEYUTILS_LIBS)
AC_SUBST(KEYUTILS_CFLAGS)
-dnl Check if we can use the setpenv function to add specialvariable
-dnl to the environment (such as the /etc/environment file under AIX)
-AC_LINK_IFELSE([
- AC_LANG_PROGRAM([[
- #ifdef HAVE_USERSEC_H
- #include <usersec.h>
- #endif
- ]],[[
- return (setpenv(NULL, (PENV_INIT | PENV_NOEXEC), NULL, NULL));
- ]])],
- can_use_setpenv=yes,
- can_use_setpenv=no)
-
-if test x$can_use_setpenv = xyes ; then
- AC_DEFINE(CAN_USE_SETPENV,,[Define this variable if the code to use
- the setpenv function can be compiled and used])
-fi
-
#
# Can we use BSD's setusercontext
#