6 |
|
# |
7 |
|
|
8 |
|
# Change these to change the package name and version |
9 |
< |
AC_INIT(ihost, 1.5.8, bugs@i-scream.org) |
10 |
< |
AM_INIT_AUTOMAKE(ihost, 1.5.8) |
9 |
> |
AC_INIT(ihost, 1.5.9, bugs@i-scream.org) |
10 |
> |
AM_INIT_AUTOMAKE(ihost, 1.5.9) |
11 |
|
|
12 |
|
# Revision number (automatically updated) |
13 |
|
AC_REVISION($Revision$) |
99 |
|
;; |
100 |
|
cygwin) |
101 |
|
AC_MSG_ERROR([libstatgrab doesn't fully support cygwin, yet]) |
102 |
+ |
;; |
103 |
+ |
mingw32) |
104 |
+ |
AC_CHECK_LIB(ukcprog, fpgetline,[:],[AC_MSG_ERROR([need libukcprog])]) |
105 |
+ |
AC_DEFINE(MINGW, , [Building on MinGW]) |
106 |
+ |
AC_DEFINE(WINVER, 0x0500, [Building for Windows 2000]) |
107 |
+ |
LIBS="$LIBS -lstatgrab -lukcprog -lws2_32 -lpdh -lIphlpapi -lpsapi -lnetapi32" |
108 |
|
;; |
109 |
|
*) |
110 |
|
AC_MSG_ERROR([Cannot build on unknown OS: $host_os]) |