+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
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
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