aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-16 07:26:30 +0000
committerDan Nicolaescu2008-07-16 07:26:30 +0000
commitdc89925b3f81d62acf14331296e45a7a325d84ae (patch)
tree9a9a916fc18cd7b8a03189a84472f93a1c77d7cd /src
parent96b72211ed909796c472e9a65f2da82a941deb2d (diff)
downloademacs-dc89925b3f81d62acf14331296e45a7a325d84ae.tar.gz
emacs-dc89925b3f81d62acf14331296e45a7a325d84ae.zip
* m/ibms390.h:
* m/intel386.h: * m/m68k.h: * s/bsd-common.h: * s/cygwin.h: * s/darwin.h: * s/freebsd.h: * s/gnu.h: * s/msdos.h: Remove boilerplate comments.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/m/ibms390.h6
-rw-r--r--src/m/intel386.h45
-rw-r--r--src/m/m68k.h6
-rw-r--r--src/s/bsd-common.h18
-rw-r--r--src/s/cygwin.h2
-rw-r--r--src/s/darwin.h51
-rw-r--r--src/s/freebsd.h6
-rw-r--r--src/s/gnu.h2
-rw-r--r--src/s/msdos.h51
10 files changed, 12 insertions, 185 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4d4c69f027e..2f58e35d9dd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,15 @@
12008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * m/ibms390.h:
4 * m/intel386.h:
5 * m/m68k.h:
6 * s/bsd-common.h:
7 * s/cygwin.h:
8 * s/darwin.h:
9 * s/freebsd.h:
10 * s/gnu.h:
11 * s/msdos.h: Remove boilerplate comments.
12
3 * m/iris4d.h: Remove boilerplate comments and code for systems that 13 * m/iris4d.h: Remove boilerplate comments and code for systems that
4 do not use this file. 14 do not use this file.
5 (IRIS_4D): Remove, unused. 15 (IRIS_4D): Remove, unused.
diff --git a/src/m/ibms390.h b/src/m/ibms390.h
index f605ed35e7a..c45cc39f2d8 100644
--- a/src/m/ibms390.h
+++ b/src/m/ibms390.h
@@ -48,12 +48,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
48 48
49#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 49#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
50 50
51/* Define CANNOT_DUMP on machines where unexec does not work.
52 Then the function dump-emacs will not be defined
53 and temacs will do (load "loadup") automatically unless told otherwise. */
54
55/* #define CANNOT_DUMP */
56
57/* Define VIRT_ADDR_VARIES if the virtual addresses of 51/* Define VIRT_ADDR_VARIES if the virtual addresses of
58 pure and impure space as loaded can vary, and even their 52 pure and impure space as loaded can vary, and even their
59 relative order cannot be relied on. 53 relative order cannot be relied on.
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 9353283c0b2..a9349be65ef 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -29,22 +29,9 @@ Intel 386 (-machine=intel386)
29 isc2-2, 386-ix, and linux. 29 isc2-2, 386-ix, and linux.
30 30
31 18.58 should support a wide variety of operating systems. 31 18.58 should support a wide variety of operating systems.
32 Use isc2-2 for Interactive 386/ix version 2.2.
33 Use 386ix for prior versions.
34 Use linux for Linux. 32 Use linux for Linux.
35 It isn't clear what to do on an SCO system. 33 It isn't clear what to do on an SCO system.
36 34
37 -machine=is386 is used for an Integrated Solutions 386 machine.
38 It may also be correct for Microport systems.
39
40Cubix QBx/386 (-machine=intel386 -opsystem=usg5-3)
41
42 Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c
43 due to a compiler bug.
44
45Prime EXL (-machine=intel386 -opsystem=usg5-3)
46
47 Minor changes merged in 19.1.
48NOTE-END */ 35NOTE-END */
49 36
50/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word 37/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
@@ -67,7 +54,6 @@ NOTE-END */
67 54
68#define DOT_GLOBAL_START 55#define DOT_GLOBAL_START
69 56
70#ifdef SOLARIS2
71/* Data type of load average, as read out of kmem. */ 57/* Data type of load average, as read out of kmem. */
72#define LOAD_AVE_TYPE long 58#define LOAD_AVE_TYPE long
73 59
@@ -75,49 +61,26 @@ NOTE-END */
75/* This is totally uncalibrated. */ 61/* This is totally uncalibrated. */
76#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) 62#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
77 63
64#ifdef SOLARIS2
78/* J.W.Hawtin@lut.ac.uk say Solaris 2.4 as well as Solaris 2.1 on X86 65/* J.W.Hawtin@lut.ac.uk say Solaris 2.4 as well as Solaris 2.1 on X86
79 requires -lkvm as well. 66 requires -lkvm as well.
80 And handa@etl.gov.jp says that -lkvm needs -llelf, at least on 2.5. */ 67 And handa@etl.gov.jp says that -lkvm needs -llelf, at least on 2.5. */
81#define LIBS_MACHINE -lkvm -lelf 68#define LIBS_MACHINE -lkvm -lelf
82
83/* configure thinks solaris X86 has gethostname, but it does not work, 69/* configure thinks solaris X86 has gethostname, but it does not work,
84 so undefine it. */ 70 so undefine it. */
85#undef HAVE_GETHOSTNAME 71#undef HAVE_GETHOSTNAME
86
87#else /* not SOLARIS2 */ 72#else /* not SOLARIS2 */
88#ifdef USG5_4 /* Older USG systems do not support the load average. */ 73#ifdef USG5_4 /* Older USG systems do not support the load average. */
89/* Data type of load average, as read out of kmem. */
90
91#define LOAD_AVE_TYPE long
92
93/* Convert that into an integer that is 100 for a load average of 1.0 */
94/* This is totally uncalibrated. */
95
96#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
97#define FSCALE 256.0 74#define FSCALE 256.0
98#endif 75#endif
99#endif /* not SOLARIS2 */ 76#endif /* not SOLARIS2 */
100 77
101/* Define CANNOT_DUMP on machines where unexec does not work.
102 Then the function dump-emacs will not be defined
103 and temacs will do (load "loadup") automatically unless told otherwise. */
104
105/* #define CANNOT_DUMP */
106
107/* Define VIRT_ADDR_VARIES if the virtual addresses of
108 pure and impure space as loaded can vary, and even their
109 relative order cannot be relied on.
110
111 Otherwise Emacs assumes that text space precedes data space,
112 numerically. */
113
114/* #define VIRT_ADDR_VARIES */
115
116/* this brings in alloca() if we're using cc */ 78/* this brings in alloca() if we're using cc */
117#ifdef USG 79#ifdef USG
118#ifndef LIB_STANDARD 80#ifndef LIB_STANDARD
119#ifdef USG5_4 81#ifdef USG5_4
120#define LIB_STANDARD -lc 82#define LIB_STANDARD -lc
83#define DATA_SEG_BITS 0x08000000
121#else /* not USG5_4 */ 84#else /* not USG5_4 */
122#define LIB_STANDARD -lPW -lc 85#define LIB_STANDARD -lPW -lc
123#endif /* not USG5_4 */ 86#endif /* not USG5_4 */
@@ -127,10 +90,6 @@ NOTE-END */
127#define TEXT_START 0 90#define TEXT_START 0
128#endif /* USG */ 91#endif /* USG */
129 92
130#ifdef USG5_4
131#define DATA_SEG_BITS 0x08000000
132#endif
133
134#ifdef MSDOS 93#ifdef MSDOS
135#define NO_REMAP 94#define NO_REMAP
136#endif 95#endif
diff --git a/src/m/m68k.h b/src/m/m68k.h
index 50c8a8e7575..15ceb365595 100644
--- a/src/m/m68k.h
+++ b/src/m/m68k.h
@@ -47,12 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
47 47
48#define EXPLICIT_SIGN_EXTEND 48#define EXPLICIT_SIGN_EXTEND
49 49
50/* Define CANNOT_DUMP on machines where unexec does not work.
51 Then the function dump-emacs will not be defined
52 and temacs will do (load "loadup") automatically unless told otherwise. */
53
54/* #define CANNOT_DUMP */
55
56/* Define VIRT_ADDR_VARIES if the virtual addresses of 50/* Define VIRT_ADDR_VARIES if the virtual addresses of
57 pure and impure space as loaded can vary, and even their 51 pure and impure space as loaded can vary, and even their
58 relative order cannot be relied on. 52 relative order cannot be relied on.
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index d0d374c8410..77a6329cbe6 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -38,12 +38,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38 38
39#define SYSTEM_TYPE "berkeley-unix" 39#define SYSTEM_TYPE "berkeley-unix"
40 40
41/* nomultiplejobs should be defined if your system's shell
42 does not have "job control" (the ability to stop a program,
43 run some other program, then continue the first one). */
44
45/* #define NOMULTIPLEJOBS */
46
47/* Do not use interrupt_input = 1 by default, because in 4.3 41/* Do not use interrupt_input = 1 by default, because in 4.3
48 we can make noninterrupt input work properly. */ 42 we can make noninterrupt input work properly. */
49 43
@@ -63,13 +57,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
63 57
64#define HAVE_SOCKETS 58#define HAVE_SOCKETS
65 59
66/*
67 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
68 * The 4.2 opendir, etc., library functions.
69 */
70
71/* #define NONSYSTEM_DIR_LIBRARY */
72
73/* Define this symbol if your system has the functions bcopy, etc. */ 60/* Define this symbol if your system has the functions bcopy, etc. */
74 61
75#define BSTRING 62#define BSTRING
@@ -82,11 +69,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
82 69
83#define subprocesses 70#define subprocesses
84 71
85/* If your system uses COFF (Common Object File Format) then define the
86 preprocessor symbol "COFF". */
87
88/* #define COFF */
89
90/* define MAIL_USE_FLOCK if the mailer uses flock 72/* define MAIL_USE_FLOCK if the mailer uses flock
91 to interlock access to /usr/spool/mail/$USER. 73 to interlock access to /usr/spool/mail/$USER.
92 The alternative is that a lock file named 74 The alternative is that a lock file named
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 0063c77b1dc..aa696b40379 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -126,8 +126,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
126#define TERMINFO 126#define TERMINFO
127 127
128#define HAVE_SOCKETS 128#define HAVE_SOCKETS
129/* C-g aborts emacs without this */
130/*#define HAVE_VFORK*/
131/* Xaw3d causes problems -- might have been fixed by NARROWPROTO 129/* Xaw3d causes problems -- might have been fixed by NARROWPROTO
132 above, but I haven't tried it */ 130 above, but I haven't tried it */
133/*#undef HAVE_XAW3D*/ 131/*#undef HAVE_XAW3D*/
diff --git a/src/s/darwin.h b/src/s/darwin.h
index a290188d337..4dbaa8ff3c6 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -25,8 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25 25
26#define BSD4_2 26#define BSD4_2
27/* BSD4_3 and BSD4_4 are already defined in sys/param.h */ 27/* BSD4_3 and BSD4_4 are already defined in sys/param.h */
28/* #define BSD4_3 */
29/* #define BSD4_4 */
30#define BSD_SYSTEM 28#define BSD_SYSTEM
31/* #define VMS */ 29/* #define VMS */
32 30
@@ -46,12 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46 44
47#define SYSTEM_TYPE "darwin" 45#define SYSTEM_TYPE "darwin"
48 46
49/* NOMULTIPLEJOBS should be defined if your system's shell
50 does not have "job control" (the ability to stop a program,
51 run some other program, then continue the first one). */
52
53/* #define NOMULTIPLEJOBS */
54
55/* Emacs can read input using SIGIO and buffering characters itself, 47/* Emacs can read input using SIGIO and buffering characters itself,
56 or using CBREAK mode and making C-g cause SIGINT. 48 or using CBREAK mode and making C-g cause SIGINT.
57 The choice is controlled by the variable interrupt_input. 49 The choice is controlled by the variable interrupt_input.
@@ -111,13 +103,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
111 */ 103 */
112#define MIN_PTY_KERNEL_VERSION '7' 104#define MIN_PTY_KERNEL_VERSION '7'
113 105
114/*
115 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
116 * The 4.2 opendir, etc., library functions.
117 */
118
119/* #define NONSYSTEM_DIR_LIBRARY */
120
121/* Define this symbol if your system has the functions bcopy, etc. */ 106/* Define this symbol if your system has the functions bcopy, etc. */
122 107
123#define BSTRING 108#define BSTRING
@@ -130,11 +115,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
130 115
131#define subprocesses 116#define subprocesses
132 117
133/* If your system uses COFF (Common Object File Format) then define the
134 preprocessor symbol "COFF". */
135
136/* #define COFF */
137
138/* define MAIL_USE_FLOCK if the mailer uses flock 118/* define MAIL_USE_FLOCK if the mailer uses flock
139 to interlock access to /usr/spool/mail/$USER. 119 to interlock access to /usr/spool/mail/$USER.
140 The alternative is that a lock file named 120 The alternative is that a lock file named
@@ -148,22 +128,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
148 128
149#define CLASH_DETECTION 129#define CLASH_DETECTION
150 130
151/* Define this if your operating system declares signal handlers to
152 have a type other than the usual. `The usual' is `void' for ANSI C
153 systems (i.e. when the __STDC__ macro is defined), and `int' for
154 pre-ANSI systems. If you're using GCC on an older system, __STDC__
155 will be defined, but the system's include files will still say that
156 signal returns int or whatever; in situations like that, define
157 this to be what the system's include files want. */
158/* #define SIGTYPE int */
159
160/* If the character used to separate elements of the executable path
161 is not ':', #define this to be the appropriate character constant. */
162/* #define SEPCHAR ':' */
163
164/* Define this if the system can use mmap for buffer text allocation. */
165/* #define USE_MMAP_FOR_BUFFERS 1 */
166
167/* ============================================================ */ 131/* ============================================================ */
168 132
169/* Here, add any special hacks needed 133/* Here, add any special hacks needed
@@ -173,21 +137,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
173 your system and must be used only through an encapsulation 137 your system and must be used only through an encapsulation
174 (Which you should place, by convention, in sysdep.c). */ 138 (Which you should place, by convention, in sysdep.c). */
175 139
176/* Some compilers tend to put everything declared static
177 into the initialized data area, which becomes pure after dumping Emacs.
178 On these systems, you must #define static as nothing to foil this.
179 Note that emacs carefully avoids static vars inside functions. */
180
181/* #define static */
182
183/* If the system's imake configuration file defines `NeedWidePrototypes'
184 as `NO', we must define NARROWPROTO manually. Such a define is
185 generated in the Makefile generated by `xmkmf'. If we don't
186 define NARROWPROTO, we will see the wrong function prototypes
187 for X functions taking float or double parameters. */
188
189/* #define NARROWPROTO 1 */
190
191/* ============================================================ */ 140/* ============================================================ */
192 141
193/* After adding support for a new system, modify the large case 142/* After adding support for a new system, modify the large case
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index aa7c21b59a5..79ecaeba0d3 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -134,12 +134,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
134 ioctl TIOCSCTTY. */ 134 ioctl TIOCSCTTY. */
135#define DONT_REOPEN_PTY 135#define DONT_REOPEN_PTY
136 136
137/* CLASH_DETECTION is defined in bsd-common.h.
138 In FreeBSD 2.1.5 (and other 2.1.x), this results useless symbolic links
139 remaining in /tmp or other directories with +t bit.
140 To avoid this problem, you could #undef it to use no file lock. */
141/* #undef CLASH_DETECTION */
142
143/* If the system's imake configuration file defines `NeedWidePrototypes' 137/* If the system's imake configuration file defines `NeedWidePrototypes'
144 as `NO', we must define NARROWPROTO manually. Such a define is 138 as `NO', we must define NARROWPROTO manually. Such a define is
145 generated in the Makefile generated by `xmkmf'. If we don't 139 generated in the Makefile generated by `xmkmf'. If we don't
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 811a682f74c..8192ea1cbf2 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -27,8 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
27#undef SYSTEM_TYPE 27#undef SYSTEM_TYPE
28#define SYSTEM_TYPE "gnu" 28#define SYSTEM_TYPE "gnu"
29 29
30/* XXX should getloadavg be in libc? Should we have a libutil?
31#define HAVE_GETLOADAVG */
32#undef NLIST_STRUCT 30#undef NLIST_STRUCT
33#undef KERNEL_FILE 31#undef KERNEL_FILE
34#undef LDAV_SYMBOL 32#undef LDAV_SYMBOL
diff --git a/src/s/msdos.h b/src/s/msdos.h
index 43e87bedd30..1307f03459f 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -55,44 +55,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
55 55
56#define NOMULTIPLEJOBS 56#define NOMULTIPLEJOBS
57 57
58/* Emacs can read input using SIGIO and buffering characters itself,
59 or using CBREAK mode and making C-g cause SIGINT.
60 The choice is controlled by the variable interrupt_input.
61 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO)
62
63 SIGIO can be used only on systems that implement it (4.2 and 4.3).
64 CBREAK mode has two disadvantages
65 1) At least in 4.2, it is impossible to handle the Meta key properly.
66 I hear that in system V this problem does not exist.
67 2) Control-G causes output to be discarded.
68 I do not know whether this can be fixed in system V.
69
70 Another method of doing input is planned but not implemented.
71 It would have Emacs fork off a separate process
72 to read the input and send it to the true Emacs process
73 through a pipe.
74*/
75
76/* #define INTERRUPT_INPUT */
77
78/* Letter to use in finding device name of first pty,
79 if system supports pty's. 'a' means it is /dev/ptya0 */
80
81/* #define FIRST_PTY_LETTER 'a' */
82
83/*
84 * Define HAVE_PTYS if the system supports pty devices.
85 */
86
87/* #define HAVE_PTYS */
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 SYSV_SYSTEM_DIR 58#define SYSV_SYSTEM_DIR
97 59
98/* Define this symbol if your system has the functions bcopy, etc. */ 60/* Define this symbol if your system has the functions bcopy, etc. */
@@ -116,19 +78,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
116 78
117#define COFF 79#define COFF
118 80
119/* define MAIL_USE_FLOCK if the mailer uses flock
120 to interlock access to /usr/spool/mail/$USER.
121 The alternative is that a lock file named
122 /usr/spool/mail/$USER.lock. */
123
124/* #define MAIL_USE_FLOCK */
125
126/* Define CLASH_DETECTION if you want lock files to be written
127 so that Emacs can tell instantly when you try to modify
128 a file that someone else has modified in his Emacs. */
129
130/* #define CLASH_DETECTION */
131
132/* Here, on a separate page, add any special hacks needed 81/* Here, on a separate page, add any special hacks needed
133 to make Emacs work on this system. For example, 82 to make Emacs work on this system. For example,
134 you might define certain system call names that don't 83 you might define certain system call names that don't