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