added --enable-full-liw to configure.ac

This commit is contained in:
hyunghwan.chung
2019-04-08 17:41:27 +00:00
parent cee7d61340
commit 4435124b32
7 changed files with 53 additions and 8 deletions

View File

@ -404,6 +404,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@

View File

@ -318,6 +318,9 @@
/* enable dynamic module capability */
#undef MOO_ENABLE_DYNAMIC_MODULE
/* Use a full word as a large integer word */
#undef MOO_ENABLE_FULL_LIW
/* use libltdl when loading a dynamic module */
#undef MOO_ENABLE_LIBLTDL

View File

@ -162,11 +162,11 @@ typedef struct moo_obj_word_t* moo_oop_word_t;
/* =========================================================================
* BIGINT TYPES AND MACROS
* ========================================================================= */
#if (MOO_SIZEOF_UINTMAX_T > MOO_SIZEOF_OOW_T)
/*# define MOO_USE_FULL_WORD*/
#if defined(MOO_ENABLE_FULL_LIW) && (MOO_SIZEOF_UINTMAX_T > MOO_SIZEOF_OOW_T)
# define MOO_LIW_IS_OOW
#endif
#if defined(MOO_USE_FULL_WORD)
#if defined(MOO_LIW_IS_OOW)
typedef moo_oow_t moo_liw_t; /* large integer word */
typedef moo_ooi_t moo_lii_t;
typedef moo_uintmax_t moo_lidw_t; /* large integer double word */