From: Stefano Lattarini Date: Fri, 30 Dec 2011 12:47:57 +0000 (+0100) Subject: Merge remote-tracking branch 'silent-fixes' into maint X-Git-Tag: v1.11.2b~13^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cec3f327d5b70c8dba59485f221813e281cc972c;p=thirdparty%2Fautomake.git Merge remote-tracking branch 'silent-fixes' into maint * origin/silent-fixes: fix: last entry in ChangeLog tests: tweak tests on silent-rules for makes without nested vars silent-rules: fallback for makes without nested vars --- cec3f327d5b70c8dba59485f221813e281cc972c diff --cc doc/automake.texi index bd8ffbeec,264f54ec5..e155fd167 --- a/doc/automake.texi +++ b/doc/automake.texi @@@ -10138,14 -10131,14 +10138,17 @@@ For portability to different @command{m are advised to not set the variable @code{V} inside the @file{Makefile.am} file, to allow the user to override the value for subdirectories as well. - The current implementation of this feature relies on a non-POSIX, but in - practice rather widely supported @file{Makefile} construct of nested - variable expansion @samp{$(@var{var1}$(V))}. Do not use the - @option{silent-rules} option if your package needs to build with - @command{make} implementations that do not support it. The - @option{silent-rules} option turns off warnings about recursive variable - expansion, which are in turn enabled by @option{-Wportability} - (@pxref{automake Invocation}). + The current implementation of this feature normally uses nested + variable expansion @samp{$(@var{var1}$(V))}, a @file{Makefile} feature + that is not required by POSIX 2008 but is widely supported in -practice. On the rare @command{make} implementations that do not -support nested variable expansion, whether rules are silent is always -determined at configure time, and cannot be overridden at make time. -Future versions of POSIX are likely to require nested variable -expansion, so this minor limitation should go away with time. ++practice. The @option{silent-rules} option thus turns off warnings ++about recursive variable expansion, which are in turn enabled by ++@option{-Wportability} (@pxref{automake Invocation}). On the rare ++@command{make} implementations that do not support nested variable ++expansion, whether rules are silent is always determined at configure ++time, and cannot be overridden at make time. Future versions of POSIX ++are likely to require nested variable expansion, so this minor ++limitation should go away with time. @vindex @code{AM_V_GEN} @vindex @code{AM_V_at}