From: Ralf Wildenhues Date: Tue, 12 Apr 2005 17:29:12 +0000 (+0000) Subject: * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a27a421d900d6ae4d3fe3e2c1103c9011a68d65;p=thirdparty%2Flibtool.git * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh: Fix definition of $Xsed. --- diff --git a/ChangeLog b/ChangeLog index 0aaa0952a..058243c2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-12 Ralf Wildenhues + + * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh: + Fix definition of $Xsed. + 2005-04-04 Gary V. Vaughan Under certain circumstances, not all of the macro files were diff --git a/config/general.m4sh b/config/general.m4sh index 9339553de..d55c5bf95 100644 --- a/config/general.m4sh +++ b/config/general.m4sh @@ -37,7 +37,7 @@ m4_if([# general.m4sh -- general shell script boiler plate -*- Autoconf -*- : ${RM="rm -f"} : ${SED="@SED@"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} -: ${Xsed="$SED -e s/^X//"} +: ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 6675f8e0b..befb89dcf 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -152,7 +152,7 @@ esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. -Xsed='sed -e s/^X//' +Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. diff --git a/tests/defs.m4sh b/tests/defs.m4sh index 4e84ecf3f..53d04550f 100644 --- a/tests/defs.m4sh +++ b/tests/defs.m4sh @@ -34,7 +34,7 @@ m4_include([general.m4sh]) : ${LIBTOOL="../libtool"} # Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e s/^X//" +Xsed="$SED -e 1s/^X//" # Disable usage of config.site for autoconf, unless DJGPP is present. # The DJGPP port of autoconf requires config.site, to work correctly.