]> andersk Git - openssh.git/commitdiff
- (djm) Patch from Kenji Miyake <kenji@miyake.org> to disable utmp usage V_2_1_1_P1
authordjm <djm>
Fri, 9 Jun 2000 01:58:35 +0000 (01:58 +0000)
committerdjm <djm>
Fri, 9 Jun 2000 01:58:35 +0000 (01:58 +0000)
   (in favour of utmpx) on Solaris 8

CREDITS
ChangeLog
configure.in

diff --git a/CREDITS b/CREDITS
index c59babe74d215c0ce1b565177a45c0d3f894a183..f95260e84cc8177c92f8a62cab12ad7b5370071b 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -35,6 +35,7 @@ Jim Knoble <jmknoble@pobox.com> - Many patches
 jonchen (email unknown) - the original author of PAM support of SSH
 Juergen Keil <jk@tools.de> - scp bugfixing
 Kees Cook <cook@cpoint.net> - scp fixes
+Kenji Miyake <kenji@miyake.org> - Configure fixes
 Kevin O'Connor <kevin_oconnor@standardandpoors.com> - RSAless operation
 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - Bugfixes
 Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE> - Bugfixes
index 8da1f8226af2d8316bc8052b911e867de6b32abc..662f9cbdd1e830420f255730e6b438c6a9368527 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20000609
+ - (djm) Patch from Kenji Miyake <kenji@miyake.org> to disable utmp usage
+   (in favour of utmpx) on Solaris 8
+
 20000606
  - (djm) Cleanup of entropy.c. Reorganised code, removed second pass through
    list of commands (by default). Removed verbose debugging (by default).
index a886fbbd66b42c73aa88b5383ca1f831e9102a61..9eb38393e856ded2d087481ac3dd09c6caaab2cd 100644 (file)
@@ -106,6 +106,15 @@ case "$host" in
        need_dash_r=1
        # hardwire lastlog location (can't detect it on some versions)
        conf_lastlog_location="/var/adm/lastlog"
+       AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
+       sol2ver=`echo "$host"| sed -e 's/.*[[0-9]]\.//'`
+       if test "$sol2ver" -ge 8; then
+               AC_MSG_RESULT(yes)
+               AC_DEFINE(DISABLE_UTMP)
+               AC_DEFINE(DISABLE_WTMP)
+       else
+               AC_MSG_RESULT(no)
+       fi
        ;;
 *-*-sunos4*)
        CFLAGS="$CFLAGS -DSUNOS4"
This page took 0.661663 seconds and 5 git commands to generate.