* ltmain.in (Xsed): add 1 to Xsed definition that goes into

temporary wrapper scripts
* libtool.m4: we don't have Xsed here, expand it manually
Reported by Pavel Roskin <pavel_roskin@geocities.com>
This commit is contained in:
Alexandre Oliva 1999-01-22 10:26:47 +00:00 committed by Alexandre Oliva
parent bcdffabfe9
commit 4f58a28c53
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltmain.in (Xsed): add 1 to Xsed definition that goes into
temporary wrapper scripts
* libtool.m4: we don't have Xsed here, expand it manually
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-01-22 Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* ltmain.in (finalize_hardcode_libdirs, finalize_rpath): in

2
libtool.m4 vendored
View File

@ -210,7 +210,7 @@ changequote([,])dnl
case "$host_os" in
cygwin*)
# Convert to a UNC path for cygwin
test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive"`
test -z "$LD" && LD=`echo X$ac_prog | sed -e "1s/^X//" -e "$sub_uncdrive"`
;;
*)
test -z "$LD" && LD="$ac_prog"

View File

@ -2356,7 +2356,7 @@ static const void *lt_preloaded_setup() {
# 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='$sed_quote_subst'
# The HP-UX ksh and POSIX shell print the target directory to stdout