config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.
authorMark Wielaard <mjw@redhat.com>
Tue, 9 Feb 2016 15:10:22 +0000 (16:10 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 15 Feb 2016 22:45:35 +0000 (23:45 +0100)
commit8bc1423bdc6f0790a669a43ce1604763a3e55587
treead4440547746fac6fe138cc8f411ebde11bce053
parentf4dc76404ce8116b806550d7515ec98be953df9e
config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.

Both -Wlogical-op and -Wduplicated-cond may produce useful warnings.
But we have to check them first. Older versions of gcc had a -Wlogical-op
that warned on some constructs using macros that are not erronious.
Only GCC6 has -Wduplicated-cond.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
ChangeLog
config/ChangeLog
config/eu.am
configure.ac