--- configure.ac~	2006-12-12 10:33:42 +1100
+++ configure.ac	2006-12-12 10:34:10 +1100
@@ -5011,7 +5011,15 @@
     VLC_ADD_LDFLAGS([gnutls], [$GNUTLS_LIBS])
   ], [
     AS_IF([test "${enable_gnutls}" = "yes"], [
-      AC_MSG_ERROR([gnutls not present or too old (version 1.2.9 required)])
+      if test "$host_os" = "mingw32" && test "$build_os" = "$host_os"; then
+        AC_CHECK_HEADERS(gnutls/gnutls.h, [
+          VLC_ADD_PLUGINS([gnutls])
+          VLC_ADD_CFLAGS([gnutls], [])
+          VLC_ADD_LDFLAGS([gnutls], [-lgnutls])
+        ])
+      else
+        AC_MSG_ERROR([gnutls not present or too old (version 1.2.9 required)])
+      fi
     ])
   ])
   AC_CHECK_LIB([gcrypt], [gcry_control], [
