* NEWS, configure.in: Fix build failure on non-PAM enabled system

when --without-pam is not specified.
This commit is contained in:
nekral-guest 2009-05-03 22:46:26 +00:00
parent ba65b06b4a
commit 69fe59a632
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-05-04 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, configure.in: Fix build failure on non-PAM enabled system
when --without-pam is not specified.
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
* lib/commonio.c: Ignore teh return values of fclose() and

4
NEWS
View File

@ -4,8 +4,10 @@ shadow-4.1.3.1 -> shadow-4.1.3.2 UNRELEASED
- packaging
* Enable --enable-account-tools-setuid by default for PAM builds.
* Added configure option --enable-utmpx, disabled by default to mimic
* Add configure option --enable-utmpx, disabled by default to mimic
the previous behavior on Linux (where utmp and utmpx are identical).
* Fix build failure on non-PAM systems when --without-pam is not
specified.
- login
* Do not trust the current utmp entry's ut_line to set PAM_TTY. This could
lead to DOS attacks.

View File

@ -417,6 +417,7 @@ if test "$with_libpam" != "no"; then
with_libpam="yes"
else
with_libpam="no"
unset LIBPAM
fi
fi
dnl Now with_libpam is either yes or no