]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/libtool.texi: fix "wierd" typo :)
authorThomas Tanner <tanner@ffii.org>
Tue, 25 May 1999 16:07:39 +0000 (16:07 +0000)
committerThomas Tanner <tanner@gmx.de>
Tue, 25 May 1999 16:07:39 +0000 (16:07 +0000)
* ltmain.in: strip off the .exe suffix only on *Win
  (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)

ChangeLog
ltmain.in

index 42157c7c8c6b6eee1ddc171cc3f895f70f6a73f1..edaf04eb627db2f6080486eef2ed208dacd1768d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-05-24 Thomas Tanner  <tanner@ffii.org>
+
+       * doc/libtool.texi: fix "wierd" typo :)
+       * ltmain.in: strip off the .exe suffix only on *Win
+         (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
+
 1999-05-23  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86.
index 64ce0c6bd4f9694277742585a5cc55861c313f06..0f92e27414cd3e21989040106fa3cc9ce29ec17b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1021,9 +1021,9 @@ compiler."
        *)
          absdir=`cd "$dir" && pwd`
          if test -z "$absdir"; then
-            $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
-            $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
-            absdir="$dir"
+           $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
+           $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
+           absdir="$dir"
          fi
          dir="$absdir"
          ;;
@@ -1295,9 +1295,9 @@ compiler."
          *)
            absdir=`cd "$dir" && pwd`
            if test -z "$absdir"; then
-              $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
-              $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
-              absdir="$dir"
+             $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
+             $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
+             absdir="$dir"
            fi
            ;;
          esac
@@ -2658,10 +2658,14 @@ static const void *lt_preloaded_setup() {
 
       # Only actually do things if our run command is non-null.
       if test -z "$run"; then
-       # win32 will think the script is a binary if it has
-       # a .exe suffix, so we strip it off here.
-       case $output in
-         *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
+       case "$host" in
+       *-*-cygwin* | *-*-mingw* | *-*-os2*)
+         # win32 will think the script is a binary if it has
+         # a .exe suffix, so we strip it off here.
+         case $output in
+           *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
+         esac
+         ;;
        esac
        $rm $output
        trap "$rm $output; exit 1" 1 2 15