From: Gordon Matzigkeit Date: Sat, 29 Nov 1997 20:50:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release-1-0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d55ff88a4f7585e129aaaf557890462aa1274004;p=thirdparty%2Flibtool.git *** empty log message *** --- diff --git a/NEWS b/NEWS index d24308204..67cb99ee1 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ NEWS - list of user-visible changes between releases of GNU Libtool New in 1.0x - 1997-XX-XX, Gordon Matzigkeit: * Bug fixes. +* Support for *-*-amigaos*. New in 1.0f - 1997-11-08, Gordon Matzigkeit: * Bug fixes. diff --git a/ltmain.in b/ltmain.in index 0c14bb29e..ee3277746 100644 --- a/ltmain.in +++ b/ltmain.in @@ -22,32 +22,6 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -echo=echo -if test "X`$echo '\t'`" = 'X\t'; then : -else - # The Solaris and AIX default echo program unquotes backslashes. - # This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # So, we emulate echo with printf '%s\n' - echo='printf %s\n' - if test "X`$echo '\t'`" = 'X\t'; then : - else - # Oops. We have no working printf. Try to find a not-so-buggy echo. - echo=echo - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:" - save_PATH="$PATH" - PATH="$PATH":/usr/ucb - for dir in $PATH; do - if test -f $dir/echo && test "X`$dir/echo '\t'`" = 'X\t'; then - echo="$dir/echo" - break - fi - done - IFS="$save_ifs" - PATH="$save_PATH" - fi -fi - # The name of this program. progname=`$echo "$0" | sed 's%^.*/%%'` modename="$progname" @@ -1015,7 +989,7 @@ if test -z "$show_help"; then IFS="$save_ifs" # Create links to the real library. - for link in $linknames; do + for linkname in $linknames; do $show "(cd $objdir && $LN_S $realname $link)" $run eval '(cd $objdir && $LN_S $realname $link)' || exit $? done @@ -1984,22 +1958,29 @@ EOF modename="$modename: finish" libdirs="$nonopt" - if test -n "$finish_cmds" && test -n "$libdirs"; then + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do - # Do each command in the finish commands. - cmds=`eval \\$echo \"$finish_cmds\"` - IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' - for cmd in $cmds; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=`eval \\$echo \"$finish_cmds\"` + IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" + done IFS="$save_ifs" - $show "$cmd" - $run eval "$cmd" - done - IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + cmds=`eval \\$echo \"$finish_eval\"` + $run eval "$cmds" + fi done fi