*** empty log message ***
[bpt/emacs.git] / src / config.in
1 /* GNU Emacs site configuration template file.
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
23 /* The configuration script links system.h to a s- file that describes
24 the system type you are using.
25 See the file ../share-lib/MACHINES for a list of systems and
26 the names of the s- files to use for them.
27 See s-template.h for documentation on writing s- files. */
28 #include "@opsystem@"
29
30 /* The configuration script links machine.h to a m- file that
31 describes the machine and system you use.
32 See the file ../share-lib/MACHINES for a list of machines and
33 the names of the m- files to use for them.
34 See m-template.h for info on what m- files should define. */
35 #include "@machine@"
36
37 /* Load in the conversion definitions if this system
38 needs them and the source file being compiled has not
39 said to inhibit this. There should be no need for you
40 to alter these lines. */
41
42 #ifdef SHORTNAMES
43 #ifndef NO_SHORTNAMES
44 #include "../shortnames/remap.h"
45 #endif /* not NO_SHORTNAMES */
46 #endif /* SHORTNAMES */
47
48 /* Define HAVE_X_WINDOWS if you want to use the X window system. */
49
50 #ifndef HAVE_X_WINDOWS
51 /* #define HAVE_X_WINDOWS */
52 #endif
53
54 /* Define HAVE_X11 if you want to use version 11 of X windows.
55 Otherwise, Emacs expects to use version 10. */
56
57 #ifndef HAVE_X11
58 /* #define HAVE_X11 */
59 #endif
60
61 /* Define HAVE_X_MENU if you want to use the X window menu system.
62 This appears to work on some machines that support X
63 and not on others. */
64
65 #ifndef HAVE_X_MENU
66 /* #define HAVE_X_MENU */
67 #endif
68
69 /* Define `subprocesses' should be defined if you want to
70 have code for asynchronous subprocesses
71 (as used in M-x compile and M-x shell).
72 These do not work for some USG systems yet;
73 for the ones where they work, the s-*.h file defines this flag. */
74
75 #ifndef VMS
76 #ifndef USG
77 /* #define subprocesses */
78 #endif
79 #endif
80
81 /* Define USER_FULL_NAME to return a string
82 that is the user's full name.
83 It can assume that the variable `pw'
84 points to the password file entry for this user.
85
86 At some sites, the pw_gecos field contains
87 the user's full name. If neither this nor any other
88 field contains the right thing, use pw_name,
89 giving the user's login name, since that is better than nothing. */
90
91 #define USER_FULL_NAME pw->pw_gecos
92
93 /* Define AMPERSAND_FULL_NAME if you use the convention
94 that & in the full name stands for the login id. */
95
96 /* #define AMPERSAND_FULL_NAME */
97
98 /* Define HIGHPRI as a negative number
99 if you want Emacs to run at a higher than normal priority.
100 For this to take effect, you must install Emacs with setuid root.
101 Emacs will change back to the users's own uid after setting
102 its priority. */
103
104 #ifndef HIGHPRI
105 /* #define HIGHPRI */
106 #endif
107
108 /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point
109 numbers. */
110
111 #ifndef LISP_FLOAT_TYPE
112 /* #define LISP_FLOAT_TYPE */
113 #endif
114
115 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */
116
117 #ifndef GNU_MALLOC
118 /* #define GNU_MALLOC */
119 #endif
120
121 /* Define REL_ALLOC if you want to use the relocating allocator for
122 buffer space. */
123
124 #ifndef REL_ALLOC
125 /* #define REL_ALLOC */
126 #endif
127
128 /* If we're using any sort of window system, define MULTI_SCREEN. */
129 #ifdef HAVE_X_WINDOWS
130 #define MULTI_SCREEN
131 #endif
132
133 /* Define LD_SWITCH_SITE to contain any special flags your loader may
134 need. For instance, if you've defined HAVE_X_WINDOWS above and your
135 X libraries aren't in a place that your loader can find on its own,
136 you might want to add "-L/..." or something similar. */
137
138 /* #define LD_SWITCH_SITE */
139
140 /* Define C_SWITCH_SITE to contain any special flags your compiler may
141 need. For instance, if you've defined HAVE_X_WINDOWS above and your
142 X include files aren't in a place that your compiler can find on its
143 own, you might want to add "-I/..." or something similar. */
144
145 /* #define C_SWITCH_SITE */
146
147 /* Define this macro if you want to use 16-bit GLYPHs. Currently this
148 option isn't terribly useful (the current distribution doesn't
149 support large characters in buffer text), so the configuration
150 script doesn't provide an option to select it.
151
152 A character is displayed on a given terminal by means of a sequence
153 of one or more GLYPHs. A GLYPH is something that takes up exactly
154 one display position on the screen.
155
156 Emacs can use 8-bit or 16-bit values to represent GLYPHs. Under X
157 windows, 16-bit GLYPHs allow you to display characters from fonts
158 too large to be indexed by 8 bits alone, but drawing with 16-bit GLYPHs
159 is usually quite a bit slower than drawing with 8-bit GLYPHs. */
160 /* #define GLYPH_16_BIT */
161
162 #ifdef GLYPH_16_BIT
163 #define GLYPH unsigned short
164 #else
165 #define GLYPH unsigned char
166 #endif
167
168 /* Define the return type of signal handlers if the s-xxx file
169 did not already do so. */
170 #ifndef SIGTYPE
171 #ifdef __STDC__
172 #define SIGTYPE void
173 #else
174 #define SIGTYPE int
175 #endif
176 #endif