Mercurial > hg > octave-nkf
comparison configure.in @ 136:9ef78c73006d
[project @ 1993-09-29 20:27:55 by jwe]
Also check for termios.h.
author | jwe |
---|---|
date | Wed, 29 Sep 1993 20:27:55 +0000 |
parents | 74f0d57ee66c |
children | 5df24be56562 |
comparison
equal
deleted
inserted
replaced
135:7aea883afd29 | 136:9ef78c73006d |
---|---|
275 VOID_SIGHANDLER="-DVOID_SIGHANDLER=1" | 275 VOID_SIGHANDLER="-DVOID_SIGHANDLER=1" |
276 ;; | 276 ;; |
277 esac | 277 esac |
278 AC_SUBST(VOID_SIGHANDLER)dnl | 278 AC_SUBST(VOID_SIGHANDLER)dnl |
279 | 279 |
280 AC_HAVE_HEADERS(termio.h)dnl | 280 AC_HAVE_HEADERS(termios.h termio.h sgtty.h)dnl |
281 case "$DEFS" in | 281 case "$DEFS" in |
282 *HAVE_TERMIO_H*) | 282 *HAVE_TERMIOS_H* | *HAVE_TERMIO_H* | *HAVE_SGTTY_H*) |
283 ;; | 283 ;; |
284 *) | 284 *) |
285 AC_HAVE_HEADERS(sgtty.h)dnl | 285 echo "I couldn't find termios.h, termio.h, or sgtty.h!" |
286 case "$DEFS" in | 286 exit 1 |
287 *HAVE_SGTTY_H*) | 287 ;; |
288 ;; | |
289 *) | |
290 echo "I couldn't find either termio.h or sgtty.h!" | |
291 exit 1 | |
292 ;; | |
293 esac | |
294 ;; | |
295 esac | 288 esac |
296 | 289 |
297 # Hack for readline's sysdep.h | 290 # Hack for readline's sysdep.h |
298 | 291 |
299 case "$target_host_type" in | 292 case "$target_host_type" in |