build: make sure we check for c99 during configure

We have some c99 code in expedite (loop initial declarations) and some
setups bail out when trying to use c89 here. EFL is already enforcing
c99 and compilers have catched up a long time ago.

Fixes T5440
This commit is contained in:
Stefan Schmidt 2017-05-10 13:22:22 +02:00
parent 0529ce56b6
commit e7b11dd328
1 changed files with 5 additions and 0 deletions

View File

@ -69,9 +69,14 @@ EFL_ENABLE_BETA_API_SUPPORT
AC_HEADER_STDC
AC_C_CONST
AC_PROG_CC_C99
AM_PROG_CC_C_O
AC_C___ATTRIBUTE__
if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
AC_MSG_ERROR([expedite requires a c99-capable compiler])
fi
WIN32_CFLAGS=""
case "$host_os" in
cegcc*)