configure.ac: drop macro 'AC_PROG_CC_C99' from autoconf 2.70
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 9 Jan 2021 18:51:42 +0000 (19:51 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 18 Jan 2021 15:32:34 +0000 (15:32 +0000)
commit8b7569c2196ea69e72d5daf5c7294d98feb20268
tree7c2b540c4f58783f729fd44b77121f7865cc8bc9
parent0b248e04c1e58b374e82bad0361e42a5e8a96b77
configure.ac: drop macro 'AC_PROG_CC_C99' from autoconf 2.70

The macro AC_PROG_CC_C99 has been obsoleted by autoconf 2.70 and
triggers a set of warnings from both 'aclocal' and 'autoconf'.
The test of AC_PROG_CC_C99 is now included in AC_PROG_CC.

For autoconf 2.69 and earlier the macro is still required, so
cannot be simply dropped.

Use a conditional test to avoid the warning on autoconf 2.70 but
still use AC_PROG_CC_C99 on older autoconf.

Change-Id: I5e8437f5a826fb63be6d07bcb5bb824f94683020
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6009
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
configure.ac