From cac8a5c7dbbed96cb74fc2e6e711ba71e1d78b0f Mon Sep 17 00:00:00 2001 From: vlefevre Date: Wed, 12 Sep 2018 14:28:03 +0000 Subject: [tests/tests.c] Improved change in r13179 for mini-gmp. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13181 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tests.c | 7 +------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1