Mercurial > emacs
annotate src/m/vax.h @ 112255:f6386067f593
Distinguish between terminfo and termcap on NetBSD (Bug#7642).
* configure.in [netbsd systems]: Check for tputs definition.
* src/config.in (TERMINFO): New definition.
* src/s/netbsd.h: Use it to choose between terminfo and termcap.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 11 Jan 2011 21:29:23 -0500 |
parents | 376148b31b5e |
children | 417b1e4d63cd |
rev | line source |
---|---|
456 | 1 /* machine description file for vax. |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
3 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
456 | 8 it under the terms of the GNU General Public License as published by |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
10 (at your option) any later version. |
456 | 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 | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
456 | 19 |
20 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
21 /* The following line tells the configuration script what sort of |
456 | 22 operating system this machine is likely to run. |
23 USUAL-OPSYS="note" | |
24 | |
25 NOTE-START | |
26 The vax (-machine=vax) runs zillions of different operating systems. | |
27 | |
28 NOTE-END */ | |
29 | |
78499 | 30 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
32 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
33 #undef WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
34 |
456 | 35 /* #define vax -- appears to be done automatically */ |
36 | |
37 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | |
38 | |
39 #define CRT0_DUMMIES | |
40 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
41 #ifdef BSD_SYSTEM |
456 | 42 /* USG systems I know of running on Vaxes do not actually |
43 support the load average, so disable it for them. */ | |
44 | |
45 /* Data type of load average, as read out of kmem. */ | |
46 | |
47 #define LOAD_AVE_TYPE double | |
48 | |
49 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
50 | |
51 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | |
52 | |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
53 #endif /* BSD_SYSTEM */ |
456 | 54 |
4448
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
55 #ifdef BSD4_2 |
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
56 #define HAVE_FTIME |
472166db995e
[BSD4_3] (HAVE_FTIME): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3699
diff
changeset
|
57 #endif |
52401 | 58 |
59 /* arch-tag: 508bdf7a-01a0-4ce0-8eba-0704d0df55a0 | |
60 (do not change this comment) */ |