Use AC_PROG_CC_C99 to discover C99-compliant compiler.
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 11:04:27 +0000 (13:04 +0200)
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 13:09:32 +0000 (15:09 +0200)
commita6e4507a4b9f48379e69748e7c4a0374dd11b13d
treec91657ac1a1fc8a8883386a76c49c60114e0c881
parentf46ae106a54f1f84651b45561f6fa01a825e8b30
Use AC_PROG_CC_C99 to discover C99-compliant compiler.

Instead of just checking if the compiler supports -std=c99 option,
make use of the autoconf macro for discovering C99. This way other
non-GCC compiler could be used in C99 mode too.
configure.ac