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.4 by tdb, Fri Feb 28 22:59:35 2003 UTC vs.
Revision 1.16 by pajs, Sun Apr 6 11:59:17 2003 UTC

# Line 6 | Line 6
6   #
7  
8   # Change these to change the package name and version
9 < AC_INIT(libstatgrab, 0.1, dev@i-scream.org.uk)
10 < AM_INIT_AUTOMAKE(libstatgrab, 0.1)
9 > AC_INIT(libstatgrab, 0.4, dev@i-scream.org.uk)
10 > AM_INIT_AUTOMAKE(libstatgrab, 0.4)
11  
12   # Revision number (automatically updated)
13   AC_REVISION($Revision$)
# Line 37 | Line 37 | AC_FUNC_REALLOC
37   # We define the name of the OS so the code can act accordingly
38   # We also need to add the right LDFLAGS
39   case $host_os in
40 + solaris2.[[6-7]])
41 +        AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])])
42 +        AC_DEFINE(SOLARIS, , [Building on Solaris 2.x])
43 +        AC_DEFINE(SOL7, , [Building on Solaris 2.7])
44 +        LDFLAGS="$LDFLAGS -lkstat"
45 +        ;;
46   solaris2.*)
47          AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])])
48          AC_DEFINE(SOLARIS, , [Building on Solaris 2.x])
# Line 44 | Line 50 | solaris2.*)
50          ;;
51   freebsd4.*)
52          AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x])
53 <        LDFLAGS="$LDFLAGS -lkvm"
53 >        LDFLAGS="$LDFLAGS -lkvm -ldevstat"
54          ;;
55   linux-gnu)
56          AC_DEFINE(LINUX, , [Building on GNU/Linux])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines