summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-04-02 09:45:31 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-04-02 09:45:31 +0000
commit1afc7b05cbae43d2720ad234ce0c08d2e23645ce (patch)
tree9f9cd3d976c8831861cfc980d663fa6dc5c119b5 /tests
parentf88296b2e7fd5f3bfd4a0652accd3360af39680a (diff)
downloadmpfr-1afc7b05cbae43d2720ad234ce0c08d2e23645ce.tar.gz
[tests/tversion.c] Output whether MPFR is built with the GMP build,
and the MPFR_ALLOCA_MAX value if not. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13851 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tversion.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tversion.c b/tests/tversion.c
index c81eb3c02..0d903c82e 100644
--- a/tests/tversion.c
+++ b/tests/tversion.c
@@ -290,6 +290,12 @@ main (void)
err = 1;
}
+#if defined(MPFR_HAVE_GMP_IMPL)
+ (puts) ("[tversion] MPFR built with the GMP build (--with-gmp-build)");
+#else
+ (printf) ("[tversion] MPFR_ALLOCA_MAX = %ld\n", (long) MPFR_ALLOCA_MAX);
+#endif
+
if (
#ifdef MPFR_WANT_SHARED_CACHE
!