Only display the WERROR notice if there actually are errors.

This commit is contained in:
Chris PeBenito 2017-02-18 13:59:33 -05:00
parent 14566f96a9
commit 4c16ca2d66
1 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,4 @@
ifdef(`m4_werror',`errprint(__file__: Notice: Treating warnings as errors.__endline__)')
ifdef(`m4_fatal_error',`m4exit(`1')')
ifdef(`m4_fatal_error',`
ifdef(`m4_werror',`errprint(__file__: Notice: Treating warnings as errors.__endline__)')
m4exit(`1')
')