0
|
1 /* XEmacs site configuration template file. -*- C -*-
|
|
2 Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
|
3
|
|
4 This file is part of XEmacs.
|
|
5
|
|
6 XEmacs is free software; you can redistribute it and/or modify it
|
|
7 under the terms of the GNU General Public License as published by the
|
|
8 Free Software Foundation; either version 2, or (at your option) any
|
|
9 later version.
|
|
10
|
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
149
|
21 /* Significantly divergent from FSF. */
|
0
|
22
|
|
23 /* No code in XEmacs #includes config.h twice, but some of the code
|
149
|
24 intended to work with other packages as well (like gmalloc.c)
|
0
|
25 think they can include it as many times as they like. */
|
163
|
26 #ifndef _SRC_CONFIG_H_
|
|
27 #define _SRC_CONFIG_H_
|
0
|
28
|
149
|
29 /* alloca twiddling belongs in one place, not the s&m headers
|
|
30 AIX requires this to be the first thing in the file. */
|
|
31 #undef HAVE_ALLOCA_H
|
|
32
|
|
33 #ifndef NOT_C_CODE
|
|
34 #ifdef __GNUC__
|
|
35 #define alloca __builtin_alloca
|
367
|
36 #elif defined __DECC
|
|
37 #include <alloca.h>
|
|
38 #pragma intrinsic(alloca)
|
|
39 #elif defined HAVE_ALLOCA_H
|
272
|
40 #include <alloca.h>
|
149
|
41 #elif defined(_AIX)
|
|
42 #pragma alloca
|
272
|
43 #elif ! defined (alloca)
|
|
44 char *alloca();
|
149
|
45 #endif
|
272
|
46 #endif /* C code */
|
149
|
47
|
0
|
48
|
70
|
49 /* Use this to add code in a structured way to FSF-maintained source
|
|
50 files so as to make it obvious where XEmacs changes are. */
|
272
|
51 #define XEMACS 1
|
0
|
52
|
163
|
53 /* Allow s&m files to differentiate OS versions without having
|
|
54 multiple files to maintain. */
|
|
55 #undef OS_RELEASE
|
|
56
|
|
57 /* The configuration name. This is used as the install directory name
|
|
58 for the lib-src programs. */
|
|
59 #undef EMACS_CONFIGURATION
|
|
60
|
173
|
61 /* The configuration options. This is exported to Lisp. */
|
|
62 #undef EMACS_CONFIG_OPTIONS
|
|
63
|
163
|
64 /* The version info from version.sh. Used in #pragma ident in emacs.c */
|
|
65 #undef EMACS_MAJOR_VERSION
|
|
66 #undef EMACS_MINOR_VERSION
|
343
|
67 #undef EMACS_PATCH_LEVEL
|
163
|
68 #undef EMACS_BETA_VERSION
|
|
69 #undef EMACS_VERSION
|
|
70 #undef XEMACS_CODENAME
|
278
|
71 /* InfoDock versions, not used with XEmacs */
|
|
72 #undef INFODOCK_MAJOR_VERSION
|
|
73 #undef INFODOCK_MINOR_VERSION
|
|
74 #undef INFODOCK_BUILD_VERSION
|
163
|
75
|
207
|
76 /* Make all functions available on AIX. See AC_AIX. */
|
|
77 #undef _ALL_SOURCE
|
163
|
78
|
243
|
79 /* Make all functions available on GNU libc systems. See features.h. */
|
|
80 #undef _GNU_SOURCE
|
|
81
|
163
|
82 /* Used to identify the XEmacs version in stack traces. */
|
177
|
83 #undef STACK_TRACE_EYE_CATCHER
|
163
|
84
|
267
|
85 /* Allow the configurer to specify if she wants site-lisp. */
|
|
86 #undef INHIBIT_SITE_LISP
|
173
|
87
|
167
|
88 /* This will be removed in 19.15. */
|
|
89 /* Hah! Try 20.3 ... */
|
|
90 /* Hah! Try never ... */
|
169
|
91 /* If at first you don't succeed, try, try again. */
|
|
92 /* #define LOSING_BYTECODE */
|
163
|
93
|
261
|
94 /* Undefine on systems which don't have processes */
|
|
95 #undef HAVE_UNIX_PROCESSES
|
|
96
|
70
|
97 /* Does XEmacs support floating-point numbers? */
|
0
|
98 #undef LISP_FLOAT_TYPE
|
|
99
|
255
|
100 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
|
0
|
101 #undef GNU_MALLOC
|
|
102
|
259
|
103 /* Define if you are using the GNU C Library. -- experimental. */
|
255
|
104 #undef DOUG_LEA_MALLOC
|
|
105
|
267
|
106 /* Define if you are using libmcheck.a from the GNU C Library. */
|
|
107 #undef HAVE_LIBMCHECK
|
|
108
|
259
|
109 /* Define if you are using dlmalloc from the Linux C library. */
|
|
110 #undef _NO_MALLOC_WARNING_
|
|
111
|
149
|
112 /* Use the system malloc? */
|
0
|
113 #undef USE_SYSTEM_MALLOC
|
|
114
|
255
|
115 /* Use a debugging malloc? -- experimental */
|
177
|
116 #undef USE_DEBUG_MALLOC
|
|
117
|
149
|
118 /* Compile in TTY support? */
|
0
|
119 #undef HAVE_TTY
|
|
120
|
239
|
121 /* Compile in support for MS windows? */
|
|
122 #undef HAVE_MS_WINDOWS
|
|
123
|
278
|
124 /* special cygwin process handling? */
|
|
125 #undef HAVE_MSG_SELECT
|
|
126
|
149
|
127 /* Compile in support for the X window system? */
|
0
|
128 #undef HAVE_X_WINDOWS
|
|
129
|
163
|
130 /* Defines for building X applications */
|
74
|
131 #ifdef HAVE_X_WINDOWS
|
163
|
132 /* The following will be defined if xmkmf thinks they are necessary */
|
|
133 #undef SVR4
|
|
134 #undef SYSV
|
207
|
135 #undef AIXV3
|
163
|
136 #undef _POSIX_SOURCE
|
|
137 #undef _BSD_SOURCE
|
276
|
138 #undef _SVID_SOURCE
|
163
|
139 #undef X_LOCALE
|
|
140 #undef NARROWPROTO
|
|
141 /* The following should always be defined, no matter what xmkmf thinks. */
|
74
|
142 #ifndef NeedFunctionPrototypes
|
|
143 #define NeedFunctionPrototypes 1
|
|
144 #endif
|
157
|
145 #ifndef FUNCPROTO
|
|
146 #define FUNCPROTO 15
|
|
147 #endif
|
159
|
148 #endif /* HAVE_X_WINDOWS */
|
74
|
149
|
70
|
150 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
|
239
|
151 #if defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
|
0
|
152 #define HAVE_WINDOW_SYSTEM
|
|
153 #endif
|
|
154
|
70
|
155 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
|
278
|
156 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
|
0
|
157 #define HAVE_UNIXOID_EVENT_LOOP
|
|
158 #endif
|
|
159
|
70
|
160 /* Are we using XFree386? */
|
0
|
161 #undef HAVE_XFREE386
|
|
162
|
|
163 #undef THIS_IS_X11R4
|
|
164 #undef THIS_IS_X11R5
|
|
165 #undef THIS_IS_X11R6
|
|
166
|
367
|
167 #undef HAVE_BALLOON_HELP
|
|
168
|
265
|
169 /* Where do we find bitmaps? */
|
|
170 #undef BITMAPDIR
|
|
171
|
70
|
172 /* USER_FULL_NAME returns a string that is the user's full name.
|
|
173 It can assume that the variable `pw' points to the password file
|
|
174 entry for this user.
|
0
|
175
|
70
|
176 At some sites, the pw_gecos field contains the user's full name.
|
|
177 If neither this nor any other field contains the right thing, use
|
|
178 pw_name, giving the user's login name, since that is better than
|
|
179 nothing. */
|
0
|
180 #define USER_FULL_NAME pw->pw_gecos
|
|
181
|
|
182 /* Define AMPERSAND_FULL_NAME if you use the convention
|
70
|
183 that & in the full name stands for the login id. */
|
0
|
184 #undef AMPERSAND_FULL_NAME
|
|
185
|
|
186 /* Some things figured out by the configure script, grouped as they are in
|
70
|
187 configure.in. */
|
267
|
188 #undef HAVE_MCHECK_H
|
0
|
189 #undef HAVE_MACH_MACH_H
|
|
190 #undef HAVE_SYS_STROPTS_H
|
|
191 #undef HAVE_SYS_TIMEB_H
|
|
192 #undef HAVE_SYS_TIME_H
|
|
193 #undef HAVE_UNISTD_H
|
|
194 #undef HAVE_UTIME_H
|
|
195 #undef HAVE_SYS_WAIT_H
|
70
|
196 #undef HAVE_LIBINTL_H
|
0
|
197 #undef HAVE_LIBGEN_H
|
|
198 #undef HAVE_LOCALE_H
|
163
|
199 #undef HAVE_FCNTL_H
|
169
|
200 #undef HAVE_ULIMIT_H
|
70
|
201 #undef HAVE_X11_XLOCALE_H
|
0
|
202 #undef HAVE_LINUX_VERSION_H
|
321
|
203 #undef HAVE_CYGWIN_VERSION_H
|
149
|
204 #undef HAVE_INTTYPES_H
|
239
|
205 #undef HAVE_SYS_UN_H
|
251
|
206 #undef HAVE_A_OUT_H
|
0
|
207 #undef STDC_HEADERS
|
|
208 #undef TIME_WITH_SYS_TIME
|
|
209 #undef WORDS_BIGENDIAN
|
70
|
210 #undef HAVE_VFORK_H
|
|
211 #undef HAVE_KSTAT_H
|
|
212 #undef HAVE_SYS_PSTAT_H
|
|
213 #undef vfork
|
0
|
214
|
|
215 #undef HAVE_LONG_FILE_NAMES
|
|
216
|
173
|
217 /* Use lock files to detect multiple edits of the same file? */
|
|
218 #undef CLASH_DETECTION
|
0
|
219
|
265
|
220 /* Have shared library support */
|
|
221 #undef HAVE_DLOPEN
|
276
|
222 #undef HAVE_DLERROR
|
265
|
223 #undef HAVE_SHL_LOAD
|
|
224 #undef HAVE_DLD_INIT
|
245
|
225 #undef HAVE_SHLIB
|
|
226
|
70
|
227 #undef HAVE_LIBKSTAT
|
149
|
228 #undef HAVE_LIBINTL
|
0
|
229 #undef HAVE_LIBDNET
|
|
230 #undef HAVE_LIBRESOLV
|
|
231
|
70
|
232 /* Is `sys_siglist' declared by <signal.h>? */
|
0
|
233 #undef SYS_SIGLIST_DECLARED
|
|
234
|
70
|
235 /* Is `struct utimbuf' declared by <utime.h>? */
|
0
|
236 #undef HAVE_STRUCT_UTIMBUF
|
|
237
|
70
|
238 /* Is `struct timeval' declared by <sys/time.h>? */
|
0
|
239 #undef HAVE_TIMEVAL
|
|
240
|
|
241
|
|
242 #undef TM_IN_SYS_TIME
|
|
243 #undef HAVE_TM_ZONE
|
|
244 #undef HAVE_TZNAME
|
|
245
|
70
|
246 /* Is `h_errno' declared by <netdb.h>? */
|
0
|
247 #undef HAVE_H_ERRNO
|
|
248
|
70
|
249 /* Does `localtime' cache TZ? */
|
0
|
250 #undef LOCALTIME_CACHE
|
|
251
|
70
|
252 /* Can `gettimeofday' accept two arguments? */
|
0
|
253 #undef GETTIMEOFDAY_ONE_ARGUMENT
|
|
254
|
|
255 #undef HAVE_MMAP
|
|
256 #undef HAVE_STRCOLL
|
163
|
257 #undef HAVE_GETPGRP
|
|
258 #undef GETPGRP_VOID
|
0
|
259
|
243
|
260 #undef HAVE_INVERSE_HYPERBOLIC
|
0
|
261
|
|
262 #undef HAVE_CBRT
|
|
263 #undef HAVE_CLOSEDIR
|
|
264 #undef HAVE_DUP2
|
|
265 #undef HAVE_EACCESS
|
|
266 #undef HAVE_FMOD
|
|
267 #undef HAVE_FPATHCONF
|
|
268 #undef HAVE_FREXP
|
|
269 #undef HAVE_FTIME
|
|
270 #undef HAVE_GETHOSTNAME
|
|
271 #undef HAVE_GETPAGESIZE
|
|
272 #undef HAVE_GETTIMEOFDAY
|
|
273 #undef HAVE_GETWD
|
72
|
274 #undef HAVE_GETCWD
|
0
|
275 #undef HAVE_LOGB
|
|
276 #undef HAVE_LRAND48
|
|
277 #undef HAVE_MATHERR
|
|
278 #undef HAVE_MKDIR
|
|
279 #undef HAVE_MKTIME
|
|
280 #undef HAVE_PERROR
|
|
281 #undef HAVE_POLL
|
|
282 #undef HAVE_RANDOM
|
|
283 #undef HAVE_REALPATH
|
|
284 #undef HAVE_RENAME
|
|
285 #undef HAVE_RES_INIT
|
|
286 #undef HAVE_RINT
|
|
287 #undef HAVE_RMDIR
|
|
288 #undef HAVE_SELECT
|
|
289 #undef HAVE_SETITIMER
|
|
290 #undef HAVE_SETPGID
|
|
291 #undef HAVE_SETSID
|
|
292 #undef HAVE_SIGBLOCK
|
|
293 #undef HAVE_SIGHOLD
|
|
294 #undef HAVE_SIGPROCMASK
|
|
295 #undef HAVE_SIGSETJMP
|
265
|
296 #undef HAVE_SNPRINTF
|
0
|
297 #undef HAVE_STRCASECMP
|
|
298 #undef HAVE_STRERROR
|
|
299 #undef HAVE_TZSET
|
169
|
300 #undef HAVE_ULIMIT
|
167
|
301 #undef HAVE_USLEEP
|
0
|
302 #undef HAVE_UTIMES
|
|
303 #undef HAVE_WAITPID
|
265
|
304 #undef HAVE_VSNPRINTF
|
365
|
305 /* UNIX98 PTY support functions
|
|
306 getpt is a glibc addition which emulates the master device on
|
|
307 systems without kernel support. */
|
|
308 #undef HAVE_GRANTPT
|
|
309 #undef HAVE_UNLOCKPT
|
|
310 #undef HAVE_GETPT
|
|
311 #undef HAVE_PTSNAME
|
|
312
|
0
|
313 #undef HAVE_SOCKETS
|
|
314 #undef HAVE_SOCKADDR_SUN_LEN
|
259
|
315 #undef HAVE_MULTICAST
|
0
|
316 #undef HAVE_SYSVIPC
|
|
317
|
|
318 #undef SYSV_SYSTEM_DIR
|
|
319 #undef NONSYSTEM_DIR_LIBRARY
|
|
320
|
|
321 #undef HAVE_TERMIOS
|
|
322 #undef HAVE_TERMIO
|
175
|
323 #undef NO_TERMIO
|
|
324 #undef SIGNALS_VIA_CHARACTERS
|
0
|
325
|
|
326 #undef NLIST_STRUCT
|
|
327
|
149
|
328 /* Compile in support for SOCKS? */
|
0
|
329 #undef HAVE_SOCKS
|
|
330
|
149
|
331 /* Compile in support for X pixmaps via the `xpm' library? */
|
0
|
332 #undef HAVE_XPM
|
278
|
333 #undef FOR_MSW
|
0
|
334
|
149
|
335 /* Compile in support for "X faces" via the `compface' library?
|
|
336 This enables graphical display of X-face headers in mail/news messages */
|
0
|
337 #undef HAVE_XFACE
|
|
338
|
251
|
339 /* Compile in support for JPEG images */
|
|
340 #undef HAVE_JPEG
|
|
341
|
|
342 /* Compile in support for TIFF images */
|
|
343 #undef HAVE_TIFF
|
|
344
|
|
345 /* Compile in support for GIF images */
|
|
346 #undef HAVE_GIF
|
|
347
|
|
348 /* Compile in support for PNG images */
|
|
349 #undef HAVE_PNG
|
0
|
350
|
70
|
351 /* Do you have the Xmu library?
|
|
352 This should always be the case except on losing HP-UX systems. */
|
0
|
353 #undef HAVE_XMU
|
|
354
|
149
|
355 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
|
0
|
356 #undef HAVE_DBM
|
|
357
|
149
|
358 /* Compile in support for Berkeley DB style databases? May require libdb. */
|
0
|
359 #undef HAVE_BERKELEY_DB
|
149
|
360 /* Full #include file path for Berkeley DB's db.h */
|
|
361 #undef DB_H_PATH
|
0
|
362
|
149
|
363 /* Do we have either DBM or Berkeley DB database support? */
|
|
364 #undef HAVE_DATABASE
|
0
|
365
|
259
|
366 /* Do we have LDAP support? */
|
|
367 #undef HAVE_LDAP
|
361
|
368 /* Does the library define ldap_set_option () ? */
|
|
369 #undef HAVE_LDAP_SET_OPTION
|
|
370 /* Does the library define ldap_get_lderrno () ? */
|
|
371 #undef HAVE_LDAP_GET_LDERRNO
|
|
372 /* Does the library define ldap_result2error () ? */
|
|
373 #undef HAVE_LDAP_RESULT2ERROR
|
|
374 /* Does the library define ldap_parse_result () ? */
|
|
375 #undef HAVE_LDAP_PARSE_RESULT
|
259
|
376
|
70
|
377 /* Do you have the Xauth library present? This will add some extra
|
|
378 functionality to gnuserv. */
|
0
|
379 #undef HAVE_XAUTH
|
|
380
|
149
|
381 /* Compile in support for gpm (General Purpose Mouse)? */
|
|
382 #undef HAVE_GPM
|
0
|
383
|
149
|
384 /* Compile in support for ncurses? */
|
|
385 #undef HAVE_NCURSES
|
|
386 /* Full #include file paths for ncurses' curses.h and term.h. */
|
|
387 #undef CURSES_H_PATH
|
|
388 #undef TERM_H_PATH
|
0
|
389
|
70
|
390 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
|
0
|
391 If the assertion fails, assert_failed() will be called. This is
|
|
392 recommended for general use because it gives more info about the crash
|
|
393 than just the abort() message. Too many people "Can't find the corefile"
|
70
|
394 or have limit-ed core dumps out of existence. */
|
0
|
395 #undef USE_ASSERTIONS
|
|
396
|
|
397 /* Define one or more of the following if you want lots of extra checks
|
|
398 (e.g. structure validation) compiled in. These should be turned
|
|
399 on during the beta-test cycle. */
|
|
400
|
|
401 /* Check the entire extent structure of a buffer each time an extent
|
|
402 change is done, and do other extent-related checks. */
|
|
403 #undef ERROR_CHECK_EXTENTS
|
|
404 /* Make sure that all X... macros are dereferencing the correct type,
|
|
405 and that all XSET... macros (as much as possible) are setting the
|
|
406 correct type of structure. Highly recommended for all
|
|
407 development work. */
|
|
408 #undef ERROR_CHECK_TYPECHECK
|
|
409 /* Make sure valid buffer positions are passed to BUF_* macros. */
|
|
410 #undef ERROR_CHECK_BUFPOS
|
149
|
411 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
|
0
|
412 #undef ERROR_CHECK_GC
|
149
|
413 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
|
0
|
414 #undef ERROR_CHECK_MALLOC
|
|
415
|
|
416 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
|
|
417 This is mainly intended for use by developers. */
|
|
418 #undef DEBUG_XEMACS
|
|
419
|
|
420 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
|
149
|
421 determine where XEmacs' memory is going. */
|
0
|
422 #undef MEMORY_USAGE_STATS
|
|
423
|
149
|
424 /* Define QUANTIFY if using Quantify from Pure/Atria Software.
|
|
425 This adds some additional calls to control data collection.
|
|
426 It is only intended for use by the developers. */
|
0
|
427 #undef QUANTIFY
|
|
428
|
|
429 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
|
149
|
430 widget within another program. */
|
0
|
431 #undef EXTERNAL_WIDGET
|
|
432
|
|
433 /* There are some special-case defines for gcc and lcc. */
|
|
434 #undef USE_GCC
|
|
435 #undef USE_LCC
|
|
436
|
|
437 /* Allow the user to override the default value of PURESIZE at configure
|
|
438 time. This must come before we include the sys files in order for
|
|
439 it to be able to override any changes in them. */
|
104
|
440 #undef RAW_PURESIZE
|
0
|
441
|
70
|
442 /* Define this if you want level 2 internationalization compliance
|
|
443 (localized collation and formatting). Generally this should be
|
149
|
444 defined, unless your system doesn't have the strcoll() and
|
|
445 setlocale() library routines. This really should be (NOT! -mrb)
|
|
446 defined in the appropriate s/ or m/ file. */
|
70
|
447 #undef I18N2
|
0
|
448
|
70
|
449 /* Define this if you want level 3 internationalization compliance
|
|
450 (localized messaging). This will cause a small runtime performance
|
|
451 penalty, as the strings are read from the message catalog(s).
|
|
452 For this you need the gettext() and dgetext() library routines.
|
|
453 WARNING, this code is under construction. */
|
|
454 #undef I18N3
|
|
455
|
149
|
456 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
|
|
457 Requires libDtSvc, which typically must be present at runtime. */
|
0
|
458 #undef HAVE_CDE
|
|
459
|
207
|
460 /* Compile in support for OffiX Drag and Drop? */
|
2
|
461 #undef HAVE_OFFIX_DND
|
|
462
|
282
|
463 /* Compile in generic Drag'n'Drop API */
|
|
464 #undef HAVE_DRAGNDROP
|
|
465
|
179
|
466 /* Compile in support for proper session-management. */
|
|
467 #undef HAVE_SESSION
|
177
|
468
|
70
|
469 /* Define this if you want Mule support (multi-byte character support).
|
|
470 There may be some performance penalty, although it should be small
|
|
471 if you're working with ASCII files. */
|
|
472 #undef MULE
|
|
473
|
259
|
474 /* Define this if you want file coding support */
|
|
475 #undef FILE_CODING
|
251
|
476
|
70
|
477 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
|
|
478 If so, use raw Xlib or higher level Motif interface? */
|
|
479 #undef HAVE_XIM
|
|
480 #undef XIM_XLIB
|
|
481 #undef XIM_MOTIF
|
177
|
482 #undef USE_XFONTSET
|
70
|
483
|
|
484 /* Non-XIM input methods for use with Mule. */
|
|
485 #undef HAVE_CANNA
|
|
486 #undef HAVE_WNN
|
98
|
487 #undef WNN6
|
70
|
488
|
149
|
489 /* Enable special GNU Make features in the Makefiles. */
|
0
|
490 #undef USE_GNU_MAKE
|
|
491
|
70
|
492 /* Debugging option: Don't automatically rebuild the DOC file.
|
|
493 This saves a lot of time when you're repeatedly
|
0
|
494 compiling-running-crashing. */
|
|
495 #undef NO_DOC_FILE
|
|
496
|
272
|
497 /* Defined by AC_C_CONST in configure.in */
|
|
498 #undef const
|
|
499
|
|
500 #define CONST const
|
0
|
501
|
272
|
502 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
|
|
503 seem to require this, probably because something with the int
|
|
504 definitions isn't right with 64-bit systems. */
|
|
505 #undef USE_UNION_TYPE
|
0
|
506
|
257
|
507 /* If defined, use a minimal number of tagbits. This allows usage of more
|
|
508 advanced versions of malloc (like the Doug Lea new GNU malloc) and larger
|
|
509 integers. */
|
272
|
510 /* --use-minimal-tagbits */
|
257
|
511 #undef USE_MINIMAL_TAGBITS
|
|
512
|
272
|
513 /* --use-indexed-lrecord-implementation */
|
257
|
514 #undef USE_INDEXED_LRECORD_IMPLEMENTATION
|
|
515
|
0
|
516 /* The configuration script defines opsysfile to be the name of the
|
70
|
517 s/...h file that describes the system type you are using.
|
|
518 The file is chosen based on the configuration name you give.
|
0
|
519
|
|
520 See the file ../etc/MACHINES for a list of systems and the
|
|
521 configuration names to use for them.
|
|
522
|
70
|
523 See s/template.h for documentation on writing s/...h files. */
|
185
|
524
|
|
525 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
526 extern "C" {
|
|
527 #endif
|
149
|
528 #undef config_opsysfile
|
0
|
529 #include config_opsysfile
|
|
530
|
|
531 /* The configuration script defines machfile to be the name of the
|
|
532 m/...h file that describes the machine you are using. The file is
|
|
533 chosen based on the configuration name you give.
|
|
534
|
|
535 See the file ../etc/MACHINES for a list of machines and the
|
|
536 configuration names to use for them.
|
|
537
|
70
|
538 See m/template.h for documentation on writing m/...h files. */
|
0
|
539 #undef config_machfile
|
|
540 #include config_machfile
|
272
|
541 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
542 }
|
|
543 #endif
|
0
|
544
|
|
545 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
|
|
546 #define SYSTEM_MALLOC
|
|
547 #endif
|
|
548
|
149
|
549 /* Use the relocating allocator for buffer space? */
|
0
|
550 #undef REL_ALLOC
|
|
551
|
149
|
552 /* Define the return type of signal handlers if the s/xxx.h file
|
70
|
553 did not already do so. */
|
0
|
554 #define RETSIGTYPE void
|
|
555
|
70
|
556 /* SIGTYPE is the macro we actually use. */
|
0
|
557 #ifndef SIGTYPE
|
|
558 #define SIGTYPE RETSIGTYPE
|
|
559 #define SIGRETURN return
|
|
560 #endif
|
|
561
|
163
|
562 /* Allow the source to use standard types */
|
|
563 #undef size_t
|
|
564 #undef pid_t
|
|
565 #undef mode_t
|
|
566 #undef off_t
|
|
567 #undef uid_t
|
|
568 #undef gid_t
|
|
569
|
0
|
570 /* Define DYNODUMP if it is necessary to properly dump on this system.
|
149
|
571 Currently this is only Solaris 2.x, for x < 6. */
|
0
|
572 #undef DYNODUMP
|
|
573
|
149
|
574 /* Compile in support for Sun Sparcworks/WorkShop? */
|
0
|
575 #undef SUNPRO
|
|
576
|
149
|
577 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
|
|
578 support for playing sound files. (On Suns, the sound support is
|
|
579 usually found in /usr/demo/SOUND - you may need to install the
|
|
580 "SUNWaudmo" package.) */
|
0
|
581 #undef HAVE_NATIVE_SOUND
|
149
|
582 /* Native sound may be provided via soundcard.h, in various directories */
|
|
583 #undef SOUNDCARD_H_PATH
|
0
|
584
|
149
|
585 /* Compile in support for NAS (Network Audio System)?
|
|
586 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
|
365
|
587 error handling changes.
|
|
588 NAS_USES_OWN_NAMESPACE means NAS headers define NAS_LITTLE_ENDIAN
|
|
589 instead of LITTLE_ENDIAN etc. */
|
0
|
590 #undef HAVE_NAS_SOUND
|
|
591 #undef NAS_NO_ERROR_JUMP
|
365
|
592 #undef NAS_USES_OWN_NAMESPACE
|
0
|
593
|
149
|
594 /* Compile in support for SunPro usage-tracking code? */
|
0
|
595 #undef USAGE_TRACKING
|
|
596
|
149
|
597 /* Compile in support for Tooltalk? */
|
0
|
598 #undef TOOLTALK
|
149
|
599 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
|
|
600 #undef TT_C_H_PATH
|
0
|
601
|
149
|
602 /* Toolkits used by lwlib for various widgets... */
|
0
|
603 #undef LWLIB_USES_MOTIF
|
82
|
604 #undef LWLIB_USES_ATHENA
|
0
|
605 #undef LWLIB_MENUBARS_LUCID
|
|
606 #undef LWLIB_MENUBARS_MOTIF
|
|
607 #undef LWLIB_SCROLLBARS_LUCID
|
|
608 #undef LWLIB_SCROLLBARS_MOTIF
|
|
609 #undef LWLIB_SCROLLBARS_ATHENA
|
82
|
610 #undef LWLIB_SCROLLBARS_ATHENA3D
|
0
|
611 #undef LWLIB_DIALOGS_MOTIF
|
|
612 #undef LWLIB_DIALOGS_ATHENA
|
82
|
613 #undef LWLIB_DIALOGS_ATHENA3D
|
0
|
614
|
|
615 /* Other things that can be disabled by configure. */
|
|
616 #undef HAVE_MENUBARS
|
|
617 #undef HAVE_SCROLLBARS
|
|
618 #undef HAVE_DIALOGS
|
|
619 #undef HAVE_TOOLBARS
|
|
620
|
|
621
|
|
622 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
|
|
623 #define HAVE_POPUPS
|
|
624 #endif
|
|
625
|
|
626 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
|
|
627 There is a stupid bug in the SunOS libc.a: two functions which X11r5
|
|
628 uses, mbstowcs() and wcstombs(), are unusable when programs are
|
|
629 statically linked (as XEmacs must be) because the static version of
|
|
630 libc.a contains the *dynamic* versions of these functions. These
|
149
|
631 functions don't seem to be called when XEmacs is running, so it's
|
0
|
632 enough to define stubs for them.
|
|
633
|
|
634 This appears to be fixed in SunOS 4.1.2.
|
|
635
|
|
636 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
|
|
637 sometimes reference memory past the end of the string, which can segv.
|
70
|
638 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */
|
0
|
639 #if defined (sparc) && !defined (USG)
|
|
640 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
|
|
641 #endif
|
|
642
|
|
643 /* If you turn this flag on, it forces encapsulation in all
|
|
644 circumstances; this can be used to make sure things compile OK
|
|
645 on various systems. */
|
|
646 #define DEBUG_ENCAPSULATION
|
|
647
|
|
648 /* basic system calls */
|
|
649
|
|
650 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
|
|
651 # define ENCAPSULATE_READ
|
|
652 # define ENCAPSULATE_WRITE
|
|
653 #endif
|
70
|
654 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
655 # define ENCAPSULATE_OPEN
|
|
656 #endif
|
|
657 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
|
|
658 # define ENCAPSULATE_CLOSE
|
|
659 #endif
|
|
660
|
|
661 /* stdio calls */
|
|
662
|
|
663 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
|
|
664 # define ENCAPSULATE_FREAD
|
|
665 # define ENCAPSULATE_FWRITE
|
|
666 #endif
|
70
|
667 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
668 # define ENCAPSULATE_FOPEN
|
|
669 #endif
|
|
670 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
|
|
671 # define ENCAPSULATE_FCLOSE
|
|
672 #endif
|
|
673
|
|
674 /* directory calls */
|
|
675
|
70
|
676 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
677 # define ENCAPSULATE_CHDIR
|
|
678 # define ENCAPSULATE_MKDIR
|
|
679 # define ENCAPSULATE_OPENDIR
|
272
|
680 # define ENCAPSULATE_CLOSEDIR
|
0
|
681 # define ENCAPSULATE_READDIR
|
|
682 # define ENCAPSULATE_RMDIR
|
|
683
|
|
684 /* file-information calls */
|
|
685
|
2
|
686 #ifdef HAVE_EACCESS
|
|
687 # define ENCAPSULATE_EACCESS
|
|
688 #endif
|
0
|
689 # define ENCAPSULATE_ACCESS
|
|
690 # define ENCAPSULATE_LSTAT
|
|
691 # define ENCAPSULATE_READLINK
|
|
692 # define ENCAPSULATE_STAT
|
|
693
|
|
694 /* file-manipulation calls */
|
|
695
|
|
696 # define ENCAPSULATE_CHMOD
|
|
697 # define ENCAPSULATE_CREAT
|
|
698 # define ENCAPSULATE_LINK
|
|
699 # define ENCAPSULATE_RENAME
|
|
700 # define ENCAPSULATE_SYMLINK
|
|
701 # define ENCAPSULATE_UNLINK
|
70
|
702 # define ENCAPSULATE_EXECVP
|
|
703 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
|
|
704
|
|
705 #ifdef HAVE_CANNA
|
|
706 # define CANNA2
|
|
707 # define CANNA_MULE
|
|
708 # define CANNA_PURESIZE 0
|
|
709 #else /* not CANNA */
|
|
710 # define CANNA_PURESIZE 0
|
|
711 #endif /* not CANNA */
|
0
|
712
|
|
713 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
|
|
714 #define HAVE_FEP
|
|
715 #endif
|
|
716
|
|
717 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
|
|
718 #define accept Raccept
|
|
719 #define bind Rbind
|
|
720 #define connect Rconnect
|
|
721 #define getsockname Rgetsockname
|
|
722 #define listen Rlisten
|
|
723 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
|
|
724
|
272
|
725 #undef SIZEOF_SHORT
|
|
726 #undef SIZEOF_INT
|
|
727 #undef SIZEOF_LONG
|
|
728 #undef SIZEOF_LONG_LONG
|
|
729 #undef SIZEOF_VOID_P
|
|
730
|
|
731 #ifndef BITS_PER_CHAR
|
|
732 #define BITS_PER_CHAR 8
|
0
|
733 #endif
|
272
|
734 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
|
|
735 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
|
|
736 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
|
|
737 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
|
|
738 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
|
0
|
739
|
157
|
740 #ifndef NOT_C_CODE
|
272
|
741 #ifdef __cplusplus
|
|
742 #define HAVE_INLINE 1
|
|
743 #define INLINE inline
|
|
744 #else /* not C++ */
|
155
|
745 /* Does the keyword `inline' exist? */
|
|
746 #undef HAVE_INLINE
|
|
747 #undef inline
|
|
748
|
157
|
749 # ifdef HAVE_INLINE
|
|
750 # ifdef __GNUC__
|
|
751 # ifdef DONT_EXTERN_INLINE_FUNCTIONS
|
|
752 # define INLINE inline
|
|
753 # else
|
|
754 # define INLINE extern inline
|
|
755 # endif
|
0
|
756 # else
|
157
|
757 # define INLINE static inline
|
|
758 # endif /* __GNUC__ */
|
0
|
759 # else
|
157
|
760 # define INLINE static
|
|
761 # endif /* HAVE_INLINE */
|
272
|
762 #endif /* not C++ */
|
157
|
763 #endif /* C code */
|
0
|
764
|
272
|
765 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
766 /* Avoid C++ keywords used as ordinary C identifiers */
|
|
767 #define class c_class
|
|
768 #define new c_new
|
|
769 #define this c_this
|
|
770 #define catch c_catch
|
363
|
771 #define not c_not
|
272
|
772 #endif /* C++ */
|
|
773
|
|
774 /* Strictly speaking, only int or unsigned int are valid types in a
|
|
775 bitfield. In practice, we would like to use enums as bitfields.
|
|
776 The following should just result in warning avoidance:
|
|
777 warning: nonportable bit-field type */
|
274
|
778 #ifdef __GNUC__
|
272
|
779 #define enum_field(enumeration_type) enum enumeration_type
|
|
780 #else
|
|
781 #define enum_field(enumeration_type) unsigned int
|
|
782 #endif
|
|
783
|
0
|
784 /* We want to avoid saving the signal mask if possible, because
|
|
785 that necessitates a system call. */
|
|
786 #ifdef HAVE_SIGSETJMP
|
|
787 # define SETJMP(x) sigsetjmp (x, 0)
|
|
788 # define LONGJMP(x, y) siglongjmp (x, y)
|
|
789 # define JMP_BUF sigjmp_buf
|
|
790 #else
|
|
791 # define SETJMP(x) setjmp (x)
|
|
792 # define LONGJMP(x, y) longjmp (x, y)
|
|
793 # define JMP_BUF jmp_buf
|
|
794 #endif
|
|
795
|
118
|
796 /* movemail options */
|
149
|
797 /* Should movemail use POP3 for mail access? */
|
118
|
798 #undef MAIL_USE_POP
|
149
|
799 /* Should movemail use kerberos for POP authentication? */
|
118
|
800 #undef KERBEROS
|
149
|
801 /* Should movemail use hesiod for getting POP server host? */
|
118
|
802 #undef HESIOD
|
149
|
803 /* Determine type of mail locking. */
|
|
804 /* Play preprocessor games so that configure options override s&m files */
|
|
805 #undef REAL_MAIL_USE_LOCKF
|
|
806 #undef REAL_MAIL_USE_FLOCK
|
|
807 #undef MAIL_USE_LOCKF
|
|
808 #undef MAIL_USE_FLOCK
|
|
809 #ifdef REAL_MAIL_USE_FLOCK
|
|
810 #define MAIL_USE_FLOCK
|
|
811 #endif
|
|
812 #ifdef REAL_MAIL_USE_LOCKF
|
|
813 #define MAIL_USE_LOCKF
|
|
814 #endif
|
118
|
815
|
349
|
816 #undef DOCDIR_USER_DEFINED
|
276
|
817 #undef LISPDIR_USER_DEFINED
|
|
818 #undef PACKAGE_PATH_USER_DEFINED
|
|
819 #undef SITELISPDIR_USER_DEFINED
|
|
820 #undef ARCHLIBDIR_USER_DEFINED
|
|
821 #undef ETCDIR_USER_DEFINED
|
|
822 #undef LOCKDIR_USER_DEFINED
|
|
823 #undef INFODIR_USER_DEFINED
|
|
824 #undef INFOPATH_USER_DEFINED
|
|
825
|
185
|
826 #endif /* _SRC_CONFIG_H_ */
|