diff options
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index d0c54ad..6d749de 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -656,35 +656,8 @@ else fi fi -# Verify that we have a usable GMP library. -AC_LIB_HAVE_LINKFLAGS([gmp], [], [#include <gmp.h>], - [mpz_t n; - mpz_init (n);]) -if test "$HAVE_LIBGMP" != yes; then - AC_MSG_ERROR([GMP is missing or unusable]) -fi - -AC_ARG_WITH(mpfr, - AS_HELP_STRING([--with-mpfr], [include MPFR support (auto/yes/no)]), - [], [with_mpfr=auto]) -AC_MSG_CHECKING([whether to use MPFR]) -AC_MSG_RESULT([$with_mpfr]) - -if test "${with_mpfr}" = no; then - AC_MSG_WARN([MPFR support disabled; some features may be unavailable.]) - HAVE_LIBMPFR=no -else - AC_LIB_HAVE_LINKFLAGS([mpfr], [gmp], [#include <mpfr.h>], - [mpfr_exp_t exp; mpfr_t x; - mpfr_frexp (&exp, x, x, MPFR_RNDN);]) - if test "$HAVE_LIBMPFR" != yes; then - if test "$with_mpfr" = yes; then - AC_MSG_ERROR([MPFR is missing or unusable]) - else - AC_MSG_WARN([MPFR is missing or unusable; some features may be unavailable.]) - fi - fi -fi +AC_ARG_VAR(GMPLIBS,[How to link GMP]) +AC_ARG_VAR(GMPINC,[How to find GMP include files]) # --------------------- # # Check for libpython. # |