bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Prefer TESTSUITE_FLAGS.


From: Eric Blake
Subject: Re: [PATCH] Prefer TESTSUITE_FLAGS.
Date: Tue, 25 Nov 2008 14:48:17 -0800 (PST)

> TESTSUITEFLAGS is barely readable.

Maybe so, but it is the recommended spelling in the autoconf
manual, and it is consistent with CFLAGS, LIBTOOLFLAGS, ...
I'm not a fan of this patch.

Not to mention that the GNU Coding Standards state:

"Each program-name variable should come with an options variable
that is used to supply options to the program. Append ‘FLAGS’ to
the program-name variable name to get the options variable
name—for example, BISONFLAGS. (The names CFLAGS for the C
compiler, YFLAGS for yacc, and LFLAGS for lex, are exceptions to
this rule, but we keep them because they are standard.) Use
CPPFLAGS in any compilation command that runs the preprocessor,
and use LDFLAGS in any compilation command that does linking as
well as in any direct use of ld."
http://www.gnu.org/software/automake/manual/standards.html#Command-Variables

Finally, there was the time when libtool used AR_FLAGS instead
of ARFLAGS, and mass confusion ensued.

-- 
Eric Blake

-- 
View this message in context: 
http://www.nabble.com/-PATCH--Prefer-TESTSUITE_FLAGS.-tp20690615p20691195.html
Sent from the Gnu - Bison - Patches mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]