diff options
author | DJ Delorie <dj@redhat.com> | 2009-08-14 04:24:30 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-08-14 04:24:30 +0000 |
commit | 340cf1cfb699a8b49b8a93967a3ac5c23dd00453 (patch) | |
tree | c6c9d6571ec7afca88c7c2fd07f51a0877fef243 /sim/m32c/configure.in | |
parent | a109e2f5583d186cb85203cf65900b6dd138993d (diff) | |
download | fsf-binutils-gdb-340cf1cfb699a8b49b8a93967a3ac5c23dd00453.zip fsf-binutils-gdb-340cf1cfb699a8b49b8a93967a3ac5c23dd00453.tar.gz fsf-binutils-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.in | 2 |
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 |