Displaying 2 results from an estimated 2 matches for "have_user_in_utmp".
2000 Jul 02
0
patch for NetBSD utmp (ut_name instead of ut_host)
...jun Exp $
--- configure.in.orig Sat Jul 1 15:52:55 2000
+++ configure.in Mon Jul 3 06:49:00 2000
@@ -647,2 +647,6 @@
+OSSH_CHECK_HEADER_FOR_FIELD(ut_name, utmp.h, HAVE_NAME_IN_UTMP)
+OSSH_CHECK_HEADER_FOR_FIELD(ut_name, utmpx.h, HAVE_NAME_IN_UTMPX)
+OSSH_CHECK_HEADER_FOR_FIELD(ut_user, utmp.h, HAVE_USER_IN_UTMP)
+OSSH_CHECK_HEADER_FOR_FIELD(ut_user, utmpx.h, HAVE_USER_IN_UTMPX)
OSSH_CHECK_HEADER_FOR_FIELD(ut_host, utmp.h, HAVE_HOST_IN_UTMP)
-------------- next part --------------
$NetBSD: patch-al,v 1.1 2000/07/02 22:07:56 itojun Exp $
--- loginrec.c- Mon Jul 3 06:49:20 2000
+++ loginrec.c Mon Jul 3 0...
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
..."
+ ;;
*-*-aix*)
AFS_LIBS="-lld"
AC_DEFINE(BROKEN_GETADDRINFO)
@@ -427,6 +433,14 @@
[AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ],
[AC_MSG_RESULT(no)]
)
+AC_MSG_CHECKING([whether utmp.h has ut_user or ut_name field])
+AC_EGREP_HEADER(ut_user, utmp.h,
+ [AC_DEFINE(HAVE_USER_IN_UTMP) AC_MSG_RESULT(yes); ],
+ [AC_MSG_RESULT(no)]
+AC_MSG_CHECKING([whether utmp.h has ut_type field])
+AC_EGREP_HEADER(ut_type, utmp.h,
+ [AC_DEFINE(HAVE_TYPE_IN_UTMP) AC_MSG_RESULT(yes); ],
+ [AC_MSG_RESULT(no)]
AC_MSG_CHECKING([whether utmp.h has ut_addr field])
AC_EGREP_HEADER(ut_ad...