Commit 20e658ab authored by Niels De Graef's avatar Niels De Graef

configure.ac: remove setpenv check.

It's nowhere used in the code, so we can safely remove it.
parent d78232d0
......@@ -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
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment