aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/configure.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-08-14 04:24:30 +0000
committerDJ Delorie <dj@redhat.com>2009-08-14 04:24:30 +0000
commit340cf1cfb699a8b49b8a93967a3ac5c23dd00453 (patch)
treec6c9d6571ec7afca88c7c2fd07f51a0877fef243 /sim/m32c/configure.in
parenta109e2f5583d186cb85203cf65900b6dd138993d (diff)
downloadgdb-340cf1cfb699a8b49b8a93967a3ac5c23dd00453.zip
gdb-340cf1cfb699a8b49b8a93967a3ac5c23dd00453.tar.gz
gdb-340cf1cfb699a8b49b8a93967a3ac5c23dd00453.tar.bz2
* configure.in: Check for sys/select.h, termios.h, sys/socket.h,
netinet/in.h, and netinet/tcp.h. * configure: Regenerate. * config.in: Add those headers. * main.c: Check for them. (setup_tcp_console): Disable if no networking. (main): Note missing networking or termios. * mem.c: Check for those headers. (stdin_ready): Disable if no termios. (m32c_sim_restore_console): Disable if no termios. (mem_get_byte): Disable console input if no termios.
Diffstat (limited to 'sim/m32c/configure.in')
-rw-r--r--sim/m32c/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/m32c/configure.in b/sim/m32c/configure.in
index 80c1f8a..bca97ba 100644
--- a/sim/m32c/configure.in
+++ b/sim/m32c/configure.in
@@ -28,4 +28,6 @@ sinclude(../common/aclocal.m4)
# it by inlining the macro's contents.
sinclude(../common/common.m4)
+AC_CHECK_HEADERS(sys/select.h termios.h sys/socket.h netinet/in.h netinet/tcp.h)
+
SIM_AC_OUTPUT