diff options
author | Bruno Haible <bruno@clisp.org> | 2001-04-12 23:50:45 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-04-12 23:50:45 +0000 |
commit | c94c4b2b1e297871d34e2a792f342fc41bfded17 (patch) | |
tree | f58fdf12e78e93b9e9901a1ed98c56c79d4caf89 /m4 | |
parent | 61b6c6e7d0388c61146257b9e9e8305741ec8424 (diff) | |
download | external_gettext-c94c4b2b1e297871d34e2a792f342fc41bfded17.zip external_gettext-c94c4b2b1e297871d34e2a792f342fc41bfded17.tar.gz external_gettext-c94c4b2b1e297871d34e2a792f342fc41bfded17.tar.bz2 |
Fix bug that caused po/Makefile to not be generated in some cases.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 6 | ||||
-rw-r--r-- | m4/gettext.m4 | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index b509d67..c3d72ff 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,9 @@ +2001-04-12 Bruno Haible <haible@clisp.cons.org> + + * gettext.m4 (AM_WITH_NLS): Fix syntax error in 'case'. Change + whitespace in $CONFIG_FILES to spaces for matching with 'case'. + Reported by Thorsten Kukuk <kukuk@suse.de>. + 2001-04-11 Bruno Haible <haible@clisp.cons.org> * gettext.m4 (AM_WITH_NLS): Even if 'msgfmt' is not found in $PATH, diff --git a/m4/gettext.m4 b/m4/gettext.m4 index c3bc720..90b34c6 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -159,8 +159,9 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" POSUB=po fi AC_OUTPUT_COMMANDS( - [case " $CONFIG_FILES " in *" po/Makefile.in "* | *" po/Makefile.in:"*) + [case " "$CONFIG_FILES" " in *" po/Makefile.in "* | *" po/Makefile.in:"*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + ;; esac]) |