diff options
author | Tom Tromey <tom@tromey.com> | 2018-09-16 09:52:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-17 13:51:38 -0600 |
commit | da658607ed24bc5a4dcfcfb56b6e1440ccab33d2 (patch) | |
tree | bab667c70083ed86289b6748fb91ca51ceb703ce /gdb/configure | |
parent | d35da542a7a7f62b909cef636f69c9da928e7d9b (diff) | |
download | binutils-gdb-da658607ed24bc5a4dcfcfb56b6e1440ccab33d2.tar.gz |
Check for gmp when checking for mpfr
There was a report on irc that the gdb check for mpfr failed when only
static libraries are available. The issue is that mpfr depends on
gmp, but this is not handled explicitly by gdb.
Ideally upstream would switch to pkg-config. Or even more ideally, we
would incorporate pkg-config into the compiler and not mess with any
of this.
Meanwhile, this changes gdb's configure to add gmp to the link line
when checking for mpfr.
gdb/ChangeLog
2018-09-17 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* configure.ac: Use gmp as a library dependency when checking for
mpfr.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure index d92a256f1ff..e011b77414b 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= |