mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
configure: remove dependencies on gmp and mpfr when gdb is disabled
Since 9911806278
, the configure checks
about GMP and MPFR for gdb builds have been moved to the toplevel
configure.
However, it doesn't take into account the --disable-gdb option. Meaning
that a build without gdb will require these libraries even if not
needed.
ChangeLog:
* configure.ac: Skip GMP and MPFR when --disable-gdb is
provided.
* configure: Regenerate.
This commit is contained in:
parent
dcd4699253
commit
5fb0e30857
4
configure
vendored
4
configure
vendored
@ -8032,7 +8032,9 @@ if test -d ${srcdir}/gcc ; then
|
||||
require_mpc=yes
|
||||
fi
|
||||
if test -d ${srcdir}/gdb ; then
|
||||
require_gmp=yes
|
||||
if test "x$enable_gdb" != xno; then
|
||||
require_gmp=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
gmplibs="-lmpfr -lgmp"
|
||||
|
@ -1585,7 +1585,9 @@ if test -d ${srcdir}/gcc ; then
|
||||
require_mpc=yes
|
||||
fi
|
||||
if test -d ${srcdir}/gdb ; then
|
||||
require_gmp=yes
|
||||
if test "x$enable_gdb" != xno; then
|
||||
require_gmp=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
gmplibs="-lmpfr -lgmp"
|
||||
|
Loading…
Reference in New Issue
Block a user