$NetBSD: patch-ab,v 1.9 2003/12/03 01:36:12 xtraeme Exp $

--- ../configure.orig	Tue Nov  4 09:01:02 2003
+++ ../configure
@@ -5577,7 +5577,7 @@
 
 
 
-for ac_header in stdio.h
+for ac_header in stdio.h wchar.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -14772,6 +14772,8 @@
 if test "$with_dav" = "yes" ; then
 
     dav_frag=$srcdir/davlib/Makefile.dav
+else
+    dav_frag=/dev/null
 fi
 
 
