From 8387f0198e7a925d9d0754b2befb021ffa1307d7 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 4 Jan 2012 11:37:47 +0000 Subject: Store the word size as determined by configure, in the settings file (#5735) Now target32bit works for all targets without any manual intervention, as it should do. #5735 was a portability regression. --- distrib/configure.ac.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'distrib/configure.ac.in') diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index a9fc134021..458f5f433f 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -90,6 +90,11 @@ FPTOOLS_SET_HASKELL_PLATFORM_VARS FP_SETTINGS +dnl WordSize for settings.in +AC_CHECK_SIZEOF(void *, 4) +WordSize=$ac_cv_sizeof_void_p +AC_SUBST(WordSize) + # dnl ** how to invoke `ar' and `ranlib' # -- cgit v1.2.1