From 709528ab6a271ce39155fc494d40689f578f9d38 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 31 Jan 2001 09:57:55 +1100 Subject: [PATCH] - (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from Philipp Buehler and Kevin Steves respectively. --- ChangeLog | 3 +++ configure.in | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6667497e1..0e854e2f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ - djm@cvs.openbsd.org 2001/01/30 15:48:53 [sshconnect.c] Make warning message a little more consistent. ok markus@ + - (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from + Philipp Buehler and Kevin Steves + respectively. 20000130 - (djm) OpenBSD CVS Sync: diff --git a/configure.in b/configure.in index 3a812d05d..d9f59a315 100644 --- a/configure.in +++ b/configure.in @@ -1438,7 +1438,14 @@ AC_ARG_ENABLE(pututxline, ) 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