Require C99 capable compiler in configure

- also enable C99 mode if not on by default
This commit is contained in:
Panu Matilainen 2008-04-28 13:53:35 +03:00
parent cf767c71c5
commit 48f19e86b5
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_PROG_YACC
AC_PROG_CC_C99
if test "$ac_cv_prog_cc_c99" = no; then
AC_MSG_ERROR([ISO C99 capable compiler required])
fi
AS=${AS-as}
AC_SUBST(AS)
if test "$GCC" = yes; then