[RFC/PATCH 3/3] autoreconf: Use note channel for enter/leave messages.

2011-11-11 Thread Bert Wesarg
GNU Make always prints them, except when using --silent. Adopt this behavior. * lib/Autom4te/ChannelDefs.pm (note): New. (@EXPORT): Add note. * bin/autoreconf.in (autoreconf): Use new note sub for enter/leave directory messages. Do not print them when no directry was given or empty. (parse_args):

[RFC/PATCH 2/3] Provide --silent to silence note messages.

2011-11-11 Thread Bert Wesarg
* lib/Autom4te/General.pm (getopt): Add --silent to standard options. Silence note messages when --silent was given. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in ($help): Add --silent. Signed-off-by: Bert Wesarg --- bin/autoheader.in |1 + bin/autom4te.in

[RFC/PATCH 1/3] Do not silent the note channel based on --verbose.

2011-11-11 Thread Bert Wesarg
* lib/Autom4te/General.pm (getopt): Do not silence the note channel based on --verbose. * lib/Autom4te/FileUtils.pm (update_file): Use the verbose channel for messages. * tests/m4sugar.at: Extend expected output, because -Werror prints now something. Signed-off-by: Bert Wesarg --- lib/Autom4te/F

Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Eric Blake
[adding autoconf] On 11/11/2011 01:38 PM, Bruno Haible wrote: > The syntax "export VAR=VALUE" is not guaranteed by this shell. > Either write "env VAR=VALUE ...", or "VAR=VALUE; export VAR; ..." > > Strangely enough, this portability problem of the 'export' built-in > is well-known, but not men

Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Stefano Lattarini
Hi Eric. On Friday 11 November 2011, Eric Blake wrote: > [adding autoconf] > > On 11/11/2011 01:38 PM, Bruno Haible wrote: > > > The syntax "export VAR=VALUE" is not guaranteed by this shell. > > Either write "env VAR=VALUE ...", or "VAR=VALUE; export VAR; ..." > > > > > Strangely enough, this

Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Eric Blake
[dropping grep] On 11/11/2011 02:05 PM, Stefano Lattarini wrote: >> +Posix requires @command{export} to honor assignments made as arguments, >> +but older shells did not support this. Portable scripts should separate >> +assignments and exports into different statements (it does not matter if >>