Revision 16805,
572 bytes
checked in by zacheiss, 23 years ago
(diff) |
Use utmpx API if we have it, and ignore utmp entries that aren't
USER_PROCESS ones. Makes us able to clean up session records correctly
again.
Don't check for lots of functions seperately at configure time; if we
have getutxent, assume we have the entire utmpx API.
|
Line | |
---|
1 | AC_INIT(dm.c) |
---|
2 | |
---|
3 | test -z "$lsbindir" && lsbindir='${sbindir}' |
---|
4 | AC_SUBST(lsbindir) |
---|
5 | |
---|
6 | AC_PROG_CC |
---|
7 | AC_PROG_INSTALL |
---|
8 | |
---|
9 | ATHENA_HESIOD |
---|
10 | |
---|
11 | |
---|
12 | AC_PATH_XTRA |
---|
13 | |
---|
14 | dnl AC_HEADER_STDC |
---|
15 | dnl AC_HEADER_SYS_WAIT |
---|
16 | dnl AC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h sys/strredir.h sys/stropts.h utmpx.h) |
---|
17 | AC_CHECK_HEADERS(util.h sys/strredir.h sys/stropts.h utmpx.h pty.h) |
---|
18 | |
---|
19 | AC_TYPE_PID_T |
---|
20 | |
---|
21 | dnl AC_CHECK_FUNCS(gettimeofday putenv select strerror) |
---|
22 | AC_SEARCH_LIBS(logout, util, AC_DEFINE(HAVE_LOGOUT)) |
---|
23 | AC_CHECK_FUNCS(getutxent login_tty grantpt _getpty openpty) |
---|
24 | AC_OUTPUT(Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.