aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-16 07:45:52 +0000
committerDan Nicolaescu2008-07-16 07:45:52 +0000
commitc7607b94f52c04bcc4e1e8b00ce954c9e34c3e19 (patch)
tree8d84d5379ef49e50fa966cb3fc06f2c974b1bdb5 /src/s
parent2c369af74f77c013250f3f7ba2cca52abb941e39 (diff)
downloademacs-c7607b94f52c04bcc4e1e8b00ce954c9e34c3e19.tar.gz
emacs-c7607b94f52c04bcc4e1e8b00ce954c9e34c3e19.zip
* sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove
if 0-ed code. (baud_convert): Don't depend on BAUD_CONVERT, all definitions the were the same as the default. * s/vms.h (BAUD_CONVERT): Remove, same as the default. Remove boilerplate comments. * s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default. (HAVE_SYSVIPC): Remove, unused. (LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/hpux10-20.h80
-rw-r--r--src/s/vms.h49
2 files changed, 0 insertions, 129 deletions
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 8411f74191b..45242c6862b 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -36,17 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36 36
37#define SYSTEM_TYPE "hpux" 37#define SYSTEM_TYPE "hpux"
38 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 On hpux this depends on the precise kind of machine in use,
44 so the m- file defines this symbol if appropriate. */
45
46/* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
47
48/* #define INTERRUPT_INPUT */
49
50/* Letter to use in finding device name of first pty, 39/* Letter to use in finding device name of first pty,
51 if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ 40 if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */
52 41
@@ -85,22 +74,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
85 74
86#define subprocesses 75#define subprocesses
87 76
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/* Say we have the SYSV style of interprocess communication. */
101
102#define HAVE_SYSVIPC
103
104/* Define CLASH_DETECTION if you want lock files to be written 77/* Define CLASH_DETECTION if you want lock files to be written
105 so that Emacs can tell instantly when you try to modify 78 so that Emacs can tell instantly when you try to modify
106 a file that someone else has modified in his Emacs. */ 79 a file that someone else has modified in his Emacs. */
@@ -112,24 +85,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
112 85
113/* Special hacks needed to make Emacs run on this system. */ 86/* Special hacks needed to make Emacs run on this system. */
114 87
115/*
116 * Make the sigsetmask function go away. Don't know what the
117 * ramifications of this are, but doesn't seem possible to
118 * emulate it properly anyway at this point.
119 */
120
121/* HPUX has sigsetmask */
122/* #define sigsetmask(mask) / * Null expansion * / */
123
124/* setjmp and longjmp can safely replace _setjmp and _longjmp,
125 but they will run slower. */
126
127/* HP-UX has _setjmp and _longjmp */
128/*
129#define _setjmp setjmp
130#define _longjmp longjmp
131*/
132
133/* Use the system provided termcap(3) library */ 88/* Use the system provided termcap(3) library */
134#define TERMINFO 89#define TERMINFO
135 90
@@ -138,31 +93,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
138 93
139#define BROKEN_SIGIO 94#define BROKEN_SIGIO
140 95
141/* USG systems tend to put everything declared static
142 into the initialized data area, which becomes pure after dumping Emacs.
143 Foil this. Emacs carefully avoids static vars inside functions.
144 http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg00368.html
145 As of at least HPUX 11.11 (2000), it seems this workaround is no
146 longer needed. Try uncommenting the following if you have problems
147 on older versions. */
148
149/* This is unnecessary in HPUX versions 10.20, 11.0, 11.11, 11.23. */
150
151/* #define static */
152
153/* Some additional system facilities exist. */ 96/* Some additional system facilities exist. */
154 97
155#define HAVE_PERROR /* Delete this line for version 6. */ 98#define HAVE_PERROR /* Delete this line for version 6. */
156 99
157/* The following maps shared exec file to demand loaded exec.
158 Don't do this as demand loaded exec is broken in hpux. */
159
160/* Baud-rate values in tty status have nonstandard meanings. */
161
162#define BAUD_CONVERT \
163{ 0, 50, 75, 110, 135, 150, 200, 300, 600, 900, 1200, \
164 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400 }
165
166/* This is how to get the device name of the tty end of a pty. */ 100/* This is how to get the device name of the tty end of a pty. */
167#define PTY_TTY_NAME_SPRINTF \ 101#define PTY_TTY_NAME_SPRINTF \
168 sprintf (pty_name, "/dev/pty/tty%c%x", c, i); 102 sprintf (pty_name, "/dev/pty/tty%c%x", c, i);
@@ -177,21 +111,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
177/* Don't use shared libraries. unexec doesn't handle them. 111/* Don't use shared libraries. unexec doesn't handle them.
178 Note GCC automatically passes -a archive to ld, and it has its own 112 Note GCC automatically passes -a archive to ld, and it has its own
179 conflicting -a. */ 113 conflicting -a. */
180#ifdef __GNUC__
181
182#define LD_SWITCH_SYSTEM_TEMACS
183
184#else /* not __GNUC__ */
185/* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM"
186 is used in configure's $ac_link to do various autoconf checks.
187 Since we only need -a when unexec'ing, only pass in -a to
188 "ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */
189#if (defined(hp9000s700) || defined(__hp9000s700))
190#define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1
191#else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
192#define LD_SWITCH_SYSTEM_TEMACS 114#define LD_SWITCH_SYSTEM_TEMACS
193#endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
194#endif /* not __GNUC__ */
195 115
196/* Some hpux 8 machines seem to have TIOCGWINSZ, 116/* Some hpux 8 machines seem to have TIOCGWINSZ,
197 and none have sioctl.h, so might as well define this. */ 117 and none have sioctl.h, so might as well define this. */
diff --git a/src/s/vms.h b/src/s/vms.h
index 6e269e61a0d..7c2d4ad43d1 100644
--- a/src/s/vms.h
+++ b/src/s/vms.h
@@ -33,43 +33,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
33 33
34#define SYSTEM_TYPE "vax-vms" 34#define SYSTEM_TYPE "vax-vms"
35 35
36/* NOMULTIPLEJOBS should be defined if your system's shell
37 does not have "job control" (the ability to stop a program,
38 run some other program, then continue the first one). */
39
40/* #define NOMULTIPLEJOBS */
41
42/* INTERRUPT_INPUT controls a default for Unix systems.
43 VMS uses a separate mechanism. */
44
45/* #define INTERRUPT_INPUT */
46
47/* Letter to use in finding device name of first pty, 36/* Letter to use in finding device name of first pty,
48 if system supports pty's. 'a' means it is /dev/ptya0 */ 37 if system supports pty's. 'a' means it is /dev/ptya0 */
49 38
50#define FIRST_PTY_LETTER 'a' 39#define FIRST_PTY_LETTER 'a'
51 40
52/* 41/*
53 * Define HAVE_PTYS if the system supports pty devices.
54 */
55
56/* #define HAVE_PTYS */
57
58/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
59
60/* #define HAVE_SOCKETS */
61
62/*
63 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate 42 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
64 * The 4.2 opendir, etc., library functions. 43 * The 4.2 opendir, etc., library functions.
65 */ 44 */
66 45
67#define NONSYSTEM_DIR_LIBRARY 46#define NONSYSTEM_DIR_LIBRARY
68 47
69/* Define this symbol if your system has the functions bcopy, etc. */
70
71/* #define BSTRING */
72
73/* subprocesses should be defined if you want to 48/* subprocesses should be defined if you want to
74 have code for asynchronous subprocesses 49 have code for asynchronous subprocesses
75 (as used in M-x compile and M-x shell). 50 (as used in M-x compile and M-x shell).
@@ -78,24 +53,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
78 53
79#define subprocesses 54#define subprocesses
80 55
81/* If your system uses COFF (Common Object File Format) then define the
82 preprocessor symbol "COFF". */
83
84/* #define COFF */
85
86/* define MAIL_USE_FLOCK if the mailer uses flock
87 to interlock access to /usr/spool/mail/$USER.
88 The alternative is that a lock file named
89 /usr/spool/mail/$USER.lock. */
90
91/* #define MAIL_USE_FLOCK */
92
93/* Define CLASH_DETECTION if you want lock files to be written
94 so that Emacs can tell instantly when you try to modify
95 a file that someone else has modified in his Emacs. */
96
97/* #define CLASH_DETECTION */
98
99/* Define the maximum record length for print strings, if needed. */ 56/* Define the maximum record length for print strings, if needed. */
100 57
101#define MAX_PRINT_CHARS 300 58#define MAX_PRINT_CHARS 300
@@ -225,12 +182,6 @@ globalref char sdata[];
225#define DATA_START (((int) sdata + 511) & ~511) 182#define DATA_START (((int) sdata + 511) & ~511)
226#define TEXT_START 512 183#define TEXT_START 512
227 184
228/* Baud-rate values from tty status are not standard. */
229
230#define BAUD_CONVERT \
231{ 0, 50, 75, 110, 134, 150, 300, 600, 1200, 1800, \
232 2000, 2400, 3600, 4800, 7200, 9600, 19200 }
233
234#define PURESIZE 330000 185#define PURESIZE 330000
235 186
236/* Stdio FILE type has extra indirect on VMS, so must alter this macro. */ 187/* Stdio FILE type has extra indirect on VMS, so must alter this macro. */