20001228
- (bal) Patch to add libutil.h to loginrec.c only if the platform has libutil.h. Suggested by Pekka Savola <pekka@netcore.fi>
This commit is contained in:
parent
981eeed1be
commit
e2fb8d3b02
|
@ -1,4 +1,13 @@
|
||||||
|
20001228
|
||||||
|
- (bal) Patch to add libutil.h to loginrec.c only if the platform has
|
||||||
|
libutil.h. Suggested by Pekka Savola <pekka@netcore.fi>
|
||||||
|
|
||||||
20001227
|
20001227
|
||||||
|
- (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by
|
||||||
|
Takumi Yamane <yamtak@b-session.com>
|
||||||
|
- (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch
|
||||||
|
by Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
- (djm) Fix catman-do target for non-bash
|
||||||
- (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by
|
- (bal) Typo in configure.in: entut?ent should be endut?ent. Suggested by
|
||||||
Takumi Yamane <yamtak@b-session.com>
|
Takumi Yamane <yamtak@b-session.com>
|
||||||
- (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch
|
- (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch
|
||||||
|
|
|
@ -309,6 +309,7 @@ AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock fchmod fre
|
||||||
dnl Checks for time functions
|
dnl Checks for time functions
|
||||||
AC_CHECK_FUNCS(gettimeofday time)
|
AC_CHECK_FUNCS(gettimeofday time)
|
||||||
dnl Checks for libutil functions
|
dnl Checks for libutil functions
|
||||||
|
AC_CHECK_HEADERS(libutil.h)
|
||||||
AC_CHECK_FUNCS(login logout updwtmp logwtmp)
|
AC_CHECK_FUNCS(login logout updwtmp logwtmp)
|
||||||
dnl Checks for utmp functions
|
dnl Checks for utmp functions
|
||||||
AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
|
AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
|
||||||
|
|
|
@ -161,12 +161,16 @@
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
#include "loginrec.h"
|
#include "loginrec.h"
|
||||||
|
|
||||||
RCSID("$Id: loginrec.c,v 1.28 2000/12/01 21:19:51 mouring Exp $");
|
RCSID("$Id: loginrec.c,v 1.29 2000/12/28 00:07:07 mouring Exp $");
|
||||||
|
|
||||||
#ifdef HAVE_UTIL_H
|
#ifdef HAVE_UTIL_H
|
||||||
# include <util.h>
|
# include <util.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBUTIL_H
|
||||||
|
# include <libutil.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** prototypes for helper functions in this file
|
** prototypes for helper functions in this file
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Reference in New Issue