Mercurial > hg > xemacs-beta
annotate src/m/template.h @ 5475:248176c74e6b
Merge with trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Sat, 23 Apr 2011 23:47:13 +0200 |
parents | 308d34e9f07d |
children | 1f0b15040456 |
rev | line source |
---|---|
0 | 1 /* machine description file template. |
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. | |
3 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
4 This file is part of XEmacs. |
0 | 5 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
9 option) any later version. |
0 | 10 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
14 for more details. |
0 | 15 |
16 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2367
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
0 | 18 |
19 /* Synched up with: FSF 19.31. */ | |
20 | |
21 /* The following line tells the configuration script what sort of | |
22 operating system this machine is likely to run. | |
23 USUAL-OPSYS="<name of system .h file here, without the .h>" */ | |
24 | |
25 /* Now define a symbol for the cpu type, if your compiler | |
26 does not define it automatically: | |
27 Ones defined so far include vax, m68000, ns16000, pyramid, | |
28 orion, tahoe, APOLLO and many others */ | |
29 | |
30 /* Data type of load average, as read out of kmem. */ | |
31 | |
32 #define LOAD_AVE_TYPE long | |
33 | |
34 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
35 | |
36 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
37 | |
38 /* Define NO_REMAP if memory segmentation makes it not work well | |
39 to change the boundary between the text section and data section | |
40 when Emacs is dumped. If you define this, the preloaded Lisp | |
41 code will not be sharable; but that's better than failing completely. */ | |
42 | |
43 #define NO_REMAP | |
44 | |
45 /* After adding support for a new system, modify the large case | |
46 statement in the `configure' script to recognize reasonable | |
47 configuration names, and add a description of the system to | |
48 `etc/MACHINES'. | |
49 | |
50 If you've just fixed a problem in an existing configuration file, | |
51 you should also check `etc/MACHINES' to make sure its descriptions | |
52 of known problems in that configuration should be updated. */ |