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