summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-08-12 19:06:01 +0200
committerBruno Haible <bruno@clisp.org>2011-08-12 19:06:01 +0200
commit8419f2bf343b43dac7d5b6e1f77f9eb679991c16 (patch)
tree720bad24e8420ff4b13fb42ab6ff35829b232e86
parent8e01905f160bc1b42de595ac73a55b0cedbcce16 (diff)
downloadgettext-8419f2bf343b43dac7d5b6e1f77f9eb679991c16.tar.gz
Comment.
-rw-r--r--gnulib-local/ChangeLog5
-rw-r--r--gnulib-local/m4/libxml.m44
2 files changed, 9 insertions, 0 deletions
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 <bruno@clisp.org>
+
+ Comment.
+ * m4/libxml.m4 (gl_LIBXML): Add comment about Cygwin 1.7.
+
2011-08-04 Bruno Haible <bruno@clisp.org>
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 <libxml/xmlversion.h>