--- projects/libstatgrab/configure.in 2004/06/20 17:00:25 1.69 +++ projects/libstatgrab/configure.in 2004/06/20 20:32:24 1.70 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.69 2004/06/20 17:00:25 tdb Exp $ +# $Id: configure.in,v 1.70 2004/06/20 20:32:24 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.10.1, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.10.1) # Revision number (automatically updated) -AC_REVISION($Revision: 1.69 $) +AC_REVISION($Revision: 1.70 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -45,6 +45,12 @@ AC_CHECK_MEMBER(struct diskstats.ds_rbytes, [AC_DEFINE(HAVE_DS_RBYTES, , [New-style OpenBSD disk stats])], [], [#include ]) + +# NetBSD 2.0 uses statvfs rather than statfs +AC_CHECK_MEMBER(struct statvfs.f_fstypename, + [AC_DEFINE(HAVE_STATVFS, , [NetBSD 2.0 statvfs])], + [], + [#include ]) # Check for sys/loadavg.h AC_CHECK_HEADERS([sys/loadavg.h])