+1999-05-23 Thomas Tanner <tanner@ffii.org>
+
+ * ltmain.in: strip off the .exe suffix only on *Win
+ (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
+
1999-05-22 Thomas Tanner <tanner@ffii.org>
* NEWS: updated
touch ltmain.sh
touch libtoolize
aclocal
-automake --gnits --add-missing
+automake --gnu --add-missing
autoconf
for sub in demo depdemo libltdl mdemo cdemo; do
l3 depends on l1 and l2.
l4 depends on l3 and libm.
-The test program uses l1, l2 and l4.
\ No newline at end of file
+The test program uses l1, l2 and l4.
# 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