comparison src/s/usg5-4.h @ 4759:aa5ed11f473b

Remove support for obsolete systems. See xemacs-patches message with ID <870180fe0911101613m6b8efa4bpf083fd9013950807@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Wed, 18 Nov 2009 08:49:14 -0700
parents 13e47461d509
children 906ccc7dcd70 308d34e9f07d 861f2601a38b
comparison
equal deleted inserted replaced
4758:75975fd0b7fc 4759:aa5ed11f473b
23 /* This file written by James Van Artsdalen of Dell Computer Corporation. 23 /* This file written by James Van Artsdalen of Dell Computer Corporation.
24 * james@bigtex.cactus.org. Subsequently improved for Dell 2.2 by Eric 24 * james@bigtex.cactus.org. Subsequently improved for Dell 2.2 by Eric
25 * S. Raymond <esr@snark.thyrsus.com>. 25 * S. Raymond <esr@snark.thyrsus.com>.
26 */ 26 */
27 27
28 /* Use the SysVr3 file for at least base configuration. */ 28 #define USG /* System III, System V, etc */
29 #define USG5
30 #define USG5_4
29 31
30 #define DONT_DEFINE_NO_REMAP /* `static' hack not needed */ 32 /* SYSTEM_TYPE should indicate the kind of system you are using.
31 #include "usg5-3.h" 33 * It sets the Lisp variable system-type. */
32 34
33 #define USG5_4 35 #define SYSTEM_TYPE "usg-unix-v"
36
37 /* Letter to use in finding device name of first pty,
38 * if system supports pty's. 'p' means it is /dev/ptyp0 */
39
40 #define FIRST_PTY_LETTER 'z'
41
42 /* define MAIL_USE_FLOCK if the mailer uses flock
43 * to interlock access to /usr/spool/mail/$USER.
44 * The alternative is that a lock file named
45 * /usr/spool/mail/$USER.lock. */
46
47 /* #define MAIL_USE_FLOCK */
48
49 /* The file containing the kernel's symbol table is called /unix. */
50
51 #define KERNEL_FILE "/unix"
52
53 /* The symbol in the kernel where the load average is found
54 * is named avenrun. */
55
56 #define LDAV_SYMBOL "avenrun"
57
58 /* Special hacks needed to make Emacs run on this system. */
59
60 /* On USG systems the system calls are interruptible by signals
61 * that the user program has elected to catch. Thus the system call
62 * must be retried in these cases. To handle this without massive
63 * changes in the source code, we remap the standard system call names
64 * to names for our own functions in sysdep.c that do the system call
65 * with retries. */
66
67 #define INTERRUPTIBLE_OPEN
68 #define INTERRUPTIBLE_IO
69
70 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */
71
72 #define ADDR_CORRECT(x) (x)
73
74 /* Prevent -lg from being used for debugging. Not implemented? */
75
76 #define LIBS_DEBUG
77
78 /* Use terminfo instead of termcap. */
79
80 #define TERMINFO
81
82 /* 5.3 apparently makes close() interruptible */
83
84 #define INTERRUPTIBLE_CLOSE
85
86 /* Apparently -lg is provided in 5.3 */
87
88 #undef LIBS_DEBUG
89
90 /* Enable support for shared libraries in unexec. */
91
92 #define USG_SHARED_LIBRARIES
34 93
35 #define LIBS_SYSTEM "-lsocket -lnsl -lelf" 94 #define LIBS_SYSTEM "-lsocket -lnsl -lelf"
36 #define ORDINARY_LINK 95 #define ORDINARY_LINK
37
38 #if 0
39 #ifdef ORDINARY_LINK
40 #define LIB_STANDARD "-lc /usr/ucblib/libucb.a"
41 #else
42 #define START_FILES "pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o"
43 #define LIB_STANDARD "-lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o"
44 #endif
45 #else
46
47 #ifdef ORDINARY_LINK
48 #define LIB_STANDARD 96 #define LIB_STANDARD
49 #else
50 #define START_FILES "pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o"
51 #define LIB_STANDARD "-lc /usr/ccs/lib/crtn.o"
52 #endif
53 #endif
54 97
55 /* there are no -lg libraries on this system, and no libPW */ 98 /* there are no -lg libraries on this system, and no libPW */
56 99
57 #define LIBS_DEBUG 100 #define LIBS_DEBUG
58 101
59 /* No <sioctl.h> */ 102 /* No <sioctl.h> */
60 103
61 #define NO_SIOCTL_H 104 #define NO_SIOCTL_H
62
63 /* Undump with ELF */
64
65 #undef COFF
66 105
67 #define UNEXEC "unexelf.o" 106 #define UNEXEC "unexelf.o"
68 107
69 /* Get <sys/ttold.h> to get struct 108 /* Get <sys/ttold.h> to get struct
70 * tchars. But get <termio.h> first to make sure ttold.h doesn't 109 * tchars. But get <termio.h> first to make sure ttold.h doesn't
80 #include <termio.h> 119 #include <termio.h>
81 #include <sys/ttold.h> 120 #include <sys/ttold.h>
82 #include <sys/stream.h> 121 #include <sys/stream.h>
83 #include <sys/termios.h> 122 #include <sys/termios.h>
84 #endif 123 #endif
85
86 #undef BROKEN_SIGIO
87
88 /* We need bss_end from emacs.c for undumping */
89
90 #ifndef USG_SHARED_LIBRARIES
91 #define USG_SHARED_LIBRARIES
92 #endif
93
94 #undef BROKEN_TIOCGWINSZ
95 #undef BROKEN_TIOCGETC
96
97 /* This change means that we don't loop through allocate_pty too many
98 times in the (rare) event of a failure. */
99
100 #undef FIRST_PTY_LETTER
101 #define FIRST_PTY_LETTER 'z'
102 124
103 /* This sets the name of the master side of the PTY. */ 125 /* This sets the name of the master side of the PTY. */
104 126
105 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); 127 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx");
106 128