summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre <andre>2000-06-03 16:18:19 +0000
committerandre <andre>2000-06-03 16:18:19 +0000
commit60f3c983cc7314fe7e488e75be653974080f9de5 (patch)
tree7340d111efee12c1cc2fd695d7763ced5cdabf33
parenta271146b7b2741da38ba06ac788739fbfbad65b7 (diff)
Disable lastlog for AIX, as it's handled by the OS as part of the login
message
-rw-r--r--configure.in2
-rw-r--r--loginrec.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 8bb647c1..cab5b7ac 100644
--- a/configure.in
+++ b/configure.in
@@ -36,6 +36,8 @@ case "$host" in
fi
AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)])
AC_DEFINE(BROKEN_GETADDRINFO)
+ dnl AIX handles lastlog as part of its login message
+ AC_DEFINE(DISABLE_LASTLOG)
;;
*-*-hpux10*)
if test -z "$GCC"; then
diff --git a/loginrec.c b/loginrec.c
index c35328cb..3991d91c 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -47,9 +47,9 @@
** IRIX
** NetBSD
** HP-UX 11
+ ** AIX
**
** Platforms with known problems:
- ** AIX (need to port AIX stuff from old login code
** NeXT
**
**/
@@ -78,7 +78,7 @@
#include "xmalloc.h"
#include "loginrec.h"
-RCSID("$Id: loginrec.c,v 1.1 2000/06/03 14:57:40 andre Exp $");
+RCSID("$Id: loginrec.c,v 1.2 2000/06/03 16:18:19 andre Exp $");
/**