Bug 64746

Summary: AM_PATH_XML2 always fails
Product: [Retired] Red Hat Linux Reporter: Miloslav Trmac <mitr>
Component: libxml2Assignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-10 13:36:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch fixing this none

Description Miloslav Trmac 2002-05-10 13:32:12 UTC
Because /usr/bin/xml2-config --cflags no longer includes
-I/usr/include/libxml2/libxml (which is good, I don't want to solve
conflicts between header files named tree.h), the AM_PATH_XML2 macro 
in /usr/share/aclocal/libxml.m4 always fails, because it tries to
#include <xmlversion.h> instead of <libxml/xmlversion.h>. The attached patch 
fixes it.

Version-Release number of selected component:
libxml2-devel-2.4.19-4

Comment 1 Miloslav Trmac 2002-05-10 13:36:06 UTC
Created attachment 56964 [details]
Patch fixing this

Comment 2 Daniel Veillard 2002-08-29 09:52:57 UTC
Okay this should be fixed in recent releases, the libxml.m4
now always do properly namespaced includes by doing
   #include <libxml/xxx.h> 

  thanks for the report,

Daniel