diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ba2730272d..43c4753860 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-09-17 Tom Tromey + + * configure: Rebuild. + * configure.ac: Use gmp as a library dependency when checking for + mpfr. + 2018-09-17 Pedro Alves * python/py-inferior.c (find_inferior_object): Delete. diff --git a/gdb/configure b/gdb/configure index d92a256f1f..e011b77414 100755 --- a/gdb/configure +++ b/gdb/configure @@ -9837,7 +9837,7 @@ fi rpathdirs= ltrpathdirs= names_already_handled= - names_next_round='mpfr ' + names_next_round='mpfr gmp' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= diff --git a/gdb/configure.ac b/gdb/configure.ac index e38604cb65..f658da84e3 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -682,7 +682,7 @@ 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], [], [#include ], + AC_LIB_HAVE_LINKFLAGS([mpfr], [gmp], [#include ], [mpfr_exp_t exp; mpfr_t x; mpfr_frexp (&exp, x, x, MPFR_RNDN);]) if test "$HAVE_LIBMPFR" != yes; then