]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc, configure: When checking for basename, use the same process as libiberty [PR119250].
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 13 Mar 2025 17:23:33 +0000 (17:23 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 25 Mar 2025 19:29:51 +0000 (19:29 +0000)
commit87d60bcba534b53255c19aae7d2d24ff7a1be414
tree5661e16028d01042759d2c41192c34a89862e41c
parentf3d07779fdb729c7ee81b8e764921becf8ecf1d0
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 <iain@sandoe.co.uk>
gcc/config.in
gcc/configure
gcc/configure.ac