From 8419f2bf343b43dac7d5b6e1f77f9eb679991c16 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 12 Aug 2011 19:06:01 +0200 Subject: [PATCH] Comment. --- gnulib-local/ChangeLog | 5 +++++ gnulib-local/m4/libxml.m4 | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 5ce26ec4e..5df10bd2f 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,8 @@ +2011-08-12 Bruno Haible + + Comment. + * m4/libxml.m4 (gl_LIBXML): Add comment about Cygwin 1.7. + 2011-08-04 Bruno Haible Update after gnulib changed. diff --git a/gnulib-local/m4/libxml.m4 b/gnulib-local/m4/libxml.m4 index 97a944f96..571ad8a09 100644 --- a/gnulib-local/m4/libxml.m4 +++ b/gnulib-local/m4/libxml.m4 @@ -36,6 +36,10 @@ AC_DEFUN([gl_LIBXML], dnl Don't use xml2-config nor pkg-config, since it doesn't work when dnl cross-compiling or when the C compiler in use is different from the dnl one that built the library. + dnl Use a test program that tries to invoke xmlFree. On Cygwin 1.7.x, + dnl libxml2 is built in such a way that uses of xmlFree work fine with + dnl -Wl,--enable-auto-import but lead to a link error with + dnl -Wl,--disable-auto-import. AC_LIB_LINKFLAGS_BODY([xml2]) LIBS="$gl_save_LIBS $LIBXML2 $LIBICONV" AC_TRY_LINK([[#include -- 2.47.2