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