1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00

Add an explicit check for a C99 compiler

We use C99 features quite extensively in the source code.
This commit is contained in:
John Zaitseff 2011-07-26 21:13:12 +10:00
parent 8240043880
commit b68da501fd

View File

@ -37,12 +37,14 @@ AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign dist-bzip2])
AC_CONFIG_LIBOBJ_DIR([lib])
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CC_C99
AS_IF([test "x$ac_cv_prog_cc_c99" != "xyes"],
AC_MSG_ERROR([requires an ISO/IEC 9899:1999 (C99) compiler.]))
gl_EARLY
AX_CFLAGS_WARN_ALL
AC_C_RESTRICT
AC_C_VOLATILE
AX_C___ATTRIBUTE__
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T