summaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-16 09:52:09 -0600
committerTom Tromey <tom@tromey.com>2018-09-17 13:51:38 -0600
commitda658607ed24bc5a4dcfcfb56b6e1440ccab33d2 (patch)
treebab667c70083ed86289b6748fb91ca51ceb703ce /gdb/configure
parentd35da542a7a7f62b909cef636f69c9da928e7d9b (diff)
downloadbinutils-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-xgdb/configure2
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=