* automake.texi (Options): Programs listed in
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 2 Dec 2002 08:08:48 +0000 (08:08 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 2 Dec 2002 08:08:48 +0000 (08:08 +0000)
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
* tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
Append $(EXEEXT).
Reported by Charles Wilson.

ChangeLog
automake.texi
tests/gnits3.test

index 14471dd..1d674bb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-12-02  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * 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.
+
 2002-12-01  Alexandre Duret-Lutz  <adl@gnu.org>
 
        * automake.in (lang_c_finish): Do not fill de_ansi_files with
index ae9e06a..5387574 100644 (file)
@@ -4511,6 +4511,17 @@ In a few situations, programs (or scripts) have to be exempted from this
 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 d1cf671..5c8f138 100755 (executable)
@@ -40,7 +40,7 @@ sub_nok_SOURCES = nok.c
 
 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