--- projects/libstatgrab/configure.in 2003/03/12 12:39:12 1.9 +++ projects/libstatgrab/configure.in 2003/04/09 20:49:29 1.17 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.9 2003/03/12 12:39:12 tdb Exp $ +# $Id: configure.in,v 1.17 2003/04/09 20:49:29 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.4, dev@i-scream.org.uk) AM_INIT_AUTOMAKE(libstatgrab, 0.4) # Revision number (automatically updated) -AC_REVISION($Revision: 1.9 $) +AC_REVISION($Revision: 1.17 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -32,6 +32,7 @@ AC_C_CONST # Checks for library functions AC_FUNC_MALLOC AC_FUNC_REALLOC +AC_CHECK_FUNCS(atoll) # Set things up for different OS's # We define the name of the OS so the code can act accordingly @@ -50,7 +51,7 @@ solaris2.*) ;; freebsd4.*) AC_DEFINE(FREEBSD, , [Building on FreeBSD 4.x]) - LDFLAGS="$LDFLAGS -lkvm" + LDFLAGS="$LDFLAGS -lkvm -ldevstat" ;; linux-gnu) AC_DEFINE(LINUX, , [Building on GNU/Linux])