diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-02-20 12:31:34 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-02-20 12:31:34 +0000 |
commit | 5dafe3132e8465fd72380f3fe263e0055db8e4ee (patch) | |
tree | cab94c2b77c07f0e25b1084bb49fb8b0092d057f /acinclude.m4 | |
parent | 8b6bbe5078c987b40bfeccec84bba8324def5c8c (diff) | |
download | mpfr-5dafe3132e8465fd72380f3fe263e0055db8e4ee.tar.gz |
[acinclude.m4] Added a FIXME. Added a ";;" for safety.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12335 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index f31006c79..0ff756a64 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -815,6 +815,10 @@ dnl 'CFLAGS=-std=c99 -O3 -pedantic-errors -Wno-error=overlength-strings' dnl According to the GMP developers, a limb is always as large as a long, dnl except when __GMP_SHORT_LIMB is defined, but this is never defined: dnl https://gmplib.org/list-archives/gmp-discuss/2018-February/006190.html +dnl FIXME: This is not safe. The fact that __GMP_SHORT_LIMB cannot occur +dnl is not documented, and gmp.h has such a code probably because it may +dnl occur in the future (or the user may want to override the default +dnl choice). AC_DEFUN([MPFR_CHECK_MP_LIMB_T_VS_LONG], [ AC_REQUIRE([MPFR_CONFIGS]) AC_CACHE_CHECK([for long to fit in mp_limb_t], mpfr_cv_long_within_limb, [ @@ -834,7 +838,7 @@ case $mpfr_cv_long_within_limb in yes*) AC_DEFINE([MPFR_LONG_WITHIN_LIMB],1,[long can be stored in mp_limb_t]) ;; cannot*) - AC_DEFINE([MPFR_LONG_WITHIN_LIMB],1,[long can be stored in mp_limb_t]) + AC_DEFINE([MPFR_LONG_WITHIN_LIMB],1,[long can be stored in mp_limb_t]) ;; esac CPPFLAGS="$saved_CPPFLAGS" ]) |