| 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$) |
| 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 |
| 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]) |