From aa86c3970f24fc22185a9561ae84eeae0c6d15cd Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sat, 16 Mar 2013 20:55:46 -0700 Subject: - (tim) [configure.ac] OpenServer 5 wants lastlog even though it has none of the bits the configure test looks for. --- ChangeLog | 4 ++++ configure.ac | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f9f2166b..502d85c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20120317 + - (tim) [configure.ac] OpenServer 5 wants lastlog even though it has none + of the bits the configure test looks for. + 20120316 - (djm) [configure.ac] Disable utmp, wtmp and/or lastlog if the platform is unable to successfully compile them. Based on patch from des AT diff --git a/configure.ac b/configure.ac index 907192d6..5d835c93 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.516 2013/03/14 23:34:25 djm Exp $ +# $Id: configure.ac,v 1.517 2013/03/17 03:55:47 tim Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) -AC_REVISION($Revision: 1.516 $) +AC_REVISION($Revision: 1.517 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -897,6 +897,7 @@ mips-sony-bsd|mips-sony-newsos4) AC_CHECK_FUNCS([getluid setluid]) MANTYPE=man TEST_SHELL=ksh + SKIP_DISABLE_LASTLOG_DEFINE=yes ;; *-*-unicosmk*) AC_DEFINE([NO_SSH_LASTLOG], [1], @@ -4472,7 +4473,9 @@ if test ! -z "$blibpath" ; then fi AC_CHECK_MEMBER([struct lastlog.ll_line], [], [ + if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then AC_DEFINE([DISABLE_LASTLOG]) + fi ], [ #ifdef HAVE_SYS_TYPES_H #include -- cgit v1.2.3