https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250
--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 60766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60766&action=edit patch under test This makes the configure test for basename use the same process as in libiberty so that the results are consistent. tested so far on x86_64 Darwin / Linux.