changeset 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 7aea883afd29
children 5df24be56562
files configure.in
diffstat 1 files changed, 5 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Sep 29 16:15:12 1993 +0000
+++ b/configure.in	Wed Sep 29 20:27:55 1993 +0000
@@ -277,21 +277,14 @@
 esac
 AC_SUBST(VOID_SIGHANDLER)dnl
 
-AC_HAVE_HEADERS(termio.h)dnl
+AC_HAVE_HEADERS(termios.h termio.h sgtty.h)dnl
 case "$DEFS" in
-  *HAVE_TERMIO_H*)
+  *HAVE_TERMIOS_H* | *HAVE_TERMIO_H* | *HAVE_SGTTY_H*)
   ;;
   *)
-    AC_HAVE_HEADERS(sgtty.h)dnl
-    case "$DEFS" in
-      *HAVE_SGTTY_H*)
-      ;;
-      *)
-        echo "I couldn't find either termio.h or sgtty.h!"
-        exit 1
-        ;;
-    esac
-    ;;
+    echo "I couldn't find termios.h, termio.h, or sgtty.h!"
+    exit 1
+  ;;
 esac
 
 # Hack for readline's sysdep.h