11935
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
1 /* GNU Emacs site configuration template file. -*- C -*-
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
2 Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
3
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
4 This file is part of GNU Emacs.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
5
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
6 GNU Emacs is distributed in the hope that it will be useful,
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
7 but WITHOUT ANY WARRANTY. No author or distributor
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
8 accepts responsibility to anyone for the consequences of using it
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
9 or for whether it serves any particular purpose or works at all,
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
10 unless he says so in writing. Refer to the GNU Emacs General Public
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
11 License for full details.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
12
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
13 Everyone is granted permission to copy, modify and redistribute
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
14 GNU Emacs, but only under the conditions described in the
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
15 GNU Emacs General Public License. A copy of this license is
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
16 supposed to have been given to you along with GNU Emacs so you
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
17 can know your rights and responsibilities. It should be in a
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
18 file named COPYING. Among other things, the copyright notice
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
19 and this notice must be preserved on all copies. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
20
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
21
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
22 /* No code in Emacs #includes config.h twice, but some of the code
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
23 intended to work with other packages as well (like gmalloc.c)
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
24 think they can include it as many times as they like. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
25 #ifndef EMACS_CONFIG_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
26 #define EMACS_CONFIG_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
27
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
28
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
29 /* These are all defined in the top-level Makefile by configure.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
30 They're here only for reference. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
31
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
32 /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
33 numbers. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
34 #undef LISP_FLOAT_TYPE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
35
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
36 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
37 #undef GNU_MALLOC
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
38
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
39 /* Define REL_ALLOC if you want to use the relocating allocator for
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
40 buffer space. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
41 #undef REL_ALLOC
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
42
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
43 /* Define HAVE_X_WINDOWS if you want to use the X window system. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
44 #undef HAVE_X_WINDOWS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
45
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
46 /* Define HAVE_X11 if you want to use version 11 of X windows.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
47 Otherwise, Emacs expects to use version 10. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
48 #undef HAVE_X11
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
49
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
50 /* Define if using an X toolkit. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
51 #undef USE_X_TOOLKIT
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
52
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
53 /* Define this if you're using XFree386. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
54 #undef HAVE_XFREE386
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
55
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
56 /* Define HAVE_X_MENU if you want to use the X window menu system.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
57 This appears to work on some machines that support X
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
58 and not on others. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
59 #undef HAVE_X_MENU
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
60
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
61 /* Define if we have the X11R6 or newer version of Xt. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
62 #undef HAVE_X11XTR6
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
63
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
64 /* Define if netdb.h declares h_errno. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
65 #undef HAVE_H_ERRNO
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
66
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
67 /* Nowadays we have frame objects even if we support only ASCII terminals. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
68 #define MULTI_FRAME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
69
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
70 /* If we're using any sort of window system, define some consequences. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
71 #ifdef HAVE_X_WINDOWS
|
13437
|
72 #define HAVE_WINDOW_SYSTEM
|
11935
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
73 #define MULTI_KBOARD
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
74 #define HAVE_FACES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
75 #define HAVE_MOUSE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
76 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
77
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
78 /* Define USE_TEXT_PROPERTIES to support visual and other properties
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
79 on text. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
80 #define USE_TEXT_PROPERTIES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
81
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
82 /* Define USER_FULL_NAME to return a string
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
83 that is the user's full name.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
84 It can assume that the variable `pw'
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
85 points to the password file entry for this user.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
86
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
87 At some sites, the pw_gecos field contains
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
88 the user's full name. If neither this nor any other
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
89 field contains the right thing, use pw_name,
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
90 giving the user's login name, since that is better than nothing. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
91 #define USER_FULL_NAME pw->pw_gecos
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
92
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
93 /* Define AMPERSAND_FULL_NAME if you use the convention
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
94 that & in the full name stands for the login id. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
95 #undef AMPERSAND_FULL_NAME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
96
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
97 /* Things set by --with options in the configure script. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
98
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
99 /* Define to support POP mail retrieval. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
100 #undef MAIL_USE_POP
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
101
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
102 /* Define to support Kerberos-authenticated POP mail retrieval. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
103 #undef KERBEROS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
104
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
105 /* Define to support using a Hesiod database to find the POP server. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
106 #undef HESIOD
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
107
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
108 /* Some things figured out by the configure script, grouped as they are in
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
109 configure.in. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
110 #ifndef _ALL_SOURCE /* suppress warning if this is pre-defined */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
111 #undef _ALL_SOURCE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
112 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
113 #undef HAVE_SYS_SELECT_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
114 #undef HAVE_SYS_TIMEB_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
115 #undef HAVE_SYS_TIME_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
116 #undef HAVE_UNISTD_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
117 #undef HAVE_UTIME_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
118 #undef STDC_HEADERS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
119 #undef TIME_WITH_SYS_TIME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
120
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
121 #undef HAVE_LIBDNET
|
13437
|
122 #undef HAVE_LIBPTHREADS
|
11935
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
123 #undef HAVE_LIBRESOLV
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
124
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
125 #undef HAVE_ALLOCA_H
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
126
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
127 #undef HAVE_GETTIMEOFDAY
|
13437
|
128 #undef GETTIMEOFDAY_ONE_ARGUMENT
|
11935
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
129 #undef HAVE_GETHOSTNAME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
130 #undef HAVE_DUP2
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
131 #undef HAVE_RENAME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
132 #undef HAVE_CLOSEDIR
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
133
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
134 #undef TM_IN_SYS_TIME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
135 #undef HAVE_TM_ZONE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
136 #undef HAVE_TZNAME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
137
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
138 #undef const
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
139
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
140 #undef HAVE_LONG_FILE_NAMES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
141
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
142 #undef CRAY_STACKSEG_END
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
143
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
144 #undef UNEXEC_SRC
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
145
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
146 #undef HAVE_LIBXBSD
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
147 #undef HAVE_XRMSETDATABASE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
148 #undef HAVE_XSCREENRESOURCESTRING
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
149 #undef HAVE_XSCREENNUMBEROFSCREEN
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
150 #undef HAVE_XSETWMPROTOCOLS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
151
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
152 #undef HAVE_MKDIR
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
153 #undef HAVE_RMDIR
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
154 #undef HAVE_RANDOM
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
155 #undef HAVE_LRAND48
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
156 #undef HAVE_BCOPY
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
157 #undef HAVE_BCMP
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
158 #undef HAVE_LOGB
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
159 #undef HAVE_FREXP
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
160 #undef HAVE_FMOD
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
161 #undef HAVE_FTIME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
162 #undef HAVE_RES_INIT /* For -lresolv on Suns. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
163 #undef HAVE_SETSID
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
164 #undef HAVE_FPATHCONF
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
165 #undef HAVE_SELECT
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
166 #undef HAVE_MKTIME
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
167 #undef HAVE_EACCESS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
168 #undef HAVE_GETPAGESIZE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
169 #undef HAVE_INET_SOCKETS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
170
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
171 #undef HAVE_AIX_SMT_EXP
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
172
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
173 /* Define if you have the ANSI `strerror' function.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
174 Otherwise you must have the variable `char *sys_errlist[]'. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
175 #undef HAVE_STRERROR
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
176
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
177 #undef HAVE_UTIMES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
178
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
179 /* Define if `sys_siglist' is declared by <signal.h>. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
180 #undef SYS_SIGLIST_DECLARED
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
181
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
182 /* Define if `struct utimbuf' is declared by <utime.h>. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
183 #undef HAVE_STRUCT_UTIMBUF
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
184
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
185 /* Define if `struct timeval' is declared by <sys/time.h>. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
186 #undef HAVE_TIMEVAL
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
187
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
188 /* If using GNU, then support inline function declarations. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
189 #ifdef __GNUC__
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
190 #define INLINE __inline__
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
191 #else
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
192 #define INLINE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
193 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
194
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
195 #undef EMACS_CONFIGURATION
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
196
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
197 #undef EMACS_CONFIG_OPTIONS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
198
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
199 /* The configuration script defines opsysfile to be the name of the
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
200 s/SYSTEM.h file that describes the system type you are using. The file
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
201 is chosen based on the configuration name you give.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
202
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
203 See the file ../etc/MACHINES for a list of systems and the
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
204 configuration names to use for them.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
205
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
206 See s/template.h for documentation on writing s/SYSTEM.h files. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
207 #undef config_opsysfile
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
208 #include "s/windowsnt.h"
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
209
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
210 /* The configuration script defines machfile to be the name of the
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
211 m/MACHINE.h file that describes the machine you are using. The file is
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
212 chosen based on the configuration name you give.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
213
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
214 See the file ../etc/MACHINES for a list of machines and the
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
215 configuration names to use for them.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
216
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
217 See m/template.h for documentation on writing m/MACHINE.h files. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
218 #undef config_machfile
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
219 #include "m/intel386.h"
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
220
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
221 /* These typedefs shouldn't appear when alloca.s or Makefile.in
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
222 includes config.h. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
223 #ifndef NOT_C_CODE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
224 #ifndef SPECIAL_EMACS_INT
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
225 typedef long EMACS_INT;
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
226 typedef unsigned long EMACS_UINT;
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
227 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
228 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
229
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
230 /* Load in the conversion definitions if this system
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
231 needs them and the source file being compiled has not
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
232 said to inhibit this. There should be no need for you
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
233 to alter these lines. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
234
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
235 #ifdef SHORTNAMES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
236 #ifndef NO_SHORTNAMES
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
237 #include "../shortnames/remap.h"
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
238 #endif /* not NO_SHORTNAMES */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
239 #endif /* SHORTNAMES */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
240
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
241 /* If no remapping takes place, static variables cannot be dumped as
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
242 pure, so don't worry about the `static' keyword. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
243 #ifdef NO_REMAP
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
244 #undef static
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
245 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
246
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
247 /* Define `subprocesses' should be defined if you want to
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
248 have code for asynchronous subprocesses
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
249 (as used in M-x compile and M-x shell).
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
250 These do not work for some USG systems yet;
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
251 for the ones where they work, the s/SYSTEM.h file defines this flag. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
252
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
253 #ifndef VMS
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
254 #ifndef USG
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
255 /* #define subprocesses */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
256 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
257 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
258
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
259 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
260 #undef LD_SWITCH_SITE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
261
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
262 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
263 #undef C_SWITCH_SITE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
264
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
265 /* Define LD_SWITCH_X_SITE to contain any special flags your loader
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
266 may need to deal with X Windows. For instance, if you've defined
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
267 HAVE_X_WINDOWS above and your X libraries aren't in a place that
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
268 your loader can find on its own, you might want to add "-L/..." or
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
269 something similar. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
270 #undef LD_SWITCH_X_SITE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
271
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
272 /* Define LD_SWITCH_X_SITE_AUX with an -R option
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
273 in case it's needed (for Solaris, for example). */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
274 #undef LD_SWITCH_X_SITE_AUX
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
275
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
276 /* Define C_SWITCH_X_SITE to contain any special flags your compiler
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
277 may need to deal with X Windows. For instance, if you've defined
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
278 HAVE_X_WINDOWS above and your X include files aren't in a place
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
279 that your compiler can find on its own, you might want to add
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
280 "-I/..." or something similar. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
281 #undef C_SWITCH_X_SITE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
282
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
283 /* Define STACK_DIRECTION here, but not if m/foo.h did. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
284 #ifndef STACK_DIRECTION
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
285 #undef STACK_DIRECTION
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
286 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
287
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
288 /* Define the return type of signal handlers if the s-xxx file
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
289 did not already do so. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
290 #define RETSIGTYPE void
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
291
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
292 /* SIGTYPE is the macro we actually use. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
293 #ifndef SIGTYPE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
294 #define SIGTYPE RETSIGTYPE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
295 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
296
|
13437
|
297 #ifdef emacs /* Don't do this for lib-src. */
|
|
298 /* Tell regex.c to use a type compatible with Emacs. */
|
|
299 #define RE_TRANSLATE_TYPE Lisp_Object *
|
|
300 #endif
|
|
301
|
11935
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
302 /* The rest of the code currently tests the CPP symbol BSTRING.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
303 Override any claims made by the system-description files.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
304 Note that on some SCO version it is possible to have bcopy and not bcmp. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
305 #undef BSTRING
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
306 #if defined (HAVE_BCOPY) && defined (HAVE_BCMP)
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
307 #define BSTRING
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
308 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
309
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
310 /* Non-ANSI C compilers usually don't have volatile. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
311 #ifndef HAVE_VOLATILE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
312 #ifndef __STDC__
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
313 #define volatile
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
314 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
315 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
316
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
317 /* Some of the files of Emacs which are intended for use with other
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
318 programs assume that if you have a config.h file, you must declare
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
319 the type of getenv.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
320
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
321 This declaration shouldn't appear when alloca.s or Makefile.in
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
322 includes config.h. */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
323 #ifndef NOT_C_CODE
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
324 extern char *getenv ();
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
325 #endif
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
326
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
327 #endif /* EMACS_CONFIG_H */
|
13437
|
328
|
|
329 /* These default definitions are good for almost all machines.
|
|
330 The exceptions override them in m/*.h. */
|
|
331
|
|
332 #ifndef BITS_PER_CHAR
|
|
333 #define BITS_PER_CHAR 8
|
|
334 #endif
|
|
335
|
|
336 #ifndef BITS_PER_SHORT
|
|
337 #define BITS_PER_SHORT 16
|
|
338 #endif
|
|
339
|
|
340 /* Note that lisp.h uses this in a preprocessor conditional, so it
|
|
341 would not work to use sizeof. That being so, we do all of them
|
|
342 without sizeof, for uniformity's sake. */
|
|
343 #ifndef BITS_PER_INT
|
|
344 #define BITS_PER_INT 32
|
|
345 #endif
|
|
346
|
|
347 #ifndef BITS_PER_LONG
|
|
348 #define BITS_PER_LONG 32
|
|
349 #endif
|