projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d921df
)
Set the LIBS to LIBXML2_LIBS before testing for -lxml2 usability.
author
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Mon, 13 Sep 2010 19:50:30 +0000
(21:50 +0200)
committer
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Mon, 13 Sep 2010 19:50:30 +0000
(21:50 +0200)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 30aea80a8565305145bd69c30f3406d635bc819a..b814b1a0236a894d08ded79938c290dd18c36ea8 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2541,6
+2541,7
@@
if test "${with_xml2}" != "no"; then
### 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).])