configure: autodetect supported compiler warning options
commitcfc597bdd5c63aeb42d1b664664f2527a6402baf
authorStefan Becker <stefan.becker@nokia.com>
Fri, 15 Oct 2010 12:30:57 +0000 (15 15:30 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Fri, 15 Oct 2010 12:30:57 +0000 (15 15:30 +0300)
tree906964329285e38074863beb88dd01e43ad3f685
parent594cd56b4b0867b033332f3b262bf423d6141021
configure: autodetect supported compiler warning options

Instead of adding a test for each flag use a loop instead.

Based on the example in pidgins' configure.ac.
configure.ac