]> granicus.if.org Git - shadow/commitdiff
* NEWS, configure.in: Fix build failure on non-PAM enabled system
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 May 2009 22:46:26 +0000 (22:46 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 May 2009 22:46:26 +0000 (22:46 +0000)
when --without-pam is not specified.

ChangeLog
NEWS
configure.in

index 5fe6cbf0634bda024c3d68818dc60e8e7aef55ef..3634ca57cc17f842ca0d3fb3bd0684373943b1ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index 092ac85e9a749c3aab56ffe9c458df0177065839..7da682ad3832aa67eadaa9f3b95066ee4b51f136 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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.
index dca1cf0d34191627fe9023db1502db50c5b08ea8..b9f0ca05775fc28c7c8282420a0c54ddcda94447 100644 (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