Fixes bug 172894 by checking at configure-time whether the

sizeof(void*) is 4.
This commit is contained in:
Abdulaziz Ghuloum 2007-12-01 22:41:36 -05:00
parent 113add26ac
commit fd3b347f1a
4 changed files with 841 additions and 246 deletions

View File

@ -144,6 +144,9 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

1076
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,12 @@ case "$target_os" in
;;
esac
AC_CHECK_SIZEOF(void *)
if (test $ac_cv_sizeof_void_p != 4); then
AC_MSG_ERROR([Ikarus can only run in 32-bit mode.])
fi
# Checks for libraries.
AC_SEARCH_LIBS(dlsym, dl,, [AC_MSG_ERROR([Cannot find libdl])])
AC_SEARCH_LIBS(cos, m,, [AC_MSG_ERROR([Cannot find libm])])

View File

@ -1 +1 @@
1162
1163