]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32c/configure.ac
sim: switch to AC_CHECK_HEADERS_ONCE
[thirdparty/binutils-gdb.git] / sim / m32c / configure.ac
index 789bce45a02965d3a7cb9f8cef50ea9c55351ace..a69fa128293261c3984e953c5aec5db2c7278135 100644 (file)
@@ -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