Detect whether C compiler supports warning flags
commit4a86bf227623e0f6f5cff4084d37ac35b13a8708
authorRoland Lutz <rlutz@hedmen.org>
Sat, 27 Jul 2019 15:10:29 +0000 (27 17:10 +0200)
committerRoland Lutz <rlutz@hedmen.org>
Thu, 3 Sep 2020 19:42:15 +0000 (3 21:42 +0200)
tree3b864eb91330137d506bcc0cd3d5b816ebc24294
parent19ed49ecc4e9b1d55059ea4750e3bdccd9e49e3e
Detect whether C compiler supports warning flags

clang doesn't support certain warnings.  Add checks so the warning
flags can be conditionally passed if the compiler recognizes them.
m4/prog-cc-warning.m4 [new file with mode: 0644]