$NetBSD: patch-ae,v 1.4 2004/09/16 13:34:13 agc Exp $

--- configure.orig	2003-06-19 04:49:44.000000000 +0100
+++ configure	2004-09-16 14:24:54.000000000 +0100
@@ -1909,7 +1909,7 @@
             if test ! -d "$dir" ; then
         continue;
       fi
-      if test -f "$dir/include/krb5.h"; then
+      if test -f "$dir/include/krb5/krb5.h"; then
         vl_cv_lib_kerberos="$dir"
         break;
       fi
@@ -1997,11 +1997,21 @@
     DEFAULT_EDITOR="vi"
 fi
 
-case $host_os in solaris*|irix*)
+case $host_os in
+solaris*|irix*)
     cat >> confdefs.h <<\EOF
 #define HAVE_SVR4_STATVFS 1
 EOF
 
+    ;;
+netbsd*)
+	if [ -f /usr/include/sys/statvfs.h ]; then
+	    cat >> confdefs.h <<\EOF
+#define HAVE_SVR4_STATVFS 1
+EOF
+
+	fi
+	;;
 esac
 
 for ac_func in setlinebuf
