summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-07-29 15:44:01 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-07-29 15:44:01 +0000
commitd20008c0abb9ab978a3406442ac15474504a014b (patch)
tree4a521b9faafa8e3720b2c3c471cf2865cf143a79
parent315158a8ac1af1c4aa565c44448b93112670eacf (diff)
downloadguile-d20008c0abb9ab978a3406442ac15474504a014b.tar.gz
Check for sizes of size_t and intmax_t.
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4a38ed2be..e47c76dad 100644
--- a/configure.in
+++ b/configure.in
@@ -240,6 +240,7 @@ AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(intptr_t)
AC_CHECK_SIZEOF(uintptr_t)
AC_CHECK_SIZEOF(ptrdiff_t)
+AC_CHECK_SIZEOF(size_t)
if test "$ac_cv_sizeof_long" -ne "$ac_cv_sizeof_void_p"; then
AC_MSG_ERROR(sizes of long and void* are not identical)
@@ -255,6 +256,8 @@ AC_SUBST([SCM_I_GSC_T_PTRDIFF])
AC_CHECK_HEADERS([stdint.h])
AC_CHECK_HEADERS([inttypes.h])
+AC_CHECK_SIZEOF(intmax_t)
+
SCM_I_GSC_NEEDS_STDINT_H=0
SCM_I_GSC_NEEDS_INTTYPES_H=0