From 3c8810e93e25864e629a1d2328918fed3bf5297d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 15 Jun 2009 20:32:40 +0000 Subject: [PATCH] Remove AC_C_CONST It was breaking the build on Windows. The problem was that we included stdio.h which gave a prototype for some functions (e.g. remove), then the AC_C_CONST meant that we did /* Define to empty if `const' does not conform to ANSI C. */ #define const /**/ and then we included io.h which gave prototypes that, due to const being removed, conflicted with the earlier prototypes. --- configure.ac | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure.ac b/configure.ac index c261c05..4ae0be1 100644 --- a/configure.ac +++ b/configure.ac @@ -13,9 +13,6 @@ AC_PROG_CC() # do we have long longs? AC_CHECK_TYPES([long long]) -dnl ** determine whether or not const works -AC_C_CONST - dnl ** check for full ANSI header (.h) files AC_HEADER_STDC -- 1.7.10.4