>>> "chuck" == Charles Wilson <[EMAIL PROTECTED]> writes:

[...]

 chuck> 1.7.1b fixes the gnits2 failure on cygwin, but not the gnits3 failure
 chuck> (it's possible that gnits3 exhibited two problems on cygwin, and the
 chuck> recent patch only fixed one of them?)

[...]

Yep.  Thanks!  I'm installing the following patch on HEAD and branch-1-7.

2002-12-02  Alexandre Duret-Lutz  <[EMAIL PROTECTED]>

        * automake.texi (Options): Programs listed in
        AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
        * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
        Append $(EXEEXT).
        Reported by Charles Wilson.

Index: automake.texi
===================================================================
RCS file: /cvs/automake/automake/automake.texi,v
retrieving revision 1.305.2.4
diff -u -r1.305.2.4 automake.texi
--- automake.texi       29 Nov 2002 22:07:33 -0000      1.305.2.4
+++ automake.texi       2 Dec 2002 08:03:58 -0000
@@ -4509,6 +4509,17 @@
 test.  For instance @command{false} (from GNU sh-utils) is never
 successful, even for @code{--help} or @code{--version}.  You can
 list such programs in the variable @code{AM_INSTALLCHECK_STD_OPTIONS_EXEMPT}.
+Programs (not scripts) listed in this variable should be suffixed by
+@code{$(EXEEXT)} for the sake of Win32 or OS/2.  For instance suppose we
+build @code{false} as a program, @code{true.sh} as a script, and that
+none of them support @code{--help} and @code{--version}:
+
+@example
+AUTOMAKE_OPTIONS = std-options
+bin_PROGRAMS = false ...
+bin_SCRIPTS = true.sh ...
+AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = false$(EXEEXT) true.sh
+@end example
 
 @item @code{subdir-objects}
 If this option is specified, then objects are placed into the
Index: tests/gnits3.test
===================================================================
RCS file: /cvs/automake/automake/tests/gnits3.test,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 gnits3.test
--- tests/gnits3.test   30 Nov 2002 20:41:39 -0000      1.3.2.1
+++ tests/gnits3.test   2 Dec 2002 08:03:59 -0000
@@ -40,7 +40,7 @@
 
 nobase_bin_SCRIPTS = nok.sh sub/nok.sh
 
-AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = nok nok.sh
+AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = nok$(EXEEXT) nok.sh
 
 grep-stderr:
        grep 'sub/pnok$(EXEEXT) does not support' stderr

-- 
Alexandre Duret-Lutz



Reply via email to