File: utmp.m4

package info (click to toggle)
mailutils 1%3A2.1%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 20,356 kB
  • ctags: 15,779
  • sloc: ansic: 120,552; sh: 11,516; yacc: 5,350; cpp: 3,921; makefile: 2,169; exp: 2,126; python: 1,746; lex: 1,668; lisp: 737; perl: 118; awk: 115; sed: 23
file content (14 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dnl MU_CHECK_UTMP -- Check for the presence of utmp.h, setutent, getutent
dnl                  and endutent calls.
AC_DEFUN([MU_CHECK_UTMP],
[
  AC_CHECK_HEADERS([utmp.h])
  # The three functions setutent,getutent and endutent depend on each other,
  # so it seems reasonable to provide replacements for all three if getutent
  # is not present.
  AC_CHECK_FUNC(getutent,
                 AC_DEFINE(HAVE_GETUTENT_CALLS,,
         [Define if your system has the three ???utent functions]),
                 [if test "$ac_cv_header_utmp_h" = "yes"; then
		   AC_LIBOBJ([utmp])
		 fi])])