From: Bruno Haible Date: Fri, 21 Jul 2006 11:24:54 +0000 (+0000) Subject: More portable way to call sed. X-Git-Tag: v0.15~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbe99cb6b568b0a8ab297c33a4e107fe9efffa57;p=thirdparty%2Fgettext.git More portable way to call sed. --- diff --git a/ChangeLog b/ChangeLog index 2baaa7e64..b117315b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ * gettext-0.15 released. +2006-07-21 Bruno Haible + + * 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 * version.sh: Bump version number to 0.15. diff --git a/m4/fixautomake.m4 b/m4/fixautomake.m4 index d23db6aec..0de29e71f 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 ])