From: Robert Boehne Date: Fri, 20 Dec 2002 04:56:26 +0000 (+0000) Subject: * ltmain.in: Use the sed program found by LT_AC_PROG_SED X-Git-Tag: release-1-5~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f17e338d25acc65dcce89dfa9e16458eccffe74;p=thirdparty%2Flibtool.git * ltmain.in: Use the sed program found by LT_AC_PROG_SED so that relink commands don't get truncated. --- diff --git a/ChangeLog b/ChangeLog index 753209646..ec2a9835a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-19 Robert Boehne + + * 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 * libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD diff --git a/ltmain.in b/ltmain.in index 20c099fc5..d365637f3 100644 --- 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