From 5db25e018c18207d6637fdc439f57ff1d1feff70 Mon Sep 17 00:00:00 2001 From: Leonid Vasiliev Date: Mon, 29 Jun 2020 21:52:39 +0300 Subject: [PATCH] compilation: set use C99 mode by default Before the patch, the default compiler compilation mode is used (including C89, version dependent). But support the C89 dialect in 2020 is strange. Accordingly, set C99 as preffered. --- config.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.m4 b/config.m4 index c8b5097..8df5eaf 100644 --- a/config.m4 +++ b/config.m4 @@ -1,4 +1,6 @@ dnl config.m4 for extension tarantool +dnl set C compiler to C99 mode +AC_PROG_CC_C99 PHP_ARG_ENABLE(tarantool, for tarantool support, [ --enable-tarantool Enable tarantool support])