-diff -urN wget-1.9-b5.org/acinclude.m4 wget-1.9-b5/acinclude.m4
---- wget-1.9-b5.org/acinclude.m4 1970-01-01 01:00:00.000000000 +0100
-+++ wget-1.9-b5/acinclude.m4 2003-10-13 00:11:57.000000000 +0200
-@@ -0,0 +1,316 @@
+--- wget-1.9.1/acinclude.m4.orig 1970-01-01 01:00:00.000000000 +0100
++++ wget-1.9.1/acinclude.m4 2004-07-13 23:09:12.390661874 +0200
+@@ -0,0 +1,333 @@
+dnl
+dnl Check for `struct utimbuf'.
+dnl
+ ])
+])
+
++dnl Check whether fnmatch.h can be included. This doesn't use
++dnl AC_FUNC_FNMATCH because Wget is already careful to only use
++dnl fnmatch on certain OS'es. However, fnmatch.h is sometimes broken
++dnl even on those because Apache installs its own fnmatch.h to
++dnl /usr/local/include (!), which GCC uses before /usr/include.
++
++AC_DEFUN([WGET_FNMATCH], [
++ AC_MSG_CHECKING([for working fnmatch.h])
++ AC_COMPILE_IFELSE([#include <fnmatch.h>
++ ], [
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_WORKING_FNMATCH_H,,[Have working fnmatch.h])
++ ], [
++ AC_MSG_RESULT(no)
++ ])
++])
++
+
+dnl ************************************************************
+dnl START OF IPv6 AUTOCONFIGURATION SUPPORT MACROS