[committed] more warnings.m4 massaging

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Thu Jan 11 15:21:00 GMT 2007


This patch allows one to use multiple ACX_PROG_CC_WARNING_OPTS and have 
the various options appended to the library.

It also adds a second parameter to ACX_PROG_CC_WARNINGS_ARE_ERRORS.  I 
was going to leave it aside completely, but since I spotted a typo...

        [WERROR=-WerrorB])

... I decided to keep the three macros consistent.  Furthermore, there 
was an extra (wrong) parenthesis in this macro, fixed too.

Tested by looking at the difference in libcpp/configure, and in a 
patched gcc/configure.ac that uses the macros.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: warnings-expand-var-once.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070111/6aa6bf17/attachment.ksh>


More information about the Gcc-patches mailing list