]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
More portable way to call sed.
authorBruno Haible <bruno@clisp.org>
Fri, 21 Jul 2006 11:24:54 +0000 (11:24 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:33 +0000 (12:13 +0200)
ChangeLog
m4/fixautomake.m4

index 2baaa7e64a563df300ff26f94b8b1bdb24ef9f7d..b117315b71ec5765e99cc5ac8b7d609a839adae3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 
        * gettext-0.15 released.
 
+2006-07-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fixautomake.m4 (FIX_MAKEFILE_TOPDIR_DISTRIB): Use a multiline -e argument
+       instead of multiple -e arguments. Needed for AIX 4.
+
 2006-07-20  Bruno Haible  <bruno@clisp.org>
 
        * version.sh: Bump version number to 0.15.
index d23db6aec6647de31983b5964fcfb52bfec6b943..0de29e71f0354840683087ee5a64838734bc92e6 100644 (file)
@@ -24,7 +24,10 @@ dnl Fix an automake-1.9 bug: the distrib rule is not extensible.
 dnl Insert a invocation of the distdir1 target inside the distdir commands,
 dnl after $(distdir) has been erased and re-created.
 AC_DEFUN([FIX_MAKEFILE_TOPDIR_DISTRIB], [
-  sed -e '/^   mkdir \$(distdir)$/{a\' -e '    $(MAKE) distdir1' -e '}' < $ac_file > $ac_file.tmp
+  sed_script='/^       mkdir \$(distdir)$/{a\
+       $(MAKE) distdir1
+}'
+  sed -e "$sed_script" < $ac_file > $ac_file.tmp
   mv $ac_file.tmp $ac_file
 ])