diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-06-07 22:32:04 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-06-07 22:32:04 +0200 |
commit | 8156bd2a3bd4c954be1f05a48de14ce04c105f7c (patch) | |
tree | 7fd9f4471509b1235d3b6d8a0af91d8ef1b498ae /aclocal.m4 | |
parent | 66369e174b9a09ab35ba742dc269413f52326c6a (diff) | |
download | gmp-8156bd2a3bd4c954be1f05a48de14ce04c105f7c.tar.gz |
Regenerate for:
* acinclude.m4 (GMP_C_SIZES): Fix _LONG_LONG_LIMB define for mp_limb_t
size test.
(GMP_FUNC_ALLOCA): Add dummy __GMP_BITS_PER_MP_LIMB for gmp-h.in work.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 7f19a7879..f9b2ec55d 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1415,8 +1415,9 @@ if test -n "$__GMP_BITS_PER_MP_LIMB" \ else AC_CHECK_SIZEOF(mp_limb_t,, [#include <stdio.h> -#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ -#define __GMP_BITS_PER_MP_LIMB 0 /* dummy for mpf_get_prec etc inlines */ +#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ +#define __GMP_BITS_PER_MP_LIMB 123 /* dummy for mpf_get_prec etc inlines */ +$DEFN_LONG_LONG_LIMB #include "$srcdir/gmp-h.in" ]) if test "$ac_cv_sizeof_mp_limb_t" = 0; then @@ -1496,7 +1497,8 @@ AC_DEFUN(GMP_FUNC_ALLOCA, AC_CACHE_CHECK([for alloca (via gmp-impl.h)], gmp_cv_func_alloca, [AC_TRY_LINK( -[#define __GMP_WITHIN_CONFIGURE 1 +[#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ +#define __GMP_BITS_PER_MP_LIMB 123 /* dummy for mpf_get_prec etc inlines */ #include "$srcdir/gmp-h.in" #include "$srcdir/gmp-impl.h"], [char *p = (char *) alloca (1);], |