diff options
| author | Paul Reilly | 1994-04-30 23:08:15 +0000 |
|---|---|---|
| committer | Paul Reilly | 1994-04-30 23:08:15 +0000 |
| commit | e9778f0be7288b5471fb5ee51dbff166c47e6fcf (patch) | |
| tree | 2f46be25b306383a2ab8f68c6695e717e25beb60 /src | |
| parent | 5be71b2977cfff962c27e9c0177d3e37879ee57f (diff) | |
| download | emacs-e9778f0be7288b5471fb5ee51dbff166c47e6fcf.tar.gz emacs-e9778f0be7288b5471fb5ee51dbff166c47e6fcf.zip | |
Initial revision
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/dgux5-4R2.h | 46 | ||||
| -rw-r--r-- | src/s/dgux5-4R3.h | 59 |
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 00000000000..e13d50be4b4 --- /dev/null +++ b/src/s/dgux5-4R2.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | ||
| 2 | 5.4 Release 2.xx systems. | ||
| 3 | Copyright (C) 1994 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 20 | |||
| 21 | #include "dgux.h" | ||
| 22 | |||
| 23 | /* There is a known kernel bug in DGUX 5.4R2.xx when using | ||
| 24 | INTERRUPT_INPUT and invoking Emacs with a job control shell (csh, | ||
| 25 | ksh, etc.) in the background. This bug manifests itself by | ||
| 26 | outputting `stop on tty output' and hanging. The workaround is to | ||
| 27 | set BROKEN_FIONREAD. | ||
| 28 | -pmr@pajato.com */ | ||
| 29 | |||
| 30 | #ifndef BROKEN_FIONREAD | ||
| 31 | #define BROKEN_FIONREAD | ||
| 32 | #endif | ||
| 33 | #ifdef INTERRUPT_INPUT | ||
| 34 | #undef INTERRUPT_INPUT | ||
| 35 | #endif | ||
| 36 | |||
| 37 | /* In DGUX 5.4R2.xx the function inet_addr() returns a `struct | ||
| 38 | in_addr' instead of the more common `unsigned long'. | ||
| 39 | -pmr@pajato.com */ | ||
| 40 | |||
| 41 | #define HAVE_BROKEN_INET_ADDR | ||
| 42 | |||
| 43 | #if 0 /* Shawn M. Carey <smcarey@mailbox.syr.edu> found this | ||
| 44 | caused trouble on DGUX 5.4.2. */ | ||
| 45 | #define LIBS_SYSTEM -ldgc | ||
| 46 | #endif | ||
diff --git a/src/s/dgux5-4R3.h b/src/s/dgux5-4R3.h new file mode 100644 index 00000000000..917549cfbc0 --- /dev/null +++ b/src/s/dgux5-4R3.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | ||
| 2 | version 5.4 Release 3.00 and above. | ||
| 3 | Copyright (C) 1994 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 20 | |||
| 21 | /* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5 | ||
| 22 | compiler. You must upgraded to at least gcc-2.5.8. If you are | ||
| 23 | running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu | ||
| 24 | for gcc-2.5.8 or later compiler. | ||
| 25 | -pmr@pajato.com */ | ||
| 26 | |||
| 27 | #include "dgux5.4R2.h" | ||
| 28 | |||
| 29 | /* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into | ||
| 30 | compliance wiht the majority of Unix systems. The workaround | ||
| 31 | introduced in 5.4R2 is no longer necessary. */ | ||
| 32 | |||
| 33 | #ifdef HAVE_BROKEN_INET_ADDR | ||
| 34 | #undef HAVE_BROKEN_INET_ADDR | ||
| 35 | #endif | ||
| 36 | |||
| 37 | /* The `stop on tty output' problem which occurs when using | ||
| 38 | INTERRUPT_INPUT and when Emacs is invoked under X11 using a job | ||
| 39 | control shell (csh, ksh, etc.) in the background has not been fixed in | ||
| 40 | DGUX 5.4R3.00. | ||
| 41 | -pmr@pajato.com */ | ||
| 42 | |||
| 43 | #if 0 | ||
| 44 | #ifdef BROKEN_FIONREAD | ||
| 45 | #undef BROKEN_FIONREAD | ||
| 46 | #endif | ||
| 47 | #ifndef INTERRUPT_INPUT | ||
| 48 | #define INTERRUPT_INPUT | ||
| 49 | #endif | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* Under DGUX 5.4R3.00, getting a debuggable executable has been | ||
| 53 | greatly simplified and applies to either COFF or ELF | ||
| 54 | environments. */ | ||
| 55 | |||
| 56 | #ifdef C_DEBUG_SWITCH | ||
| 57 | #undef C_DEBUG_SWITCH | ||
| 58 | #define C_DEBUG_SWITCH -g | ||
| 59 | #endif | ||