aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorPaul Reilly <[email protected]>1994-04-30 23:08:15 +0000
committerPaul Reilly <[email protected]>1994-04-30 23:08:15 +0000
commite9778f0be7288b5471fb5ee51dbff166c47e6fcf (patch)
tree2f46be25b306383a2ab8f68c6695e717e25beb60 /src/s
parent5be71b2977cfff962c27e9c0177d3e37879ee57f (diff)
Initial revision
Diffstat (limited to 'src/s')
-rw-r--r--src/s/dgux5-4R2.h46
-rw-r--r--src/s/dgux5-4R3.h59
2 files changed, 105 insertions, 0 deletions
diff --git a/src/s/dgux5-4R2.h b/src/s/dgux5-4R2.h
new file mode 100644
index 0000000000..e13d50be4b
--- /dev/null
+++ b/src/s/dgux5-4R2.h
@@ -0,0 +1,46 @@
+/* Definitions file for GNU Emacs running on Data General's DG/UX
+ 5.4 Release 2.xx systems.
+ Copyright (C) 1994 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Emacs is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "dgux.h"
+
+/* There is a known kernel bug in DGUX 5.4R2.xx when using
+ INTERRUPT_INPUT and invoking Emacs with a job control shell (csh,
+ ksh, etc.) in the background. This bug manifests itself by
+ outputting `stop on tty output' and hanging. The workaround is to
+ set BROKEN_FIONREAD.
+
+#ifndef BROKEN_FIONREAD
+#define BROKEN_FIONREAD
+#endif
+#ifdef INTERRUPT_INPUT
+#undef INTERRUPT_INPUT
+#endif
+
+/* In DGUX 5.4R2.xx the function inet_addr() returns a `struct
+ in_addr' instead of the more common `unsigned long'.
+
+#define HAVE_BROKEN_INET_ADDR
+
+#if 0 /* Shawn M. Carey <[email protected]> found this
+ caused trouble on DGUX 5.4.2. */
+#define LIBS_SYSTEM -ldgc
+#endif
diff --git a/src/s/dgux5-4R3.h b/src/s/dgux5-4R3.h
new file mode 100644
index 0000000000..917549cfbc
--- /dev/null
+++ b/src/s/dgux5-4R3.h
@@ -0,0 +1,59 @@
+/* Definitions file for GNU Emacs running on Data General's DG/UX
+ version 5.4 Release 3.00 and above.
+ Copyright (C) 1994 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Emacs is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+/* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5
+ compiler. You must upgraded to at least gcc-2.5.8. If you are
+ running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu
+ for gcc-2.5.8 or later compiler.
+
+#include "dgux5.4R2.h"
+
+/* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into
+ compliance wiht the majority of Unix systems. The workaround
+ introduced in 5.4R2 is no longer necessary. */
+
+#ifdef HAVE_BROKEN_INET_ADDR
+#undef HAVE_BROKEN_INET_ADDR
+#endif
+
+/* The `stop on tty output' problem which occurs when using
+ INTERRUPT_INPUT and when Emacs is invoked under X11 using a job
+ control shell (csh, ksh, etc.) in the background has not been fixed in
+ DGUX 5.4R3.00.
+
+#if 0
+#ifdef BROKEN_FIONREAD
+#undef BROKEN_FIONREAD
+#endif
+#ifndef INTERRUPT_INPUT
+#define INTERRUPT_INPUT
+#endif
+#endif
+
+/* Under DGUX 5.4R3.00, getting a debuggable executable has been
+ greatly simplified and applies to either COFF or ELF
+ environments. */
+
+#ifdef C_DEBUG_SWITCH
+#undef C_DEBUG_SWITCH
+#define C_DEBUG_SWITCH -g
+#endif