aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-18 10:45:03 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 16:01:37 -0400
commitd3562f83a7b8a1ae6e333cd5561419d3da18fcb4 (patch)
tree86840ff577904573aa4699c2d2cd7dcb76a8d9a1 /sim/m4
parentc30420d82a0b743285cf8333f90ca85274632714 (diff)
downloadgdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.zip
gdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.tar.gz
gdb-d3562f83a7b8a1ae6e333cd5561419d3da18fcb4.tar.bz2
sim: unify toolchain probing logic
Move these options up to the common dir so we only test & export them once across all ports.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_common.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4
index b04d1c6..b9a5595 100644
--- a/sim/m4/sim_ac_common.m4
+++ b/sim/m4/sim_ac_common.m4
@@ -21,9 +21,9 @@ dnl
dnl See README-HACKING for more details.
AC_DEFUN([SIM_AC_COMMON],
[dnl
-SIM_AC_TOOLCHAIN
-
# Dependency checking.
+AC_REQUIRE([AC_PROG_CC])
+AC_REQUIRE([AC_PROG_INSTALL])
ZW_CREATE_DEPDIR
ZW_PROG_COMPILER_DEPENDENCIES([CC])