From 4f58a28c534a5be6c5a35cdedb958a1641f53e02 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 22 Jan 1999 10:26:47 +0000 Subject: [PATCH] * 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 --- ChangeLog | 7 +++++++ libtool.m4 | 2 +- ltmain.in | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a57d5a60..e9e09790a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-01-22 Alexandre Oliva + + * 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 + 1999-01-22 Edouard G. Parmelan * ltmain.in (finalize_hardcode_libdirs, finalize_rpath): in diff --git a/libtool.m4 b/libtool.m4 index a5584bd8e..545776ab0 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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" diff --git a/ltmain.in b/ltmain.in index f0d03b202..08cb2030b 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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 -- 2.47.2