summaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.c')
-rw-r--r--tests/tests.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/tests.c b/tests/tests.c
index 4833ef2f7..c9259d54f 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -154,7 +154,6 @@ test_version (void)
(sprintf (buffer, "%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR),
strcmp (buffer, gmp_version) != 0)))
err = 1;
-#endif
/* In some cases, it may be acceptable to have different versions for
the header and the library, in particular when shared libraries are
@@ -169,13 +168,8 @@ test_version (void)
installations). */
if (err)
{
-#ifndef MPFR_USE_MINI_GMP
printf ("ERROR! The versions of gmp.h (%s) and libgmp (%s) do not "
"match.\nThe possible causes are:\n", buffer, gmp_version);
-#else /* libgmp is not defined in mini-gmp */
- printf ("ERROR! The versions of gmp.h (%s) and libgmp do not "
- "match.\nThe possible causes are:\n", buffer);
-#endif
printf (" * A bad configuration in your include/library search paths.\n"
" * An inconsistency in the include/library search paths of\n"
" your development environment; an example:\n"
@@ -189,6 +183,7 @@ test_version (void)
" with MPFR.\nIf some other tests fail, please solve that"
" problem first.\n");
}
+#endif
/* VL: I get the following error on an OpenSUSE machine, and changing
the value of shlibpath_overrides_runpath in the libtool file from