From: Thomas Tanner Date: Tue, 25 May 1999 16:07:39 +0000 (+0000) Subject: * doc/libtool.texi: fix "wierd" typo :) X-Git-Tag: release-1-3-2~9 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=dfe6045676b82989896511ee00503ffbd8b317a3;p=thirdparty%2Flibtool.git * doc/libtool.texi: fix "wierd" typo :) * ltmain.in: strip off the .exe suffix only on *Win (Reported by Matthew D. Langston ) --- diff --git a/ChangeLog b/ChangeLog index 42157c7c8..edaf04eb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-05-24 Thomas Tanner + + * doc/libtool.texi: fix "wierd" typo :) + * ltmain.in: strip off the .exe suffix only on *Win + (Reported by Matthew D. Langston ) + 1999-05-23 Alexandre Oliva * doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86. diff --git a/ltmain.in b/ltmain.in index 64ce0c6bd..0f92e2741 100644 --- 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