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