* Fri Feb 20 2009 Erik van Pienbroek <info@nntpgrab.nl> - 1.22.1-6
[fedora-mingw.git] / pango / pango_enable_static_build.patch
diff --git a/pango/pango_enable_static_build.patch b/pango/pango_enable_static_build.patch
new file mode 100644 (file)
index 0000000..09941d0
--- /dev/null
@@ -0,0 +1,29 @@
+--- configure.in.orig  2009-02-20 20:37:09.166924103 +0100
++++ configure.in       2009-02-20 20:37:20.893924816 +0100
+@@ -123,16 +123,16 @@
+ AC_LIBTOOL_WIN32_DLL
+ AM_DISABLE_STATIC
+-if test "$pango_os_win32" = "yes"; then
+-  if test x$enable_static = xyes -o x$enable_static = x; then
+-    AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.])
+-    enable_static=no
+-  fi
+-  if test x$enable_shared = xno; then
+-    AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.])
+-  fi
+-  enable_shared=yes
+-fi
++#if test "$pango_os_win32" = "yes"; then
++#  if test x$enable_static = xyes -o x$enable_static = x; then
++#    AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.])
++#    enable_static=no
++#  fi
++#  if test x$enable_shared = xno; then
++#    AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.])
++#  fi
++#  enable_shared=yes
++#fi
+ AM_PROG_LIBTOOL
+ dnl when using libtool 2.x create libtool early, because it's used in configure