diff options
| author | Dan Nicolaescu | 2008-01-06 00:56:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-01-06 00:56:56 +0000 |
| commit | f3041af143f4ab74041fc918feee43aa8ac2da88 (patch) | |
| tree | a84bdb93b8f941075b511480aa283e2847fbbcac /src/s | |
| parent | 37d6e31370557ab868033dde113f11b54994e576 (diff) | |
| download | emacs-f3041af143f4ab74041fc918feee43aa8ac2da88.tar.gz emacs-f3041af143f4ab74041fc918feee43aa8ac2da88.zip | |
* configure.in: Remove references to unsupported systems.
* notes/copyright:
* MAINTAINERS: Remove references to files that have been removed.
* os.texi (System Environment): Remove references to OSes that are
not supported anymore.
* PROBLEMS:
* MACHINES: Remove references to systems not supported anymore.
* makefile.w32-in:
* Makefile.in: Remove references to Xenix.
* gnus.el (gnus-use-long-file-name): Remove reference to xenix.
* obsolete/x-apollo.el: Remove file for unsupported system.
* term/x-win.el (vendor-specific-keysyms): Remove reference to
Apollo.
* progmodes/gud.el (gud-dgux-p): Remove.
(dbx): Remove reference to dgux.
* progmodes/ps-mode.el (ps-mode-print-function):
* ps-print.el (ps-lp-system):
* paths.el (rmail-spool-directory):
* ls-lisp.el (ls-lisp-emulation):
* lpr.el (lpr-lp-system):
* dired.el (dired-chown-program): Remove references to dgux.
* m/7300.h:
* m/acorn.h:
* m/alliant-2800.h:
* m/alliant.h:
* m/alliant1.h:
* m/alliant4.h:
* m/altos.h:
* m/amdahl.h:
* m/apollo.h:
* m/att3b.h:
* m/aviion-intel.h:
* m/aviion.h:
* m/celerity.h:
* m/clipper.h:
* m/cnvrgnt.h:
* m/convex.h:
* m/cydra5.h:
* m/delta88k.h:
* m/dpx2.h:
* m/dual.h:
* m/elxsi.h:
* m/f301.h:
* m/gould-np1.h:
* m/gould.h:
* m/i860.h:
* m/ibmps2-aix.h:
* m/ibmrt-aix.h:
* m/ibmrt.h:
* m/irist.h:
* m/is386.h:
* m/isi-ov.h:
* m/mega68.h:
* m/mg1.h:
* m/news-r6.h:
* m/news-risc.h:
* m/news.h:
* m/nh3000.h:
* m/nh4000.h:
* m/ns16000.h:
* m/ns32000.h:
* m/nu.h:
* m/orion.h:
* m/orion105.h:
* m/paragon.h:
* m/pfa50.h:
* m/plexus.h:
* m/pyramid.h:
* m/pyrmips.h:
* m/sh3el.h:
* m/sps7.h:
* m/sr2k.h:
* m/stride.h:
* m/sun1.h:
* m/sun2.h:
* m/sun3-68881.h:
* m/sun3-fpa.h:
* m/sun3-soft.h:
* m/sun3.h:
* m/sun386.h:
* m/symmetry.h:
* m/tad68k.h:
* m/tahoe.h:
* m/targon31.h:
* m/tek4300.h:
* m/tekxd88.h:
* m/tower32.h:
* m/tower32v3.h:
* m/ustation.h:
* m/wicat.h:
* m/xps100.h:
* s/cxux.h:
* s/cxux7.h:
* s/dgux.h:
* s/dgux4.h:
* s/dgux5-4-3.h:
* s/dgux5-4r2.h:
* s/esix.h:
* s/esix5r4.h:
* s/hiuxmpp.h:
* s/hiuxwe2.h:
* s/iris3-5.h:
* s/iris3-6.h:
* s/isc2-2.h:
* s/isc3-0.h:
* s/isc4-0.h:
* s/isc4-1.h:
* s/newsos5.h:
* s/newsos6.h:
* s/osf1.h:
* s/osf5-0.h:
* s/riscix1-1.h:
* s/riscix12.h:
* s/sco4.h:
* s/sco5.h:
* s/sunos4-0.h:
* s/sunos4-1.h:
* s/sunos413.h:
* s/sunos4shr.h:
* s/umax.h:
* s/unipl5-2.h:
* s/xenix.h:
* cxux-crt0.s:
* unexapollo.c:
* unexconvex.c:
* unexenix.c:
* unexsni.c: Remove files for systems no longer supported.
* m/intel386.h: Remove references to unsupported systems.
* w32.c (get_emacs_configuration): Remove reference to i860.
* sysdep.c: Remove dead code.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/cxux.h | 236 | ||||
| -rw-r--r-- | src/s/cxux7.h | 10 | ||||
| -rw-r--r-- | src/s/dgux.h | 355 | ||||
| -rw-r--r-- | src/s/dgux4.h | 144 | ||||
| -rw-r--r-- | src/s/dgux5-4-3.h | 68 | ||||
| -rw-r--r-- | src/s/dgux5-4r2.h | 51 | ||||
| -rw-r--r-- | src/s/esix.h | 27 | ||||
| -rw-r--r-- | src/s/esix5r4.h | 27 | ||||
| -rw-r--r-- | src/s/hiuxmpp.h | 67 | ||||
| -rw-r--r-- | src/s/hiuxwe2.h | 67 | ||||
| -rw-r--r-- | src/s/iris3-5.h | 166 | ||||
| -rw-r--r-- | src/s/iris3-6.h | 163 | ||||
| -rw-r--r-- | src/s/isc2-2.h | 100 | ||||
| -rw-r--r-- | src/s/isc3-0.h | 70 | ||||
| -rw-r--r-- | src/s/isc4-0.h | 33 | ||||
| -rw-r--r-- | src/s/isc4-1.h | 35 | ||||
| -rw-r--r-- | src/s/newsos5.h | 53 | ||||
| -rw-r--r-- | src/s/newsos6.h | 9 | ||||
| -rw-r--r-- | src/s/osf1.h | 99 | ||||
| -rw-r--r-- | src/s/osf5-0.h | 25 | ||||
| -rw-r--r-- | src/s/riscix1-1.h | 9 | ||||
| -rw-r--r-- | src/s/riscix12.h | 29 | ||||
| -rw-r--r-- | src/s/sco4.h | 145 | ||||
| -rw-r--r-- | src/s/sco5.h | 175 | ||||
| -rw-r--r-- | src/s/sunos4-0.h | 75 | ||||
| -rw-r--r-- | src/s/sunos4-1.h | 36 | ||||
| -rw-r--r-- | src/s/sunos413.h | 16 | ||||
| -rw-r--r-- | src/s/sunos4shr.h | 84 | ||||
| -rw-r--r-- | src/s/umax.h | 170 | ||||
| -rw-r--r-- | src/s/unipl5-2.h | 160 | ||||
| -rw-r--r-- | src/s/xenix.h | 212 |
31 files changed, 0 insertions, 2916 deletions
diff --git a/src/s/cxux.h b/src/s/cxux.h deleted file mode 100644 index d5abebf1ae1..00000000000 --- a/src/s/cxux.h +++ /dev/null | |||
| @@ -1,236 +0,0 @@ | |||
| 1 | /* Header file for Harris CXUX. | ||
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | /* #define UNIPLUS */ | ||
| 29 | #define USG5 | ||
| 30 | #define USG | ||
| 31 | /* #define HPUX */ | ||
| 32 | /* #define UMAX */ | ||
| 33 | /* #define BSD4_1 */ | ||
| 34 | /* #define BSD4_2 */ | ||
| 35 | /* #define BSD4_3 */ | ||
| 36 | /* #define BSD_SYSTEM */ | ||
| 37 | /* #define VMS */ | ||
| 38 | |||
| 39 | #ifndef _CX_UX | ||
| 40 | #define _CX_UX 1 | ||
| 41 | #endif | ||
| 42 | |||
| 43 | /* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced | ||
| 44 | * support for ELF files, and while we still build emacs in COFF format, the | ||
| 45 | * way it is linked is different for 7.0). | ||
| 46 | */ | ||
| 47 | /* #define USING_CX_UX_7 */ | ||
| 48 | |||
| 49 | #ifdef USING_CX_UX_7 | ||
| 50 | #define LINKER /usr/sde/coff/usr/bin/ld | ||
| 51 | #define LD_SWITCH_SYSTEM -L/usr/sde/coff/usr/lib -zzero_word | ||
| 52 | #define START_FILES pre-crt0.o /usr/sde/coff/usr/lib/crt0.o /usr/sde/coff/usr/lib/m88100.o | ||
| 53 | #else /* !USING_CX_UX_7 */ | ||
| 54 | #ifdef _M88K | ||
| 55 | #define START_FILES pre-crt0.o /lib/crt0.o | ||
| 56 | #else | ||
| 57 | #define START_FILES cxux-crt0.o /lib/crt0.o | ||
| 58 | #endif | ||
| 59 | #endif /* USING_CX_UX_7 */ | ||
| 60 | |||
| 61 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 62 | It sets the Lisp variable system-type. */ | ||
| 63 | |||
| 64 | #define SYSTEM_TYPE "usg-unix-v" | ||
| 65 | |||
| 66 | #define C_SWITCH_SYSTEM -Xa | ||
| 67 | |||
| 68 | #define POSIX_SIGNALS | ||
| 69 | |||
| 70 | /* With POSIX signals, also need to use sigaction rather than signal to | ||
| 71 | * setup signal handlers | ||
| 72 | */ | ||
| 73 | #define signal sys_signal | ||
| 74 | |||
| 75 | /* NOMULTIPLEJOBS should be defined if your system's shell | ||
| 76 | does not have "job control" (the ability to stop a program, | ||
| 77 | run some other program, then continue the first one). */ | ||
| 78 | |||
| 79 | /* #define NOMULTIPLEJOBS */ | ||
| 80 | |||
| 81 | /* Emacs can read input using SIGIO and buffering characters itself, | ||
| 82 | or using CBREAK mode and making C-g cause SIGINT. | ||
| 83 | The choice is controlled by the variable interrupt_input. | ||
| 84 | |||
| 85 | Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | ||
| 86 | |||
| 87 | Emacs uses the presence or absence of the SIGIO macro to indicate | ||
| 88 | whether or not signal-driven I/O is possible. It uses | ||
| 89 | INTERRUPT_INPUT to decide whether to use it by default. | ||
| 90 | |||
| 91 | SIGIO can be used only on systems that implement it (4.2 and 4.3). | ||
| 92 | CBREAK mode has two disadvantages | ||
| 93 | 1) At least in 4.2, it is impossible to handle the Meta key properly. | ||
| 94 | I hear that in system V this problem does not exist. | ||
| 95 | 2) Control-G causes output to be discarded. | ||
| 96 | I do not know whether this can be fixed in system V. | ||
| 97 | |||
| 98 | Another method of doing input is planned but not implemented. | ||
| 99 | It would have Emacs fork off a separate process | ||
| 100 | to read the input and send it to the true Emacs process | ||
| 101 | through a pipe. */ | ||
| 102 | |||
| 103 | #define INTERRUPT_INPUT | ||
| 104 | /* #define BROKEN_FIONREAD */ | ||
| 105 | |||
| 106 | /* Letter to use in finding device name of first pty, | ||
| 107 | if system supports pty's. 'a' means it is /dev/ptya0 */ | ||
| 108 | |||
| 109 | #define FIRST_PTY_LETTER 'A' | ||
| 110 | #define PTY_ITERATION for (c = 'A'; c <= 'P'; c++) for (i = 0; i < 16; i++) | ||
| 111 | |||
| 112 | /* | ||
| 113 | * Define HAVE_TERMIOS if the system provides POSIX-style | ||
| 114 | * functions and macros for terminal control. | ||
| 115 | * | ||
| 116 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 117 | * for terminal control. | ||
| 118 | * | ||
| 119 | * Do not define both. HAVE_TERMIOS is preferred, if it is | ||
| 120 | * supported on your system. | ||
| 121 | */ | ||
| 122 | |||
| 123 | #define HAVE_TERMIOS | ||
| 124 | /* #define HAVE_TERMIO */ | ||
| 125 | #define NO_TERMIO | ||
| 126 | |||
| 127 | /* | ||
| 128 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 129 | */ | ||
| 130 | |||
| 131 | #define HAVE_PTYS | ||
| 132 | |||
| 133 | /* | ||
| 134 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 135 | * The 4.2 opendir, etc., library functions. | ||
| 136 | */ | ||
| 137 | |||
| 138 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 139 | |||
| 140 | #define SYSV_SYSTEM_DIR | ||
| 141 | |||
| 142 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 143 | |||
| 144 | #define BSTRING | ||
| 145 | |||
| 146 | /* subprocesses should be defined if you want to | ||
| 147 | have code for asynchronous subprocesses | ||
| 148 | (as used in M-x compile and M-x shell). | ||
| 149 | This is generally OS dependent, and not supported | ||
| 150 | under most USG systems. */ | ||
| 151 | |||
| 152 | #define subprocesses | ||
| 153 | |||
| 154 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 155 | preprocessor symbol "COFF". */ | ||
| 156 | |||
| 157 | #define COFF | ||
| 158 | |||
| 159 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 160 | to interlock access to /usr/spool/mail/$USER. | ||
| 161 | The alternative is that a lock file named | ||
| 162 | /usr/spool/mail/$USER.lock. */ | ||
| 163 | |||
| 164 | #define MAIL_USE_FLOCK | ||
| 165 | |||
| 166 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 167 | so that Emacs can tell instantly when you try to modify | ||
| 168 | a file that someone else has modified in his Emacs. */ | ||
| 169 | |||
| 170 | #define CLASH_DETECTION | ||
| 171 | |||
| 172 | /* Define this if your operating system declares signal handlers to | ||
| 173 | have a type other than the usual. `The usual' is `void' for ANSI C | ||
| 174 | systems (i.e. when the __STDC__ macro is defined), and `int' for | ||
| 175 | pre-ANSI systems. If you're using GCC on an older system, __STDC__ | ||
| 176 | will be defined, but the system's include files will still say that | ||
| 177 | signal returns int or whatever; in situations like that, define | ||
| 178 | this to be what the system's include files want. */ | ||
| 179 | /* #define SIGTYPE int */ | ||
| 180 | #define SIGTYPE void | ||
| 181 | |||
| 182 | /* If the character used to separate elements of the executable path | ||
| 183 | is not ':', #define this to be the appropriate character constant. */ | ||
| 184 | /* #define SEPCHAR ':' */ | ||
| 185 | |||
| 186 | /* Here, on a separate page, add any special hacks needed | ||
| 187 | to make Emacs work on this system. For example, | ||
| 188 | you might define certain system call names that don't | ||
| 189 | exist on your system, or that do different things on | ||
| 190 | your system and must be used only through an encapsulation | ||
| 191 | (Which you should place, by convention, in sysdep.c). */ | ||
| 192 | |||
| 193 | /* Yes! The Night Hawk has sockets! */ | ||
| 194 | |||
| 195 | #define HAVE_SOCKETS | ||
| 196 | |||
| 197 | /* The symbol in the kernel where the load average is found | ||
| 198 | is named _avenrun. */ | ||
| 199 | |||
| 200 | #define LDAV_SYMBOL "_avenrun" | ||
| 201 | |||
| 202 | #define KERNEL_FILE "/unix" | ||
| 203 | |||
| 204 | /* There are too many kludges required to redefine malloc - use the system | ||
| 205 | one */ | ||
| 206 | #define SYSTEM_MALLOC | ||
| 207 | |||
| 208 | #define _setjmp setjmp | ||
| 209 | #define _longjmp longjmp | ||
| 210 | |||
| 211 | /* const really does work, but I can't get configure to run the C compiler | ||
| 212 | * with the right options so it figures that out. | ||
| 213 | */ | ||
| 214 | #undef const | ||
| 215 | |||
| 216 | #ifdef sigmask | ||
| 217 | #undef sigmask | ||
| 218 | #endif | ||
| 219 | |||
| 220 | /* | ||
| 221 | * <pwd.h> already declares getpwuid, and with a uid_t argument in ANSI C | ||
| 222 | * mode. Define this so xrdb.c will compile | ||
| 223 | */ | ||
| 224 | #ifdef __STDC__ | ||
| 225 | #define DECLARE_GETPWUID_WITH_UID_T | ||
| 226 | #endif | ||
| 227 | |||
| 228 | /* Some compilers tend to put everything declared static | ||
| 229 | into the initialized data area, which becomes pure after dumping Emacs. | ||
| 230 | On these systems, you must #define static as nothing to foil this. | ||
| 231 | Note that emacs carefully avoids static vars inside functions. */ | ||
| 232 | |||
| 233 | /* #define static */ | ||
| 234 | |||
| 235 | /* arch-tag: 5febe5fe-f0b0-49cb-9280-9d5a9fa43710 | ||
| 236 | (do not change this comment) */ | ||
diff --git a/src/s/cxux7.h b/src/s/cxux7.h deleted file mode 100644 index b9ecf45f6bb..00000000000 --- a/src/s/cxux7.h +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | /* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced | ||
| 2 | * support for ELF files, and while we still build emacs in COFF format, the | ||
| 3 | * way it is linked is different for 7.0). | ||
| 4 | */ | ||
| 5 | #define USING_CX_UX_7 | ||
| 6 | |||
| 7 | #include "cxux.h" | ||
| 8 | |||
| 9 | /* arch-tag: 520cfbad-fd5c-4b3b-ace4-66e9bcd31a60 | ||
| 10 | (do not change this comment) */ | ||
diff --git a/src/s/dgux.h b/src/s/dgux.h deleted file mode 100644 index f7ce0a6fd38..00000000000 --- a/src/s/dgux.h +++ /dev/null | |||
| @@ -1,355 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | ||
| 2 | version 4.32 upto and including 5.4.1. | ||
| 3 | Copyright (C) 1994, 1999, 2001, 2002, 2003, 2004, | ||
| 4 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | /* #define UNIPLUS */ | ||
| 29 | /* #define USG5 */ | ||
| 30 | /* #define USG */ | ||
| 31 | /* #define HPUX */ | ||
| 32 | /* #define UMAX */ | ||
| 33 | /* #define BSD4_1 */ | ||
| 34 | #define BSD4_2 | ||
| 35 | #define BSD4_3 | ||
| 36 | #define BSD4_4 | ||
| 37 | #define BSD_SYSTEM | ||
| 38 | |||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 40 | It sets the Lisp variable system-type. */ | ||
| 41 | |||
| 42 | #define SYSTEM_TYPE "dgux" | ||
| 43 | |||
| 44 | /* NOMULTIPLEJOBS should be defined if your system's shell | ||
| 45 | does not have "job control" (the ability to stop a program, | ||
| 46 | run some other program, then continue the first one). */ | ||
| 47 | |||
| 48 | /* #define NOMULTIPLEJOBS */ | ||
| 49 | |||
| 50 | /* Emacs can read input using SIGIO and buffering characters itself, | ||
| 51 | or using CBREAK mode and making C-g cause SIGINT. | ||
| 52 | The choice is controlled by the variable interrupt_input. | ||
| 53 | Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | ||
| 54 | |||
| 55 | SIGIO can be used only on systems that implement it (4.2 and 4.3). | ||
| 56 | CBREAK mode has two disadvantages | ||
| 57 | 1) At least in 4.2, it is impossible to handle the Meta key properly. | ||
| 58 | I hear that in system V this problem does not exist. | ||
| 59 | 2) Control-G causes output to be discarded. | ||
| 60 | I do not know whether this can be fixed in system V. | ||
| 61 | |||
| 62 | Another method of doing input is planned but not implemented. | ||
| 63 | It would have Emacs fork off a separate process | ||
| 64 | to read the input and send it to the true Emacs process | ||
| 65 | through a pipe. | ||
| 66 | |||
| 67 | */ | ||
| 68 | |||
| 69 | #define INTERRUPT_INPUT | ||
| 70 | |||
| 71 | /* | ||
| 72 | * Define HAVE_SOCKETS if the system supports sockets. | ||
| 73 | */ | ||
| 74 | |||
| 75 | #define HAVE_SOCKETS | ||
| 76 | |||
| 77 | /* | ||
| 78 | * Define HAVE_UNIX_DOMAIN if the system supports Unix | ||
| 79 | * domain sockets. | ||
| 80 | */ | ||
| 81 | |||
| 82 | #define HAVE_UNIX_DOMAIN | ||
| 83 | |||
| 84 | /* | ||
| 85 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 86 | */ | ||
| 87 | |||
| 88 | #define HAVE_PTYS | ||
| 89 | |||
| 90 | /* | ||
| 91 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 92 | * The 4.2 opendir, etc., library functions. | ||
| 93 | */ | ||
| 94 | |||
| 95 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 96 | |||
| 97 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 98 | |||
| 99 | #define BSTRING | ||
| 100 | |||
| 101 | /* subprocesses should be defined if you want to | ||
| 102 | have code for asynchronous subprocesses | ||
| 103 | (as used in M-x compile and M-x shell). | ||
| 104 | This is generally OS dependent, and not supported | ||
| 105 | under most USG systems. */ | ||
| 106 | |||
| 107 | #define subprocesses | ||
| 108 | |||
| 109 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 110 | preprocessor symbol "COFF". | ||
| 111 | |||
| 112 | DGUX can use either COFF or ELF; the default is ELF. | ||
| 113 | To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE | ||
| 114 | environment variable. */ | ||
| 115 | |||
| 116 | #if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) | ||
| 117 | #undef ELF | ||
| 118 | #ifndef COFF | ||
| 119 | #define COFF | ||
| 120 | #endif /* COFF */ | ||
| 121 | #else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ | ||
| 122 | #undef COFF | ||
| 123 | #ifndef ELF | ||
| 124 | #define ELF | ||
| 125 | #endif /* ELF */ | ||
| 126 | #endif /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ | ||
| 127 | |||
| 128 | #ifndef COFF /* People will probably find this apparently unreliable | ||
| 129 | till the NFS dumping bug is fixed. */ | ||
| 130 | |||
| 131 | /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below | ||
| 132 | 5.4.1 the undump MUST be done on a local file system, or the kernel will | ||
| 133 | panic. ELF executables have the advantage of using shared libraries, | ||
| 134 | while COFF executables will still work on 4.2x systems. */ | ||
| 135 | |||
| 136 | #define UNEXEC unexelf.o | ||
| 137 | |||
| 138 | /* This makes sure that all segments in the executable are undumped, | ||
| 139 | not just text, data, and bss. In the case of Mxdb and shared | ||
| 140 | libraries, additional information is stored in other sections. | ||
| 141 | It does not hurt to have this defined if you don't use Mxdb or | ||
| 142 | shared libraries. In fact, it makes no difference. */ | ||
| 143 | |||
| 144 | /* Necessary for shared libraries and Mxdb debugging information. */ | ||
| 145 | #define USG_SHARED_LIBRARIES | ||
| 146 | #endif | ||
| 147 | |||
| 148 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 149 | to interlock access to /usr/spool/mail/$USER. | ||
| 150 | The alternative is that a lock file named | ||
| 151 | /usr/spool/mail/$USER.lock. */ | ||
| 152 | |||
| 153 | /* #define MAIL_USE_FLOCK */ | ||
| 154 | |||
| 155 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 156 | so that Emacs can tell instantly when you try to modify | ||
| 157 | a file that someone else has modified in his Emacs. */ | ||
| 158 | |||
| 159 | /* #define CLASH_DETECTION */ | ||
| 160 | |||
| 161 | /* Define a replacement for the baud rate switch, since DG/UX uses a different | ||
| 162 | from BSD. */ | ||
| 163 | |||
| 164 | #define BAUD_CONVERT { 0, 110, 134, 150, 300, 600, 1200, 1800, 2400, \ | ||
| 165 | 4800, 9600, 19200, 38400 } | ||
| 166 | |||
| 167 | /* | ||
| 168 | * Make WM Interface Compliant. | ||
| 169 | */ | ||
| 170 | |||
| 171 | #define XICCC | ||
| 172 | |||
| 173 | /* Here, on a separate page, add any special hacks needed | ||
| 174 | to make Emacs work on this system. For example, | ||
| 175 | you might define certain system call names that don't | ||
| 176 | exist on your system, or that do different things on | ||
| 177 | your system and must be used only through an encapsulation | ||
| 178 | (Which you should place, by convention, in sysdep.c). */ | ||
| 179 | |||
| 180 | /* Some compilers tend to put everything declared static | ||
| 181 | into the initialized data area, which becomes pure after dumping Emacs. | ||
| 182 | On these systems, you must #define static as nothing to foil this. | ||
| 183 | Note that emacs carefully avoids static vars inside functions. */ | ||
| 184 | |||
| 185 | /* #define static */ | ||
| 186 | |||
| 187 | /* DG/UX SPECIFIC ADDITIONS TO TEMPLATE FOLLOW: */ | ||
| 188 | |||
| 189 | /* Use the Berkeley flavors of the library routines, instead of System V. */ | ||
| 190 | |||
| 191 | #define setpgrp(pid,pgrp) setpgrp2(pid,pgrp) | ||
| 192 | #define getpgrp(pid) getpgrp2(pid) | ||
| 193 | |||
| 194 | /* Act like Berkeley. */ | ||
| 195 | |||
| 196 | #define _setjmp(env) sigsetjmp(env,0) | ||
| 197 | #define _longjmp(env,val) longjmp(env,val) | ||
| 198 | |||
| 199 | /* Use TERMINFO instead of termcap */ | ||
| 200 | |||
| 201 | #define TERMINFO | ||
| 202 | |||
| 203 | /* | ||
| 204 | * Send signals to subprocesses using characters. | ||
| 205 | * | ||
| 206 | */ | ||
| 207 | |||
| 208 | #define SIGNALS_VIA_CHARACTERS | ||
| 209 | |||
| 210 | /* | ||
| 211 | * Define HAVE_TERMIOS since this is POSIX, | ||
| 212 | * for terminal control. Prevent redundant inclusion of termio.h. | ||
| 213 | */ | ||
| 214 | |||
| 215 | #define HAVE_TERMIOS | ||
| 216 | #define NO_TERMIO | ||
| 217 | |||
| 218 | /* | ||
| 219 | * Use a Berkeley style sys/wait.h. | ||
| 220 | * This makes WIF* macros operate on structures instead of ints. | ||
| 221 | */ | ||
| 222 | |||
| 223 | #define _BSD_WAIT_FLAVOR | ||
| 224 | |||
| 225 | /* | ||
| 226 | * Use BSD and POSIX-style signals. This is crucial! | ||
| 227 | */ | ||
| 228 | |||
| 229 | /* #define SYSTEM_MALLOC */ | ||
| 230 | |||
| 231 | /* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ | ||
| 232 | #ifndef NOT_C_CODE | ||
| 233 | |||
| 234 | /* Make sure signal.h is included so macros below don't mess with it. */ | ||
| 235 | /* DG/UX include files prevent multiple inclusion. */ | ||
| 236 | |||
| 237 | #include <signal.h> | ||
| 238 | |||
| 239 | /* but undefine the sigmask and sigpause macros since they will get | ||
| 240 | #define'd later. */ | ||
| 241 | #undef sigmask | ||
| 242 | #undef sigpause | ||
| 243 | |||
| 244 | #define POSIX_SIGNALS | ||
| 245 | |||
| 246 | #ifndef NO_DGUX_SIGNAL_REDEF | ||
| 247 | /* Can't use sys_signal because then etc/server.c would need sysdep.o. */ | ||
| 248 | extern struct sigaction act, oact; | ||
| 249 | #define signal(SIG,FUNC) berk_signal(SIG,FUNC) | ||
| 250 | #endif | ||
| 251 | |||
| 252 | #endif /* not NOT_C_CODE */ | ||
| 253 | |||
| 254 | #ifndef __GNUC__ | ||
| 255 | #error You must use GCC to compiler Emascs on DGUX | ||
| 256 | #endif | ||
| 257 | |||
| 258 | #define ORDINARY_LINK | ||
| 259 | #define START_FILES pre-crt0.o | ||
| 260 | #define LIB_GCC /usr/lib/gcc/libgcc.a | ||
| 261 | |||
| 262 | #ifdef _M88KBCS_TARGET | ||
| 263 | /* Karl Berry says: the environment | ||
| 264 | recommended by gcc (88/open, a.k.a. m88kbcs) doesn't support some system | ||
| 265 | functions, and gcc doesn't make it easy to switch environments. */ | ||
| 266 | #define NO_GET_LOAD_AVG | ||
| 267 | #endif | ||
| 268 | |||
| 269 | /* definitions for xmakefile production */ | ||
| 270 | #ifdef COFF | ||
| 271 | |||
| 272 | /* Define the following to use all of the available pty's. */ | ||
| 273 | |||
| 274 | #define PTY_ITERATION \ | ||
| 275 | for (c = 'p'; c < 't'; c++) \ | ||
| 276 | for (i = 0; (((c == 'p') && (i < 64)) || ((c != 'p') && (i < 16))); i++) | ||
| 277 | |||
| 278 | #define PTY_NAME_SPRINTF \ | ||
| 279 | if (c == 'p') \ | ||
| 280 | sprintf (pty_name, "/dev/pty%c%d", c, i); \ | ||
| 281 | else \ | ||
| 282 | sprintf (pty_name, "/dev/pty%c%x", c, i); | ||
| 283 | |||
| 284 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 285 | if (c == 'p') \ | ||
| 286 | sprintf (pty_name, "/dev/tty%c%d", c, i); \ | ||
| 287 | else \ | ||
| 288 | sprintf (pty_name, "/dev/tty%c%x", c, i); | ||
| 289 | |||
| 290 | #define C_DEBUG_SWITCH -g | ||
| 291 | |||
| 292 | #else /* not COFF */ | ||
| 293 | |||
| 294 | /* We are generating ELF object format. This makes the system more | ||
| 295 | SVR4 like. */ | ||
| 296 | |||
| 297 | #define SVR4 | ||
| 298 | |||
| 299 | /* Pseudo-terminal support under SVR4 only loops to deal with errors. */ | ||
| 300 | |||
| 301 | #define PTY_ITERATION for (i = 0; i < 1; i++) | ||
| 302 | |||
| 303 | /* This sets the name of the master side of the PTY. */ | ||
| 304 | |||
| 305 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); | ||
| 306 | |||
| 307 | /* This sets the name of the slave side of the PTY. On SysVr4, | ||
| 308 | grantpt(3) forks a subprocess, so keep sigchld_handler() from | ||
| 309 | intercepting that death. If any child but grantpt's should die | ||
| 310 | within, it should be caught after sigrelse(2). */ | ||
| 311 | |||
| 312 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 313 | { \ | ||
| 314 | char *ptsname(), *ptyname; \ | ||
| 315 | \ | ||
| 316 | sigblock(sigmask(SIGCLD)); \ | ||
| 317 | if (grantpt(fd) == -1) \ | ||
| 318 | fatal("could not grant slave pty"); \ | ||
| 319 | sigunblock(sigmask(SIGCLD)); \ | ||
| 320 | if (unlockpt(fd) == -1) \ | ||
| 321 | fatal("could not unlock slave pty"); \ | ||
| 322 | if (!(ptyname = ptsname(fd))) \ | ||
| 323 | fatal ("could not enable slave pty"); \ | ||
| 324 | strncpy(pty_name, ptyname, sizeof(pty_name)); \ | ||
| 325 | pty_name[sizeof(pty_name) - 1] = 0; \ | ||
| 326 | } | ||
| 327 | |||
| 328 | /* Push various streams modules onto a PTY channel. */ | ||
| 329 | |||
| 330 | #define SETUP_SLAVE_PTY \ | ||
| 331 | if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ | ||
| 332 | fatal ("ioctl I_PUSH ptem", errno); \ | ||
| 333 | if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ | ||
| 334 | fatal ("ioctl I_PUSH ldterm", errno); \ | ||
| 335 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | ||
| 336 | fatal ("ioctl I_PUSH ttcompat", errno); | ||
| 337 | |||
| 338 | #ifdef __GNUC__ | ||
| 339 | #define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard | ||
| 340 | #endif | ||
| 341 | |||
| 342 | #endif /* ELF */ | ||
| 343 | |||
| 344 | /* Extra stuff which probably should be someplace else but is here out | ||
| 345 | of expediency. */ | ||
| 346 | |||
| 347 | #define LIB_X11_LIB -lX11 | ||
| 348 | #define LIB_MOTIF -lXm -lgen | ||
| 349 | |||
| 350 | /* Process groups work in the traditional BSD manner. */ | ||
| 351 | |||
| 352 | #define BSD_PGRPS | ||
| 353 | |||
| 354 | /* arch-tag: 1b6d117d-82d2-4480-a6d0-3f7a8360f658 | ||
| 355 | (do not change this comment) */ | ||
diff --git a/src/s/dgux4.h b/src/s/dgux4.h deleted file mode 100644 index bf5a1b0e597..00000000000 --- a/src/s/dgux4.h +++ /dev/null | |||
| @@ -1,144 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | ||
| 2 | Release 4.10 and above. | ||
| 3 | Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, | ||
| 4 | 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* This file was written by Roderick Schertler <roderick@ibcinc.com>, | ||
| 24 | contact me if you have problems with or comments about running Emacs | ||
| 25 | on dgux. | ||
| 26 | |||
| 27 | A number of things in the older dgux*.h files don't make sense to me, | ||
| 28 | but since I'm relying on memory and I don't have any older dgux | ||
| 29 | systems installed on which to test changes I'm undoing or fixing them | ||
| 30 | here rather than fixing them at the source. */ | ||
| 31 | |||
| 32 | /* In dgux.h it says "Can't use sys_signal because then etc/server.c | ||
| 33 | would need sysdep.o." and then it #defines signal() to be | ||
| 34 | berk_signal(), but emacsserver.c does `#undef signal' anyway, so that | ||
| 35 | doesn't make sense. | ||
| 36 | |||
| 37 | Further, sys_signal() in sysdep.c already had a special case for | ||
| 38 | #ifdef DGUX, it called berk_signal() explicitly. I've removed that | ||
| 39 | special case because it also didn't make sense: All versions of dgux | ||
| 40 | which the dgux*.h headers take into account have POSIX signals | ||
| 41 | (POSIX_SIGNALS is #defined in dgux.h). The comments in sys_signal() | ||
| 42 | even acknowledged this (saying that the special berk_signal() case | ||
| 43 | wasn't really necessary), they said that sys_signal() was using | ||
| 44 | berk_signal() instead of sigaction() for efficiency. Since both give | ||
| 45 | reliable signals neither has to be invoked within the handler. If | ||
| 46 | the efficiency that the comments were talking about is the overhead | ||
| 47 | of setting up the sigaction struct rather than just passing the | ||
| 48 | function pointer in (which is the only efficiency I can think of) | ||
| 49 | then that's a needless optimization, the Emacs sources do better | ||
| 50 | without the special case. | ||
| 51 | |||
| 52 | The following definition will prevent dgux.h from re-defining | ||
| 53 | signal(). I can't just say `#undef signal' after including dgux.h | ||
| 54 | because signal() is already a macro, defined in <sys/signal.h>, and | ||
| 55 | the original definition would be lost. */ | ||
| 56 | #define NO_DGUX_SIGNAL_REDEF | ||
| 57 | |||
| 58 | #include "dgux5-4-3.h" | ||
| 59 | |||
| 60 | #define LIBS_DEBUG /* nothing, -lg doesn't exist */ | ||
| 61 | #define LIBS_SYSTEM -lsocket -lnsl | ||
| 62 | |||
| 63 | #ifndef NOT_C_CODE | ||
| 64 | |||
| 65 | /* dgux.h defines _setjmp() to be sigsetjmp(), but it defines _longjmp | ||
| 66 | to be longjmp() rather than siglongjmp(). Further, it doesn't define | ||
| 67 | jmp_buf, so sigsetjmp() is being called with a jmp_buf rather than a | ||
| 68 | sigjmp_buf, and the buffer is then passed to vanilla longjmp(). This | ||
| 69 | provides a more complete emulation of the Berkeley semantics. */ | ||
| 70 | |||
| 71 | #include <setjmp.h> | ||
| 72 | #undef jmp_buf | ||
| 73 | #undef _setjmp | ||
| 74 | #undef setjmp | ||
| 75 | #undef _longjmp | ||
| 76 | #undef longjmp | ||
| 77 | #define jmp_buf sigjmp_buf | ||
| 78 | #define _setjmp(env) sigsetjmp(env, 0) | ||
| 79 | #define setjmp(env) sigsetjmp(env, 1) | ||
| 80 | #define _longjmp siglongjmp | ||
| 81 | #define longjmp siglongjmp | ||
| 82 | |||
| 83 | /* The BAUD_CONVERT definition in dgux.h is wrong with this version | ||
| 84 | of dgux, but I'm not sure when it changed. | ||
| 85 | |||
| 86 | With the current system Emacs' standard handling of ospeed and | ||
| 87 | baud_rate don't work. The baud values (B9600 and so on) returned by | ||
| 88 | cfgetospeed() aren't compatible with those used by ospeed. speed_t, | ||
| 89 | the type returned by cfgetospeed(), is unsigned long and speed_t | ||
| 90 | values are large. Further, it isn't possible to get at both the | ||
| 91 | SysV3 (ospeed) and POSIX (cfgetospeed()) values through symbolic | ||
| 92 | constants simultaneously because they both use the same names | ||
| 93 | (B9600). To get both baud_rate and ospeed right at the same time | ||
| 94 | it's necessary to hardcode the values for one set of values, here I'm | ||
| 95 | hardcoding ospeed. */ | ||
| 96 | #undef BAUD_CONVERT | ||
| 97 | #define INIT_BAUD_RATE() \ | ||
| 98 | struct termios sg; \ | ||
| 99 | \ | ||
| 100 | tcgetattr (input_fd, &sg); \ | ||
| 101 | switch (cfgetospeed (&sg)) { \ | ||
| 102 | case B50: baud_rate = 50; ospeed = 0x1; break; \ | ||
| 103 | case B75: baud_rate = 75; ospeed = 0x2; break; \ | ||
| 104 | case B110: baud_rate = 110; ospeed = 0x3; break; \ | ||
| 105 | case B134: baud_rate = 134; ospeed = 0x4; break; \ | ||
| 106 | case B150: baud_rate = 150; ospeed = 0x5; break; \ | ||
| 107 | case B200: baud_rate = 200; ospeed = 0x6; break; \ | ||
| 108 | case B300: baud_rate = 300; ospeed = 0x7; break; \ | ||
| 109 | case B600: baud_rate = 600; ospeed = 0x8; break; \ | ||
| 110 | default: \ | ||
| 111 | case B1200: baud_rate = 1200; ospeed = 0x9; break; \ | ||
| 112 | case B1800: baud_rate = 1800; ospeed = 0xa; break; \ | ||
| 113 | case B2400: baud_rate = 2400; ospeed = 0xb; break; \ | ||
| 114 | case B4800: baud_rate = 4800; ospeed = 0xc; break; \ | ||
| 115 | case B9600: baud_rate = 9600; ospeed = 0xd; break; \ | ||
| 116 | case B19200: baud_rate = 19200; ospeed = 0xe; break; \ | ||
| 117 | case B38400: baud_rate = 38400; ospeed = 0xf; break; \ | ||
| 118 | } \ | ||
| 119 | return; | ||
| 120 | |||
| 121 | |||
| 122 | #if 0 /* Ehud Karni <ehud@unix.simonwiesel.co.il> says that the problem | ||
| 123 | still exists on m88k-dg-dguxR4.11MU04 and i586-dg-dguxR4.11MU04. */ | ||
| 124 | /* The `stop on tty output' problem which occurs when using | ||
| 125 | INTERRUPT_INPUT and when Emacs is invoked under X11 using a job | ||
| 126 | control shell (csh, ksh, etc.) in the background doesn't look to be | ||
| 127 | present in R4.11. (At least, I can't reproduce it using jsh, csh, | ||
| 128 | ksh or zsh.) */ | ||
| 129 | #undef BROKEN_FIONREAD | ||
| 130 | #define INTERRUPT_INPUT | ||
| 131 | #endif /* 0 - never */ | ||
| 132 | |||
| 133 | /* In R4.11 (or maybe R4.10, I don't have a system with that version | ||
| 134 | loaded) some of the internal stdio semantics were changed. One I | ||
| 135 | found while working on MH is that _cnt has to be 0 before _filbuf() | ||
| 136 | is called. Another is that (_ptr - _base) doesn't indicate how many | ||
| 137 | characters are waiting to be sent. I can't spot a good way to get | ||
| 138 | that info from the FILE internals. */ | ||
| 139 | #define PENDING_OUTPUT_COUNT(FILE) (1) | ||
| 140 | |||
| 141 | #endif /* NOT_C_CODE */ | ||
| 142 | |||
| 143 | /* arch-tag: c7013e7b-6e2e-44f2-ba61-90b6d5e2ea45 | ||
| 144 | (do not change this comment) */ | ||
diff --git a/src/s/dgux5-4-3.h b/src/s/dgux5-4-3.h deleted file mode 100644 index d959b8c6f1b..00000000000 --- a/src/s/dgux5-4-3.h +++ /dev/null | |||
| @@ -1,68 +0,0 @@ | |||
| 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, 2001, 2002, 2003, 2004, 2005, | ||
| 4 | 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* NOTE: DGUX5.4R3.00 will not build with the delivered gcc-2.4.5 | ||
| 24 | compiler. You must upgraded to at least gcc-2.5.8. If you are | ||
| 25 | running DGUX 5.4R3.00 check on the system dg-rtp.dg.com:/pub/gnu | ||
| 26 | for gcc-2.5.8 or later compiler. | ||
| 27 | -pmr@pajato.com */ | ||
| 28 | |||
| 29 | #include "dgux5-4r2.h" | ||
| 30 | |||
| 31 | /* DGUX 5.4R3.00 brought the definition of `struct inet_addr' into | ||
| 32 | compliance with the majority of Unix systems. The workaround | ||
| 33 | introduced in 5.4R2 is no longer necessary. */ | ||
| 34 | |||
| 35 | #ifdef HAVE_BROKEN_INET_ADDR | ||
| 36 | #undef HAVE_BROKEN_INET_ADDR | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* The `stop on tty output' problem which occurs when using | ||
| 40 | INTERRUPT_INPUT and when Emacs is invoked under X11 using a job | ||
| 41 | control shell (csh, ksh, etc.) in the background has not been fixed in | ||
| 42 | DGUX 5.4R3.00. | ||
| 43 | -pmr@pajato.com */ | ||
| 44 | |||
| 45 | #if 0 | ||
| 46 | #ifdef BROKEN_FIONREAD | ||
| 47 | #undef BROKEN_FIONREAD | ||
| 48 | #endif | ||
| 49 | #ifndef INTERRUPT_INPUT | ||
| 50 | #define INTERRUPT_INPUT | ||
| 51 | #endif | ||
| 52 | #endif | ||
| 53 | |||
| 54 | /* Under DGUX 5.4R3.00, getting a debuggable executable has been | ||
| 55 | greatly simplified and applies to either COFF or ELF | ||
| 56 | environments. */ | ||
| 57 | |||
| 58 | #ifdef C_DEBUG_SWITCH | ||
| 59 | #undef C_DEBUG_SWITCH | ||
| 60 | #define C_DEBUG_SWITCH -g | ||
| 61 | #endif | ||
| 62 | |||
| 63 | /* This is needed according to Ehud Karni <ehud@unix.simonwiesel.co.il> | ||
| 64 | for m88k-dg-dgux5.4R3.10. */ | ||
| 65 | #undef BSD_PGRPS | ||
| 66 | |||
| 67 | /* arch-tag: c11938c9-0cb0-4652-88aa-7eb80bf1cda9 | ||
| 68 | (do not change this comment) */ | ||
diff --git a/src/s/dgux5-4r2.h b/src/s/dgux5-4r2.h deleted file mode 100644 index 570e90e9ac1..00000000000 --- a/src/s/dgux5-4r2.h +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | ||
| 2 | 5.4 Release 2.xx systems. | ||
| 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 4 | 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | #include "dgux.h" | ||
| 24 | |||
| 25 | /* There is a known kernel bug in DGUX 5.4R2.xx when using | ||
| 26 | INTERRUPT_INPUT and invoking Emacs with a job control shell (csh, | ||
| 27 | ksh, etc.) in the background. This bug manifests itself by | ||
| 28 | outputting `stop on tty output' and hanging. The workaround is to | ||
| 29 | set BROKEN_FIONREAD. | ||
| 30 | -pmr@pajato.com */ | ||
| 31 | |||
| 32 | #ifndef BROKEN_FIONREAD | ||
| 33 | #define BROKEN_FIONREAD | ||
| 34 | #endif | ||
| 35 | #ifdef INTERRUPT_INPUT | ||
| 36 | #undef INTERRUPT_INPUT | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* In DGUX 5.4R2.xx the function inet_addr() returns a `struct | ||
| 40 | in_addr' instead of the more common `unsigned long'. | ||
| 41 | -pmr@pajato.com */ | ||
| 42 | |||
| 43 | #define HAVE_BROKEN_INET_ADDR | ||
| 44 | |||
| 45 | #if 0 /* Shawn M. Carey <smcarey@mailbox.syr.edu> found this | ||
| 46 | caused trouble on DGUX 5.4.2. */ | ||
| 47 | #define LIBS_SYSTEM -ldgc | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* arch-tag: a14f4043-6caa-4f01-a9b9-ae0fb0d2c96e | ||
| 51 | (do not change this comment) */ | ||
diff --git a/src/s/esix.h b/src/s/esix.h deleted file mode 100644 index 357e7736476..00000000000 --- a/src/s/esix.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | /* Definitions for ESIX, a variant of v.5.3 for the 386. */ | ||
| 2 | /* These are based on reports for ESIX 5.3.2 D. */ | ||
| 3 | |||
| 4 | #include "usg5-3.h" | ||
| 5 | |||
| 6 | /* Some versions of V.3 have this, but not all. ESIX does. */ | ||
| 7 | #define HAVE_PTYS | ||
| 8 | #define SYSV_PTYS | ||
| 9 | |||
| 10 | /* Have -lg be used for debugging. */ | ||
| 11 | #undef LIBS_DEBUG | ||
| 12 | #define LIBS_DEBUG -lg | ||
| 13 | |||
| 14 | /* If using Roell's X server, define X11R4 */ | ||
| 15 | #ifdef X11R4 /* Roell's X server */ | ||
| 16 | #define select sys_select /* Emacs select() not good enough? */ | ||
| 17 | #undef LIBX11_SYSTEM | ||
| 18 | #define LIBX11_SYSTEM -lpt | ||
| 19 | #endif /* X11R4 */ | ||
| 20 | |||
| 21 | /* ESIX does not need <sys/sioctl.h>, but needs <sys/ptem.h> */ | ||
| 22 | #define NO_SIOCTL_H | ||
| 23 | #define NEED_PTEM_H | ||
| 24 | #define BROKEN_FIONREAD | ||
| 25 | |||
| 26 | /* arch-tag: d66e6a70-0812-437d-aa35-9b01bd474941 | ||
| 27 | (do not change this comment) */ | ||
diff --git a/src/s/esix5r4.h b/src/s/esix5r4.h deleted file mode 100644 index 4240f3d7f4a..00000000000 --- a/src/s/esix5r4.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | /* Definitions for ESIX System V 4.0.4, a variant of V.4 for the 386. */ | ||
| 2 | /* Redone by zircon!joe@uunet.uu.net (Joe Kelsey). */ | ||
| 3 | |||
| 4 | #include "usg5-4.h" | ||
| 5 | |||
| 6 | #define SYSTEM_MALLOC 1 | ||
| 7 | #if defined (HAVE_XFREE386) | ||
| 8 | # undef LIB_STANDARD | ||
| 9 | # define LIB_STANDARD -lc | ||
| 10 | #else | ||
| 11 | # define LIB_X11_LIB -lsocket -lc -lX11 | ||
| 12 | # undef LIB_STANDARD | ||
| 13 | # ifdef ORDINARY_LINK | ||
| 14 | # define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a | ||
| 15 | # else | ||
| 16 | # define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o | ||
| 17 | # endif | ||
| 18 | |||
| 19 | /* Resolve BSD string functions in X Window library from libucb.a. */ | ||
| 20 | # define BSTRING | ||
| 21 | |||
| 22 | /* zircon!joe says this makes X windows work. */ | ||
| 23 | # define BROKEN_FIONREAD | ||
| 24 | #endif | ||
| 25 | |||
| 26 | /* arch-tag: 2d314ae9-0357-4ddf-96e5-cf821071ba4b | ||
| 27 | (do not change this comment) */ | ||
diff --git a/src/s/hiuxmpp.h b/src/s/hiuxmpp.h deleted file mode 100644 index 7538adb1634..00000000000 --- a/src/s/hiuxmpp.h +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | /* System description file for HI-UX. | ||
| 2 | |||
| 3 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 | ||
| 4 | Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #define BSD 198911 /* system version (year & month) */ | ||
| 25 | #define DBL_DIG 15 /* same as the definition of <float.h> */ | ||
| 26 | #include "bsd4-3.h" | ||
| 27 | |||
| 28 | /* Identify OSF1 for the m- files. */ | ||
| 29 | |||
| 30 | #define OSF1 | ||
| 31 | |||
| 32 | /* To avoid to include the non-existant header file <sys/vlimit.h>, | ||
| 33 | we define BSD4_2. | ||
| 34 | This definition does not mean that the OS is based on BSD 4.2. */ | ||
| 35 | #define BSD4_2 | ||
| 36 | |||
| 37 | /* Define _BSD to tell the include files we're running under | ||
| 38 | the BSD universe and not the SYSV universe. | ||
| 39 | Define HITACHI and OSF for Xt's Boolean type as int intead of char. | ||
| 40 | (But for these defines, /usr/include/X11/Intrinsic.h defines | ||
| 41 | Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */ | ||
| 42 | |||
| 43 | #define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF | ||
| 44 | #define LIBS_SYSTEM -lbsd | ||
| 45 | |||
| 46 | #define GETPGRP_NO_ARG | ||
| 47 | |||
| 48 | #define SYSV_SYSTEM_DIR | ||
| 49 | |||
| 50 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 51 | preprocessor symbol "COFF". */ | ||
| 52 | |||
| 53 | /* #define COFF */ | ||
| 54 | |||
| 55 | /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option | ||
| 56 | says where to find X windows at run time. We convert it to a -rpath option | ||
| 57 | which is what OSF1 uses. */ | ||
| 58 | #define LD_SWITCH_SYSTEM | ||
| 59 | |||
| 60 | #undef KERNEL_FILE | ||
| 61 | #define KERNEL_FILE "/mach_kernel" | ||
| 62 | |||
| 63 | #undef LDAV_SYMBOL | ||
| 64 | #define LDAV_SYMBOL "avenrun" | ||
| 65 | |||
| 66 | /* arch-tag: c5422584-cd86-4e10-8089-9f604523dab7 | ||
| 67 | (do not change this comment) */ | ||
diff --git a/src/s/hiuxwe2.h b/src/s/hiuxwe2.h deleted file mode 100644 index 418ea14cc99..00000000000 --- a/src/s/hiuxwe2.h +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | /* System description file for HI-UX. | ||
| 2 | |||
| 3 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #define BSD 198911 /* system version (year & month) */ | ||
| 25 | #define DBL_DIG 15 /* same as the definition of <float.h> */ | ||
| 26 | #include "bsd4-3.h" | ||
| 27 | |||
| 28 | /* Identify OSF1 for the m- files. */ | ||
| 29 | |||
| 30 | #define OSF1 | ||
| 31 | |||
| 32 | /* To avoid to include the non-existant header file <sys/vlimit.h>, | ||
| 33 | we define BSD4_2. | ||
| 34 | This definition does not mean that the OS is based on BSD 4.2. */ | ||
| 35 | #define BSD4_2 | ||
| 36 | |||
| 37 | /* Define _BSD to tell the include files we're running under | ||
| 38 | the BSD universe and not the SYSV universe. | ||
| 39 | Define HITACHI and OSF for Xt's Boolean type as int intead of char. | ||
| 40 | (But for these defines, /usr/include/X11/Intrinsic.h defines | ||
| 41 | Boolean as char, but libXt.a on HI-UX/MPP requires it as int.) */ | ||
| 42 | |||
| 43 | #define C_SWITCH_SYSTEM -D_BSD -DHITACHI -DOSF | ||
| 44 | #define LIBS_SYSTEM -lbsd | ||
| 45 | |||
| 46 | #define GETPGRP_NO_ARG | ||
| 47 | |||
| 48 | #define SYSV_SYSTEM_DIR | ||
| 49 | |||
| 50 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 51 | preprocessor symbol "COFF". */ | ||
| 52 | |||
| 53 | /* #define COFF */ | ||
| 54 | |||
| 55 | /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option | ||
| 56 | says where to find X windows at run time. We convert it to a -rpath option | ||
| 57 | which is what OSF1 uses. */ | ||
| 58 | #define LD_SWITCH_SYSTEM | ||
| 59 | |||
| 60 | #undef KERNEL_FILE | ||
| 61 | #define KERNEL_FILE "/mach_kernel" | ||
| 62 | |||
| 63 | #undef LDAV_SYMBOL | ||
| 64 | #define LDAV_SYMBOL "avenrun" | ||
| 65 | |||
| 66 | /* arch-tag: c56449e1-6d1b-4537-a596-0b08b8e4ec73 | ||
| 67 | (do not change this comment) */ | ||
diff --git a/src/s/iris3-5.h b/src/s/iris3-5.h deleted file mode 100644 index c3d16cbf611..00000000000 --- a/src/s/iris3-5.h +++ /dev/null | |||
| @@ -1,166 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics 3.5 | ||
| 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | #define USG | ||
| 29 | #define USG5 | ||
| 30 | #define IRIS | ||
| 31 | |||
| 32 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 33 | It sets the Lisp variable system-type. */ | ||
| 34 | |||
| 35 | #define SYSTEM_TYPE "irix" | ||
| 36 | |||
| 37 | /* nomultiplejobs should be defined if your system's shell | ||
| 38 | does not have "job control" (the ability to stop a program, | ||
| 39 | run some other program, then continue the first one). */ | ||
| 40 | |||
| 41 | #define NOMULTIPLEJOBS | ||
| 42 | |||
| 43 | /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | ||
| 44 | |||
| 45 | /* #define INTERRUPT_INPUT */ | ||
| 46 | |||
| 47 | /* Letter to use in finding device name of first pty, | ||
| 48 | if system supports pty's. 'a' means it is /dev/ptya0 */ | ||
| 49 | |||
| 50 | #define FIRST_PTY_LETTER 'a' | ||
| 51 | |||
| 52 | /* | ||
| 53 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 54 | * for terminal control. | ||
| 55 | */ | ||
| 56 | |||
| 57 | #define HAVE_TERMIO | ||
| 58 | |||
| 59 | /* | ||
| 60 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 61 | */ | ||
| 62 | |||
| 63 | #define HAVE_PTYS | ||
| 64 | |||
| 65 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 66 | |||
| 67 | #define HAVE_SOCKETS | ||
| 68 | |||
| 69 | /* | ||
| 70 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 71 | * The 4.2 opendir, etc., library functions. | ||
| 72 | */ | ||
| 73 | |||
| 74 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 75 | |||
| 76 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 77 | |||
| 78 | #define BSTRING | ||
| 79 | |||
| 80 | /* subprocesses should be defined if you want to | ||
| 81 | have code for asynchronous subprocesses | ||
| 82 | (as used in M-x compile and M-x shell). | ||
| 83 | This is generally OS dependent, and not supported | ||
| 84 | under most USG systems. */ | ||
| 85 | |||
| 86 | #define subprocesses | ||
| 87 | |||
| 88 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 89 | preprocessor symbol "COFF". */ | ||
| 90 | |||
| 91 | /* #define COFF */ | ||
| 92 | |||
| 93 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 94 | to interlock access to /usr/spool/mail/$USER. | ||
| 95 | The alternative is that a lock file named | ||
| 96 | /usr/spool/mail/$USER.lock. */ | ||
| 97 | |||
| 98 | #define MAIL_USE_FLOCK | ||
| 99 | |||
| 100 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 101 | so that Emacs can tell instantly when you try to modify | ||
| 102 | a file that someone else has modified in his Emacs. */ | ||
| 103 | |||
| 104 | /* #define CLASH_DETECTION */ | ||
| 105 | |||
| 106 | /* The file containing the kernel's symbol table is called /vmunix. */ | ||
| 107 | |||
| 108 | #define KERNEL_FILE "/vmunix" | ||
| 109 | |||
| 110 | /* The symbol in the kernel where the load average is found | ||
| 111 | is named _avenrun. */ | ||
| 112 | |||
| 113 | #define LDAV_SYMBOL "_avenrun" | ||
| 114 | |||
| 115 | |||
| 116 | /* Special hacks needed to make Emacs run on this system. */ | ||
| 117 | |||
| 118 | /* | ||
| 119 | * Make the sigsetmask function go away. Don't know what the | ||
| 120 | * ramifications of this are, but doesn't seem possible to | ||
| 121 | * emulate it properly anyway at this point. | ||
| 122 | */ | ||
| 123 | |||
| 124 | #define sigsetmask(mask) /* Null expansion */ | ||
| 125 | |||
| 126 | /* The IRIS defines SIGIO in signal.h, but doesn't implement it. */ | ||
| 127 | #define BROKEN_SIGIO | ||
| 128 | |||
| 129 | #define LIBS_MACHINE -lbsd -ldbm -lPW | ||
| 130 | #define C_SWITCH_MACHINE -I/usr/include/bsd | ||
| 131 | |||
| 132 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | ||
| 133 | but they will run slower. */ | ||
| 134 | |||
| 135 | #define _setjmp setjmp | ||
| 136 | #define _longjmp longjmp | ||
| 137 | |||
| 138 | /* On USG systems these have different names */ | ||
| 139 | |||
| 140 | #define index strchr | ||
| 141 | #define rindex strrchr | ||
| 142 | |||
| 143 | /* USG systems tend to put everything declared static | ||
| 144 | into the initialized data area, which becomes pure after dumping Emacs. | ||
| 145 | Foil this. Emacs carefully avoids static vars inside functions. */ | ||
| 146 | |||
| 147 | /* #define static */ | ||
| 148 | |||
| 149 | /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | ||
| 150 | |||
| 151 | #define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) | ||
| 152 | |||
| 153 | /* some errno.h's don't actually allocate the variable itself */ | ||
| 154 | |||
| 155 | #define NEED_ERRNO | ||
| 156 | |||
| 157 | /* The symbol FIONREAD is defined, but the feature does not work. */ | ||
| 158 | |||
| 159 | #define BROKEN_FIONREAD | ||
| 160 | |||
| 161 | /* This is how to get the device name of the tty end of a pty. */ | ||
| 162 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 163 | sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); | ||
| 164 | |||
| 165 | /* arch-tag: 41161051-477f-44be-bb2a-0eead3142157 | ||
| 166 | (do not change this comment) */ | ||
diff --git a/src/s/iris3-6.h b/src/s/iris3-6.h deleted file mode 100644 index 85a13167ed0..00000000000 --- a/src/s/iris3-6.h +++ /dev/null | |||
| @@ -1,163 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Silicon Graphics system 3.6. | ||
| 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | #define USG | ||
| 29 | #define USG5 | ||
| 30 | #define IRIS | ||
| 31 | |||
| 32 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 33 | It sets the Lisp variable system-type. */ | ||
| 34 | |||
| 35 | #define SYSTEM_TYPE "irix" | ||
| 36 | |||
| 37 | /* nomultiplejobs should be defined if your system's shell | ||
| 38 | does not have "job control" (the ability to stop a program, | ||
| 39 | run some other program, then continue the first one). */ | ||
| 40 | |||
| 41 | #define NOMULTIPLEJOBS | ||
| 42 | |||
| 43 | /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | ||
| 44 | |||
| 45 | /* #define INTERRUPT_INPUT */ | ||
| 46 | |||
| 47 | /* Letter to use in finding device name of first pty, | ||
| 48 | if system supports pty's. 'a' means it is /dev/ptya0 */ | ||
| 49 | |||
| 50 | #define FIRST_PTY_LETTER 'a' | ||
| 51 | |||
| 52 | /* | ||
| 53 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 54 | * for terminal control. | ||
| 55 | */ | ||
| 56 | |||
| 57 | #define HAVE_TERMIO | ||
| 58 | |||
| 59 | /* | ||
| 60 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 61 | */ | ||
| 62 | |||
| 63 | #define HAVE_PTYS | ||
| 64 | |||
| 65 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 66 | |||
| 67 | #define HAVE_SOCKETS | ||
| 68 | |||
| 69 | /* | ||
| 70 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 71 | * The 4.2 opendir, etc., library functions. | ||
| 72 | */ | ||
| 73 | |||
| 74 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 75 | |||
| 76 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 77 | |||
| 78 | #define BSTRING | ||
| 79 | |||
| 80 | /* subprocesses should be defined if you want to | ||
| 81 | have code for asynchronous subprocesses | ||
| 82 | (as used in M-x compile and M-x shell). | ||
| 83 | This is generally OS dependent, and not supported | ||
| 84 | under most USG systems. */ | ||
| 85 | |||
| 86 | #define subprocesses | ||
| 87 | |||
| 88 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 89 | preprocessor symbol "COFF". */ | ||
| 90 | |||
| 91 | /* #define COFF */ | ||
| 92 | |||
| 93 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 94 | to interlock access to /usr/spool/mail/$USER. | ||
| 95 | The alternative is that a lock file named | ||
| 96 | /usr/spool/mail/$USER.lock. */ | ||
| 97 | |||
| 98 | #define MAIL_USE_FLOCK | ||
| 99 | |||
| 100 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 101 | so that Emacs can tell instantly when you try to modify | ||
| 102 | a file that someone else has modified in his Emacs. */ | ||
| 103 | |||
| 104 | /* #define CLASH_DETECTION */ | ||
| 105 | |||
| 106 | /* The file containing the kernel's symbol table is called /vmunix. */ | ||
| 107 | |||
| 108 | #define KERNEL_FILE "/vmunix" | ||
| 109 | |||
| 110 | /* The symbol in the kernel where the load average is found | ||
| 111 | is named _avenrun. */ | ||
| 112 | |||
| 113 | #define LDAV_SYMBOL "_avenrun" | ||
| 114 | |||
| 115 | |||
| 116 | /* Special hacks needed to make Emacs run on this system. */ | ||
| 117 | |||
| 118 | /* | ||
| 119 | * Make the sigsetmask function go away. Don't know what the | ||
| 120 | * ramifications of this are, but doesn't seem possible to | ||
| 121 | * emulate it properly anyway at this point. | ||
| 122 | */ | ||
| 123 | |||
| 124 | #define sigsetmask(mask) /* Null expansion */ | ||
| 125 | #define sigblock(x) x | ||
| 126 | |||
| 127 | /* The IRIS defines SIGIO in signal.h, but doesn't implement it. */ | ||
| 128 | #define BROKEN_SIGIO | ||
| 129 | |||
| 130 | #define LIBS_MACHINE -lbsd -ldbm -lPW | ||
| 131 | #define C_SWITCH_MACHINE -I/usr/include/bsd | ||
| 132 | |||
| 133 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | ||
| 134 | but they will run slower. */ | ||
| 135 | |||
| 136 | #define _setjmp setjmp | ||
| 137 | #define _longjmp longjmp | ||
| 138 | |||
| 139 | /* On USG systems these have different names */ | ||
| 140 | |||
| 141 | #define index strchr | ||
| 142 | #define rindex strrchr | ||
| 143 | |||
| 144 | /* USG systems tend to put everything declared static | ||
| 145 | into the initialized data area, which becomes pure after dumping Emacs. | ||
| 146 | Foil this. Emacs carefully avoids static vars inside functions. */ | ||
| 147 | |||
| 148 | /* #define static */ | ||
| 149 | |||
| 150 | /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | ||
| 151 | |||
| 152 | #define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) | ||
| 153 | |||
| 154 | /* some errno.h's don't actually allocate the variable itself */ | ||
| 155 | |||
| 156 | #define NEED_ERRNO | ||
| 157 | |||
| 158 | /* This is how to get the device name of the tty end of a pty. */ | ||
| 159 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 160 | sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev)); | ||
| 161 | |||
| 162 | /* arch-tag: cdf2033e-a2d5-43e1-a1a2-a7243cf41a11 | ||
| 163 | (do not change this comment) */ | ||
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h deleted file mode 100644 index 34c79f17ea1..00000000000 --- a/src/s/isc2-2.h +++ /dev/null | |||
| @@ -1,100 +0,0 @@ | |||
| 1 | /* system description file for Interactive (ISC) Unix version 2.2 on the 386. | ||
| 2 | |||
| 3 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #include "usg5-3.h" | ||
| 25 | |||
| 26 | /* select (in -linet) works okay on X ptys, but not on the serial port. | ||
| 27 | karl@cs.umb.edu says that with that select call, subprocesses made by | ||
| 28 | (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems | ||
| 29 | have been observed in ISC 3.0. */ | ||
| 30 | #define BROKEN_SELECT_NON_X | ||
| 31 | |||
| 32 | /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't | ||
| 33 | what Emacs needs; it makes interrupt-shell-subjob and the like do | ||
| 34 | nothing. But that appears to have been another manifestation of | ||
| 35 | the broken select, so it should now be safe to define this again. */ | ||
| 36 | #define HAVE_SOCKETS | ||
| 37 | |||
| 38 | #define NO_SOCKETS_IN_FILE_SYSTEM | ||
| 39 | #define NEED_NET_ERRNO_H | ||
| 40 | |||
| 41 | /* This keeps the .cdbx section that gcc puts out when generating | ||
| 42 | stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ | ||
| 43 | #define USG_SHARED_LIBRARIES | ||
| 44 | |||
| 45 | /* We can support lock files. */ | ||
| 46 | #define CLASH_DETECTION | ||
| 47 | #define NO_FCHMOD | ||
| 48 | |||
| 49 | #define HAVE_PTYS | ||
| 50 | #define MAXNAMLEN 512 | ||
| 51 | #define O_NDELAY O_NONBLOCK | ||
| 52 | #define MEMORY_IN_STRING_H | ||
| 53 | |||
| 54 | /* Tell gmalloc.c that we don't have memmove (system include files to the | ||
| 55 | contrary!). */ | ||
| 56 | #define MEMMOVE_MISSING | ||
| 57 | |||
| 58 | /* Send a signal to a subprocess by "typing" a signal character. */ | ||
| 59 | #define SIGNALS_VIA_CHARACTERS | ||
| 60 | |||
| 61 | /* -lPW is only needed if not using Gcc. We used to include -lcposix here | ||
| 62 | for the rename function, but some people say ISC's rename doesn't | ||
| 63 | work correctly with Emacs so we use Emacs' emulation instead. */ | ||
| 64 | #if defined (__GNUC__) | ||
| 65 | # define LIB_STANDARD_1 -lcposix | ||
| 66 | #else /* !__GNUC__ */ | ||
| 67 | # define LIB_STANDARD_1 -lPW | ||
| 68 | #endif /* !__GNUC__ */ | ||
| 69 | |||
| 70 | /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM | ||
| 71 | (the latter for the sake of configure). */ | ||
| 72 | #define LIB_STANDARD LIB_STANDARD_1 -lc | ||
| 73 | |||
| 74 | #define NO_X_DESTROY_DATABASE | ||
| 75 | |||
| 76 | /* -linet may be needed to avoid undefined symbols such as gethostname, | ||
| 77 | inet_addr, gethostbyname, socket, connect, ... */ | ||
| 78 | #define LIBS_SYSTEM -linet LIB_STANDARD_1 | ||
| 79 | |||
| 80 | /* This system has job control. */ | ||
| 81 | #undef NOMULTIPLEJOBS | ||
| 82 | |||
| 83 | /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | ||
| 84 | when -traditional is being used, but it doesn't hurt to | ||
| 85 | unconditionally define this. */ | ||
| 86 | #define NO_ASM | ||
| 87 | |||
| 88 | /* -traditional is not necessary if the system header files are fixed to | ||
| 89 | define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 | ||
| 90 | on do this. */ | ||
| 91 | #if !defined (__GNUC__) || __GNUC__ < 2 | ||
| 92 | # define C_SWITCH_SYSTEM -traditional | ||
| 93 | #endif | ||
| 94 | |||
| 95 | /* Some versions of ISC are said to define S_IFLNK even tho | ||
| 96 | they don't really support symlinks. */ | ||
| 97 | #undef S_IFLNK | ||
| 98 | |||
| 99 | /* arch-tag: 4de02713-eac5-4360-9d36-fd82c7a3ae44 | ||
| 100 | (do not change this comment) */ | ||
diff --git a/src/s/isc3-0.h b/src/s/isc3-0.h deleted file mode 100644 index 3df55031778..00000000000 --- a/src/s/isc3-0.h +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | /* s- file for Interactive (ISC) Unix version 3.0 on the 386. | ||
| 2 | |||
| 3 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #include "isc2-2.h" | ||
| 25 | |||
| 26 | /* This has been moved into isc2-2.h. */ | ||
| 27 | /* #define HAVE_SOCKETS */ | ||
| 28 | |||
| 29 | /* This appears on 3.0, presumably as part of what SunSoft call X2. */ | ||
| 30 | #undef NO_X_DESTROY_DATABASE | ||
| 31 | |||
| 32 | #ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ | ||
| 33 | #define POSIX_SIGNALS | ||
| 34 | |||
| 35 | /* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ | ||
| 36 | #undef sigsetmask | ||
| 37 | #undef HAVE_SYSV_SIGPAUSE | ||
| 38 | #endif | ||
| 39 | |||
| 40 | /* People say that using -traditional causes lossage with `const', | ||
| 41 | so we might as well try getting rid of -traditional. */ | ||
| 42 | #undef C_SWITCH_SYSTEM | ||
| 43 | |||
| 44 | /* We indirectly #include s/usg5-3.h, which says to use libX11_s and | ||
| 45 | libc_s. Martin Tomes <mt00@controls.eurotherm.co.uk> says that ISC | ||
| 46 | has no libX11_s, and that linking with libc_s causes sbrk not to work. */ | ||
| 47 | #undef LIB_X11_LIB | ||
| 48 | #undef LIBX11_SYSTEM | ||
| 49 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s | ||
| 50 | |||
| 51 | /* TIOCGWINSZ isn't broken; you just have to know where to find it. */ | ||
| 52 | #undef BROKEN_TIOCGWINSZ | ||
| 53 | #define NEED_SIOCTL | ||
| 54 | |||
| 55 | /* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix | ||
| 56 | signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3 | ||
| 57 | ensures that we don't lose the traditional symbols as a side effect | ||
| 58 | from this or __STDC__ being defined. It can't hurt to Define | ||
| 59 | _XOPEN_SOURCE=500, the latest and greatest value as of this writing. */ | ||
| 60 | #define C_SWITCH_SYSTEM -D_XOPEN_SOURCE=500 -D_SYSV3 | ||
| 61 | |||
| 62 | #ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ | ||
| 63 | /* This works around a bug in ISC 4.0 and 3.0; it fails | ||
| 64 | to clear the "POSIX process" flag on an exec. | ||
| 65 | It won't be needed for 4.1. */ | ||
| 66 | #define EXTRA_INITIALIZE __setostype (0) | ||
| 67 | #endif | ||
| 68 | |||
| 69 | /* arch-tag: c1aca3f2-813d-4c1c-ad64-ca6c20ec9bfb | ||
| 70 | (do not change this comment) */ | ||
diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h deleted file mode 100644 index d180b5d182c..00000000000 --- a/src/s/isc4-0.h +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | #include "isc3-0.h" | ||
| 2 | |||
| 3 | #undef LIBS_SYSTEM | ||
| 4 | #define LIBS_SYSTEM -linet -lcposix | ||
| 5 | |||
| 6 | #define ISC4_0 | ||
| 7 | |||
| 8 | /* fmcphers@csugrad.cs.vt.edu reported this was necessary. | ||
| 9 | He used GCC. I don't know what is needed with other compilers. */ | ||
| 10 | #ifdef __GNUC__ | ||
| 11 | #undef LIBX11_SYSTEM | ||
| 12 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc | ||
| 13 | #endif | ||
| 14 | |||
| 15 | /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> | ||
| 16 | says this is needed. */ | ||
| 17 | |||
| 18 | #ifndef POSIX_SIGNALS | ||
| 19 | #ifndef sigblock | ||
| 20 | #ifndef SIG_BLOCK | ||
| 21 | #define SIG_BLOCK 0 | ||
| 22 | #endif | ||
| 23 | #define sigblock(sig) \ | ||
| 24 | (sigprocmask_set = SIGEMPTYMASK | (sig), \ | ||
| 25 | sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) | ||
| 26 | #define sigunblock(sig) \ | ||
| 27 | (sigprocmask_set = SIGFULLMASK & ~(sig), \ | ||
| 28 | sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) | ||
| 29 | #endif | ||
| 30 | #endif /* not POSIX_SIGNALS */ | ||
| 31 | |||
| 32 | /* arch-tag: 1278f86f-17f2-462d-88c9-85e4b5faa5c3 | ||
| 33 | (do not change this comment) */ | ||
diff --git a/src/s/isc4-1.h b/src/s/isc4-1.h deleted file mode 100644 index c37537e629c..00000000000 --- a/src/s/isc4-1.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | #include "isc3-0.h" | ||
| 2 | |||
| 3 | /* ISC 4.1 has renamed __setostype, but also has fixed the bug | ||
| 4 | for which we needed to call it; so just do nothing. uddeborg@carmen.se. */ | ||
| 5 | #undef EXTRA_INITIALIZE | ||
| 6 | |||
| 7 | #define ISC4_1 | ||
| 8 | |||
| 9 | #undef LIBS_SYSTEM | ||
| 10 | #define LIBS_SYSTEM -linet | ||
| 11 | |||
| 12 | /* uddeborg@carmen.se recommends the rest of this file. */ | ||
| 13 | |||
| 14 | /* A special startup file is used when compiling with Posix. */ | ||
| 15 | #define START_FILES pre-crt0.o /lib/crtp1.o | ||
| 16 | |||
| 17 | /* -lPW is only needed if not using Gcc. */ | ||
| 18 | #undef LIB_STANDARD | ||
| 19 | #if defined (__GNUC__) | ||
| 20 | # define LIB_STANDARD -lcposix -lc /lib/crtn.o | ||
| 21 | #else /* !__GNUC__ */ | ||
| 22 | # define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o | ||
| 23 | #endif /* !__GNUC__ */ | ||
| 24 | |||
| 25 | /* We have Posix termios. */ | ||
| 26 | #define HAVE_TERMIOS | ||
| 27 | /* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */ | ||
| 28 | /* defined at the same time. */ | ||
| 29 | #undef HAVE_TERMIO | ||
| 30 | |||
| 31 | /* ISC 4.1 has sys/wait.h but it does not work right. */ | ||
| 32 | #undef HAVE_SYS_WAIT_H | ||
| 33 | |||
| 34 | /* arch-tag: ec5c77d9-a330-4d93-8117-d2b374531c67 | ||
| 35 | (do not change this comment) */ | ||
diff --git a/src/s/newsos5.h b/src/s/newsos5.h deleted file mode 100644 index 9e149bc5ed0..00000000000 --- a/src/s/newsos5.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.2 | ||
| 2 | Copyright (C) 1992, 1994, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* Use the SysVr4 file for at least base configuration. */ | ||
| 23 | |||
| 24 | #include "usg5-4.h" | ||
| 25 | |||
| 26 | #define NEWSOS5 | ||
| 27 | |||
| 28 | /* These will be defined by "m-mips.h". */ | ||
| 29 | #undef START_FILES | ||
| 30 | #undef LIB_STANDARD | ||
| 31 | |||
| 32 | #undef LIBS_SYSTEM | ||
| 33 | #define LIBS_SYSTEM -lsocket -lnsl -lgen | ||
| 34 | |||
| 35 | /* Disable use of "unexelf.c" and shared libraries, because | ||
| 36 | "unexelf.c" doesn't work correctly on NEWS-OS. "unexmips.c" does | ||
| 37 | work correctly if the program is linked statically without ELF. */ | ||
| 38 | #undef UNEXEC | ||
| 39 | #undef USG_SHARED_LIBRARIES | ||
| 40 | |||
| 41 | /* Use `ld' directly rather than ordinary link, because ordinary link | ||
| 42 | can't produce a non-ELF executable. */ | ||
| 43 | #undef ORDINARY_LINK | ||
| 44 | #define LINKER /usr/lib/cmplrs/cc/ld | ||
| 45 | #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o | ||
| 46 | #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o /usr/ccs/lib/values-Xt.o | ||
| 47 | |||
| 48 | #ifndef HAVE_SOCKETS | ||
| 49 | #define HAVE_SOCKETS | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* arch-tag: 2bb78fcd-fbc4-46dd-a14b-e4a9be957fe0 | ||
| 53 | (do not change this comment) */ | ||
diff --git a/src/s/newsos6.h b/src/s/newsos6.h deleted file mode 100644 index ca3dbe706d0..00000000000 --- a/src/s/newsos6.h +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Sony's NEWS-OS 6.x */ | ||
| 2 | |||
| 3 | #include "usg5-4-2.h" | ||
| 4 | |||
| 5 | #define NEWSOS6 | ||
| 6 | #define HAVE_TEXT_START | ||
| 7 | |||
| 8 | /* arch-tag: a0db9cb0-43bb-4f9e-85fa-384e30f02d74 | ||
| 9 | (do not change this comment) */ | ||
diff --git a/src/s/osf1.h b/src/s/osf1.h deleted file mode 100644 index 7e55ce4fb6d..00000000000 --- a/src/s/osf1.h +++ /dev/null | |||
| @@ -1,99 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on osf1. | ||
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 3 | 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | #include "bsd4-3.h" | ||
| 24 | |||
| 25 | /* Identify OSF1 for the m- files. */ | ||
| 26 | |||
| 27 | #define OSF1 | ||
| 28 | |||
| 29 | #define C_SWITCH_SYSTEM -D_BSD | ||
| 30 | #define LIBS_SYSTEM -lbsd | ||
| 31 | |||
| 32 | #define GETPGRP_NO_ARG | ||
| 33 | |||
| 34 | #define SYSV_SYSTEM_DIR | ||
| 35 | |||
| 36 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 37 | preprocessor symbol "COFF". */ | ||
| 38 | |||
| 39 | #define COFF | ||
| 40 | |||
| 41 | /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option | ||
| 42 | says where to find X windows at run time. We convert it to a -rpath option | ||
| 43 | which is what OSF1 uses. */ | ||
| 44 | #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` | ||
| 45 | |||
| 46 | #define HAVE_TERMIOS | ||
| 47 | |||
| 48 | #ifndef __GNUC__ | ||
| 49 | /* Optimize, inaccurate debugging. */ | ||
| 50 | #define C_DEBUG_SWITCH -g3 | ||
| 51 | #endif | ||
| 52 | |||
| 53 | #ifndef NOT_C_CODE | ||
| 54 | #ifndef OSF5 /* fixed in 5.0 */ | ||
| 55 | /* Hack alert! For reasons unknown to mankind the string.h file insists | ||
| 56 | on defining bcopy etc. as taking char pointers as arguments. With | ||
| 57 | Emacs this produces an endless amount of warning which are harmless, | ||
| 58 | but tends to flood the real errors. This hack works around this problem | ||
| 59 | by not prototyping. */ | ||
| 60 | #define bcopy string_h_bcopy | ||
| 61 | #define bzero string_h_bzero | ||
| 62 | #define bcmp string_h_bcmp | ||
| 63 | #include <string.h> | ||
| 64 | #undef bcopy | ||
| 65 | #undef bzero | ||
| 66 | #undef bcmp | ||
| 67 | #endif | ||
| 68 | #endif | ||
| 69 | |||
| 70 | #define ORDINARY_LINK | ||
| 71 | |||
| 72 | /* Some systems seem to have this, others don't. */ | ||
| 73 | #ifdef HAVE_LIBDNET | ||
| 74 | #define LIBS_MACHINE -ldnet | ||
| 75 | #else | ||
| 76 | #define LIBS_MACHINE -ldnet_stub | ||
| 77 | #endif | ||
| 78 | |||
| 79 | #define LIBS_DEBUG | ||
| 80 | #define START_FILES pre-crt0.o | ||
| 81 | |||
| 82 | #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ | ||
| 83 | #define PTY_NAME_SPRINTF /* none */ | ||
| 84 | #define PTY_TTY_NAME_SPRINTF /* none */ | ||
| 85 | #define PTY_OPEN \ | ||
| 86 | do \ | ||
| 87 | { \ | ||
| 88 | int dummy; \ | ||
| 89 | SIGMASKTYPE mask; \ | ||
| 90 | mask = sigblock (sigmask (SIGCHLD)); \ | ||
| 91 | if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ | ||
| 92 | fd = -1; \ | ||
| 93 | sigsetmask (mask); \ | ||
| 94 | emacs_close (dummy); \ | ||
| 95 | } \ | ||
| 96 | while (0) | ||
| 97 | |||
| 98 | /* arch-tag: 65eaea67-fcc3-4de7-8574-d46beb82d4ed | ||
| 99 | (do not change this comment) */ | ||
diff --git a/src/s/osf5-0.h b/src/s/osf5-0.h deleted file mode 100644 index 4f22f6d641b..00000000000 --- a/src/s/osf5-0.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #define OSF5 | ||
| 2 | #include "osf1.h" | ||
| 3 | |||
| 4 | /* It's enough to define _OSF_SOURCE instead of _BSD. */ | ||
| 5 | |||
| 6 | #undef C_SWITCH_SYSTEM | ||
| 7 | #define C_SWITCH_SYSTEM -D_OSF_SOURCE | ||
| 8 | |||
| 9 | #ifndef NSIG /* _OSF_SOURCE seems to get us this */ | ||
| 10 | #define NSIG __sys_nsig | ||
| 11 | #endif | ||
| 12 | |||
| 13 | /* We have missing/inconsistent prototypes on 5.0, at least. */ | ||
| 14 | #define INHIBIT_X11R6_XIM | ||
| 15 | |||
| 16 | #define USE_MMAP_FOR_BUFFERS 1 | ||
| 17 | |||
| 18 | #define TERMINFO | ||
| 19 | #define LIBS_TERMCAP -lcurses | ||
| 20 | |||
| 21 | #define GC_SETJMP_WORKS 1 | ||
| 22 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | ||
| 23 | |||
| 24 | /* arch-tag: 89580064-dd8c-4533-a47c-0f92d8090945 | ||
| 25 | (do not change this comment) */ | ||
diff --git a/src/s/riscix1-1.h b/src/s/riscix1-1.h deleted file mode 100644 index cccbbd3b2c8..00000000000 --- a/src/s/riscix1-1.h +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on RISCiX 1.1 (bsd 4.3) */ | ||
| 2 | |||
| 3 | #define RISCiX_1_1 1 | ||
| 4 | #define RISCiX 11 | ||
| 5 | #define CRT0_O /lib/crt0.o | ||
| 6 | #include "bsd4-3.h" | ||
| 7 | |||
| 8 | /* arch-tag: 382df034-9843-4a82-8a3a-2e50a4dd532c | ||
| 9 | (do not change this comment) */ | ||
diff --git a/src/s/riscix12.h b/src/s/riscix12.h deleted file mode 100644 index cc81c7da1c7..00000000000 --- a/src/s/riscix12.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on RISCiX 1.2 (bsd 4.3) | ||
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | #define RISCiX_1_2 1 | ||
| 24 | #define RISCiX 12 | ||
| 25 | #define CRT0_O /usr/lib/crt0.o | ||
| 26 | #include "bsd4-3.h" | ||
| 27 | |||
| 28 | /* arch-tag: f6b21e0a-f676-418a-9c8a-10fa8cd9dba7 | ||
| 29 | (do not change this comment) */ | ||
diff --git a/src/s/sco4.h b/src/s/sco4.h deleted file mode 100644 index d16bcbead49..00000000000 --- a/src/s/sco4.h +++ /dev/null | |||
| @@ -1,145 +0,0 @@ | |||
| 1 | /* System description file for SCO 3.2v4. | ||
| 2 | Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* Contributed by Ian Lance Taylor, ian@cygnus.com. */ | ||
| 23 | |||
| 24 | /* SCO is sort of like SVR3. */ | ||
| 25 | #include "usg5-3.h" | ||
| 26 | #define SCO_R4 | ||
| 27 | |||
| 28 | #if 0 /* Turned off rather than make the Lisp code check for this. -- rms. | ||
| 29 | I am assuming that (at least most of) the tests for usg-unix-v | ||
| 30 | do the right thing for sco3.2v4 also. Things that *might* be wrong | ||
| 31 | as a result of turning off these lines include the values of | ||
| 32 | ange-ftp-remote-shell-file-name (now remsh) | ||
| 33 | dired-chown-program (now just chown) | ||
| 34 | lpr-command (now lp) | ||
| 35 | nntp-buggy-select (now t) | ||
| 36 | rmail-spool-directory (now /usr/mail?) | ||
| 37 | and the actions of the function print-region-1. */ | ||
| 38 | |||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. */ | ||
| 40 | #undef SYSTEM_TYPE | ||
| 41 | #define SYSTEM_TYPE "SCO 3.2v4" | ||
| 42 | #endif | ||
| 43 | |||
| 44 | /* SCO supports job control. */ | ||
| 45 | #undef NOMULTIPLEJOBS | ||
| 46 | |||
| 47 | /* SCO has termios. */ | ||
| 48 | #define HAVE_TERMIOS | ||
| 49 | |||
| 50 | /* SCO has ptys with unusual names. */ | ||
| 51 | #define HAVE_PTYS | ||
| 52 | |||
| 53 | #define PTY_ITERATION \ | ||
| 54 | for (i = 0; ; i++) | ||
| 55 | #define PTY_NAME_SPRINTF \ | ||
| 56 | sprintf (pty_name, "/dev/ptyp%d", i); | ||
| 57 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 58 | sprintf (pty_name, "/dev/ttyp%d", i); | ||
| 59 | |||
| 60 | /* Sockets are an option on SCO. If you have X, you have them. | ||
| 61 | They also exist if you have TCP, but we don't know how to test | ||
| 62 | for that. */ | ||
| 63 | #ifdef HAVE_X_WINDOWS | ||
| 64 | #define HAVE_SOCKETS | ||
| 65 | #endif | ||
| 66 | |||
| 67 | /* Must use 'cc' to link when build with motif toolkit. */ | ||
| 68 | #ifndef __GNUC__ | ||
| 69 | #define LINKER cc | ||
| 70 | #endif | ||
| 71 | |||
| 72 | /* This is safe since we already assumed HAVE_SOCKET | ||
| 73 | if using X windows. */ | ||
| 74 | #undef LIBX11_SYSTEM | ||
| 75 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket | ||
| 76 | |||
| 77 | /* Motif needs -lintl on some (maybe all) ofthese systems. */ | ||
| 78 | #ifdef HAVE_LIBINTL | ||
| 79 | #define LIB_MOTIF -lXm -lintl | ||
| 80 | #endif | ||
| 81 | |||
| 82 | #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */ | ||
| 83 | #define HAVE_SOCKETS | ||
| 84 | #endif | ||
| 85 | |||
| 86 | #ifdef HAVE_SOCKETS | ||
| 87 | #define LIBS_SYSTEM -lsocket -lPW | ||
| 88 | |||
| 89 | /* SCO has gettimeofday in socket library */ | ||
| 90 | /* Autoconf should determine this, but for now, | ||
| 91 | play safe to avoid error rather than deleting this | ||
| 92 | and risking the wrong result. */ | ||
| 93 | #ifndef HAVE_GETTIMEOFDAY | ||
| 94 | #define HAVE_GETTIMEOFDAY | ||
| 95 | #endif | ||
| 96 | #endif | ||
| 97 | |||
| 98 | /* This enables configure to tell that we have alloca. */ | ||
| 99 | #ifndef LIBS_SYSTEM | ||
| 100 | #define LIBS_SYSTEM -lPW | ||
| 101 | #endif | ||
| 102 | |||
| 103 | /* configure can't get this right linking fails unless -lsocket is used. */ | ||
| 104 | #undef HAVE_XSCREENNUMBEROFSCREEN | ||
| 105 | #define HAVE_XSCREENNUMBEROFSCREEN | ||
| 106 | |||
| 107 | /* We don't have -loldX, and we don't need it. */ | ||
| 108 | #define LIB_XMENU_LIB | ||
| 109 | |||
| 110 | /* SCO does have TIOCGWINSZ. */ | ||
| 111 | #undef BROKEN_TIOCGWINSZ | ||
| 112 | #define NEED_PTEM_H | ||
| 113 | |||
| 114 | /* We need to link with crt1.o and crtn.o. */ | ||
| 115 | #define START_FILES pre-crt0.o /lib/crt1.o | ||
| 116 | #define LIB_STANDARD -lc /lib/crtn.o | ||
| 117 | |||
| 118 | /* Send signals to subprocesses by "typing" signal chars at them. */ | ||
| 119 | #define SIGNALS_VIA_CHARACTERS | ||
| 120 | |||
| 121 | /* Specify program for etc/fakemail to run. Define SMAIL if you are | ||
| 122 | using smail, don't for MMDF. */ | ||
| 123 | |||
| 124 | #ifdef SMAIL | ||
| 125 | #define MAIL_PROGRAM_NAME "/bin/smail -q0" | ||
| 126 | #else | ||
| 127 | #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | ||
| 128 | #endif | ||
| 129 | |||
| 130 | /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ | ||
| 131 | #define PREFER_VSUSP | ||
| 132 | |||
| 133 | /* wjs@wang.com (William Smith) says this is needed on 3.2.4.2. */ | ||
| 134 | #define POSIX_SIGNALS | ||
| 135 | |||
| 136 | /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets", | ||
| 137 | but only for network connections. | ||
| 138 | It doesn't have the kind of sockets that emacsclient.c | ||
| 139 | and emacsserver.c would use. */ | ||
| 140 | #define NO_SOCKETS_IN_FILE_SYSTEM | ||
| 141 | |||
| 142 | #define NARROWPROTO 1 | ||
| 143 | |||
| 144 | /* arch-tag: 4dd6fe94-bcb7-4be0-942a-ff4bc3cd914e | ||
| 145 | (do not change this comment) */ | ||
diff --git a/src/s/sco5.h b/src/s/sco5.h deleted file mode 100644 index 1f56a998014..00000000000 --- a/src/s/sco5.h +++ /dev/null | |||
| @@ -1,175 +0,0 @@ | |||
| 1 | /* System description file for SCO 3.2v5. | ||
| 2 | Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 3 | 2007 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 3, 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 the | ||
| 19 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* Contributed by Mark Diekhans <markd@grizzly.com>. */ | ||
| 23 | |||
| 24 | /* SCO is sort of like SVR3. */ | ||
| 25 | #include "usg5-3.h" | ||
| 26 | #define SCO_R5 | ||
| 27 | |||
| 28 | #if 0 /* Turned off rather than make the Lisp code check for this. -- rms. | ||
| 29 | I am assuming that (at least most of) the tests for usg-unix-v | ||
| 30 | do the right thing for sco3.2v4 also. Things that *might* be wrong | ||
| 31 | as a result of turning off these lines include the values of | ||
| 32 | ange-ftp-remote-shell-file-name (now remsh) | ||
| 33 | dired-chown-program (now just chown) | ||
| 34 | lpr-command (now lp) | ||
| 35 | nntp-buggy-select (now t) | ||
| 36 | rmail-spool-directory (now /usr/mail?) | ||
| 37 | and the actions of the function print-region-1. */ | ||
| 38 | |||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. */ | ||
| 40 | #undef SYSTEM_TYPE | ||
| 41 | #define SYSTEM_TYPE "SCO 3.2v4" | ||
| 42 | #endif | ||
| 43 | |||
| 44 | /* SCO supports job control. */ | ||
| 45 | #undef NOMULTIPLEJOBS | ||
| 46 | |||
| 47 | /* SCO has termios. */ | ||
| 48 | #define HAVE_TERMIOS | ||
| 49 | |||
| 50 | /* SCO has ptys with unusual names. */ | ||
| 51 | #define HAVE_PTYS | ||
| 52 | |||
| 53 | #define PTY_ITERATION \ | ||
| 54 | for (i = 0; ; i++) | ||
| 55 | #define PTY_NAME_SPRINTF \ | ||
| 56 | sprintf (pty_name, "/dev/ptyp%d", i); | ||
| 57 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 58 | sprintf (pty_name, "/dev/ttyp%d", i); | ||
| 59 | |||
| 60 | /* Sockets are an option on SCO. If you have X, you have them. | ||
| 61 | They also exist if you have TCP, but we don't know how to test | ||
| 62 | for that. */ | ||
| 63 | #ifdef HAVE_X_WINDOWS | ||
| 64 | #define HAVE_SOCKETS | ||
| 65 | #endif | ||
| 66 | |||
| 67 | #ifndef __GNUC__ | ||
| 68 | #define LINKER ld | ||
| 69 | #endif | ||
| 70 | |||
| 71 | /* This is safe since we already assumed HAVE_SOCKET | ||
| 72 | if using X windows. */ | ||
| 73 | #undef LIBX11_SYSTEM | ||
| 74 | #define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket | ||
| 75 | #ifdef MOTIF | ||
| 76 | # define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON | ||
| 77 | #else /* ndef MOTIF */ | ||
| 78 | # define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON | ||
| 79 | #endif /* ndef MOTIF */ | ||
| 80 | |||
| 81 | #undef LIB_X11_LIB | ||
| 82 | #define LIB_X11_LIB -lX11 | ||
| 83 | |||
| 84 | #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */ | ||
| 85 | #define HAVE_SOCKETS | ||
| 86 | #endif | ||
| 87 | |||
| 88 | #ifdef HAVE_SOCKETS | ||
| 89 | #define LIBS_SYSTEM -lsocket -lPW | ||
| 90 | #endif | ||
| 91 | |||
| 92 | #ifndef HAVE_GETTIMEOFDAY | ||
| 93 | #define HAVE_GETTIMEOFDAY | ||
| 94 | #endif | ||
| 95 | |||
| 96 | /* This enables configure to tell that we have alloca. */ | ||
| 97 | #ifndef LIBS_SYSTEM | ||
| 98 | #define LIBS_SYSTEM -lPW | ||
| 99 | #endif | ||
| 100 | |||
| 101 | /* configure can't get this right linking fails unless -lsocket is used. */ | ||
| 102 | #undef HAVE_XSCREENNUMBEROFSCREEN | ||
| 103 | #define HAVE_XSCREENNUMBEROFSCREEN | ||
| 104 | |||
| 105 | /* We don't have -loldX, and we don't need it. */ | ||
| 106 | #define LIB_XMENU_LIB | ||
| 107 | |||
| 108 | /* SCO does have TIOCGWINSZ. */ | ||
| 109 | #undef BROKEN_TIOCGWINSZ | ||
| 110 | #define NEED_PTEM_H | ||
| 111 | |||
| 112 | /* We need to link with crt1.o and crtn.o. */ | ||
| 113 | #define START_FILES pre-crt0.o /lib/crt1.o | ||
| 114 | #define LIB_STANDARD -lc /lib/crtn.o | ||
| 115 | |||
| 116 | /* Send signals to subprocesses by "typing" signal chars at them. */ | ||
| 117 | #define SIGNALS_VIA_CHARACTERS | ||
| 118 | |||
| 119 | /* Specify program for etc/fakemail to run. Define SMAIL if you are | ||
| 120 | using smail, don't for MMDF. */ | ||
| 121 | |||
| 122 | #ifdef SMAIL | ||
| 123 | #define MAIL_PROGRAM_NAME "/bin/smail -q0" | ||
| 124 | #else | ||
| 125 | #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | ||
| 126 | #endif | ||
| 127 | |||
| 128 | /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ | ||
| 129 | #define PREFER_VSUSP | ||
| 130 | |||
| 131 | /* SCO Unix has Posix signals, but in 3.2.5 something broken that causes | ||
| 132 | * all keyboard-quit signals to be lost after the first one. */ | ||
| 133 | #undef POSIX_SIGNALS | ||
| 134 | |||
| 135 | #define SIGMASKTYPE long | ||
| 136 | |||
| 137 | #ifndef NOT_C_CODE | ||
| 138 | extern SIGMASKTYPE sigprocmask_set; | ||
| 139 | #endif /* not NOT_C_CODE */ | ||
| 140 | |||
| 141 | #define sigblock(sig) \ | ||
| 142 | (sigprocmask_set = SIGEMPTYMASK | (sig), \ | ||
| 143 | sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) | ||
| 144 | #define sigunblock(sig) \ | ||
| 145 | (sigprocmask_set = SIGFULLMASK & ~(sig), \ | ||
| 146 | sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) | ||
| 147 | |||
| 148 | #ifndef PENDING_OUTPUT_COUNT | ||
| 149 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base) | ||
| 150 | #endif | ||
| 151 | |||
| 152 | /* Use ELF and get real shared libraries */ | ||
| 153 | |||
| 154 | #undef COFF | ||
| 155 | #define ELF | ||
| 156 | |||
| 157 | #define UNEXEC unexelf.o | ||
| 158 | |||
| 159 | #ifndef __GNUC__ | ||
| 160 | #define C_SWITCH_SYSTEM -belf | ||
| 161 | #define LD_SWITCH_SYSTEM -belf | ||
| 162 | #endif | ||
| 163 | |||
| 164 | /* Don't disable static function, as SCO's header files have some.*/ | ||
| 165 | #undef static | ||
| 166 | |||
| 167 | #undef START_FILES | ||
| 168 | #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o | ||
| 169 | #undef LIB_STANDARD | ||
| 170 | #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o | ||
| 171 | |||
| 172 | #define NARROWPROTO 1 | ||
| 173 | |||
| 174 | /* arch-tag: 930541b5-52d9-4cbe-b73c-f4c72091f5df | ||
| 175 | (do not change this comment) */ | ||
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h deleted file mode 100644 index bf77812f32c..00000000000 --- a/src/s/sunos4-0.h +++ /dev/null | |||
| @@ -1,75 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on sunos 4.0. | ||
| 2 | |||
| 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #include "bsd4-2.h" | ||
| 25 | |||
| 26 | #ifndef SUNOS4 | ||
| 27 | #define SUNOS4 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #if 0 /* This may have been needed for an earlier version of Sun OS 4. | ||
| 31 | It seems to cause warnings in 4.0.3 and 4.1. */ | ||
| 32 | #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ | ||
| 33 | #endif | ||
| 34 | |||
| 35 | /* We use the Sun syntax -Bstatic unconditionally, because even when we | ||
| 36 | use GCC, these are passed through to the linker, not handled by GCC | ||
| 37 | directly. */ | ||
| 38 | #define LD_SWITCH_SYSTEM -Bstatic | ||
| 39 | |||
| 40 | /* We use this for linking temacs, but not for other programs | ||
| 41 | or for tests in configure. */ | ||
| 42 | #define LD_SWITCH_SYSTEM_TEMACS -e __start | ||
| 43 | |||
| 44 | /* In SunOS 4.1, a static function called by tzsetwall reportedly | ||
| 45 | clears the byte just past an eight byte region it mallocs, corrupting | ||
| 46 | GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */ | ||
| 47 | |||
| 48 | #define SYSTEM_MALLOC | ||
| 49 | |||
| 50 | /* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */ | ||
| 51 | |||
| 52 | #ifndef __STDC__ | ||
| 53 | #define ABORT_RETURN_TYPE int | ||
| 54 | #define FREE_RETURN_TYPE int | ||
| 55 | #endif | ||
| 56 | |||
| 57 | #ifdef __GNUC__ | ||
| 58 | /* We must define mkdir with this arg prototype | ||
| 59 | to match GCC's fixed stat.h. */ | ||
| 60 | #define MKDIR_PROTOTYPE \ | ||
| 61 | int mkdir (const char *dpath, unsigned short dmode) | ||
| 62 | #endif /* __GNUC__ */ | ||
| 63 | |||
| 64 | /* Must use the system's termcap, if we use any termcap. | ||
| 65 | It does special things. */ | ||
| 66 | |||
| 67 | #ifndef TERMINFO | ||
| 68 | #define LIBS_TERMCAP -ltermcap | ||
| 69 | #endif | ||
| 70 | |||
| 71 | #define GC_SETJMP_WORKS 1 | ||
| 72 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | ||
| 73 | |||
| 74 | /* arch-tag: 362f3bfc-810d-4f6e-9b83-5a32f8f1a926 | ||
| 75 | (do not change this comment) */ | ||
diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h deleted file mode 100644 index 2e41c55bbfe..00000000000 --- a/src/s/sunos4-1.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | #include "sunos4-0.h" | ||
| 2 | |||
| 3 | /* Cause the compilation of oldxmenu to use the right -I option. */ | ||
| 4 | #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM | ||
| 5 | |||
| 6 | #if 0 /* This isn't right. Apparently some sites do have -lresolv | ||
| 7 | but don't use that. On those systems, the code below loses. | ||
| 8 | There's no way to win automatically unless someone | ||
| 9 | figures out a way of determining automatically which way is right | ||
| 10 | on any given system. */ | ||
| 11 | /* Some systems do not run the Network Information Service, but have | ||
| 12 | modified the shared C library to include resolver support without | ||
| 13 | also changing the C archive library (/usr/lib/libc.a). If we | ||
| 14 | detect the presence of libresolv.a, use -lresolv to supplement libc.a. | ||
| 15 | |||
| 16 | We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from | ||
| 17 | setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays | ||
| 18 | configure is smarter about computing libsrc_libs, and would not | ||
| 19 | be fooled. Anyway, why not use -lresolv in lib-src? */ | ||
| 20 | /* #ifdef HAVE_GETHOSTNAME */ | ||
| 21 | #ifdef HAVE_LIBRESOLV | ||
| 22 | #define LIBS_SYSTEM -lresolv | ||
| 23 | #endif | ||
| 24 | /* #endif */ | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ | ||
| 28 | /* Tell GNU malloc to compensate for a bug in localtime. */ | ||
| 29 | #define SUNOS_LOCALTIME_BUG | ||
| 30 | #endif | ||
| 31 | |||
| 32 | /* Define dlopen, dlclose, dlsym. */ | ||
| 33 | #define USE_DL_STUBS | ||
| 34 | |||
| 35 | /* arch-tag: 154e2eb2-2180-4d66-90b9-7e56a22004f2 | ||
| 36 | (do not change this comment) */ | ||
diff --git a/src/s/sunos413.h b/src/s/sunos413.h deleted file mode 100644 index 9f40f2fa3af..00000000000 --- a/src/s/sunos413.h +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | #include "sunos4-1.h" | ||
| 2 | |||
| 3 | /* jik@gza.com says this works now. */ | ||
| 4 | /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ | ||
| 5 | |||
| 6 | #undef SYSTEM_MALLOC | ||
| 7 | |||
| 8 | /* barrie@calvin.demon.co.uk says memmove is missing. */ | ||
| 9 | #ifndef SYSTEM_MALLOC | ||
| 10 | #define MEMMOVE_MISSING | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #define USE_MMAP_FOR_BUFFERS 1 | ||
| 14 | |||
| 15 | /* arch-tag: ebd184b0-9084-4306-8e71-c0437330e1e1 | ||
| 16 | (do not change this comment) */ | ||
diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h deleted file mode 100644 index 5ebbae3a0a2..00000000000 --- a/src/s/sunos4shr.h +++ /dev/null | |||
| @@ -1,84 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 3 | 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* This file permits building Emacs with a shared libc on Sunos 4. | ||
| 24 | To make this work, you must completely replace your C shared library | ||
| 25 | using one of the SunOS 4.1.x jumbo replacement patches from Sun. | ||
| 26 | Here are the patch numbers for Sunos 4.1.3: | ||
| 27 | 100890-10 SunOS 4.1.3: domestic libc jumbo patch | ||
| 28 | 100891-10 SunOS 4.1.3: international libc jumbo patch */ | ||
| 29 | |||
| 30 | |||
| 31 | #include "sunos4-1.h" | ||
| 32 | |||
| 33 | /* Say that the text segment of a.out includes the header; | ||
| 34 | the header actually occupies the first few bytes of the text segment | ||
| 35 | and is counted in hdr.a_text. */ | ||
| 36 | |||
| 37 | /* Misleading! Actually gets loaded after crt0.o */ | ||
| 38 | #define START_FILES pre-crt0.o | ||
| 39 | |||
| 40 | /* | ||
| 41 | * Kludge! can't get at symbol "start" in std crt0.o | ||
| 42 | * Who the #$%&* decided to remove the __ characters! | ||
| 43 | * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in | ||
| 44 | * sysdep.c. We do not use this address so any value should do really. Still | ||
| 45 | * may need it in the future? | ||
| 46 | */ | ||
| 47 | #define BROKEN_START | ||
| 48 | #define TEXT_START 0x2020 | ||
| 49 | |||
| 50 | #define UNEXEC unexsunos4.o | ||
| 51 | #define RUN_TIME_REMAP | ||
| 52 | #define ORDINARY_LINK | ||
| 53 | #define SUNOS4_SHARED_LIBRARIES | ||
| 54 | |||
| 55 | #undef LD_SWITCH_SYSTEM | ||
| 56 | #undef LD_SWITCH_SYSTEM_TEMACS | ||
| 57 | |||
| 58 | #undef SYSTEM_MALLOC | ||
| 59 | #ifndef GNU_MALLOC | ||
| 60 | #define GNU_MALLOC | ||
| 61 | #endif | ||
| 62 | #ifndef REL_ALLOC | ||
| 63 | #define REL_ALLOC | ||
| 64 | #endif | ||
| 65 | |||
| 66 | /* khera@cs.duke.edu says this is needed. */ | ||
| 67 | #define memmove(to, from, size) bcopy (from, to, size) | ||
| 68 | |||
| 69 | #undef USE_DL_STUBS | ||
| 70 | |||
| 71 | #ifndef HAVE_X11R6 | ||
| 72 | /* With X11R5 it was reported that linking -lXmu dynamically | ||
| 73 | did not work. With X11R6, it does work; and since normally | ||
| 74 | only the dynamic libraries are available, we should use them. */ | ||
| 75 | #ifdef __GNUC__ | ||
| 76 | #define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic | ||
| 77 | #else | ||
| 78 | #define LIBXMU -Bstatic -lXmu -Bdynamic | ||
| 79 | #endif | ||
| 80 | |||
| 81 | #endif /* not HAVE_X11R6 */ | ||
| 82 | |||
| 83 | /* arch-tag: cb54321a-ed45-4c17-a23e-1c157758da78 | ||
| 84 | (do not change this comment) */ | ||
diff --git a/src/s/umax.h b/src/s/umax.h deleted file mode 100644 index aa73faa4917..00000000000 --- a/src/s/umax.h +++ /dev/null | |||
| @@ -1,170 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on UMAX 4.2 | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | /* #define UNIPLUS */ | ||
| 29 | /* #define USG5 */ | ||
| 30 | /* #define USG */ | ||
| 31 | /* #define BSD4_1 */ | ||
| 32 | #define BSD4_2 | ||
| 33 | /* #define BSD4_3 */ | ||
| 34 | #define BSD_SYSTEM | ||
| 35 | #define UMAX4_2 | ||
| 36 | #define UMAX | ||
| 37 | /* #define VMS */ | ||
| 38 | |||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 40 | It sets the Lisp variable system-type. */ | ||
| 41 | |||
| 42 | #define SYSTEM_TYPE "berkeley-unix" | ||
| 43 | |||
| 44 | /* NOMULTIPLEJOBS should be defined if your system's shell | ||
| 45 | does not have "job control" (the ability to stop a program, | ||
| 46 | run some other program, then continue the first one). */ | ||
| 47 | |||
| 48 | /* #define NOMULTIPLEJOBS */ | ||
| 49 | |||
| 50 | /* Emacs can read input using SIGIO and buffering characters itself, | ||
| 51 | or using CBREAK mode and making C-g cause SIGINT. | ||
| 52 | The choice is controlled by the variable interrupt_input. | ||
| 53 | Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | ||
| 54 | |||
| 55 | SIGIO can be used only on systems that implement it (4.2 and 4.3). | ||
| 56 | CBREAK mode has two disadvantages | ||
| 57 | 1) At least in 4.2, it is impossible to handle the Meta key properly. | ||
| 58 | I hear that in system V this problem does not exist. | ||
| 59 | 2) Control-G causes output to be discarded. | ||
| 60 | I do not know whether this can be fixed in system V. | ||
| 61 | |||
| 62 | Another method of doing input is planned but not implemented. | ||
| 63 | It would have Emacs fork off a separate process | ||
| 64 | to read the input and send it to the true Emacs process | ||
| 65 | through a pipe. | ||
| 66 | */ | ||
| 67 | |||
| 68 | #define INTERRUPT_INPUT | ||
| 69 | |||
| 70 | /* Letter to use in finding device name of first pty, | ||
| 71 | if system supports pty's. 'a' means it is /dev/ptya0 */ | ||
| 72 | |||
| 73 | #define FIRST_PTY_LETTER 'p' | ||
| 74 | |||
| 75 | /* | ||
| 76 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 77 | */ | ||
| 78 | |||
| 79 | #define HAVE_PTYS | ||
| 80 | |||
| 81 | /* Define this macro if system defines a type `union wait'. */ | ||
| 82 | |||
| 83 | #define HAVE_UNION_WAIT | ||
| 84 | |||
| 85 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 86 | |||
| 87 | #define HAVE_SOCKETS | ||
| 88 | |||
| 89 | /* | ||
| 90 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 91 | * The 4.2 opendir, etc., library functions. | ||
| 92 | */ | ||
| 93 | |||
| 94 | /* #define NONSYSTEM_DIR_LIBRARY */ | ||
| 95 | |||
| 96 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 97 | |||
| 98 | #define BSTRING | ||
| 99 | |||
| 100 | /* subprocesses should be defined if you want to | ||
| 101 | have code for asynchronous subprocesses | ||
| 102 | (as used in M-x compile and M-x shell). | ||
| 103 | This is generally OS dependent, and not supported | ||
| 104 | under most USG systems. */ | ||
| 105 | |||
| 106 | #define subprocesses | ||
| 107 | |||
| 108 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 109 | preprocessor symbol "COFF". */ | ||
| 110 | |||
| 111 | #define COFF | ||
| 112 | |||
| 113 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 114 | to interlock access to /usr/spool/mail/$USER. | ||
| 115 | The alternative is that a lock file named | ||
| 116 | /usr/spool/mail/$USER.lock. */ | ||
| 117 | |||
| 118 | #define MAIL_USE_FLOCK | ||
| 119 | |||
| 120 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 121 | so that Emacs can tell instantly when you try to modify | ||
| 122 | a file that someone else has modified in his Emacs. */ | ||
| 123 | |||
| 124 | #define CLASH_DETECTION | ||
| 125 | |||
| 126 | /* The file containing the kernel's symbol table is called /vmunix. */ | ||
| 127 | |||
| 128 | #define KERNEL_FILE "/vmunix" | ||
| 129 | |||
| 130 | /* The symbol in the kernel where the load average is found | ||
| 131 | is named _avenrun. */ | ||
| 132 | |||
| 133 | #define LDAV_SYMBOL "_avenrun" | ||
| 134 | |||
| 135 | /* Here, on a separate page, add any special hacks needed | ||
| 136 | to make Emacs work on this system. For example, | ||
| 137 | you might define certain system call names that don't | ||
| 138 | exist on your system, or that do different things on | ||
| 139 | your system and must be used only through an encapsulation | ||
| 140 | (Which you should place, by convention, in sysdep.c). */ | ||
| 141 | |||
| 142 | /* Specify alignment requirement for start of text and data sections | ||
| 143 | in the executable file. */ | ||
| 144 | |||
| 145 | #define SECTION_ALIGNMENT pagemask | ||
| 146 | |||
| 147 | |||
| 148 | #define SEGMENT_MASK (64 * 1024 - 1) | ||
| 149 | |||
| 150 | |||
| 151 | /* crt0.c needs this for compilation because it uses asm. */ | ||
| 152 | |||
| 153 | #define C_SWITCH_ASM -q nodirect_code | ||
| 154 | |||
| 155 | /* Encore machines with APC processor boards align sections on 4M | ||
| 156 | boundaries, so it is not easy to remap the start of the text segment | ||
| 157 | in the unexec() routine. For them you need the following two lines. | ||
| 158 | For DPC processors you can enable these or not, as you wish, but | ||
| 159 | you will get better performance without them. */ | ||
| 160 | |||
| 161 | /* #define NO_REMAP | ||
| 162 | #define TEXT_START 0 | ||
| 163 | */ | ||
| 164 | |||
| 165 | /* Process groups work in the traditional BSD manner. */ | ||
| 166 | |||
| 167 | #define BSD_PGRPS | ||
| 168 | |||
| 169 | /* arch-tag: 2860edda-ce9e-4cfa-943d-3a06c7045854 | ||
| 170 | (do not change this comment) */ | ||
diff --git a/src/s/unipl5-2.h b/src/s/unipl5-2.h deleted file mode 100644 index 5730fa65284..00000000000 --- a/src/s/unipl5-2.h +++ /dev/null | |||
| @@ -1,160 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2 | ||
| 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* | ||
| 24 | * Define symbols to identify the version of Unix this is. | ||
| 25 | * Define all the symbols that apply correctly. | ||
| 26 | */ | ||
| 27 | |||
| 28 | #define USG /* System III, System V, etc */ | ||
| 29 | |||
| 30 | #define USG5 | ||
| 31 | |||
| 32 | #define UNIPLUS | ||
| 33 | |||
| 34 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 35 | It sets the Lisp variable system-type. */ | ||
| 36 | |||
| 37 | #define SYSTEM_TYPE "unisoft-unix" | ||
| 38 | |||
| 39 | /* nomultiplejobs should be defined if your system's shell | ||
| 40 | does not have "job control" (the ability to stop a program, | ||
| 41 | run some other program, then continue the first one). */ | ||
| 42 | |||
| 43 | /* #define NOMULTIPLEJOBS */ | ||
| 44 | |||
| 45 | /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | ||
| 46 | |||
| 47 | /* #define INTERRUPT_INPUT */ | ||
| 48 | |||
| 49 | /* Letter to use in finding device name of first pty, | ||
| 50 | if system supports pty's. 'p' means it is /dev/ptyp0 */ | ||
| 51 | |||
| 52 | #define FIRST_PTY_LETTER 'p' | ||
| 53 | |||
| 54 | /* | ||
| 55 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 56 | * for terminal control. | ||
| 57 | */ | ||
| 58 | |||
| 59 | #define HAVE_TERMIO | ||
| 60 | |||
| 61 | /* | ||
| 62 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 63 | */ | ||
| 64 | |||
| 65 | #define HAVE_PTYS | ||
| 66 | |||
| 67 | /* Define this macro if system defines a type `union wait'. */ | ||
| 68 | |||
| 69 | #define HAVE_UNION_WAIT | ||
| 70 | |||
| 71 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 72 | |||
| 73 | /* #define HAVE_SOCKETS */ | ||
| 74 | |||
| 75 | /* | ||
| 76 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 77 | * The 4.2 opendir, etc., library functions. | ||
| 78 | */ | ||
| 79 | |||
| 80 | #define NONSYSTEM_DIR_LIBRARY | ||
| 81 | |||
| 82 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 83 | |||
| 84 | /* #define BSTRING */ | ||
| 85 | |||
| 86 | /* subprocesses should be defined if you want to | ||
| 87 | have code for asynchronous subprocesses | ||
| 88 | (as used in M-x compile and M-x shell). | ||
| 89 | This is generally OS dependent, and not supported | ||
| 90 | under most USG systems. It is supported under UniPlus | ||
| 91 | System V Release 2. */ | ||
| 92 | |||
| 93 | #define subprocesses | ||
| 94 | |||
| 95 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 96 | preprocessor symbol "COFF". */ | ||
| 97 | |||
| 98 | #define COFF | ||
| 99 | |||
| 100 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 101 | to interlock access to /usr/spool/mail/$USER. | ||
| 102 | The alternative is that a lock file named | ||
| 103 | /usr/spool/mail/$USER.lock. */ | ||
| 104 | |||
| 105 | /* #define MAIL_USE_FLOCK */ | ||
| 106 | |||
| 107 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 108 | so that Emacs can tell instantly when you try to modify | ||
| 109 | a file that someone else has modified in his Emacs. */ | ||
| 110 | |||
| 111 | /* #define CLASH_DETECTION */ | ||
| 112 | |||
| 113 | /* Uniplus 5.2 supports long names in C */ | ||
| 114 | |||
| 115 | /* #define SHORTNAMES */ | ||
| 116 | |||
| 117 | /* The file containing the kernel's symbol table is called /unix. */ | ||
| 118 | |||
| 119 | #define KERNEL_FILE "/unix" | ||
| 120 | |||
| 121 | /* The symbol in the kernel where the load average is found | ||
| 122 | is named avenrun. */ | ||
| 123 | |||
| 124 | #define LDAV_SYMBOL "avenrun" | ||
| 125 | |||
| 126 | /* Special hacks needed to make Emacs run on this system. */ | ||
| 127 | |||
| 128 | /* | ||
| 129 | * Make the sigsetmask function go away. Don't know what the | ||
| 130 | * ramifications of this are, but doesn't seem possible to | ||
| 131 | * emulate it properly anyway at this point. | ||
| 132 | */ | ||
| 133 | |||
| 134 | #define sigsetmask(mask) /* Null expansion */ | ||
| 135 | |||
| 136 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | ||
| 137 | but they will run slower. */ | ||
| 138 | |||
| 139 | #define _setjmp setjmp | ||
| 140 | #define _longjmp longjmp | ||
| 141 | |||
| 142 | /* On USG systems these have different names */ | ||
| 143 | |||
| 144 | #define index strchr | ||
| 145 | #define rindex strrchr | ||
| 146 | |||
| 147 | /* Compiler bug bites when default ADDR_CORRECT is used. */ | ||
| 148 | |||
| 149 | #define ADDR_CORRECT(x) (x) | ||
| 150 | |||
| 151 | /* Special library needed for linking for Uniplus */ | ||
| 152 | |||
| 153 | #define LIBS_SYSTEM -lnet | ||
| 154 | |||
| 155 | /* A system-specific loader switch is needed. */ | ||
| 156 | |||
| 157 | #define LD_SWITCH_SYSTEM -N -L/lib/libg /usr/lib/unshared.ld | ||
| 158 | |||
| 159 | /* arch-tag: d3f952a9-fef5-45d5-9c1e-c1c32bfef86c | ||
| 160 | (do not change this comment) */ | ||
diff --git a/src/s/xenix.h b/src/s/xenix.h deleted file mode 100644 index c5b3cf225e0..00000000000 --- a/src/s/xenix.h +++ /dev/null | |||
| @@ -1,212 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running SCO Xenix 386 Release 2.2 | ||
| 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 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 3, 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, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Define symbols to identify the version of Unix this is. | ||
| 24 | * Define all the symbols that apply correctly. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* #define UNIPLUS */ | ||
| 28 | #define XENIX | ||
| 29 | #define USG5 | ||
| 30 | #define USG | ||
| 31 | /* #define HPUX */ | ||
| 32 | /* #define UMAX */ | ||
| 33 | /* #define BSD4_1 */ | ||
| 34 | /* #define BSD4_2 */ | ||
| 35 | /* #define BSD4_3 */ | ||
| 36 | /* #define BSD_SYSTEM */ | ||
| 37 | /* #define VMS */ | ||
| 38 | |||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 40 | It sets the Lisp variable system-type. */ | ||
| 41 | |||
| 42 | #define SYSTEM_TYPE "xenix" | ||
| 43 | |||
| 44 | /* NOMULTIPLEJOBS should be defined if your system's shell | ||
| 45 | does not have "job control" (the ability to stop a program, | ||
| 46 | run some other program, then continue the first one). */ | ||
| 47 | |||
| 48 | #define NOMULTIPLEJOBS | ||
| 49 | |||
| 50 | /* Emacs can read input using SIGIO and buffering characters itself, | ||
| 51 | or using CBREAK mode and making C-g cause SIGINT. | ||
| 52 | The choice is controlled by the variable interrupt_input. | ||
| 53 | Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | ||
| 54 | |||
| 55 | SIGIO can be used only on systems that implement it (4.2 and 4.3). | ||
| 56 | CBREAK mode has two disadvantages: | ||
| 57 | 1) At least in 4.2, it is impossible to handle the Meta key properly. | ||
| 58 | I hear that in system V this problem does not exist. | ||
| 59 | 2) Control-G causes output to be discarded. | ||
| 60 | I do not know whether this can be fixed in system V. | ||
| 61 | |||
| 62 | Another method of doing input is planned but not implemented. | ||
| 63 | It would have Emacs fork off a separate process | ||
| 64 | to read the input and send it to the true Emacs process | ||
| 65 | through a pipe. | ||
| 66 | */ | ||
| 67 | |||
| 68 | /* #define INTERRUPT_INPUT */ | ||
| 69 | |||
| 70 | /* Letter to use in finding device name of first pty, | ||
| 71 | if system supports pty's. 'p' means it is /dev/ptyp0 */ | ||
| 72 | |||
| 73 | /* #define FIRST_PTY_LETTER 'p' */ | ||
| 74 | |||
| 75 | /* | ||
| 76 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 77 | * for terminal control. | ||
| 78 | */ | ||
| 79 | |||
| 80 | #define HAVE_TERMIO | ||
| 81 | |||
| 82 | /* | ||
| 83 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 84 | */ | ||
| 85 | |||
| 86 | /* #define HAVE_PTYS */ | ||
| 87 | |||
| 88 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 89 | |||
| 90 | /* #define HAVE_SOCKETS */ | ||
| 91 | |||
| 92 | /* | ||
| 93 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 94 | * The 4.2 opendir, etc., library functions. | ||
| 95 | */ | ||
| 96 | |||
| 97 | #define NONSYSTEM_DIR_LIBRARY | ||
| 98 | |||
| 99 | /* Define this symbol if your system has the functions bcopy, etc. */ | ||
| 100 | |||
| 101 | /* #define BSTRING */ | ||
| 102 | |||
| 103 | /* subprocesses should be defined if you want to | ||
| 104 | have code for asynchronous subprocesses | ||
| 105 | (as used in M-x compile and M-x shell). | ||
| 106 | This is supposed to work now on system V release 2. */ | ||
| 107 | |||
| 108 | #define subprocesses | ||
| 109 | |||
| 110 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 111 | preprocessor symbol "COFF". */ | ||
| 112 | |||
| 113 | /* #define COFF */ | ||
| 114 | |||
| 115 | /* Xenix requires completely different unexec code | ||
| 116 | which lives in a separate file. Specify the file name. */ | ||
| 117 | |||
| 118 | #define UNEXEC unexenix.o | ||
| 119 | |||
| 120 | /* define MAIL_USE_FLOCK if the mailer uses flock | ||
| 121 | to interlock access to /usr/spool/mail/$USER. | ||
| 122 | The alternative is that a lock file named | ||
| 123 | /usr/spool/mail/$USER.lock. */ | ||
| 124 | |||
| 125 | #define MAIL_USE_FLOCK | ||
| 126 | |||
| 127 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 128 | so that Emacs can tell instantly when you try to modify | ||
| 129 | a file that someone else has modified in his Emacs. */ | ||
| 130 | |||
| 131 | /* The way this is implemented requires long filenames... */ | ||
| 132 | /* #define CLASH_DETECTION */ | ||
| 133 | |||
| 134 | /* Define SHORTNAMES if the C compiler can distinguish only | ||
| 135 | short names. It means that the stuff in ../shortnames | ||
| 136 | must be run to convert the long names to short ones. */ | ||
| 137 | |||
| 138 | /* #define SHORTNAMES */ | ||
| 139 | |||
| 140 | /* Compensate for one incompatibility between Xenix and V.0. */ | ||
| 141 | #define n_zeroes n_name[0] | ||
| 142 | |||
| 143 | /* The file containing the kernel's symbol table is called /xenix. */ | ||
| 144 | |||
| 145 | #define KERNEL_FILE "/xenix" | ||
| 146 | |||
| 147 | /* The symbol in the kernel where the load average is found | ||
| 148 | is named avenrun. */ | ||
| 149 | |||
| 150 | #define LDAV_SYMBOL "_avenrun" | ||
| 151 | |||
| 152 | /* Special hacks needed to make Emacs run on this system. */ | ||
| 153 | |||
| 154 | /* | ||
| 155 | * Make the sigsetmask function go away. Don't know what the | ||
| 156 | * ramifications of this are, but doesn't seem possible to | ||
| 157 | * emulate it properly anyway at this point. | ||
| 158 | */ | ||
| 159 | |||
| 160 | #define sigsetmask(mask) /* Null expansion */ | ||
| 161 | |||
| 162 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | ||
| 163 | but they will run slower. */ | ||
| 164 | |||
| 165 | #define _setjmp setjmp | ||
| 166 | #define _longjmp longjmp | ||
| 167 | |||
| 168 | /* On USG systems these have different names */ | ||
| 169 | |||
| 170 | #define index strchr | ||
| 171 | #define rindex strrchr | ||
| 172 | |||
| 173 | /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | ||
| 174 | |||
| 175 | #define ADDR_CORRECT(x) (x) | ||
| 176 | |||
| 177 | /* Prevent -lg from being used for debugging. Not implemented? */ | ||
| 178 | |||
| 179 | #define LIBS_DEBUG | ||
| 180 | |||
| 181 | /* Switches for linking temacs. */ | ||
| 182 | |||
| 183 | #define LD_SWITCH_SYSTEM -i | ||
| 184 | |||
| 185 | /* Xenix implements sysV style IPC. */ | ||
| 186 | |||
| 187 | #define HAVE_SYSVIPC | ||
| 188 | |||
| 189 | /* Use terminfo instead of termcap. */ | ||
| 190 | |||
| 191 | /* Tell Emacs to use Terminfo. */ | ||
| 192 | |||
| 193 | #define TERMINFO | ||
| 194 | |||
| 195 | /* Tell Xenix curses to BE Terminfo. */ | ||
| 196 | #define M_TERMINFO | ||
| 197 | |||
| 198 | /* Control program name for etc/fakemail to run. */ | ||
| 199 | |||
| 200 | #ifdef SMAIL | ||
| 201 | #define MAIL_PROGRAM_NAME "/usr/bin/smail -q0" | ||
| 202 | #else | ||
| 203 | #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail" | ||
| 204 | #endif | ||
| 205 | |||
| 206 | /* Some variants have TIOCGETC, but the structures to go with it | ||
| 207 | are not declared. */ | ||
| 208 | |||
| 209 | #define BROKEN_TIOCGETC | ||
| 210 | |||
| 211 | /* arch-tag: 71d3985d-4e53-4572-8276-5dce26bbd076 | ||
| 212 | (do not change this comment) */ | ||