summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4/ChangeLog5
-rw-r--r--m4/gettext.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 5a2a507..6008e8c 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-16 Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.m4 (AM_WITH_NLS): Allow po/Makefile.in to be generated from
+ a different file than po/Makefile.in.in.
+
2001-03-11 Bruno Haible <haible@clisp.cons.org>
* getline.m4: New file, from fileutils-4.0.41 with modifications.
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index 606d417..434669a 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -159,7 +159,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
POSUB=po
fi
AC_OUTPUT_COMMANDS(
- [case " $CONFIG_FILES " 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])