From: Bruno Haible Date: Mon, 11 Nov 2002 15:32:55 +0000 (+0000) Subject: More verbosity. X-Git-Tag: v0.12~1222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df103f1d696a6679145846502f011a7b9b5177d;p=thirdparty%2Fgettext.git More verbosity. --- diff --git a/m4/ChangeLog b/m4/ChangeLog index 5e969ed5d..759e1d550 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,9 @@ +2002-11-08 Bruno Haible + + * gettext.m4 (AM_GNU_GETTEXT): Print a message containing the macro's + main decisions. + Reported by Andreas Buening . + 2002-11-07 Bruno Haible * libtool.m4: Upgrade to libtool-1.4.3. diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 7124ed829..bff53bffc 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -260,6 +260,22 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", fi fi + AC_MSG_CHECKING([whether to use NLS]) + AC_MSG_RESULT([$USE_NLS]) + if test "$USE_NLS" = "yes"; then + AC_MSG_CHECKING([where the gettext function comes from]) + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + AC_MSG_RESULT([$gt_source]) + fi + if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then