summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-05-10 13:22:22 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-05-10 13:22:22 +0200
commite7b11dd328d9db82b49cde795944a721beaf0112 (patch)
tree8209a6f7c789f2d8fedf3ebebf20978263b9a1c9 /configure.ac
parent0529ce56b6fb01e9651e76461e9608e15a040fb3 (diff)
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
Diffstat (limited to '')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8e59499..b37c8b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,9 +69,14 @@ EFL_ENABLE_BETA_API_SUPPORT
69 69
70AC_HEADER_STDC 70AC_HEADER_STDC
71AC_C_CONST 71AC_C_CONST
72AC_PROG_CC_C99
72AM_PROG_CC_C_O 73AM_PROG_CC_C_O
73AC_C___ATTRIBUTE__ 74AC_C___ATTRIBUTE__
74 75
76if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
77 AC_MSG_ERROR([expedite requires a c99-capable compiler])
78fi
79
75WIN32_CFLAGS="" 80WIN32_CFLAGS=""
76case "$host_os" in 81case "$host_os" in
77 cegcc*) 82 cegcc*)