From fe508576ef1f815b22177d7597796886b91ea0c8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 22 Mar 2016 10:25:20 +0100 Subject: Sync toplevel with upstream GCC. Signed-off-by: Corinna Vinschen --- config/gettext.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/gettext.m4') diff --git a/config/gettext.m4 b/config/gettext.m4 index 16070b4..45fa6b4 100644 --- a/config/gettext.m4 +++ b/config/gettext.m4 @@ -81,7 +81,7 @@ AC_DEFUN([AM_GNU_GETTEXT], dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then - dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT + dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. @@ -303,7 +303,7 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) - dnl For backward compatibility. Some configure.ins may be using this. + dnl For backward compatibility. Some configure.acs may be using this. nls_cv_header_intl= nls_cv_header_libgt= -- cgit v1.1