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.
This commit is contained in:
Sebastian Dröge 2010-08-04 19:24:29 +02:00
parent b296c96169
commit e8c8977582

View file

@ -132,6 +132,7 @@ dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CXX
dnl determine if c++ is available on this system