8 |
|
# Change these to change the package name and version |
9 |
|
AC_INIT(libstatgrab, 0.17, bugs@i-scream.org) |
10 |
|
AM_INIT_AUTOMAKE(libstatgrab, 0.17) |
11 |
– |
AM_MAINTAINER_MODE |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
50 |
|
[AC_DEFINE(HAVE_STATVFS, , [NetBSD 2.0 statvfs])], |
51 |
|
[], |
52 |
|
[#include <sys/statvfs.h>]) |
53 |
+ |
|
54 |
+ |
# FreeBSD 9 (and others) uses utmpx rather than utmp |
55 |
+ |
AC_CHECK_MEMBER(struct utmpx.ut_type, |
56 |
+ |
[AC_DEFINE(HAVE_UTMPX, , [utmpx])], |
57 |
+ |
[], |
58 |
+ |
[#include <utmpx.h>]) |
59 |
|
|
60 |
|
# Check for sys/loadavg.h |
61 |
|
AC_CHECK_HEADERS([sys/loadavg.h]) |