[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build broken: libxml - i386 vs. X86_64 - configure problem
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: build broken: libxml - i386 vs. X86_64 - configure problem |
Date: |
Mon, 13 Sep 2010 20:48:32 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
David Reitter <address@hidden> writes:
> gcc -o conftest -g -O2 conftest.c -lxml2
Does the following patch fix it for you?
=== modified file 'configure.in'
*** configure.in 2010-09-13 14:58:48 +0000
--- configure.in 2010-09-13 18:45:28 +0000
***************
*** 2541,2546 ****
--- 2541,2547 ----
### 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).])
Emacs devel people, is that the correct incantation to add the LIBS
discovered by the PKG_CHECK_MODULES magic?
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen