Message ID | 20110709230331.GA3338@hiauly1.hia.nrc.ca |
---|---|
State | New |
Headers | show |
Ping? On 9-Jul-11, at 7:03 PM, John David Anglin wrote: > The attached patch fixes the boehm-gc testsuite on hppa2.0w-hp- > hpux11.11. > Without it, libtool always generates an informational warning when > linking > causing the entire boehm-gc testsuite to fail. > > Ok? Ralf would you please install in libtool tree if ok. > > 2011-07-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> > > PR boehm-gc/48494 > * ltmain.sh (func_warning): Don't print warnings if opt_silent is > true. > > Index: ltmain.sh > =================================================================== > --- ltmain.sh (revision 176045) > +++ ltmain.sh (working copy) > @@ -437,7 +437,9 @@ > # Echo program name prefixed warning message to standard error. > func_warning () > { > - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: > "${1+"$@"} 1>&2 > + ${opt_silent-false} || { > + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: > "${1+"$@"} 1>&2 > + } > > # bash bug again: > : > > Dave > -- > J. David Anglin dave.anglin@nrc-cnrc.gc.ca > National Research Council of Canada (613) 990-0752 > (FAX: 952-6602)
Index: ltmain.sh =================================================================== --- ltmain.sh (revision 176045) +++ ltmain.sh (working copy) @@ -437,7 +437,9 @@ # Echo program name prefixed warning message to standard error. func_warning () { - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 + ${opt_silent-false} || { + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 + } # bash bug again: :