$NetBSD: patch-aj,v 1.4 2007/11/05 19:10:29 drochner Exp $

--- configure.orig	2007-09-28 17:14:10.000000000 +0200
+++ configure
@@ -24120,7 +24120,7 @@ fi
 done
 
 
-if test "$ac_cv_func_statfs" = yes ; then
+if test "$ac_cv_func_statvfs" = no -a "$ac_cv_func_statfs" = yes ; then
   { echo "$as_me:$LINENO: checking number of arguments to statfs()" >&5
 echo $ECHO_N "checking number of arguments to statfs()... $ECHO_C" >&6; }
   cat >conftest.$ac_ext <<_ACEOF
