mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
configure: Fix in-tree building of GMP on BSD [PR97302]
ChangeLog:
PR target/97302
* configure.ac: Only set with_gmp to /usr/local
if not building in tree.
* configure: Regenerate.
(cherry picked from commit c0d0a722da
)
This commit is contained in:
parent
ceae2c6772
commit
7cacf5a576
1
configure
vendored
1
configure
vendored
@ -3762,6 +3762,7 @@ case "${target}" in
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
|
||||
&& ! test -d ${srcdir}/gmp \
|
||||
&& test -f /usr/local/include/gmp.h; then
|
||||
with_gmp=/usr/local
|
||||
fi
|
||||
|
@ -1037,6 +1037,7 @@ case "${target}" in
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
|
||||
&& ! test -d ${srcdir}/gmp \
|
||||
&& test -f /usr/local/include/gmp.h; then
|
||||
with_gmp=/usr/local
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user