revert the ill-considered part of 2001-05-23 changes
This commit is contained in:
parent
f4e0611e99
commit
f3f70257a3
4 changed files with 9 additions and 27 deletions
16
configure.in
16
configure.in
|
|
@ -179,20 +179,8 @@ fi
|
|||
|
||||
AC_CHECK_SIZEOF(void *)
|
||||
|
||||
if test "$ac_cv_sizeof_long" -eq "$ac_cv_sizeof_void_p"; then
|
||||
AC_DEFINE(SCM_BITS_T, long)
|
||||
AC_DEFINE(SCM_UBITS_T, unsigned long)
|
||||
AC_DEFINE(SCM_SIZEOF_BITS_T, SIZEOF_LONG)
|
||||
elif test \( "$scm_cv_long_longs" = yes \) -a \( "$ac_cv_sizeof_long_long" -eq "$ac_cv_sizeof_void_p" \); then
|
||||
AC_DEFINE(SCM_BITS_T, long long)
|
||||
AC_DEFINE(SCM_UBITS_T, unsigned long long)
|
||||
AC_DEFINE(SCM_SIZEOF_BITS_T, SIZEOF_LONG_LONG)
|
||||
elif test "$ac_cv_sizeof_int" -eq "$ac_cv_sizeof_void_p"; then
|
||||
AC_DEFINE(SCM_BITS_T, int)
|
||||
AC_DEFINE(SCM_UBITS_T, unsigned int)
|
||||
AC_DEFINE(SCM_SIZEOF_BITS_T, SIZEOF_INT)
|
||||
else
|
||||
AC_MSG_ERROR(cannot find an integral type capable of storing a pointer: "$ac_cv_sizeof_void_p" bytes)
|
||||
if test "$ac_cv_sizeof_long" -ne "$ac_cv_sizeof_void_p"; then
|
||||
AC_MSG_ERROR(sizes of long and void* are not identical)
|
||||
fi
|
||||
|
||||
AC_HEADER_STDC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue