diff options
author | Joel Brobecker <brobecker@adacore.com> | 2020-11-15 03:07:45 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2020-11-15 03:07:45 -0500 |
commit | 2c947d9bc2ff3b84f1676b83577fe1bba05b4a5f (patch) | |
tree | d6b6b0bb010031ea838bf432a4a584896eaab205 /gdb/configure.ac | |
parent | 0eb994e572a58d2f9421429e2610cdd36dea78c0 (diff) | |
download | gdb-2c947d9bc2ff3b84f1676b83577fe1bba05b4a5f.zip gdb-2c947d9bc2ff3b84f1676b83577fe1bba05b4a5f.tar.gz gdb-2c947d9bc2ff3b84f1676b83577fe1bba05b4a5f.tar.bz2 |
gdb/configure: Add --with-libgmp-prefix option
This patch allows a user to tell gdb's configure script where
his GMP library is installed.
gdb/ChangeLog:
* configure.ac: Add support for --with-libgmp-prefix.
* Makefile.in (LIBGMP): New variable.
(CLIBS): Include $(LIBGMP).
* configure, config.in: Regenerate
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 1b9548e..0264a4f 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -683,6 +683,11 @@ 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);]) + AC_ARG_WITH(mpfr, AS_HELP_STRING([--with-mpfr], [include MPFR support (auto/yes/no)]), [], [with_mpfr=auto]) |