- (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from
Philipp Buehler <lists@fips.de> and Kevin Steves <stevesk@sweden.hp.com>
respectively.
diff --git a/configure.in b/configure.in
index 3a812d0..d9f59a3 100644
--- a/configure.in
+++ b/configure.in
@@ -1438,7 +1438,14 @@
)
AC_ARG_WITH(lastlog,
[ --with-lastlog=FILE|DIR specify lastlog location [common locations]],
- [ conf_lastlog_location="$withval"; ],)
+ [
+ if test "x$withval" = "xno" ; then
+ AC_DEFINE(DISABLE_LASTLOG)
+ else
+ conf_lastlog_location=$withval
+ fi
+ ]
+)
dnl lastlog, [uw]tmpx? detection
dnl NOTE: set the paths in the platform section to avoid the