From c3cd78066c10b213b98cd28459d9971f7809bc81 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 30 Apr 2013 17:11:18 +0200 Subject: build: get rid of 'HAVE_ANSI_COMPILER' C preprocessor conditional GNU make already assume C89 or later throughout the codebase, and that preprocessor conditional was no longer used anyway. * configure.ac: Remove AC_DEFINE of HAVE_ANSI_COMPILER. * config.ami.template: Remove #define of HAVE_ANSI_COMPILER. * config.h-vms.template: Likewise. * config.h.W32.template: Likewise. * configh.dos.template: Likewise. Signed-off-by: Stefano Lattarini --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d610343..45b201c 100644 --- a/configure.ac +++ b/configure.ac @@ -64,12 +64,6 @@ AC_HEADER_TIME AC_CHECK_HEADERS([stdlib.h locale.h unistd.h limits.h fcntl.h string.h \ memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h]) -# Set a flag if we have an ANSI C compiler -AS_IF([test "$ac_cv_prog_cc_stdc" != no], -[ AC_DEFINE([HAVE_ANSI_COMPILER], [1], - [Define to 1 if your compiler conforms to the ANSI C standard.]) -]) - AM_PROG_CC_C_O AC_C_CONST AC_TYPE_SIGNAL -- cgit v1.2.3