https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122416
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[16 Regression] Hardcoded |[16 Regression] libxml2
|system include path breaks |detection for libgcobol is
|cross-compilation |buggy
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
There's a few issues:
1) it doesn't check at configure-time if libxml2 is available;
2) /usr/include/libxml2 is hardcoded;
3) IMO we should use <libxml2/xyz.h> anyway, so 2) can be fixed trivially;
4) we should use the standard methods of finding the package & its include
paths, as well as any extra library lines needed (probably use
--with-libxml2-{include,lib}, and if not passed, use PKG_CHECK_MODULES)