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