added pattern support
diff --git a/win32/configure.js b/win32/configure.js
index 6c2ec90..df3836d 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -48,6 +48,7 @@
 var withReader = true;
 var withWriter = true;
 var withWalker = true;
+var withPattern = true;
 var withPush = true;
 var withValid = true;
 var withSax1 = true;
@@ -126,6 +127,7 @@
 	txt += "  reader:     Enable xmlReader api (" + (withReader? "yes" : "no") + ")\n";
 	txt += "  writer:     Enable xmlWriter api (" + (withWriter? "yes" : "no") + ")\n";
 	txt += "  walker:     Enable xmlDocWalker api (" + (withWalker? "yes" : "no") + ")\n";
+	txt += "  pattern:    Enable xmlPattern api (" + (withPattern? "yes" : "no")  + ")\n";
 	txt += "  push:       Enable push api (" + (withPush? "yes" : "no") + ")\n";
 	txt += "  valid:      Enable DTD validation support (" + (withValid? "yes" : "no") + ")\n";
 	txt += "  sax1:       Enable SAX1 api (" + (withSax1? "yes" : "no") + ")\n";
@@ -215,6 +217,7 @@
 	vf.WriteLine("WITH_READER=" + (withReader? "1" : "0"));
 	vf.WriteLine("WITH_WRITER=" + (withWriter? "1" : "0"));
 	vf.WriteLine("WITH_WALKER=" + (withWalker? "1" : "0"));
+	vf.WriteLine("WITH_PATTERN=" + (withPattern? "1" : "0"));
 	vf.WriteLine("WITH_PUSH=" + (withPush? "1" : "0"));
 	vf.WriteLine("WITH_VALID=" + (withValid? "1" : "0"));
 	vf.WriteLine("WITH_SAX1=" + (withSax1? "1" : "0"));
@@ -304,6 +307,8 @@
 			of.WriteLine(s.replace(/\@WITH_WRITER\@/, withWriter? "1" : "0"));
 		} else if (s.search(/\@WITH_WALKER\@/) != -1) {
 			of.WriteLine(s.replace(/\@WITH_WALKER\@/, withWalker? "1" : "0"));
+		} else if (s.search(/\@WITH_PATTERN\@/) != -1) {
+			of.WriteLine(s.replace(/\@WITH_PATTERN\@/, withPattern? "1" : "0"));
 		} else if (s.search(/\@WITH_PUSH\@/) != -1) {
 			of.WriteLine(s.replace(/\@WITH_PUSH\@/, withPush? "1" : "0"));
 		} else if (s.search(/\@WITH_VALID\@/) != -1) {
@@ -457,6 +462,8 @@
 			withWriter = strToBool(arg.substring(opt.length + 1, arg.length));
 		else if (opt == "walker")
 			withWalker = strToBool(arg.substring(opt.length + 1, arg.length));
+		else if (opt == "pattern")
+			withPattern = strToBool(arg.substring(opt.length + 1, arg.length));
 		else if (opt == "push")
 			withPush = strToBool(arg.substring(opt.length + 1, arg.length));
 		else if (opt == "valid")
@@ -601,6 +608,7 @@
 txtOut += "    Reader support: " + boolToStr(withReader) + "\n";
 txtOut += "    Writer support: " + boolToStr(withWriter) + "\n";
 txtOut += "    Walker support: " + boolToStr(withWalker) + "\n";
+txtOut += "   Pattern support: " + boolToStr(withPattern) + "\n";
 txtOut += "      Push support: " + boolToStr(withPush) + "\n";
 txtOut += "Validation support: " + boolToStr(withValid) + "\n";
 txtOut += "      SAX1 support: " + boolToStr(withSax1) + "\n";