http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56779
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #16) > > AC_SEARCH_LIBS(gettext, intl, [], USE_NLS=no) > > seems a bit crude, as it results in this link test: It also doesn't help solve the bug :-) Yes, I realised later that we need a custom test that ensures we use the correct lib to match whichever libintl.h is included.