https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:87d60bcba534b53255c19aae7d2d24ff7a1be414 commit r15-8908-g87d60bcba534b53255c19aae7d2d24ff7a1be414 Author: Iain Sandoe <i...@sandoe.co.uk> Date: Thu Mar 13 17:23:33 2025 +0000 gcc, configure: When checking for basename, use the same process as libiberty [PR119250]. We need the configure result from the decl check for basename() in the GCC configuration to match that obtained when configuring libiberty or we get conflicts when <libgen.h> is included in any TU that also includes "system.h" or "libiberty.h" directly. PR other/119250 gcc/ChangeLog: * config.in: Regenerate. * configure: Regenerate. * configure.ac: Match the configure test in libiberty when checking the basename decl. Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>