diff options
author | Bruno Haible <bruno@clisp.org> | 2001-09-25 13:42:35 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-09-25 13:42:35 +0000 |
commit | 62241c097c065cd7157c66c3158f62be7569bdc1 (patch) | |
tree | e590aebfb95768062b2f8b9e8e2bea6d3b598b30 /m4/gettext.m4 | |
parent | ef737a39bfa07fbb3db43990d02a9cfa8171f7a7 (diff) | |
download | external_gettext-62241c097c065cd7157c66c3158f62be7569bdc1.zip external_gettext-62241c097c065cd7157c66c3158f62be7569bdc1.tar.gz external_gettext-62241c097c065cd7157c66c3158f62be7569bdc1.tar.bz2 |
Bug fix for people who don't have LINGUAS set.
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r-- | m4/gettext.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 3a882a5..fc7205c 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -312,7 +312,8 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" # compute GMOFILES, POFILES, CATALOGS. But hide it from automake. eval 'ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of $LINGUAS because we need it to compute CATALOGS. - LINGUAS="$LINGUAS" + LINGUAS="${LINGUAS-%UNSET%}" + test "%UNSET%" != "\$LINGUAS" || unset LINGUAS ]) @@ -339,7 +340,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" dnl Found it, now check the version. AC_MSG_CHECKING([version of bison]) changequote(<<,>>)dnl - ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) |