From 747070b47559063b9fc36a7c3e60433dccf5b2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Aug 2010 19:25:31 +0200 Subject: [PATCH] configure: Check if the compiler supports ISO C89 or C99 and which parameters are required This first checks what is required for ISO C99 support and sets the relevant compiler parameters and if no C99 compiler is found, it checks for a C89 compiler. This enables us to check for and use C89/C99 functions that gcc hides from us without the correct compiler parameters. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 69200b2845..75f08057ac 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,7 @@ dnl *** checks for programs *** dnl find a compiler AC_PROG_CC +AC_PROG_CC_STDC dnl determine c++ compiler AC_PROG_CXX