From 0c13086eefdb3a61555f5d0199b4ba7aad08403c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 2 May 2012 01:25:12 +0200 Subject: check for C99 support --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 00c7174..887a46e 100644 --- a/configure.ac +++ b/configure.ac @@ -19,8 +19,10 @@ AC_PROG_INSTALL AC_PROG_LIBTOOL AC_PROG_CC AC_PROG_CC_C99 +if [[ $ac_cv_prog_cc_c99 = no ]]; then + AC_MSG_ERROR([C compiler does not support C99 mode!]) +fi AC_PROG_CC_C_O -# FIXME: check whether c99 is actually available AC_CHECK_PROG(PKG_CONFIG, pkg-config, pkg-config) if [[ x$PKG_CONFIG = x ]]; then -- cgit v1.2.3