GNOME Bugzilla – Bug 683554
JH_PATH_XML_CATALOG ignores XML_CATALOG_FILES
Last modified: 2013-05-30 19:15:06 UTC
JH_PATH_XML_CATALOG uses user-provided catalog file. If no --with-xml-catalog is given, it uses /etc/xml/catalog instead. However, it should look at XML_CATALOG_FILES environment variable instead of hard-coding /etc/xml/catalog. XML_CATALOG_FILES is a space-separated list of files.
Created attachment 223728 [details] [review] Fixes the problem by trying to get XML_CATALOG_FILES first This still won't pass configure checks if XML_CATALOG_FILES has more than one catalog in it, and the URI configure script looks for is not in the _first_ catalog. To fix _that_, one would have to fix xmlcatalog itself (to also read XML_CATALOG_FILES when doing lookups, allowing the user to not to specify the catalog file).
I don't think there's a huge win here. As you say, the patch doesn't even support the full format of XML_CATALOG_FILES. You can always just use --with-xml-catalog to specify your location
--with-xml-catalog is not supported by [1] [1] http://cgit.freedesktop.org/gstreamer/common/tree/m4/as-docbook.m4
OK, that's kind of stupid of me to point at a different .m4 file that has nothing to do with JH_PATH_XML_CATALOG...
I aggree with matthias. LRN, if you are fine with that please close the ticket again.