https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122839
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:3a1bb1b70d017e4816650ed42d316accf2d93944 commit r16-7517-g3a1bb1b70d017e4816650ed42d316accf2d93944 Author: Jakub Jelinek <[email protected]> Date: Sat Feb 14 18:05:38 2026 +0100 libgcobol: Add --with-target-libxml2{,-lib,-include}= configure options [PR122839] The following patch adds new configure options similar to ObjC/Algol68 --with-bdw-gc{,-lib,-include}= configure options where one can override the default of -I /usr/include/libxml2 and -lxml2 for finding libxml2 headers and library. Similarly to the bdw-gc options, the override can be for all multilibs or just specific to each multilib. Tested also with ../configure --enable-languages=c,c++,cobol --with-target-libxml2=/tmp/libxml2 \ --disable-bootstrap --disable-libsanitizer --disable-libgomp 2026-02-14 Jakub Jelinek <[email protected]> PR cobol/122839 * configure.ac (--with-target-libxml2, --with-target-libxml2-include, --with-target-libxml2-lib): New configure options, use those to find libxml2. (LIBXML2_CPPFLAGS, LIBXML2_LIBS): New AC_SUBSTs. * Makefile.am (AM_CPPFLAGS): Add $(LIBXML2_CPPFLAGS) rather than -I /usr/include/libxml2. (libgcobol_la_LDFLAGS): Add $(LIBXML2_LIBS). * configure: Regenerate. * config.h.in: Regenerate. * Makefile.in: Regenerate. * doc/install.texi (COBOL-Specific Options): New.
