[PATCH] texinfo: add pointer about combining tests

Michael Stapelberg <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <CANnVG6nxeBwe3r0th0M6eM2bosjCmRuG-+4WnjxqR5rfqZX_MQ@mail.gmail.com>
Please consider merging the attached patch file. Thanks!

-- 
Best regards,
Michael
0001-texinfo-add-pointer-about-combining-tests.patch (text/x-patch, 1 KB)
From 81586c404e6a74090b07eb6425f895c8c015338a Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <[email protected]>
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
+@uref{http://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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.