+2013-06-25 Daiki Ueno <ueno@gnu.org>
+
+ Allow user to supply custom sed command when generating en@quot.po.
+ * po.m4 (AM_PO_SUBDIRS): Require AC_PROG_SED.
+
2013-04-23 Daiki Ueno <ueno@gnu.org>
Obsolete gt_CHECK_DECL in favor of AC_CHECK_DECLS.
-# po.m4 serial 20 (gettext-0.18.2)
+# po.m4 serial 21 (gettext-0.18.2)
dnl Copyright (C) 1995-2013 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+ AC_REQUIRE([AC_PROG_SED])dnl
AC_REQUIRE([AM_NLS])dnl
dnl Release version of the gettext macros. This is used to ensure that
+2013-06-25 Daiki Ueno <ueno@gnu.org>
+
+ Allow user to supply custom sed command when generating en@quot.po.
+ This is necessary because BSD Sed is known not to work well with
+ an input not ending with a newline.
+ * Makefile.in.in (SED): Define using @SED@.
+ * Rules-quot: Use '$(SED)' instead of 'sed' as the FILTER argument
+ of msgfilter.
+ Reported by Mats Erik Andersson in
+ <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00028.html>.
+
2013-03-02 Bruno Haible <bruno@clisp.org>
* bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>.
VERSION = @VERSION@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+SED = @SED@
SHELL = /bin/sh
@SET_MAKE@
ll=`echo $$lang | sed -e 's/@.*//'`; \
LC_ALL=C; export LC_ALL; \
cd $(srcdir); \
- if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
+ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
rm -f $$tmpdir/$$lang.new.po; \
else \