summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-03-21 01:35:28 +0100
committerKevin Ryde <user42@zip.com.au>2002-03-21 01:35:28 +0100
commit8c02df2e0865314b187e85f28e1124ed626342d2 (patch)
treef2eaedc9c6ccc935cf721ae9b272713393e5cf70 /aclocal.m4
parent6e729307fca0355ea070de00a068f6ad270c35b5 (diff)
downloadgmp-8c02df2e0865314b187e85f28e1124ed626342d2.tar.gz
Regenerate for:
* configure.in (HAVE_LIMB_BIG_ENDIAN, HAVE_LIMB_LITTLE_ENDIAN): Use an AH_VERBATIM and better explanation. * acinclude.m4 (GMP_C_DOUBLE_FORMAT): Similarly for the HAVE_DOUBLE constants.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m434
1 files changed, 19 insertions, 15 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index eee85297b..96d255c94 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1998,28 +1998,32 @@ else
fi
])
+AH_VERBATIM([HAVE_DOUBLE],
+[/* Define one (and only one) of the following for the format of a `double'.
+ If your format is not among these choices, or you don't know what it is,
+ then leave all of them undefined.
+ "IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
+ swapped, as used by ARM CPUs in little endian mode. */
+#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
+#undef HAVE_DOUBLE_IEEE_LITTLE_ENDIAN
+#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
+#undef HAVE_DOUBLE_VAX_D
+#undef HAVE_DOUBLE_VAX_G
+#undef HAVE_DOUBLE_CRAY_CFP])
+
case $gmp_cv_c_double_format in
"IEEE big endian")
- AC_DEFINE(HAVE_DOUBLE_IEEE_BIG_ENDIAN, 1,
- [Define if `double' is IEEE format, big endian])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_IEEE_BIG_ENDIAN, 1) ;;
"IEEE little endian")
- AC_DEFINE(HAVE_DOUBLE_IEEE_LITTLE_ENDIAN, 1,
- [Define if `double' is IEEE format, little endian])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_IEEE_LITTLE_ENDIAN, 1) ;;
"IEEE little endian, swapped halves")
- AC_DEFINE(HAVE_DOUBLE_IEEE_LITTLE_SWAPPED, 1,
- [Define if `double' is IEEE format, little endian, with halves swapped])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_IEEE_LITTLE_SWAPPED, 1) ;;
"VAX D")
- AC_DEFINE(HAVE_DOUBLE_VAX_D, 1, [Define if `double' is VAX D format])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_VAX_D, 1) ;;
"VAX G")
- AC_DEFINE(HAVE_DOUBLE_VAX_G, 1, [Define if `double' is VAX G format])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_VAX_G, 1) ;;
"Cray CFP")
- AC_DEFINE(HAVE_DOUBLE_CRAY_CFP, 1, [Define if `double' is Cray CFP format])
- ;;
+ AC_DEFINE(HAVE_DOUBLE_CRAY_CFP, 1) ;;
unknown*)
;;
*)