From e636b8cf005bd791ef6ae735aff1111b3400ad05 Mon Sep 17 00:00:00 2001
From: Akim Demaille <[EMAIL REDACTED]>
Date: Wed, 29 Sep 1999 07:52:57 +0000
Subject: [PATCH] 1999-09-29 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_C_CONST): Changed from
const charset x;
to
const charset x = {0, 0};
From Jim Meyering.
---
ChangeLog | 8 ++++++++
acspecific.m4 | 2 +-
lib/autoconf/specific.m4 | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9f80181c..fb4da1f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-09-29 Akim Demaille <akim@epita.fr>
+
+ * acspecific.m4 (AC_C_CONST): Changed from
+ const charset x;
+ to
+ const charset x = {0, 0};
+ From Jim Meyering.
+
1999-09-28 Akim Demaille <akim@epita.fr>
Start to get rid of acconfig.h. It is an anachronism.
diff --git a/acspecific.m4 b/acspecific.m4
index c930c016..495519d1 100644
--- a/acspecific.m4
+++ b/acspecific.m4
@@ -2190,7 +2190,7 @@ AC_CACHE_CHECK([for working const], ac_cv_c_const,
changequote(<<, >>)dnl
<<
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x = {0, 0};
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index c930c016..495519d1 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -2190,7 +2190,7 @@ AC_CACHE_CHECK([for working const], ac_cv_c_const,
changequote(<<, >>)dnl
<<
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x = {0, 0};
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;