--- projects/libstatgrab/configure.in 2004/01/19 17:01:21 1.49 +++ projects/libstatgrab/configure.in 2004/02/10 12:14:38 1.50 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.49 2004/01/19 17:01:21 tdb Exp $ +# $Id: configure.in,v 1.50 2004/02/10 12:14:38 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.8.2, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.8.2) # Revision number (automatically updated) -AC_REVISION($Revision: 1.49 $) +AC_REVISION($Revision: 1.50 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -39,6 +39,9 @@ AC_CHECK_MEMBER(struct disk_sysctl.dk_rbytes, [AC_DEFINE(HAVE_DK_RBYTES, , [New-style NetBSD stats])], [], [#include ]) + +# Check for loadavg.h +AC_CHECK_HEADERS([sys/loadavg.h]) # Default needing setgid/setuid to false AM_CONDITIONAL(SETGIDBINS, false)