Compile the XML modules support.
[fedora-mingw.git] / libxml2 / mingw32-libxml2-2.7.2-with-modules.patch
1 --- libxml2-2.7.2/configure.in~ 2008-10-03 08:09:55.000000000 +0100
2 +++ libxml2-2.7.2/configure.in  2008-10-25 23:14:18.000000000 +0100
3 @@ -751,6 +751,12 @@
4      AC_DEFINE([HAVE_DLOPEN], [], [Have dlopen based dso])
5    ])
6    ;;
7 +  *-*-mingw*)
8 +  # If I configured --with-modules then I damn well want
9 +  # modules and don't try to second-guess me.
10 +  MODULE_EXTENSION=".dll"
11 +  WITH_MODULES=1
12 +  ;;
13    *)
14    AC_CHECK_FUNC(shl_load, libxml_have_shl_load=yes, [
15      AC_CHECK_LIB(dld, shl_load, [