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.81 by tdb, Tue Mar 1 18:14:10 2005 UTC vs.
Revision 1.94 by tdb, Sun Oct 21 18:43:30 2007 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.16, bugs@i-scream.org)
10 > AM_INIT_AUTOMAKE(libstatgrab, 0.16)
11 > AM_MAINTAINER_MODE
12  
13   # Revision number (automatically updated)
14   AC_REVISION($Revision$)
# Line 61 | Line 62 | AC_CHECK_HEADERS([libdevinfo.h])
62   AM_CONDITIONAL(SETGIDBINS, false)
63   AM_CONDITIONAL(SETUIDBINS, false)
64  
65 + # Default MINGW setting
66 + AM_CONDITIONAL(MINGW, false)
67 +
68   # Set things up for different OS's
69   # We define the name of the OS so the code can act accordingly
70   # We also need to add the right LDFLAGS
# Line 91 | Line 95 | freebsd4.*)
95          BIN_PERM="2755"
96          LINKFLAGS="-lkvm -ldevstat"
97          ;;
98 < freebsd[[5-6]].*)
98 > freebsd[[5-8]].*)
99          AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])
100          AC_DEFINE(FREEBSD, , [Building on FreeBSD])
101 <        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x or 6.x])
101 >        AC_DEFINE(FREEBSD5, , [Building on FreeBSD 5.x - 8.x])
102          LINKFLAGS="-ldevstat"
103          ;;
104   netbsdelf1*)
105          AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])
106          AC_DEFINE(NETBSD, , [Building on NetBSD])
107          ;;
108 < netbsdelf2*)
108 > netbsdelf[[2-3]]*)
109          AC_DEFINE(ALLBSD, , [Building on a BSD-derived system])
110          AC_DEFINE(NETBSD, , [Building on NetBSD])
111          AC_DEFINE(NETBSD2, , [Building on NetBSD 2.x])
# Line 127 | Line 131 | linux-gnu)
131   cygwin)
132          AC_DEFINE(CYGWIN, , [Building on Cygwin])
133          ;;
134 + mingw32)
135 +        AC_DEFINE(MINGW, , [Building on MinGW])
136 +        AC_DEFINE(WINVER, 0x0500, [Building for Windows 2000])
137 +        AM_CONDITIONAL(MINGW, true)
138 +        LINKFLAGS="-lpdh -lIphlpapi -lpsapi -lnetapi32"
139 +        ;;
140   *)
141          AC_MSG_ERROR([Cannot build on unknown OS: $host_os])
142          ;;
# Line 140 | Line 150 | AC_ARG_WITH([curses-prefix],
150                          SAIDARLIBS="-L${withval}/lib ${SAIDARLIBS}"
151                  fi
152                  if test -d "$withval/include"; then
153 <                        SAIDARCPPFLAGS="-I${withval}/include -I${withval}/include/ncurses ${SAIRDARCPPFLAGS}"
153 >                        SAIDARCPPFLAGS="-I${withval}/include ${SAIRDARCPPFLAGS}"
154                  fi
155          ]
156   )
# Line 239 | Line 249 | AC_SUBST(BIN_GROUP)
249   AC_SUBST(BIN_PERM)
250  
251   # And finish by changing these files
252 < AC_CONFIG_FILES([Makefile src/Makefile src/libstatgrab/Makefile src/statgrab/Makefile docs/Makefile examples/Makefile libstatgrab.pc src/statgrab/statgrab-make-mrtg-config src/statgrab/statgrab-make-mrtg-index src/saidar/Makefile])
252 > AC_CONFIG_FILES([Makefile src/Makefile src/libstatgrab/Makefile src/statgrab/Makefile docs/Makefile docs/libstatgrab/Makefile docs/statgrab/Makefile docs/saidar/Makefile examples/Makefile libstatgrab.pc src/statgrab/statgrab-make-mrtg-config src/statgrab/statgrab-make-mrtg-index src/saidar/Makefile])
253  
254   AC_OUTPUT

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines