+Overview of changes in lightdm 1.3.2
+
+ * Handle clearenv() not being defined
+
Overview of changes in lightdm 1.3.1
* Fix wrapper path in AppArmor profile (broken since 1.1.1)
AC_CHECK_HEADERS(security/pam_appl.h, [], AC_MSG_ERROR(PAM not found))
-AC_CHECK_FUNCS(setresgid setresuid)
+AC_CHECK_FUNCS(setresgid setresuid clearenv)
PKG_CHECK_MODULES(LIGHTDM, [
glib-2.0 >= 2.24
#include <signal.h>
#include <grp.h>
#include <glib/gstdio.h>
+#include <config.h>
#include "process.h"
}
if (process->priv->clear_environment)
+#ifdef HAVE_CLEARENV
clearenv ();
+#else
+ environ = NULL;
+#endif
g_hash_table_iter_init (&iter, process->priv->env);
while (g_hash_table_iter_next (&iter, &key, &value))