aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 23:44:36 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-18 23:53:01 -0400
commit2c2645d7a8b0498d7b581eae709e0f2ba51dcfe6 (patch)
treecb26bf3fc746efd5a11e313ef9e5285cb7388e52 /sim/m32c/configure.ac
parent41e166b43b16db5980a5fe011c0165642ee1708a (diff)
downloadgdb-2c2645d7a8b0498d7b581eae709e0f2ba51dcfe6.zip
gdb-2c2645d7a8b0498d7b581eae709e0f2ba51dcfe6.tar.gz
gdb-2c2645d7a8b0498d7b581eae709e0f2ba51dcfe6.tar.bz2
sim: switch to AC_CHECK_HEADERS_ONCE
This avoids duplicate tests for headers between common m4, arches, and any other sources that would trigger header tests.
Diffstat (limited to 'sim/m32c/configure.ac')
-rw-r--r--sim/m32c/configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/sim/m32c/configure.ac b/sim/m32c/configure.ac
index 789bce4..a69fa12 100644
--- a/sim/m32c/configure.ac
+++ b/sim/m32c/configure.ac
@@ -25,6 +25,12 @@ SIM_AC_COMMON
SIM_AC_OPTION_WARNINGS(no)
-AC_CHECK_HEADERS(sys/select.h termios.h sys/socket.h netinet/in.h netinet/tcp.h)
+AC_CHECK_HEADERS_ONCE(m4_flatten([
+ termios.h
+ netinet/in.h
+ netinet/tcp.h
+ sys/select.h
+ sys/socket.h
+]))
SIM_AC_OUTPUT