From: Sebastian Dröge Date: Wed, 4 Aug 2010 17:31:40 +0000 (+0200) Subject: configure: Check if the compiler supports ISO C89 or C99 and which parameters are... X-Git-Tag: 1.19.3~485^2~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4707a302d037c58ba6abfc46fe5c680528bdd708;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/configure.ac b/configure.ac index 39f9495..0f2e6ce 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,7 @@ AC_PROG_LIBTOOL dnl find a compiler AC_PROG_CC +AC_PROG_CC_STDC dnl check if the compiler supports '-c' and '-o' options AM_PROG_CC_C_O