]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorGordon Matzigkeit <gord@gnu.org>
Sat, 29 Nov 1997 20:50:36 +0000 (20:50 +0000)
committerGordon Matzigkeit <gord@gnu.org>
Sat, 29 Nov 1997 20:50:36 +0000 (20:50 +0000)
NEWS
ltmain.in

diff --git a/NEWS b/NEWS
index d243082041e588bf9874dd7fa38b50b2f78a469d..67cb99ee198acb9a876afb1efb86d2099c9bf912 100644 (file)
--- 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.
index 0c14bb29eb1f350aa5ddf202a5bbd03366478826..ee3277746b262e484408af871c5f021a3a431200 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
 # 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