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.84 by tdb, Mon Apr 25 12:37:20 2005 UTC vs.
Revision 1.87 by tdb, Sat Sep 24 13:29:21 2005 UTC

# Line 6 | Line 6
6   #
7  
8   # Change these to change the package name and version
9 < AC_INIT(libstatgrab, 0.12, bugs@i-scream.org)
10 < AM_INIT_AUTOMAKE(libstatgrab, 0.12)
9 > AC_INIT(libstatgrab, 0.13, bugs@i-scream.org)
10 > AM_INIT_AUTOMAKE(libstatgrab, 0.13)
11  
12   # Revision number (automatically updated)
13   AC_REVISION($Revision$)
# Line 61 | Line 61 | AC_CHECK_HEADERS([libdevinfo.h])
61   AM_CONDITIONAL(SETGIDBINS, false)
62   AM_CONDITIONAL(SETUIDBINS, false)
63  
64 + # Default MINGW setting
65 + AM_CONDITIONAL(MINGW, false)
66 +
67   # Set things up for different OS's
68   # We define the name of the OS so the code can act accordingly
69   # We also need to add the right LDFLAGS
# Line 91 | Line 94 | freebsd4.*)
94          BIN_PERM="2755"
95          LINKFLAGS="-lkvm -ldevstat"
96          ;;
97 < freebsd[[5-6]].*)
97 > freebsd[[5-7]].*)
98          AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])
99          AC_DEFINE(FREEBSD, , [Building on FreeBSD])
100 <        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x or 6.x])
100 >        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 7.x])
101          LINKFLAGS="-ldevstat"
102          ;;
103   netbsdelf1*)
# Line 126 | Line 129 | linux-gnu)
129          ;;
130   cygwin)
131          AC_DEFINE(CYGWIN, , [Building on Cygwin])
132 +        ;;
133 + mingw32)
134 +        AC_DEFINE(MINGW, , [Building on MinGW])
135 +        AC_DEFINE(WINVER, 0x0500, [Building for Windows 2000])
136 +        AM_CONDITIONAL(MINGW, true)
137 +        LINKFLAGS="-lpdh -lIphlpapi -lpsapi -lnetapi32"
138          ;;
139   *)
140          AC_MSG_ERROR([Cannot build on unknown OS: $host_os])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines