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
|
369
|
312 #undef HAVE_KILLPG
|
|
313 #undef HAVE_STROPTS_H /* SysV streams */
|
|
314 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */
|
365
|
315
|
0
|
316 #undef HAVE_SOCKETS
|
|
317 #undef HAVE_SOCKADDR_SUN_LEN
|
259
|
318 #undef HAVE_MULTICAST
|
0
|
319 #undef HAVE_SYSVIPC
|
|
320
|
|
321 #undef SYSV_SYSTEM_DIR
|
|
322 #undef NONSYSTEM_DIR_LIBRARY
|
|
323
|
|
324 #undef HAVE_TERMIOS
|
|
325 #undef HAVE_TERMIO
|
175
|
326 #undef NO_TERMIO
|
|
327 #undef SIGNALS_VIA_CHARACTERS
|
0
|
328
|
|
329 #undef NLIST_STRUCT
|
|
330
|
149
|
331 /* Compile in support for SOCKS? */
|
0
|
332 #undef HAVE_SOCKS
|
|
333
|
149
|
334 /* Compile in support for X pixmaps via the `xpm' library? */
|
0
|
335 #undef HAVE_XPM
|
278
|
336 #undef FOR_MSW
|
0
|
337
|
149
|
338 /* Compile in support for "X faces" via the `compface' library?
|
|
339 This enables graphical display of X-face headers in mail/news messages */
|
0
|
340 #undef HAVE_XFACE
|
|
341
|
251
|
342 /* Compile in support for JPEG images */
|
|
343 #undef HAVE_JPEG
|
|
344
|
|
345 /* Compile in support for TIFF images */
|
|
346 #undef HAVE_TIFF
|
|
347
|
|
348 /* Compile in support for GIF images */
|
|
349 #undef HAVE_GIF
|
|
350
|
|
351 /* Compile in support for PNG images */
|
|
352 #undef HAVE_PNG
|
0
|
353
|
70
|
354 /* Do you have the Xmu library?
|
|
355 This should always be the case except on losing HP-UX systems. */
|
0
|
356 #undef HAVE_XMU
|
|
357
|
149
|
358 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
|
0
|
359 #undef HAVE_DBM
|
|
360
|
149
|
361 /* Compile in support for Berkeley DB style databases? May require libdb. */
|
0
|
362 #undef HAVE_BERKELEY_DB
|
149
|
363 /* Full #include file path for Berkeley DB's db.h */
|
|
364 #undef DB_H_PATH
|
0
|
365
|
149
|
366 /* Do we have either DBM or Berkeley DB database support? */
|
|
367 #undef HAVE_DATABASE
|
0
|
368
|
259
|
369 /* Do we have LDAP support? */
|
|
370 #undef HAVE_LDAP
|
361
|
371 /* Does the library define ldap_set_option () ? */
|
|
372 #undef HAVE_LDAP_SET_OPTION
|
|
373 /* Does the library define ldap_get_lderrno () ? */
|
|
374 #undef HAVE_LDAP_GET_LDERRNO
|
|
375 /* Does the library define ldap_result2error () ? */
|
|
376 #undef HAVE_LDAP_RESULT2ERROR
|
|
377 /* Does the library define ldap_parse_result () ? */
|
|
378 #undef HAVE_LDAP_PARSE_RESULT
|
259
|
379
|
70
|
380 /* Do you have the Xauth library present? This will add some extra
|
|
381 functionality to gnuserv. */
|
0
|
382 #undef HAVE_XAUTH
|
|
383
|
149
|
384 /* Compile in support for gpm (General Purpose Mouse)? */
|
|
385 #undef HAVE_GPM
|
0
|
386
|
149
|
387 /* Compile in support for ncurses? */
|
|
388 #undef HAVE_NCURSES
|
|
389 /* Full #include file paths for ncurses' curses.h and term.h. */
|
|
390 #undef CURSES_H_PATH
|
|
391 #undef TERM_H_PATH
|
0
|
392
|
70
|
393 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
|
0
|
394 If the assertion fails, assert_failed() will be called. This is
|
|
395 recommended for general use because it gives more info about the crash
|
|
396 than just the abort() message. Too many people "Can't find the corefile"
|
70
|
397 or have limit-ed core dumps out of existence. */
|
0
|
398 #undef USE_ASSERTIONS
|
|
399
|
|
400 /* Define one or more of the following if you want lots of extra checks
|
|
401 (e.g. structure validation) compiled in. These should be turned
|
|
402 on during the beta-test cycle. */
|
|
403
|
|
404 /* Check the entire extent structure of a buffer each time an extent
|
|
405 change is done, and do other extent-related checks. */
|
|
406 #undef ERROR_CHECK_EXTENTS
|
|
407 /* Make sure that all X... macros are dereferencing the correct type,
|
|
408 and that all XSET... macros (as much as possible) are setting the
|
|
409 correct type of structure. Highly recommended for all
|
|
410 development work. */
|
|
411 #undef ERROR_CHECK_TYPECHECK
|
|
412 /* Make sure valid buffer positions are passed to BUF_* macros. */
|
|
413 #undef ERROR_CHECK_BUFPOS
|
149
|
414 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
|
0
|
415 #undef ERROR_CHECK_GC
|
149
|
416 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
|
0
|
417 #undef ERROR_CHECK_MALLOC
|
|
418
|
|
419 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
|
|
420 This is mainly intended for use by developers. */
|
|
421 #undef DEBUG_XEMACS
|
|
422
|
|
423 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
|
149
|
424 determine where XEmacs' memory is going. */
|
0
|
425 #undef MEMORY_USAGE_STATS
|
|
426
|
149
|
427 /* Define QUANTIFY if using Quantify from Pure/Atria Software.
|
|
428 This adds some additional calls to control data collection.
|
|
429 It is only intended for use by the developers. */
|
0
|
430 #undef QUANTIFY
|
|
431
|
|
432 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
|
149
|
433 widget within another program. */
|
0
|
434 #undef EXTERNAL_WIDGET
|
|
435
|
|
436 /* There are some special-case defines for gcc and lcc. */
|
|
437 #undef USE_GCC
|
|
438 #undef USE_LCC
|
|
439
|
|
440 /* Allow the user to override the default value of PURESIZE at configure
|
|
441 time. This must come before we include the sys files in order for
|
|
442 it to be able to override any changes in them. */
|
104
|
443 #undef RAW_PURESIZE
|
0
|
444
|
70
|
445 /* Define this if you want level 2 internationalization compliance
|
|
446 (localized collation and formatting). Generally this should be
|
149
|
447 defined, unless your system doesn't have the strcoll() and
|
|
448 setlocale() library routines. This really should be (NOT! -mrb)
|
|
449 defined in the appropriate s/ or m/ file. */
|
70
|
450 #undef I18N2
|
0
|
451
|
70
|
452 /* Define this if you want level 3 internationalization compliance
|
|
453 (localized messaging). This will cause a small runtime performance
|
|
454 penalty, as the strings are read from the message catalog(s).
|
|
455 For this you need the gettext() and dgetext() library routines.
|
|
456 WARNING, this code is under construction. */
|
|
457 #undef I18N3
|
|
458
|
149
|
459 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
|
|
460 Requires libDtSvc, which typically must be present at runtime. */
|
0
|
461 #undef HAVE_CDE
|
|
462
|
207
|
463 /* Compile in support for OffiX Drag and Drop? */
|
2
|
464 #undef HAVE_OFFIX_DND
|
|
465
|
282
|
466 /* Compile in generic Drag'n'Drop API */
|
|
467 #undef HAVE_DRAGNDROP
|
|
468
|
179
|
469 /* Compile in support for proper session-management. */
|
|
470 #undef HAVE_SESSION
|
177
|
471
|
70
|
472 /* Define this if you want Mule support (multi-byte character support).
|
|
473 There may be some performance penalty, although it should be small
|
|
474 if you're working with ASCII files. */
|
|
475 #undef MULE
|
|
476
|
259
|
477 /* Define this if you want file coding support */
|
|
478 #undef FILE_CODING
|
251
|
479
|
70
|
480 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
|
|
481 If so, use raw Xlib or higher level Motif interface? */
|
|
482 #undef HAVE_XIM
|
|
483 #undef XIM_XLIB
|
|
484 #undef XIM_MOTIF
|
177
|
485 #undef USE_XFONTSET
|
70
|
486
|
|
487 /* Non-XIM input methods for use with Mule. */
|
|
488 #undef HAVE_CANNA
|
|
489 #undef HAVE_WNN
|
98
|
490 #undef WNN6
|
70
|
491
|
149
|
492 /* Enable special GNU Make features in the Makefiles. */
|
0
|
493 #undef USE_GNU_MAKE
|
|
494
|
70
|
495 /* Debugging option: Don't automatically rebuild the DOC file.
|
|
496 This saves a lot of time when you're repeatedly
|
0
|
497 compiling-running-crashing. */
|
|
498 #undef NO_DOC_FILE
|
|
499
|
272
|
500 /* Defined by AC_C_CONST in configure.in */
|
|
501 #undef const
|
|
502
|
|
503 #define CONST const
|
0
|
504
|
272
|
505 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
|
|
506 seem to require this, probably because something with the int
|
|
507 definitions isn't right with 64-bit systems. */
|
|
508 #undef USE_UNION_TYPE
|
0
|
509
|
257
|
510 /* If defined, use a minimal number of tagbits. This allows usage of more
|
|
511 advanced versions of malloc (like the Doug Lea new GNU malloc) and larger
|
|
512 integers. */
|
272
|
513 /* --use-minimal-tagbits */
|
257
|
514 #undef USE_MINIMAL_TAGBITS
|
|
515
|
272
|
516 /* --use-indexed-lrecord-implementation */
|
257
|
517 #undef USE_INDEXED_LRECORD_IMPLEMENTATION
|
|
518
|
0
|
519 /* The configuration script defines opsysfile to be the name of the
|
70
|
520 s/...h file that describes the system type you are using.
|
|
521 The file is chosen based on the configuration name you give.
|
0
|
522
|
|
523 See the file ../etc/MACHINES for a list of systems and the
|
|
524 configuration names to use for them.
|
|
525
|
70
|
526 See s/template.h for documentation on writing s/...h files. */
|
185
|
527
|
|
528 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
529 extern "C" {
|
|
530 #endif
|
149
|
531 #undef config_opsysfile
|
0
|
532 #include config_opsysfile
|
|
533
|
|
534 /* The configuration script defines machfile to be the name of the
|
|
535 m/...h file that describes the machine you are using. The file is
|
|
536 chosen based on the configuration name you give.
|
|
537
|
|
538 See the file ../etc/MACHINES for a list of machines and the
|
|
539 configuration names to use for them.
|
|
540
|
70
|
541 See m/template.h for documentation on writing m/...h files. */
|
0
|
542 #undef config_machfile
|
|
543 #include config_machfile
|
272
|
544 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
545 }
|
|
546 #endif
|
0
|
547
|
|
548 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
|
|
549 #define SYSTEM_MALLOC
|
|
550 #endif
|
|
551
|
149
|
552 /* Use the relocating allocator for buffer space? */
|
0
|
553 #undef REL_ALLOC
|
|
554
|
149
|
555 /* Define the return type of signal handlers if the s/xxx.h file
|
70
|
556 did not already do so. */
|
0
|
557 #define RETSIGTYPE void
|
|
558
|
70
|
559 /* SIGTYPE is the macro we actually use. */
|
0
|
560 #ifndef SIGTYPE
|
|
561 #define SIGTYPE RETSIGTYPE
|
|
562 #define SIGRETURN return
|
|
563 #endif
|
|
564
|
163
|
565 /* Allow the source to use standard types */
|
|
566 #undef size_t
|
|
567 #undef pid_t
|
|
568 #undef mode_t
|
|
569 #undef off_t
|
|
570 #undef uid_t
|
|
571 #undef gid_t
|
|
572
|
0
|
573 /* Define DYNODUMP if it is necessary to properly dump on this system.
|
149
|
574 Currently this is only Solaris 2.x, for x < 6. */
|
0
|
575 #undef DYNODUMP
|
|
576
|
149
|
577 /* Compile in support for Sun Sparcworks/WorkShop? */
|
0
|
578 #undef SUNPRO
|
|
579
|
149
|
580 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
|
|
581 support for playing sound files. (On Suns, the sound support is
|
|
582 usually found in /usr/demo/SOUND - you may need to install the
|
|
583 "SUNWaudmo" package.) */
|
0
|
584 #undef HAVE_NATIVE_SOUND
|
149
|
585 /* Native sound may be provided via soundcard.h, in various directories */
|
|
586 #undef SOUNDCARD_H_PATH
|
0
|
587
|
149
|
588 /* Compile in support for NAS (Network Audio System)?
|
|
589 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
|
365
|
590 error handling changes.
|
|
591 NAS_USES_OWN_NAMESPACE means NAS headers define NAS_LITTLE_ENDIAN
|
|
592 instead of LITTLE_ENDIAN etc. */
|
0
|
593 #undef HAVE_NAS_SOUND
|
|
594 #undef NAS_NO_ERROR_JUMP
|
365
|
595 #undef NAS_USES_OWN_NAMESPACE
|
0
|
596
|
149
|
597 /* Compile in support for SunPro usage-tracking code? */
|
0
|
598 #undef USAGE_TRACKING
|
|
599
|
149
|
600 /* Compile in support for Tooltalk? */
|
0
|
601 #undef TOOLTALK
|
149
|
602 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
|
|
603 #undef TT_C_H_PATH
|
0
|
604
|
149
|
605 /* Toolkits used by lwlib for various widgets... */
|
0
|
606 #undef LWLIB_USES_MOTIF
|
82
|
607 #undef LWLIB_USES_ATHENA
|
0
|
608 #undef LWLIB_MENUBARS_LUCID
|
|
609 #undef LWLIB_MENUBARS_MOTIF
|
|
610 #undef LWLIB_SCROLLBARS_LUCID
|
|
611 #undef LWLIB_SCROLLBARS_MOTIF
|
|
612 #undef LWLIB_SCROLLBARS_ATHENA
|
82
|
613 #undef LWLIB_SCROLLBARS_ATHENA3D
|
0
|
614 #undef LWLIB_DIALOGS_MOTIF
|
|
615 #undef LWLIB_DIALOGS_ATHENA
|
82
|
616 #undef LWLIB_DIALOGS_ATHENA3D
|
0
|
617
|
|
618 /* Other things that can be disabled by configure. */
|
|
619 #undef HAVE_MENUBARS
|
|
620 #undef HAVE_SCROLLBARS
|
|
621 #undef HAVE_DIALOGS
|
|
622 #undef HAVE_TOOLBARS
|
|
623
|
|
624
|
|
625 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
|
|
626 #define HAVE_POPUPS
|
|
627 #endif
|
|
628
|
|
629 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
|
|
630 There is a stupid bug in the SunOS libc.a: two functions which X11r5
|
|
631 uses, mbstowcs() and wcstombs(), are unusable when programs are
|
|
632 statically linked (as XEmacs must be) because the static version of
|
|
633 libc.a contains the *dynamic* versions of these functions. These
|
149
|
634 functions don't seem to be called when XEmacs is running, so it's
|
0
|
635 enough to define stubs for them.
|
|
636
|
|
637 This appears to be fixed in SunOS 4.1.2.
|
|
638
|
|
639 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
|
|
640 sometimes reference memory past the end of the string, which can segv.
|
70
|
641 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */
|
0
|
642 #if defined (sparc) && !defined (USG)
|
|
643 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
|
|
644 #endif
|
|
645
|
|
646 /* If you turn this flag on, it forces encapsulation in all
|
|
647 circumstances; this can be used to make sure things compile OK
|
|
648 on various systems. */
|
|
649 #define DEBUG_ENCAPSULATION
|
|
650
|
|
651 /* basic system calls */
|
|
652
|
|
653 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
|
|
654 # define ENCAPSULATE_READ
|
|
655 # define ENCAPSULATE_WRITE
|
|
656 #endif
|
70
|
657 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
658 # define ENCAPSULATE_OPEN
|
|
659 #endif
|
|
660 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
|
|
661 # define ENCAPSULATE_CLOSE
|
|
662 #endif
|
|
663
|
|
664 /* stdio calls */
|
|
665
|
|
666 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
|
|
667 # define ENCAPSULATE_FREAD
|
|
668 # define ENCAPSULATE_FWRITE
|
|
669 #endif
|
70
|
670 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
671 # define ENCAPSULATE_FOPEN
|
|
672 #endif
|
|
673 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
|
|
674 # define ENCAPSULATE_FCLOSE
|
|
675 #endif
|
|
676
|
|
677 /* directory calls */
|
|
678
|
70
|
679 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
|
0
|
680 # define ENCAPSULATE_CHDIR
|
|
681 # define ENCAPSULATE_MKDIR
|
|
682 # define ENCAPSULATE_OPENDIR
|
272
|
683 # define ENCAPSULATE_CLOSEDIR
|
0
|
684 # define ENCAPSULATE_READDIR
|
|
685 # define ENCAPSULATE_RMDIR
|
|
686
|
|
687 /* file-information calls */
|
|
688
|
2
|
689 #ifdef HAVE_EACCESS
|
|
690 # define ENCAPSULATE_EACCESS
|
|
691 #endif
|
0
|
692 # define ENCAPSULATE_ACCESS
|
|
693 # define ENCAPSULATE_LSTAT
|
|
694 # define ENCAPSULATE_READLINK
|
|
695 # define ENCAPSULATE_STAT
|
|
696
|
|
697 /* file-manipulation calls */
|
|
698
|
|
699 # define ENCAPSULATE_CHMOD
|
|
700 # define ENCAPSULATE_CREAT
|
|
701 # define ENCAPSULATE_LINK
|
|
702 # define ENCAPSULATE_RENAME
|
|
703 # define ENCAPSULATE_SYMLINK
|
|
704 # define ENCAPSULATE_UNLINK
|
70
|
705 # define ENCAPSULATE_EXECVP
|
|
706 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
|
|
707
|
|
708 #ifdef HAVE_CANNA
|
|
709 # define CANNA2
|
|
710 # define CANNA_MULE
|
|
711 # define CANNA_PURESIZE 0
|
|
712 #else /* not CANNA */
|
|
713 # define CANNA_PURESIZE 0
|
|
714 #endif /* not CANNA */
|
0
|
715
|
|
716 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
|
|
717 #define HAVE_FEP
|
|
718 #endif
|
|
719
|
|
720 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
|
|
721 #define accept Raccept
|
|
722 #define bind Rbind
|
|
723 #define connect Rconnect
|
|
724 #define getsockname Rgetsockname
|
|
725 #define listen Rlisten
|
|
726 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
|
|
727
|
272
|
728 #undef SIZEOF_SHORT
|
|
729 #undef SIZEOF_INT
|
|
730 #undef SIZEOF_LONG
|
|
731 #undef SIZEOF_LONG_LONG
|
|
732 #undef SIZEOF_VOID_P
|
|
733
|
|
734 #ifndef BITS_PER_CHAR
|
|
735 #define BITS_PER_CHAR 8
|
0
|
736 #endif
|
272
|
737 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
|
|
738 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
|
|
739 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
|
|
740 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
|
|
741 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
|
0
|
742
|
157
|
743 #ifndef NOT_C_CODE
|
272
|
744 #ifdef __cplusplus
|
|
745 #define HAVE_INLINE 1
|
|
746 #define INLINE inline
|
|
747 #else /* not C++ */
|
155
|
748 /* Does the keyword `inline' exist? */
|
|
749 #undef HAVE_INLINE
|
|
750 #undef inline
|
|
751
|
157
|
752 # ifdef HAVE_INLINE
|
|
753 # ifdef __GNUC__
|
|
754 # ifdef DONT_EXTERN_INLINE_FUNCTIONS
|
|
755 # define INLINE inline
|
|
756 # else
|
|
757 # define INLINE extern inline
|
|
758 # endif
|
0
|
759 # else
|
157
|
760 # define INLINE static inline
|
|
761 # endif /* __GNUC__ */
|
0
|
762 # else
|
157
|
763 # define INLINE static
|
|
764 # endif /* HAVE_INLINE */
|
272
|
765 #endif /* not C++ */
|
157
|
766 #endif /* C code */
|
0
|
767
|
272
|
768 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
769 /* Avoid C++ keywords used as ordinary C identifiers */
|
|
770 #define class c_class
|
|
771 #define new c_new
|
|
772 #define this c_this
|
|
773 #define catch c_catch
|
363
|
774 #define not c_not
|
272
|
775 #endif /* C++ */
|
|
776
|
|
777 /* Strictly speaking, only int or unsigned int are valid types in a
|
|
778 bitfield. In practice, we would like to use enums as bitfields.
|
|
779 The following should just result in warning avoidance:
|
|
780 warning: nonportable bit-field type */
|
274
|
781 #ifdef __GNUC__
|
272
|
782 #define enum_field(enumeration_type) enum enumeration_type
|
|
783 #else
|
|
784 #define enum_field(enumeration_type) unsigned int
|
|
785 #endif
|
|
786
|
0
|
787 /* We want to avoid saving the signal mask if possible, because
|
|
788 that necessitates a system call. */
|
|
789 #ifdef HAVE_SIGSETJMP
|
|
790 # define SETJMP(x) sigsetjmp (x, 0)
|
|
791 # define LONGJMP(x, y) siglongjmp (x, y)
|
|
792 # define JMP_BUF sigjmp_buf
|
|
793 #else
|
|
794 # define SETJMP(x) setjmp (x)
|
|
795 # define LONGJMP(x, y) longjmp (x, y)
|
|
796 # define JMP_BUF jmp_buf
|
|
797 #endif
|
|
798
|
118
|
799 /* movemail options */
|
149
|
800 /* Should movemail use POP3 for mail access? */
|
118
|
801 #undef MAIL_USE_POP
|
149
|
802 /* Should movemail use kerberos for POP authentication? */
|
118
|
803 #undef KERBEROS
|
149
|
804 /* Should movemail use hesiod for getting POP server host? */
|
118
|
805 #undef HESIOD
|
149
|
806 /* Determine type of mail locking. */
|
|
807 /* Play preprocessor games so that configure options override s&m files */
|
|
808 #undef REAL_MAIL_USE_LOCKF
|
|
809 #undef REAL_MAIL_USE_FLOCK
|
|
810 #undef MAIL_USE_LOCKF
|
|
811 #undef MAIL_USE_FLOCK
|
|
812 #ifdef REAL_MAIL_USE_FLOCK
|
|
813 #define MAIL_USE_FLOCK
|
|
814 #endif
|
|
815 #ifdef REAL_MAIL_USE_LOCKF
|
|
816 #define MAIL_USE_LOCKF
|
|
817 #endif
|
118
|
818
|
349
|
819 #undef DOCDIR_USER_DEFINED
|
276
|
820 #undef LISPDIR_USER_DEFINED
|
|
821 #undef PACKAGE_PATH_USER_DEFINED
|
|
822 #undef SITELISPDIR_USER_DEFINED
|
|
823 #undef ARCHLIBDIR_USER_DEFINED
|
|
824 #undef ETCDIR_USER_DEFINED
|
|
825 #undef LOCKDIR_USER_DEFINED
|
|
826 #undef INFODIR_USER_DEFINED
|
|
827 #undef INFOPATH_USER_DEFINED
|
|
828
|
185
|
829 #endif /* _SRC_CONFIG_H_ */
|