ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/configure.in
(Generate patch)

Comparing projects/libstatgrab/configure.in (file contents):
Revision 1.97 by tdb, Mon Mar 17 08:50:33 2008 UTC vs.
Revision 1.101 by tdb, Sat Feb 20 18:55:24 2010 UTC

# Line 6 | Line 6
6   #
7  
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
9 > AC_INIT(libstatgrab, 0.18, bugs@i-scream.org)
10 > AM_INIT_AUTOMAKE(libstatgrab, 0.18)
11  
12   # Revision number (automatically updated)
13   AC_REVISION($Revision$)
# Line 52 | Line 51 | AC_CHECK_MEMBER(struct statvfs.f_fstypename,
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])
62  
# Line 97 | Line 102 | freebsd4.*)
102          BIN_PERM="2755"
103          LINKFLAGS="-lkvm -ldevstat"
104          ;;
105 < freebsd[[5-8]].*)
105 > freebsd[[5-9]].*)
106          AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])
107          AC_DEFINE(FREEBSD, , [Building on FreeBSD])
108 <        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 8.x])
108 >        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 9.x])
109          LINKFLAGS="-ldevstat"
110          ;;
111   netbsdelf1*)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines