]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 12 Apr 2005 17:29:12 +0000 (17:29 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 12 Apr 2005 17:29:12 +0000 (17:29 +0000)
Fix definition of $Xsed.

ChangeLog
config/general.m4sh
m4/libtool.m4
tests/defs.m4sh

index 0aaa0952a0fe6b403cd6f0245fb9a526bf3293a9..058243c2c39691d9a1622dc635580581b7eabb28 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh:
+       Fix definition of $Xsed.
+
 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
 
        Under certain circumstances, not all of the macro files were
index 9339553de1a7182f23e495e07d956d36e0dd4284..d55c5bf9573da30fbbf753dda6d33567a5047a56 100644 (file)
@@ -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
index 6675f8e0b61f6bb099eca42131242a9f53df6807..befb89dcfc26f8659bb926d3037af03c74d48030 100644 (file)
@@ -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.
index 4e84ecf3ff9ddc122190bdb681cb11ce3be542c4..53d04550f73aada5680373406e228d7ad3da7a7c 100644 (file)
@@ -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.