From 28d1321307d4d5357a792edc75d5d58a5e1ebd37 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 15 Jun 2009 20:32:40 +0000 Subject: 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. --- libraries/base/configure.ac | 3 --- 1 file changed, 3 deletions(-) (limited to 'libraries/base/configure.ac') diff --git a/libraries/base/configure.ac b/libraries/base/configure.ac index c261c05a05..4ae0be1cb5 100644 --- a/libraries/base/configure.ac +++ b/libraries/base/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 -- cgit v1.2.1