From: tfheen Date: Wed, 18 Feb 2009 08:15:44 +0000 (+0000) Subject: Make sure we have a C99 compiler X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc321ace3baefc2a45bad378cd28833dbcbe8d3e;p=varnish Make sure we have a C99 compiler git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3785 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index 853a6fc6..ce25b786 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -15,6 +15,10 @@ AM_INIT_AUTOMAKE([foreign]) # Checks for programs. AC_GNU_SOURCE AC_PROG_CC +AC_PROG_CC_STDC +if test "x$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([Could not find a C99 compatible compiler]) +fi AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LIBTOOL