source: trunk/athena/etc/dm/configure.in @ 16805

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 
1AC_INIT(dm.c)
2
3test -z "$lsbindir" && lsbindir='${sbindir}'
4AC_SUBST(lsbindir)
5
6AC_PROG_CC
7AC_PROG_INSTALL
8
9ATHENA_HESIOD
10
11
12AC_PATH_XTRA
13
14dnl AC_HEADER_STDC
15dnl AC_HEADER_SYS_WAIT
16dnl 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)
17AC_CHECK_HEADERS(util.h sys/strredir.h sys/stropts.h utmpx.h pty.h)
18
19AC_TYPE_PID_T
20
21dnl AC_CHECK_FUNCS(gettimeofday putenv select strerror)
22AC_SEARCH_LIBS(logout, util, AC_DEFINE(HAVE_LOGOUT))
23AC_CHECK_FUNCS(getutxent login_tty grantpt _getpty openpty)
24AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.