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