From 81586c404e6a74090b07eb6425f895c8c015338a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 16 Oct 2016 18:32:44 +0200 Subject: [PATCH] texinfo: add pointer about combining tests --- doc/automake.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/automake.texi b/doc/automake.texi index ecfbbc8..cc4aade 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -10546,6 +10546,12 @@ must arrange for @emph{every} @code{AM_CONDITIONAL} to be invoked every time @command{configure} is run. If @code{AM_CONDITIONAL} is run conditionally (e.g., in a shell @code{if} statement), then the result will confuse @command{automake}. + +See address@hidden://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16, +"test" APPLICATION NOTES in IEEE Std 1003.1-2008} for more details as to why to +prefer @code{&&} and @code{||} when combining tests in @var{condition} (e.g., +use @code{test expr1 && test expr2}). @end defmac @cindex @option{--enable-debug}, example -- 2.9.3