diff options
| author | Lars Magne Ingebrigtsen | 2010-09-13 21:50:30 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2010-09-13 21:50:30 +0200 |
| commit | 74f891be2a66d735558e52101358ecd117e682b1 (patch) | |
| tree | 30600c5522520b6d2c419290d4b4bafdc0a8afff | |
| parent | 5d921df2ed9d98a852c369fc31e0a3b8f2ea34d7 (diff) | |
| download | emacs-74f891be2a66d735558e52101358ecd117e682b1.tar.gz emacs-74f891be2a66d735558e52101358ecd117e682b1.zip | |
Set the LIBS to LIBXML2_LIBS before testing for -lxml2 usability.
| -rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 30aea80a856..b814b1a0236 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2541,6 +2541,7 @@ if test "${with_xml2}" != "no"; then | |||
| 2541 | ### I'm not sure what the version number should be, so I just guessed. | 2541 | ### I'm not sure what the version number should be, so I just guessed. |
| 2542 | PKG_CHECK_MODULES(LIBXML2, libxml-2.0 > 2.2.0, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) | 2542 | PKG_CHECK_MODULES(LIBXML2, libxml-2.0 > 2.2.0, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) |
| 2543 | if test "${HAVE_LIBXML2}" = "yes"; then | 2543 | if test "${HAVE_LIBXML2}" = "yes"; then |
| 2544 | LIBS="$LIBXML2_LIBS $LIBS" | ||
| 2544 | AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) | 2545 | AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, HAVE_LIBXML2=no) |
| 2545 | if test "${HAVE_LIBXML2}" = "yes"; then | 2546 | if test "${HAVE_LIBXML2}" = "yes"; then |
| 2546 | AC_DEFINE(HAVE_LIBXML2, 1, [Define to 1 if you have the libxml library (-lxml2).]) | 2547 | AC_DEFINE(HAVE_LIBXML2, 1, [Define to 1 if you have the libxml library (-lxml2).]) |