--- projects/libstatgrab/configure.in 2003/03/21 14:27:22 1.10 +++ projects/libstatgrab/configure.in 2003/08/26 12:14:43 1.25 @@ -2,15 +2,15 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.10 2003/03/21 14:27:22 tdb Exp $ +# $Id: configure.in,v 1.25 2003/08/26 12:14:43 tdb Exp $ # # Change these to change the package name and version -AC_INIT(libstatgrab, 0.3.2, dev@i-scream.org.uk) -AM_INIT_AUTOMAKE(libstatgrab, 0.3.2) +AC_INIT(libstatgrab, 0.5.1, bugs@i-scream.org) +AM_INIT_AUTOMAKE(libstatgrab, 0.5.1) # Revision number (automatically updated) -AC_REVISION($Revision: 1.10 $) +AC_REVISION($Revision: 1.25 $) # 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]) @@ -61,6 +62,6 @@ linux-gnu) esac # And finish by changing these files -AC_CONFIG_FILES([Makefile src/Makefile]) +AC_CONFIG_FILES([Makefile src/Makefile src/libstatgrab/Makefile src/statgrab/Makefile docs/Makefile examples/Makefile]) AC_OUTPUT