]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (Xsed): add 1 to Xsed definition that goes into
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 22 Jan 1999 10:26:47 +0000 (10:26 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 22 Jan 1999 10:26:47 +0000 (10:26 +0000)
temporary wrapper scripts
* libtool.m4: we don't have Xsed here, expand it manually
Reported by Pavel Roskin <pavel_roskin@geocities.com>

ChangeLog
libtool.m4
ltmain.in

index 9a57d5a60878530a6f2f3d1f2e8453c3eeb0492d..e9e09790abe47d7551d6bfa82a61ed2deb5b878c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index a5584bd8e8817e010a4beeed582ce48a00565f58..545776ab095bb227bdde477dbe248a182f4eaaac 100644 (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"
index f0d03b202f880aca01edcc5e222cb354251d8cc2..08cb2030b8f350b301c34ec795d93ee715293389 100644 (file)
--- 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