Subject: Detecting statvfs without autoconf
To: None <tech-userlevel@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-userlevel
Date: 01/05/2006 08:04:09
Hi 

I am running and maintaining a small, distributed system and service 
monitoring utility which uses statfs to watch the available space in 
filesystems.

Now, since NetBSD 3 deprecates the use of statfs in favor of statvfs,
I should find out which one to use at compile time.

What is the best way (i.e. most automatic way) for deciding which 
one to use? I don't want to use autoconf at this time.

Thanks
Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------