Fixes bug 172894 by checking at configure-time whether the
sizeof(void*) is 4.
This commit is contained in:
parent
113add26ac
commit
fd3b347f1a
|
@ -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
|
||||
|
||||
|
|
|
@ -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])])
|
||||
|
|
|
@ -1 +1 @@
|
|||
1162
|
||||
1163
|
||||
|
|
Loading…
Reference in New Issue