Bug 64746 - AM_PATH_XML2 always fails
Summary: AM_PATH_XML2 always fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libxml2
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-10 13:32 UTC by Miloslav Trmac
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-05-10 13:36:10 UTC
Embargoed:


Attachments (Terms of Use)
Patch fixing this (561 bytes, patch)
2002-05-10 13:36 UTC, Miloslav Trmac
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.