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