]> err.no Git - varnish/commitdiff
Make sure we have a C99 compiler
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 18 Feb 2009 08:15:44 +0000 (08:15 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 18 Feb 2009 08:15:44 +0000 (08:15 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3785 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/configure.ac

index 853a6fc6da8eab2233d47f65d32d74a1dfba582c..ce25b786c58df1417d1fc3c64f77c90810144b22 100644 (file)
@@ -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