* configure.in (m88*-harris-cxux7*): Recognize.
authorStan Shebs <shebs@codesourcery.com>
Sat, 16 Jul 1994 20:33:21 +0000 (20:33 +0000)
committerStan Shebs <shebs@codesourcery.com>
Sat, 16 Jul 1994 20:33:21 +0000 (20:33 +0000)
* sysdep-cxux7.h: New file.

readline/.Sanitize
readline/ChangeLog
readline/sysdep-cxux7.h [new file with mode: 0644]

index 69bf474..675b821 100644 (file)
@@ -1,8 +1,6 @@
-# Sanitize.in for devo.
-# $Id$
-#
+# .Sanitize for devo/readline.
 
-# Each directory to survive it's way into a release will need a file
+# Each directory to survive its way into a release will need a file
 # like this one called "./.Sanitize".  All keyword lines must exist,
 # and must exist in the order specified by this file.  Each directory
 # in the tree will be processed, top down, in the following order.
@@ -13,7 +11,7 @@
 
 # The lines between the "Do-first:" line and the "Things-to-keep:"
 # line are executed as a /bin/sh shell script before anything else is
-# done in this 
+# done in this directory. 
 
 Do-first:
 
@@ -52,6 +50,7 @@ rltty.c
 search.c
 signals.c
 sysdep-aix.h
+sysdep-cxux7.h
 sysdep-irix.h
 sysdep-norm.h
 sysdep-obsd.h
index 6237ad2..0351e4d 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jul 16 13:26:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * configure.in (m88*-harris-cxux7*): Recognize.
+       * sysdep-cxux7.h: New file.
+
 Fri Jul  8 13:18:33 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
 
        * rttty.c (control_meta_key_on): Remove superfluous testing of
diff --git a/readline/sysdep-cxux7.h b/readline/sysdep-cxux7.h
new file mode 100644 (file)
index 0000000..eba3644
--- /dev/null
@@ -0,0 +1,18 @@
+/* System-dependent stuff, for Harris CX/UX systems */
+
+#ifndef alloca                         /* May be a macro, with args. */
+extern char *alloca ();
+#endif
+
+#include <sys/types.h>                 /* Needed by dirent.h */
+#include <sys/stream.h>
+#include <dirent.h>
+typedef struct dirent dirent;
+
+/* SVR4 systems should use <termios.h> rather than <termio.h>. */
+#define _POSIX_VERSION
+
+/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
+   definition in <termios.h>, since it's unconditionally defined in
+   <sys/ptem.h>. */
+#define _POSIX_SOURCE