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