summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4/ChangeLog6
-rw-r--r--m4/gettext.m43
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])