Mercurial > emacs
annotate src/config.in @ 1531:86202f01266d
* xterm.h (x_screen_count, x_release, x_screen_height,
x_screen_height_mm, x_screen_width, x_screen_width_mm,
x_save_under, x_screen_planes): Declare this as ints, to match
their definitions in xterm.c.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 31 Oct 1992 05:43:42 +0000 |
parents | dddbe06d2077 |
children | f18ae1a08d85 |
rev | line source |
---|---|
763 | 1 /* GNU Emacs site configuration template file. -*- C -*- |
176 | 2 Copyright (C) 1988 Free Software Foundation, Inc. |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is distributed in the hope that it will be useful, | |
7 but WITHOUT ANY WARRANTY. No author or distributor | |
8 accepts responsibility to anyone for the consequences of using it | |
9 or for whether it serves any particular purpose or works at all, | |
10 unless he says so in writing. Refer to the GNU Emacs General Public | |
11 License for full details. | |
12 | |
13 Everyone is granted permission to copy, modify and redistribute | |
14 GNU Emacs, but only under the conditions described in the | |
15 GNU Emacs General Public License. A copy of this license is | |
16 supposed to have been given to you along with GNU Emacs so you | |
17 can know your rights and responsibilities. It should be in a | |
18 file named COPYING. Among other things, the copyright notice | |
19 and this notice must be preserved on all copies. */ | |
20 | |
21 | |
22 | |
493 | 23 /* Define HAVE_X_WINDOWS if you want to use the X window system. */ |
24 /* #define HAVE_X_WINDOWS */ | |
25 | |
26 /* Define HAVE_X11 if you want to use version 11 of X windows. | |
27 Otherwise, Emacs expects to use version 10. */ | |
28 /* #define HAVE_X11 */ | |
29 | |
30 /* Define HAVE_X_MENU if you want to use the X window menu system. | |
31 This appears to work on some machines that support X | |
32 and not on others. */ | |
33 /* #define HAVE_X_MENU */ | |
34 | |
763 | 35 /* If we're using any sort of window system, define MULTI_FRAME. */ |
493 | 36 #ifdef HAVE_X_WINDOWS |
763 | 37 #define MULTI_FRAME |
493 | 38 #endif |
39 | |
1341
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
40 /* Define USE_TEXT_PROPERTIES to support visual and other properties |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
41 on text. */ |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
42 /* #define USE_TEXT_PROPERTIES */ |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
43 |
493 | 44 /* Define USER_FULL_NAME to return a string |
45 that is the user's full name. | |
46 It can assume that the variable `pw' | |
47 points to the password file entry for this user. | |
48 | |
49 At some sites, the pw_gecos field contains | |
50 the user's full name. If neither this nor any other | |
51 field contains the right thing, use pw_name, | |
52 giving the user's login name, since that is better than nothing. */ | |
53 | |
54 #define USER_FULL_NAME pw->pw_gecos | |
55 | |
56 /* Define AMPERSAND_FULL_NAME if you use the convention | |
57 that & in the full name stands for the login id. */ | |
58 | |
59 /* #define AMPERSAND_FULL_NAME */ | |
60 | |
61 /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point | |
62 numbers. */ | |
63 /* #define LISP_FLOAT_TYPE */ | |
64 | |
65 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ | |
66 /* #define GNU_MALLOC */ | |
67 | |
68 /* Define REL_ALLOC if you want to use the relocating allocator for | |
69 buffer space. */ | |
70 /* #define REL_ALLOC */ | |
71 | |
72 /* Define this macro if you want to use 16-bit GLYPHs. Currently this | |
73 option isn't terribly useful (the current distribution doesn't | |
74 support large characters in buffer text), so the configuration | |
75 script doesn't provide an option to select it. | |
76 | |
77 A character is displayed on a given terminal by means of a sequence | |
78 of one or more GLYPHs. A GLYPH is something that takes up exactly | |
763 | 79 one display position on the frame. |
493 | 80 |
81 Emacs can use 8-bit or 16-bit values to represent GLYPHs. Under X | |
82 windows, 16-bit GLYPHs allow you to display characters from fonts | |
83 too large to be indexed by 8 bits alone, but drawing with 16-bit GLYPHs | |
84 is usually quite a bit slower than drawing with 8-bit GLYPHs. */ | |
85 /* #define GLYPH_16_BIT */ | |
86 | |
87 #ifdef GLYPH_16_BIT | |
88 #define GLYPH unsigned short | |
89 #else | |
90 #define GLYPH unsigned char | |
91 #endif | |
92 | |
1341
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
93 /* If using GNU, then support inline function declarations. */ |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
94 #ifdef __GNUC__ |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
95 #define INLINE __inline__ |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
96 #else |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
97 #define INLINE |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
98 #endif |
dddbe06d2077
* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
Joseph Arceneaux <jla@gnu.org>
parents:
1139
diff
changeset
|
99 |
763 | 100 /* The configuration script replaces the string @opsystem@ with the |
101 name of the s/*.h file that describes the system type you are | |
102 using; an option of the form "-opsystem=OPSYS" says to use | |
103 "s/OPSYS.h". See the file ../etc/MACHINES for a list of systems | |
104 and the -opsystem flags to use for them. | |
105 See s/template.h for documentation on writing s/*.h files. */ | |
490 | 106 #include "@opsystem@" |
176 | 107 |
763 | 108 /* The configuration script replaces the string @machine@ with the |
109 name of the m/*.h file that describes the machine you are | |
110 using; an option of the form "-machine=MACH" says to use | |
111 "m/MACH.h". See the file ../etc/MACHINES for a list of machines | |
112 and the -machine flags to use for them. | |
113 See m/template.h for documentation on writing m/*.h files. */ | |
490 | 114 #include "@machine@" |
176 | 115 |
693 | 116 /* Some s- files may define SYSTEM_MALLOC, in which case make sure |
117 we don't use REL_ALLOC. */ | |
118 | |
119 #ifdef SYSTEM_MALLOC | |
120 #ifdef GNU_MALLOC | |
121 #undef GNU_MALLOC | |
122 #ifdef REL_ALLOC | |
123 #undef REL_ALLOC | |
124 #endif | |
125 #endif | |
126 #endif | |
127 | |
176 | 128 /* Load in the conversion definitions if this system |
129 needs them and the source file being compiled has not | |
130 said to inhibit this. There should be no need for you | |
131 to alter these lines. */ | |
132 | |
133 #ifdef SHORTNAMES | |
134 #ifndef NO_SHORTNAMES | |
135 #include "../shortnames/remap.h" | |
136 #endif /* not NO_SHORTNAMES */ | |
137 #endif /* SHORTNAMES */ | |
138 | |
139 /* Define `subprocesses' should be defined if you want to | |
140 have code for asynchronous subprocesses | |
141 (as used in M-x compile and M-x shell). | |
142 These do not work for some USG systems yet; | |
763 | 143 for the ones where they work, the s/*.h file defines this flag. */ |
176 | 144 |
145 #ifndef VMS | |
146 #ifndef USG | |
461 | 147 /* #define subprocesses */ |
176 | 148 #endif |
149 #endif | |
150 | |
151 /* Define LD_SWITCH_SITE to contain any special flags your loader may | |
152 need. For instance, if you've defined HAVE_X_WINDOWS above and your | |
153 X libraries aren't in a place that your loader can find on its own, | |
154 you might want to add "-L/..." or something similar. */ | |
155 /* #define LD_SWITCH_SITE */ | |
156 | |
157 /* Define C_SWITCH_SITE to contain any special flags your compiler may | |
158 need. For instance, if you've defined HAVE_X_WINDOWS above and your | |
159 X include files aren't in a place that your compiler can find on its | |
160 own, you might want to add "-I/..." or something similar. */ | |
161 /* #define C_SWITCH_SITE */ | |
461 | 162 |
490 | 163 /* Define the return type of signal handlers if the s-xxx file |
164 did not already do so. */ | |
165 #ifndef SIGTYPE | |
166 #define SIGTYPE void | |
167 #endif |