From: Jonathan McDowell <noodles@earth.li>
Date: Sun, 27 Nov 2011 22:45:44 +0000 (-0800)
Subject: Add AC_PROG_CC_C99 to configure.ac
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/fc26ef0fdc3bc7fe19278365dc4fbe1d404e410a

Add AC_PROG_CC_C99 to configure.ac

  We aim to compile cleanly under C99, so get autoconf to give us the
  appropriate compiler flags to enable it by default.
---

diff --git a/configure.ac b/configure.ac
index f2bdfd1..c654ab8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ AC_CONFIG_SRCDIR(onak.c)
 AC_CONFIG_HEADER(config.h)
 
 AC_PROG_CC
+AC_PROG_CC_C99
 
 AC_C_BIGENDIAN