~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to m4/readutmp.m4

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# readutmp.m4 serial 19
2
 
dnl Copyright (C) 2002-2012 Free Software Foundation, Inc.
 
1
# readutmp.m4 serial 20
 
2
dnl Copyright (C) 2002-2013 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
12
12
  AC_CHECK_HEADERS_ONCE([utmp.h utmpx.h])
13
13
  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
14
14
    dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
15
 
    AC_REQUIRE([AC_C_INLINE])
16
15
    AC_CHECK_FUNCS_ONCE([utmpname utmpxname])
17
16
    AC_CHECK_DECLS([getutent],,,[[
18
17
/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6.  */