Mercurial > emacs
changeset 110325:ec11d41deaa6
Set the LIBS to LIBXML2_LIBS before testing for -lxml2 usability.
author | Lars Magne Ingebrigtsen <larsi@gnus.org> |
---|---|
date | Mon, 13 Sep 2010 21:50:30 +0200 |
parents | 9feda95b0d15 |
children | ba7558616802 |
files | configure.in |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Sep 13 18:33:56 2010 +0200 +++ b/configure.in Mon Sep 13 21:50:30 2010 +0200 @@ -2541,6 +2541,7 @@ ### I'm not sure what the version number should be, so I just guessed. PKG_CHECK_MODULES(LIBXML2, libxml-2.0 > 2.2.0, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) if test "${HAVE_LIBXML2}" = "yes"; then + LIBS="$LIBXML2_LIBS $LIBS" AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) if test "${HAVE_LIBXML2}" = "yes"; then AC_DEFINE(HAVE_LIBXML2, 1, [Define to 1 if you have the libxml library (-lxml2).])