summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dbbda824..8d59882c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -295,7 +295,12 @@ if test "x$WANT_NACL" = "xyes"; then
295fi 295fi
296 296
297# Checks for programs. 297# Checks for programs.
298AC_PROG_CC 298AC_PROG_CC_C99
299
300if test "x$ac_cv_prog_cc_c99" = "xno" ; then
301 AC_MSG_ERROR([c-toxcore requires a C99 compatible compiler])
302fi
303
299AM_PROG_CC_C_O 304AM_PROG_CC_C_O
300m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) 305m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
301AC_LIBTOOL_WIN32_DLL 306AC_LIBTOOL_WIN32_DLL