summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
-rw-r--r--config.ami.template3
-rw-r--r--config.h-vms.template3
-rw-r--r--config.h.W32.template3
-rw-r--r--configh.dos.template3
-rw-r--r--configure.ac6
6 files changed, 13 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 56a3361..f9dfc8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -113,6 +113,19 @@
* job.c (start_job_command): Don't redirect output for recursive
make jobs, unless we're in makefile synchronization mode.
+2013-04-30 Stefano Lattarini <stefano.lattarini@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-29 Eli Zaretskii <eliz@gnu.org>
* w32/include/dlfcn.h: New file.
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 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