From: Jim Meyering Date: Mon, 5 Nov 2007 10:03:55 +0000 (+0100) Subject: Don't use GNU-sed-specific \< \> operators. X-Git-Tag: v6.9.90~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e3dd5365aaab8f470e1c40b1559f3fb4ae68e4;p=thirdparty%2Fcoreutils.git Don't use GNU-sed-specific \< \> operators. * configure.ac (MAN): Transform ginstall.1 to install.1 using a loop, rather than sed with \<...\>. Problem reported by Bruno Haible. Andreas Schwab reminded me that \< and \> are not portable. --- diff --git a/ChangeLog b/ChangeLog index 9e28c50ead..cd7a9f478e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-11-05 Jim Meyering + Don't use GNU-sed-specific \< \> operators. + * configure.ac (MAN): Transform ginstall.1 to install.1 using + a loop, rather than sed with \<...\>. + Problem reported by Bruno Haible. + Andreas Schwab reminded me that \< and \> are not portable. + Get git-version-gen from gnulib. * build-aux/git-version-gen: Remove file. * build-aux/.gitignore: Add git-version-gen. diff --git a/configure.ac b/configure.ac index a685c9532f..494155a185 100644 --- a/configure.ac +++ b/configure.ac @@ -307,7 +307,7 @@ esac MAN=`echo "$optional_bin_progs "|sed 's/ /.1 /g;s/ $//'` # Change ginstall.1 to "install.h" in $MAN. -MAN=`echo "$MAN"|sed 's/\/install.1/'` +MAN=`for m in $MAN; do test $m = ginstall.1 && m=install.1; echo $m; done | tr '\012' ' '; echo` # Remove [.1, since writing a portable rule for it in man/Makefile.am # is not practical. The sed LHS below uses the autoconf quadrigraph