summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2013-12-16 16:10:05 -0500
committerPetr Viktorin <pviktori@redhat.com>2014-02-14 16:03:24 +0100
commit5c299758b9d26c4d233f49b92e18c558558dea5c (patch)
tree71bb9d1a26d69f2612e43b915f1192c39ee0a092 /daemons
parentfd55da9a27f76611b01c38c2741c13652d6a3e60 (diff)
downloadfreeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.tar.gz
freeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.tar.xz
freeipa-5c299758b9d26c4d233f49b92e18c558558dea5c.zip
Enable building in C99 mode
C99 is supported on all compilers we target and provides some useful features, including: * Standard struct initializers * Compound literals * For-loop declarations * Standard bool type * Variable arrays (use with caution) * Too many others to mention... Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r--daemons/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/configure.ac b/daemons/configure.ac
index 5646c3873..7a34b2fe8 100644
--- a/daemons/configure.ac
+++ b/daemons/configure.ac
@@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AM_MAINTAINER_MODE
-AC_PROG_CC
+AC_PROG_CC_C99
AC_STDC_HEADERS
AC_DISABLE_STATIC
AC_PROG_LIBTOOL