--- projects/cms/source/ihost/configure.in 2004/05/31 13:53:40 1.33 +++ projects/cms/source/ihost/configure.in 2005/09/24 13:30:40 1.34 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for i-scream ihost -# $Id: configure.in,v 1.33 2004/05/31 13:53:40 tdb Exp $ +# $Id: configure.in,v 1.34 2005/09/24 13:30:40 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(ihost, 1.5.9, bugs@i-scream.org) AM_INIT_AUTOMAKE(ihost, 1.5.9) # Revision number (automatically updated) -AC_REVISION($Revision: 1.33 $) +AC_REVISION($Revision: 1.34 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -99,6 +99,12 @@ linux-gnu) ;; cygwin) AC_MSG_ERROR([libstatgrab doesn't fully support cygwin, yet]) + ;; +mingw32) + AC_CHECK_LIB(ukcprog, fpgetline,[:],[AC_MSG_ERROR([need libukcprog])]) + AC_DEFINE(MINGW, , [Building on MinGW]) + AC_DEFINE(WINVER, 0x0500, [Building for Windows 2000]) + LIBS="$LIBS -lstatgrab -lukcprog -lws2_32 -lpdh -lIphlpapi -lpsapi -lnetapi32" ;; *) AC_MSG_ERROR([Cannot build on unknown OS: $host_os])