mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
configure: remove dependencies on gmp and mpfr when gdb is disabled
Since 91e0d22025
, 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
55f813f5cd
commit
5977d14a60
2
configure
vendored
2
configure
vendored
@ -7913,7 +7913,9 @@ if test -d ${srcdir}/gcc ; then
|
|||||||
require_mpc=yes
|
require_mpc=yes
|
||||||
fi
|
fi
|
||||||
if test -d ${srcdir}/gdb ; then
|
if test -d ${srcdir}/gdb ; then
|
||||||
|
if test "x$enable_gdb" != xno; then
|
||||||
require_gmp=yes
|
require_gmp=yes
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gmplibs="-lmpfr -lgmp"
|
gmplibs="-lmpfr -lgmp"
|
||||||
|
@ -1489,7 +1489,9 @@ if test -d ${srcdir}/gcc ; then
|
|||||||
require_mpc=yes
|
require_mpc=yes
|
||||||
fi
|
fi
|
||||||
if test -d ${srcdir}/gdb ; then
|
if test -d ${srcdir}/gdb ; then
|
||||||
|
if test "x$enable_gdb" != xno; then
|
||||||
require_gmp=yes
|
require_gmp=yes
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gmplibs="-lmpfr -lgmp"
|
gmplibs="-lmpfr -lgmp"
|
||||||
|
Loading…
Reference in New Issue
Block a user