- (tim) [configure.ac] OpenServer 5 wants lastlog even though it has none

of the bits the configure test looks for.
This commit is contained in:
Tim Rice 2013-03-16 20:55:46 -07:00
parent 5852840190
commit aa86c3970f
2 changed files with 9 additions and 2 deletions

View File

@ -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 20120316
- (djm) [configure.ac] Disable utmp, wtmp and/or lastlog if the platform - (djm) [configure.ac] Disable utmp, wtmp and/or lastlog if the platform
is unable to successfully compile them. Based on patch from des AT is unable to successfully compile them. Based on patch from des AT

View File

@ -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 # Copyright (c) 1999-2004 Damien Miller
# #
@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 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_CONFIG_SRCDIR([ssh.c])
AC_LANG([C]) AC_LANG([C])
@ -897,6 +897,7 @@ mips-sony-bsd|mips-sony-newsos4)
AC_CHECK_FUNCS([getluid setluid]) AC_CHECK_FUNCS([getluid setluid])
MANTYPE=man MANTYPE=man
TEST_SHELL=ksh TEST_SHELL=ksh
SKIP_DISABLE_LASTLOG_DEFINE=yes
;; ;;
*-*-unicosmk*) *-*-unicosmk*)
AC_DEFINE([NO_SSH_LASTLOG], [1], AC_DEFINE([NO_SSH_LASTLOG], [1],
@ -4472,7 +4473,9 @@ if test ! -z "$blibpath" ; then
fi fi
AC_CHECK_MEMBER([struct lastlog.ll_line], [], [ AC_CHECK_MEMBER([struct lastlog.ll_line], [], [
if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then
AC_DEFINE([DISABLE_LASTLOG]) AC_DEFINE([DISABLE_LASTLOG])
fi
], [ ], [
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>