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 <stefano.lattar...@gmail.com> --- ChangeLog | 13 +++++++++++++ config.ami.template | 3 --- config.h-vms.template | 3 --- config.h.W32.template | 3 --- configh.dos.template | 3 --- configure.ac | 6 ------ 6 files changed, 13 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6abc7bc..433ac5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2013-04-30 Stefano Lattarini <stefano.lattar...@gmail.com> (tiny change) + 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. + +2013-04-30 Stefano Lattarini <stefano.lattar...@gmail.com> (tiny change) + build: enable 'subdir-objects' and 'silent-rules' automake options * configure.ac (AM_INIT_AUTOMAKE): Here. The future major Automake diff --git a/config.ami.template b/config.ami.template index 8fe26bd..78e2e75 100644 --- a/config.ami.template +++ b/config.ami.template @@ -157,9 +157,6 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Define if the 'S_IS*' macros in <sys/stat.h> do not work properly. */ /* #undef STAT_MACROS_BROKEN */ -/* Define if your compiler conforms to the ANSI C standard. */ -#define HAVE_ANSI_COMPILER 1 - /* Define if you have the ANSI C header files. */ #define STDC_HEADERS diff --git a/config.h-vms.template b/config.h-vms.template index 1b99dd4..dd1aa1e 100644 --- a/config.h-vms.template +++ b/config.h-vms.template @@ -330,9 +330,6 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Define to 1 if you have the <ndir.h> header file. */ /* #undef HAVE_NDIR_H */ -/* Define to 1 if your compiler conforms to the ANSI C standard. */ -#define HAVE_ANSI_COMPILER 1 - /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 diff --git a/config.h.W32.template b/config.h.W32.template index 8d59a13..82d83ad 100644 --- a/config.h.W32.template +++ b/config.h.W32.template @@ -62,9 +62,6 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ */ /* #undef HAVE_ALLOCA_H */ -/* Define to 1 if your compiler conforms to the ANSI C standard. */ -#define HAVE_ANSI_COMPILER 1 - /* Define to 1 if you have the 'atexit' function. */ #define HAVE_ATEXIT 1 diff --git a/configh.dos.template b/configh.dos.template index 61857ab..098fef5 100644 --- a/configh.dos.template +++ b/configh.dos.template @@ -76,9 +76,6 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Define to 1 if you have the select function. */ #define HAVE_SELECT 1 -/* Define to 1 if your compiler conforms to the ANSI C standard. */ -#define HAVE_ANSI_COMPILER 1 - /* Define to 1 if you have the stricmp function. */ #define HAVE_STRICMP 1 diff --git a/configure.ac b/configure.ac index c6a5482..8431143 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 -- 1.8.3.rc0.19.g7e6a0cc _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make