summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--m4/fixautomake.m45
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2baaa7e..b117315 100644
--- 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.
diff --git a/m4/fixautomake.m4 b/m4/fixautomake.m4
index d23db6a..0de29e7 100644
--- a/m4/fixautomake.m4
+++ b/m4/fixautomake.m4
@@ -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
])