commit 33f8f558c33d937897d0f863456b1c7d854a782a
Author: Kirill A. Korinsky <kirill@korins.ky>
Date:   Sat Dec 23 01:52:52 2023 +0100

    [i386] Add missed SIZEOF_CHAR

diff --git a/gcl/configure b/gcl/configure
index e759ea4a9..4cf9e4d8d 100755
--- a/gcl/configure
+++ b/gcl/configure
@@ -7534,6 +7534,39 @@ printf "%s\n" "$ac_cv_sizeof_short" >&6; }
 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
 
 
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
+printf %s "checking size of char... " >&6; }
+if test ${ac_cv_sizeof_char+y}
+then :
+  printf %s "(cached) " >&6
+else $as_nop
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"
+then :
+
+else $as_nop
+  if test "$ac_cv_type_char" = yes; then
+     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (char)
+See \`config.log' for more details" "$LINENO" 5; }
+   else
+     ac_cv_sizeof_char=0
+   fi
+fi
+
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
+printf "%s\n" "$ac_cv_sizeof_char" >&6; }
+
+
+
+printf "%s\n" "#define SIZEOF_CHAR $ac_cv_sizeof_char" >>confdefs.h
+
+
 # The cast to long int works around a bug in the HP C Compiler
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
diff --git a/gcl/configure.in b/gcl/configure.in
index a21b4ca4b..a36166f44 100644
--- a/gcl/configure.in
+++ b/gcl/configure.in
@@ -1002,6 +1002,7 @@ esac
 
 AC_CHECK_SIZEOF(long,0)
 AC_CHECK_SIZEOF(short,0)
+AC_CHECK_SIZEOF(char,0)
 AC_CHECK_SIZEOF(int,0)
 
 
diff --git a/gcl/h/gclincl.h.in b/gcl/h/gclincl.h.in
index be02da16e..41ed27d03 100644
--- a/gcl/h/gclincl.h.in
+++ b/gcl/h/gclincl.h.in
@@ -375,6 +375,9 @@
 /* have sigcontext of signal.h */
 #undef SIGNAL_H_HAS_SIGCONTEXT
 
+/* The size of `char', as computed by sizeof. */
+#undef SIZEOF_CHAR
+
 /* sizeof linked list for contiguous pages */
 #undef SIZEOF_CONTBLOCK
 
