1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00

Check for header <stdint.h>. Check for uintptr_t

type.  Use AC_CHECK_TYPES for this.  Do not caus ptrdiff_t to be
`#defined'.
This commit is contained in:
Marius Vollmer 2001-06-14 17:36:03 +00:00
parent dc35f051e4
commit 480cd4aa39

View file

@ -165,10 +165,12 @@ AC_C_BIGENDIAN
AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long)
dnl by the pre C9X ANSI C standards, size_t & ptrdiff_t have to be dnl Check for integral types that can represent the range of pointers.
dnl representable by a standard integral type. since the largest dnl If these types don't exist on this platform, they are replaced by
dnl integer type in the pre-C9X ANSI C standards is long... dnl "unsigned long" and "long", respectively.
AC_CHECK_TYPE(ptrdiff_t, long)
AC_CHECK_HEADERS(stdint.h)
AC_CHECK_TYPES([uintptr_t, ptrdiff_t])
AC_CACHE_CHECK([for long longs], scm_cv_long_longs, AC_CACHE_CHECK([for long longs], scm_cv_long_longs,
AC_TRY_COMPILE(, AC_TRY_COMPILE(,