Bug#249033: [xml/sgml-pkgs] Bug#249033: libxml2-dev: /usr/share/aclocal/libxml.m4 does not work with C++

Mike Hommey Mike Hommey <mh@glandium.org>, 249033@bugs.debian.org
Mon, 17 May 2004 17:12:24 +0900


tag 249033 +moreinfo
thanks

Wesley W. Terpstra wrote:
> Package: libxml2-dev
> Version: 2.6.9-2
> Severity: normal
> Tags: upstream
> 
> When using AM_PATH_XML2 in a C++ program, the generated configure script
> will always fail. This problem stems from placing xml2-config --cflags in
> the CFLAGS variable rather than in the CPPFLAGS or CXXFLAGS variable.

Could you provide some more information ? I fail to see why AM_PATH_XML2 
would fail, since the only use of the CFLAGS it does is for checking 
libxml2 is properly installed and with the version you asked, not for 
compiling the "./configured" software.

Mike