diff --exclude=CVS --exclude='Makefile*' -rubB libtool.orig/tests/defs.m4sh libtool/tests/defs.m4sh
--- libtool.orig/tests/defs.m4sh	2007-01-19 10:47:05.000000000 +0100
+++ libtool/tests/defs.m4sh	2007-01-30 08:57:48.000000000 +0100
@@ -167,7 +167,7 @@
     my_files=${1+"$@"}
 
     for my_file in $my_files; do
-      test -f "$my_file" \
+      test -f "$my_file" -o -f "$my_file.exe" \
         || func_skip "You must run ${my_prereq}.test before running $0"
     done
 }
@@ -291,6 +291,10 @@
     $opt_debug
     my_program="$1"
 
+	for x in $1 $1.exe; do
+		if test -f $x; my_program=$x; break; fi
+	done
+
     if test -f "$my_program"; then :
     else
       shift
@@ -309,6 +313,10 @@
     my_exp_output="$2"
     my_dir=`pwd | $SED "$basename"`
 
+	for x in $1 $1.exe; do
+		if test -f $x; my_program=$x; break; fi
+	done
+
     test -n "$my_exp_output" \
       && my_exp_output="| $EGREP -e "\""$my_exp_output"\"

diff --exclude=CVS --exclude='Makefile*' -rubB libtool.orig/tests/demo-deplibs.test libtool/tests/demo-deplibs.test
--- libtool.orig/tests/demo-deplibs.test	2007-01-19 10:46:47.000000000 +0100
+++ libtool/tests/demo-deplibs.test	2007-01-19 17:23:13.000000000 +0100
@@ -30,7 +30,7 @@
 echo "linking a shared library against a static library"
 func_make "deplibs-check"
 func_exec_init "uninstalled"
-func_exec_check "hell0$EXEEXT" "check your deplibs_check_method"
+func_exec_check "hell0" "check your deplibs_check_method"
 func_exec "./hell0" "" "check your deplibs_check_method"
 
 exit $exec_status
diff --exclude=CVS --exclude='Makefile*' -rubB libtool.orig/tests/tagdemo-exec.test libtool/tests/tagdemo-exec.test
--- libtool.orig/tests/tagdemo-exec.test	2007-01-19 10:47:04.000000000 +0100
+++ libtool/tests/tagdemo-exec.test	2007-01-19 17:25:06.000000000 +0100
@@ -23,7 +23,7 @@
 
 . tests/defs || exit 1
 
-func_require "tagdemo-make" "tests/tagdemo/tagdemo$EXEEXT"
+func_require "tagdemo-make" "tests/tagdemo/tagdemo"
 
 func_rmprefixdir
 func_exec_init "uninstalled"
