summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-12-01 17:14:14 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2017-12-03 20:00:11 +0000
commitb95728249789fb786dbb68a56d696b92e432aa25 (patch)
tree6b0a93d67ab51616d99faf1accd196391cce4e9d
parent0c9c7b478b5a9d0d8b5da5ef8cd964fa1b678448 (diff)
downloadgcab-b95728249789fb786dbb68a56d696b92e432aa25.tar.gz
build: Explicitly enable C99 support
We use C99 declarations in loops in gcab-cabinet.c. For the benefit of older compilers (Debian Jessie, I’m looking at you), explicitly enable C99 support. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=791094
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c841712..b8b8a91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,7 @@ AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])
AC_PROG_CC
+AC_PROG_CC_C99
AM_PROG_CC_C_O
AC_PROG_INSTALL
LT_INIT([win32-dll])