From cc6883cfac14daf228deb8d6de6337df87b36656 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 2 Dec 2002 08:08:48 +0000 Subject: [PATCH] * 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. --- ChangeLog | 8 ++++++++ automake.texi | 11 +++++++++++ tests/gnits3.test | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 14471dd0d..1d674bb5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-12-02 Alexandre Duret-Lutz + + * 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 * automake.in (lang_c_finish): Do not fill de_ansi_files with diff --git a/automake.texi b/automake.texi index ae9e06a51..5387574ad 100644 --- a/automake.texi +++ b/automake.texi @@ -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 diff --git a/tests/gnits3.test b/tests/gnits3.test index d1cf671f3..5c8f138f5 100755 --- a/tests/gnits3.test +++ b/tests/gnits3.test @@ -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 -- 2.47.2