--- projects/libstatgrab/configure.in 2003/11/10 21:07:04 1.43 +++ projects/libstatgrab/configure.in 2003/11/20 12:13:11 1.45 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.43 2003/11/10 21:07:04 tdb Exp $ +# $Id: configure.in,v 1.45 2003/11/20 12:13:11 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.7.1, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.7.1) # Revision number (automatically updated) -AC_REVISION($Revision: 1.43 $) +AC_REVISION($Revision: 1.45 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -51,12 +51,12 @@ solaris2.[[6-7]]) AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) AC_DEFINE(SOL7, , [Building on Solaris 2.7]) - LINKFLAGS="-lkstat" + LINKFLAGS="-lkstat -ldevinfo" ;; solaris2.*) AC_CHECK_HEADERS([kstat.h],,[AC_MSG_ERROR([need kstat.h])]) AC_DEFINE(SOLARIS, , [Building on Solaris 2.x]) - LINKFLAGS="-lkstat" + LINKFLAGS="-lkstat -ldevinfo" ;; freebsd4.*) AC_DEFINE(ALLBSD, , [Building on a BSD-derived system]) @@ -81,7 +81,6 @@ linux-gnu) AC_DEFINE(LINUX, , [Building on GNU/Linux]) ;; cygwin) - AC_DEFINE(LINUX, , [Building on GNU/Linux]) AC_DEFINE(CYGWIN, , [Building on Cygwin]) ;; *)