From: Panu Matilainen Date: Mon, 28 Apr 2008 10:53:35 +0000 (+0300) Subject: Require C99 capable compiler in configure X-Git-Tag: rpm-4.6.0-rc1~736 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48f19e86b56be0ae220ff1114711684dd04480bd;p=platform%2Fupstream%2Frpm.git Require C99 capable compiler in configure - also enable C99 mode if not on by default --- diff --git a/configure.ac b/configure.ac index c683d6c..5de9cf7 100644 --- a/configure.ac +++ b/configure.ac @@ -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