]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Use the sed program found by LT_AC_PROG_SED
authorRobert Boehne <rboehne@gnu.org>
Fri, 20 Dec 2002 04:56:26 +0000 (04:56 +0000)
committerRobert Boehne <rboehne@gnu.org>
Fri, 20 Dec 2002 04:56:26 +0000 (04:56 +0000)
so that relink commands don't get truncated.

ChangeLog
ltmain.in

index 75320964679828a01a6fbb9ff88f14f2495f0d45..ec2a9835aa01a12420ddb34cd3021f45d80f0462 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-19  Robert Boehne  <rboehne@gnu.org>
+
+       * ltmain.in: Use the sed program found by LT_AC_PROG_SED
+       so that relink commands don't get truncated.
+
 2002-12-18  Robert Boehne  <rboehne@gnu.org>
 
        * libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD
index 20c099fc5dac000965c6e747fdd08f45f59a89d0..d365637f3d216cbc71d7f8a09741dfd3813fe84b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -4892,7 +4892,7 @@ relink_command=\"$relink_command\""
 
        if test -n "$relink_command"; then
          # Determine the prefix the user has applied to our future dir.
-         inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
+         inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
 
          # Don't allow the user to place us outside of our expected
          # location b/c this prevents finding dependent libraries that
@@ -4907,9 +4907,9 @@ relink_command=\"$relink_command\""
 
          if test -n "$inst_prefix_dir"; then
            # Stick the inst_prefix_dir data into the link command.
-           relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+           relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
          else
-           relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
+           relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
          fi
 
          $echo "$modename: warning: relinking \`$file'" 1>&2