Index: lib/am/progs.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/progs.am,v
retrieving revision 1.31
diff -u -p -r1.31 progs.am
--- progs.am	2001/04/09 09:50:33	1.31
+++ progs.am	2001/06/03 02:25:17
@@ -32,7 +32,7 @@ install-%DIR%PROGRAMS: $(%DIR%_PROGRAMS)
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
 	@list='$(%DIR%_PROGRAMS)'; for p in $$list; do \
-	  if test -f $$p; then \
+	  if (test -f $$p || test -f `basename $$p .exe`); then \
 ## Note that we explicitly set the libtool mode.  This avoids any
 ## lossage if the install program doesn't have a name that libtool
 ## expects.
