annotate src/config.in @ 1156:2a92ddfaf6ba

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