428
|
1 /* XEmacs site configuration template file. -*- C -*-
|
|
2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc.
|
771
|
3 Copyright (C) 2000, 2001, 2002 Ben Wing.
|
428
|
4
|
|
5 This file is part of XEmacs.
|
|
6
|
|
7 XEmacs is free software; you can redistribute it and/or modify it
|
|
8 under the terms of the GNU General Public License as published by the
|
|
9 Free Software Foundation; either version 2, or (at your option) any
|
|
10 later version.
|
|
11
|
|
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with XEmacs; see the file COPYING. If not, write to
|
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 Boston, MA 02111-1307, USA. */
|
|
21
|
|
22 /* Significantly divergent from FSF. */
|
|
23
|
|
24 /* No code in XEmacs #includes config.h twice, but some of the code
|
|
25 intended to work with other packages as well (like gmalloc.c)
|
|
26 think they can include it as many times as they like. */
|
|
27 #ifndef _SRC_CONFIG_H_
|
|
28 #define _SRC_CONFIG_H_
|
|
29
|
771
|
30 /*
|
|
31 This file now serves both as config.h.in and simply as config.h under
|
|
32 Windows NT. Under Windows NT, there is no configure script that
|
|
33 operates, so it is necessary for the relevant constants to be set
|
|
34 manually, either by the user (for user options) or in s/windowsnt.h.
|
|
35
|
|
36 Formerly, under NT there were three different places where constants
|
|
37 were defined -- nt/config.h, nt/xemacs.mak and s/windowsnt.h; now only
|
|
38 the latter two are used. (This separate config.h was a hassle because
|
|
39 it required constant synchronization between it and src/config.h.in.)
|
|
40 Since the options that are substituted by configure are written in
|
|
41 config.h.in with #undef, it is easy to make this file serve as
|
|
42 config.h under Windows NT. Options that are set by the user are
|
|
43 specified in the file config.inc.samp, which is included by xemacs.mak
|
872
|
44 \(the makefile) and used to set command-line options to the
|
771
|
45 compiler. The sorts of options that relate to the system and not to
|
|
46 the user and which are normally auto-determined by configure are set
|
|
47 in windowsnt.h.
|
|
48
|
|
49 What this means is that a little more care has to be taken in the way
|
|
50 things are arranged in config.h.in. In particular:
|
|
51
|
|
52 -- Everything that is written with a #undef should be bracketed by
|
|
53 #ifdef WIN32_NO_CONFIGURE, and these #ifdefs should in general be
|
|
54 grouped together as much as possible.
|
|
55
|
|
56 -- Things that are not #undefs should not go inside this bracketed
|
|
57 #ifdef, because these things typically set constants based on other
|
|
58 constants and those latter constants may be set elsewhere under
|
|
59 Windows NT.
|
|
60
|
|
61 -- Any #ifdefs that depend on constants that may be set in windowsnt.h
|
|
62 need to be moved after the point at which this file is
|
|
63 included. This applies for example to the error checking macros.
|
|
64 */
|
|
65
|
|
66 #if defined (WIN32_NATIVE) && !defined (MINGW)
|
|
67 # define WIN32_NO_CONFIGURE
|
|
68 #endif
|
|
69
|
428
|
70 /* Use this to add code in a structured way to FSF-maintained source
|
|
71 files so as to make it obvious where XEmacs changes are. */
|
|
72 #define XEMACS 1
|
|
73
|
771
|
74 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
|
|
75
|
442
|
76 /* Program name */
|
|
77 #undef EMACS_PROGNAME
|
|
78
|
428
|
79 /* Allow s&m files to differentiate OS versions without having
|
|
80 multiple files to maintain. */
|
|
81 #undef OS_RELEASE
|
|
82
|
|
83 /* The configuration name. This is used as the install directory name
|
|
84 for the lib-src programs. */
|
|
85 #undef EMACS_CONFIGURATION
|
|
86
|
|
87 /* The configuration options. This is exported to Lisp. */
|
|
88 #undef EMACS_CONFIG_OPTIONS
|
|
89
|
|
90 /* The version info from version.sh. Used in #pragma ident in emacs.c */
|
|
91 #undef EMACS_MAJOR_VERSION
|
|
92 #undef EMACS_MINOR_VERSION
|
|
93 #undef EMACS_PATCH_LEVEL
|
|
94 #undef EMACS_BETA_VERSION
|
|
95 #undef EMACS_VERSION
|
|
96 #undef XEMACS_CODENAME
|
975
|
97 #undef XEMACS_EXTRA_NAME
|
428
|
98 /* InfoDock versions, not used with XEmacs */
|
|
99 #undef INFODOCK_MAJOR_VERSION
|
|
100 #undef INFODOCK_MINOR_VERSION
|
|
101 #undef INFODOCK_BUILD_VERSION
|
|
102
|
442
|
103 /* Make functions from IEEE Stds 1003.[123] available. */
|
|
104 #undef _POSIX_C_SOURCE
|
|
105
|
|
106 /* Make some functions from Unix98 available. */
|
|
107 #undef _XOPEN_SOURCE
|
|
108
|
|
109 /* Make "extensions" from Unix98 available. */
|
|
110 #undef _XOPEN_SOURCE_EXTENDED
|
|
111
|
428
|
112 /* Make all functions available on AIX. See AC_AIX. */
|
1284
|
113 #ifndef _ALL_SOURCE
|
428
|
114 #undef _ALL_SOURCE
|
1284
|
115 #endif
|
428
|
116
|
|
117 /* Make all functions available on GNU libc systems. See features.h. */
|
|
118 #undef _GNU_SOURCE
|
|
119
|
442
|
120 /* Make all functions available on Solaris 2 systems. */
|
|
121 #undef __EXTENSIONS__
|
|
122
|
428
|
123 /* Used to identify the XEmacs version in stack traces. */
|
|
124 #undef STACK_TRACE_EYE_CATCHER
|
|
125
|
|
126 /* Allow the configurer to specify if she wants site-lisp. */
|
|
127 #undef INHIBIT_SITE_LISP
|
|
128
|
|
129 /* Allow the configurer to specify if she wants site-modules. */
|
|
130 #undef INHIBIT_SITE_MODULES
|
|
131
|
|
132 /* This will be removed in 19.15. */
|
|
133 /* Hah! Try 20.3 ... */
|
|
134 /* Hah! Try never ... */
|
|
135 /* If at first you don't succeed, try, try again. */
|
|
136 /* #define LOSING_BYTECODE */
|
|
137
|
|
138 /* Undefine on systems which don't have processes */
|
|
139 #undef HAVE_UNIX_PROCESSES
|
|
140
|
|
141 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
|
|
142 #undef GNU_MALLOC
|
|
143
|
|
144 /* Define if you are using the GNU C Library. -- experimental. */
|
|
145 #undef DOUG_LEA_MALLOC
|
|
146
|
|
147 /* Define if you are using libmcheck.a from the GNU C Library. */
|
|
148 #undef HAVE_LIBMCHECK
|
|
149
|
|
150 /* Define if you are using dlmalloc from the Linux C library. */
|
|
151 #undef _NO_MALLOC_WARNING_
|
|
152
|
|
153 /* Use the system malloc? */
|
|
154 #undef USE_SYSTEM_MALLOC
|
|
155
|
|
156 /* Use a debugging malloc? -- experimental */
|
|
157 #undef USE_DEBUG_MALLOC
|
|
158
|
|
159 /* Compile in TTY support? */
|
|
160 #undef HAVE_TTY
|
|
161
|
|
162 /* Compile in support for MS windows? */
|
|
163 #undef HAVE_MS_WINDOWS
|
|
164
|
|
165 /* special cygwin process handling? */
|
|
166 #undef HAVE_MSG_SELECT
|
|
167
|
|
168 /* Compile in support for the X window system? */
|
|
169 #undef HAVE_X_WINDOWS
|
|
170
|
|
171 /* Defines for building X applications */
|
|
172 #ifdef HAVE_X_WINDOWS
|
|
173 /* The following will be defined if xmkmf thinks they are necessary */
|
|
174 #undef SVR4
|
|
175 #undef SYSV
|
|
176 #undef AIXV3
|
|
177 #undef _POSIX_SOURCE
|
|
178 #undef _BSD_SOURCE
|
|
179 #undef _SVID_SOURCE
|
|
180 #undef X_LOCALE
|
|
181 #undef NARROWPROTO
|
771
|
182 #endif /* HAVE_X_WINDOWS */
|
|
183
|
|
184 #endif /* WIN32_NO_CONFIGURE */
|
|
185
|
|
186 #ifdef HAVE_X_WINDOWS
|
428
|
187 /* The following should always be defined, no matter what xmkmf thinks. */
|
|
188 #ifndef NeedFunctionPrototypes
|
|
189 #define NeedFunctionPrototypes 1
|
|
190 #endif
|
|
191 #ifndef FUNCPROTO
|
|
192 #define FUNCPROTO 15
|
|
193 #endif
|
|
194 #endif /* HAVE_X_WINDOWS */
|
|
195
|
462
|
196 /* Defines for building Gtk applications */
|
|
197 #undef HAVE_GNOME
|
|
198 #undef HAVE_GTK
|
|
199 #undef HAVE_GDK_IMLIB_INIT
|
|
200 #undef HAVE_GLADE_GLADE_H
|
|
201 #undef HAVE_GLADE_H
|
|
202 #undef LIBGLADE_XML_TXTDOMAIN
|
|
203
|
428
|
204 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
|
462
|
205 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
|
428
|
206 #define HAVE_WINDOW_SYSTEM
|
|
207 #endif
|
|
208
|
|
209 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
|
|
210 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
|
|
211 #define HAVE_UNIXOID_EVENT_LOOP
|
|
212 #endif
|
|
213
|
771
|
214 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
|
|
215
|
444
|
216 /* XFree86 has a different prototype for this function */
|
|
217 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK
|
|
218 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
|
428
|
219
|
|
220 #undef THIS_IS_X11R4
|
|
221 #undef THIS_IS_X11R5
|
|
222 #undef THIS_IS_X11R6
|
|
223
|
442
|
224 #undef HAVE_XCONVERTCASE
|
|
225
|
|
226 #undef HAVE_BALLOON_HELP
|
|
227
|
428
|
228 /* Where do we find bitmaps? */
|
|
229 #undef BITMAPDIR
|
|
230
|
|
231 /* Define AMPERSAND_FULL_NAME if you use the convention
|
|
232 that & in the full name stands for the login id. */
|
|
233 #undef AMPERSAND_FULL_NAME
|
|
234
|
|
235 /* Some things figured out by the configure script, grouped as they are in
|
|
236 configure.in. */
|
|
237 #undef HAVE_MCHECK_H
|
442
|
238 #undef HAVE_A_OUT_H
|
446
|
239 #undef HAVE_ELF_H
|
442
|
240 #undef HAVE_CYGWIN_VERSION_H
|
|
241 #undef HAVE_FCNTL_H
|
|
242 #undef HAVE_INTTYPES_H
|
|
243 #undef HAVE_LIBGEN_H
|
|
244 #undef HAVE_LOCALE_H
|
912
|
245 #undef HAVE_WCHAR_H
|
428
|
246 #undef HAVE_MACH_MACH_H
|
442
|
247 #undef HAVE_SYS_PARAM_H
|
|
248 #undef HAVE_SYS_PSTAT_H
|
|
249 #undef HAVE_SYS_TIME_H
|
428
|
250 #undef HAVE_SYS_TIMEB_H
|
777
|
251 #undef HAVE_SYS_TIMES_H
|
442
|
252 #undef HAVE_SYS_UN_H
|
|
253 #undef HAVE_ULIMIT_H
|
428
|
254 #undef HAVE_UNISTD_H
|
442
|
255
|
428
|
256 #undef HAVE_SYS_WAIT_H
|
|
257 #undef HAVE_LIBINTL_H
|
|
258 #undef HAVE_X11_XLOCALE_H
|
872
|
259
|
|
260 /* About __STDC__: Different compilers differ wrt __STDC__. Sunpro C
|
|
261 defines it, but its value is 0 unless we disable non-ANSI extensions.
|
|
262 VC++ doesn't define it at all unless we disable non-ANSI extensions.
|
|
263 But these compilers are all ANSI-compliant. So don't go testing
|
|
264 __STDC__ anywhere except in code that runs only on known
|
|
265 compilers. --ben
|
|
266
|
|
267 Jamie wrote the following:
|
|
268
|
|
269 [[ The ANSI standard says that defining __STDC__ to a non-zero value
|
|
270 means that the compiler conforms to that standard. The standard
|
|
271 requires certain header files and library functions to be present.
|
|
272 Therefore, if your compiler defines __STDC__ to non-0 but does not have
|
|
273 ANSI headers and the ANSI library routines, then your compiler is
|
|
274 buggy. Conversely, an ANSI-conforming environment (which has both the
|
|
275 ANSI headers and library routines, i.e., stdlib.h and `memmove') does
|
|
276 not necessarily define the STDC_HEADERS flag. Lucid Emacs requires an
|
|
277 ANSI compiler. Therefore, there is no need to consult the abominable
|
|
278 STDC_HEADERS flag. -- jwz ]]
|
|
279
|
|
280 In reality, we should not be testing STDC_HEADERS at all except
|
|
281 possibly in code we're purposely keeping in close sync with FSF code.
|
|
282 STDC_HEADERS should be defined on *ALL* compilers.
|
|
283 */
|
|
284
|
428
|
285 #undef STDC_HEADERS
|
872
|
286
|
428
|
287 #undef TIME_WITH_SYS_TIME
|
|
288 #undef WORDS_BIGENDIAN
|
|
289
|
|
290 #undef HAVE_LONG_FILE_NAMES
|
|
291
|
|
292 /* Use lock files to detect multiple edits of the same file? */
|
|
293 #undef CLASH_DETECTION
|
|
294
|
|
295 /* Have shared library support */
|
|
296 #undef HAVE_DLOPEN
|
|
297 #undef HAVE_DLERROR
|
|
298 #undef HAVE__DLERROR
|
|
299 #undef HAVE_SHL_LOAD
|
|
300 #undef HAVE_DLD_INIT
|
|
301 #undef HAVE_SHLIB
|
1259
|
302 #undef DLSYM_NEEDS_UNDERSCORE
|
428
|
303
|
|
304 #undef HAVE_LIBINTL
|
|
305 #undef HAVE_LIBDNET
|
|
306 #undef HAVE_LIBRESOLV
|
|
307
|
|
308 /* Is `sys_siglist' declared by <signal.h>? */
|
|
309 #undef SYS_SIGLIST_DECLARED
|
|
310
|
|
311 /* Is `struct timeval' declared by <sys/time.h>? */
|
|
312 #undef HAVE_TIMEVAL
|
|
313
|
|
314
|
|
315 #undef TM_IN_SYS_TIME
|
|
316 #undef HAVE_TM_ZONE
|
|
317 #undef HAVE_TZNAME
|
|
318
|
442
|
319 /* For `getloadavg' provided by system */
|
|
320 #undef HAVE_GETLOADAVG
|
|
321 #undef HAVE_SYS_LOADAVG_H
|
|
322 /* For implementing `getloadavg' ourselves */
|
|
323 #undef HAVE_LIBKSTAT
|
|
324 #undef HAVE_KSTAT_H
|
|
325
|
428
|
326 /* Is `h_errno' declared by <netdb.h>? */
|
|
327 #undef HAVE_H_ERRNO
|
|
328
|
|
329 /* Does `localtime' cache TZ? */
|
|
330 #undef LOCALTIME_CACHE
|
|
331
|
|
332 /* Can `gettimeofday' accept two arguments? */
|
|
333 #undef GETTIMEOFDAY_ONE_ARGUMENT
|
|
334
|
|
335 #undef HAVE_MMAP
|
|
336 #undef HAVE_STRCOLL
|
|
337 #undef HAVE_GETPGRP
|
|
338 #undef GETPGRP_VOID
|
|
339
|
|
340 #undef HAVE_INVERSE_HYPERBOLIC
|
|
341
|
|
342 #undef HAVE_CBRT
|
|
343 #undef HAVE_CLOSEDIR
|
|
344 #undef HAVE_DUP2
|
|
345 #undef HAVE_EACCESS
|
|
346 #undef HAVE_FMOD
|
|
347 #undef HAVE_FPATHCONF
|
|
348 #undef HAVE_FREXP
|
|
349 #undef HAVE_FTIME
|
440
|
350 #undef HAVE_GETADDRINFO
|
428
|
351 #undef HAVE_GETHOSTNAME
|
440
|
352 #undef HAVE_GETNAMEINFO
|
428
|
353 #undef HAVE_GETPAGESIZE
|
|
354 #undef HAVE_GETTIMEOFDAY
|
|
355 #undef HAVE_GETWD
|
|
356 #undef HAVE_GETCWD
|
771
|
357 #undef HAVE_LINK
|
428
|
358 #undef HAVE_LOGB
|
|
359 #undef HAVE_LRAND48
|
|
360 #undef HAVE_MATHERR
|
|
361 #undef HAVE_MKDIR
|
|
362 #undef HAVE_MKTIME
|
|
363 #undef HAVE_PERROR
|
|
364 #undef HAVE_POLL
|
|
365 #undef HAVE_RANDOM
|
771
|
366 #undef HAVE_READLINK
|
428
|
367 #undef HAVE_REALPATH
|
|
368 #undef HAVE_RENAME
|
|
369 #undef HAVE_RES_INIT
|
|
370 #undef HAVE_RINT
|
|
371 #undef HAVE_RMDIR
|
|
372 #undef HAVE_SELECT
|
|
373 #undef HAVE_SETITIMER
|
|
374 #undef HAVE_SETPGID
|
|
375 #undef HAVE_SETSID
|
|
376 #undef HAVE_SIGBLOCK
|
|
377 #undef HAVE_SIGHOLD
|
|
378 #undef HAVE_SIGPROCMASK
|
|
379 #undef HAVE_SIGSETJMP
|
|
380 #undef HAVE_SNPRINTF
|
|
381 #undef HAVE_STPCPY
|
|
382 #undef HAVE_STRERROR
|
1204
|
383 #undef HAVE_STRLWR
|
|
384 #undef HAVE_STRUPR
|
771
|
385 #undef HAVE_SYMLINK
|
428
|
386 #undef HAVE_TZSET
|
|
387 #undef HAVE_ULIMIT
|
|
388 #undef HAVE_USLEEP
|
460
|
389 #undef HAVE_UTIME
|
428
|
390 #undef HAVE_UTIMES
|
|
391 #undef HAVE_WAITPID
|
|
392 #undef HAVE_VSNPRINTF
|
442
|
393
|
535
|
394 /* Many flavors of PTY support */
|
442
|
395 #undef HAVE_GETPT /* glibc's easy pty allocation function */
|
444
|
396 #undef HAVE__GETPTY /* SGI's easy pty allocation function */
|
442
|
397 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */
|
|
398 #undef HAVE_GRANTPT /* Unix98 */
|
|
399 #undef HAVE_UNLOCKPT /* Unix98 */
|
|
400 #undef HAVE_PTSNAME /* Unix98 */
|
|
401 #undef HAVE_KILLPG /* BSD */
|
|
402 #undef HAVE_TCGETPGRP /* Posix 1 */
|
|
403 #undef HAVE_ISASTREAM /* SysV streams */
|
535
|
404 #undef HAVE_SYS_PTY_H /* AIX */
|
|
405 #undef HAVE_SYS_PTYIO_H /* HP-UX */
|
|
406 #undef HAVE_PTY_H /* Linux, Tru64 */
|
442
|
407 #undef HAVE_LIBUTIL_H /* BSD openpty */
|
458
|
408 #undef HAVE_UTIL_H /* NetBSD openpty */
|
444
|
409 #undef HAVE_STROPTS_H /* SysV streams */
|
|
410 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */
|
442
|
411
|
428
|
412 #undef HAVE_SOCKETS
|
|
413 #undef HAVE_SOCKADDR_SUN_LEN
|
|
414 #undef HAVE_MULTICAST
|
|
415 #undef HAVE_SYSVIPC
|
438
|
416 #undef HAVE_LOCKF
|
|
417 #undef HAVE_FLOCK
|
|
418 #undef HAVE_FSYNC
|
|
419 #undef HAVE_FTRUNCATE
|
|
420 #undef HAVE_UMASK
|
428
|
421
|
|
422 #undef SYSV_SYSTEM_DIR
|
|
423 #undef NONSYSTEM_DIR_LIBRARY
|
|
424
|
|
425 #undef HAVE_TERMIOS
|
|
426 #undef HAVE_TERMIO
|
|
427 #undef NO_TERMIO
|
|
428 #undef SIGNALS_VIA_CHARACTERS
|
|
429
|
|
430 #undef NLIST_STRUCT
|
|
431
|
724
|
432 /* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */
|
|
433 #undef IPV6_CANONICALIZE
|
|
434
|
428
|
435 /* Compile in support for SOCKS? */
|
|
436 #undef HAVE_SOCKS
|
|
437
|
|
438 /* Compile in support for X pixmaps via the `xpm' library? */
|
|
439 #undef HAVE_XPM
|
|
440 #undef FOR_MSW
|
|
441
|
|
442 /* Compile in support for "X faces" via the `compface' library?
|
|
443 This enables graphical display of X-face headers in mail/news messages */
|
|
444 #undef HAVE_XFACE
|
|
445
|
|
446 /* Compile in support for JPEG images */
|
|
447 #undef HAVE_JPEG
|
|
448
|
|
449 /* Compile in support for TIFF images */
|
|
450 #undef HAVE_TIFF
|
|
451
|
|
452 /* Compile in support for GIF images */
|
|
453 #undef HAVE_GIF
|
|
454
|
|
455 /* Compile in support for PNG images */
|
|
456 #undef HAVE_PNG
|
|
457
|
771
|
458 /* Compile in support for GZIP compression */
|
|
459 #undef HAVE_ZLIB
|
|
460
|
428
|
461 /* Do you have the Xmu library?
|
|
462 This should always be the case except on losing HP-UX systems. */
|
|
463 #undef HAVE_XMU
|
|
464
|
|
465 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
|
|
466 #undef HAVE_DBM
|
|
467
|
|
468 /* Compile in support for Berkeley DB style databases? May require libdb. */
|
|
469 #undef HAVE_BERKELEY_DB
|
|
470 /* Full #include file path for Berkeley DB's db.h */
|
442
|
471 #undef DB_H_FILE
|
428
|
472
|
|
473 /* Do we have either DBM or Berkeley DB database support? */
|
|
474 #undef HAVE_DATABASE
|
|
475
|
|
476 /* Do we have LDAP support? */
|
|
477 #undef HAVE_LDAP
|
|
478 /* Does the library define ldap_set_option () ? */
|
|
479 #undef HAVE_LDAP_SET_OPTION
|
|
480 /* Does the library define ldap_get_lderrno () ? */
|
|
481 #undef HAVE_LDAP_GET_LDERRNO
|
|
482 /* Does the library define ldap_result2error () ? */
|
|
483 #undef HAVE_LDAP_RESULT2ERROR
|
|
484 /* Does the library define ldap_parse_result () ? */
|
|
485 #undef HAVE_LDAP_PARSE_RESULT
|
|
486
|
442
|
487 /* Do we have PostgreSQL RDBMS support? */
|
|
488 #undef HAVE_POSTGRESQL
|
|
489 #undef HAVE_POSTGRESQLV7
|
|
490 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */
|
|
491
|
428
|
492 /* Do you have the Xauth library present? This will add some extra
|
|
493 functionality to gnuserv. */
|
|
494 #undef HAVE_XAUTH
|
|
495
|
|
496 /* Compile in support for gpm (General Purpose Mouse)? */
|
|
497 #undef HAVE_GPM
|
|
498
|
|
499 /* Compile in support for ncurses? */
|
|
500 #undef HAVE_NCURSES
|
|
501 /* Full #include file paths for ncurses' curses.h and term.h. */
|
442
|
502 #undef CURSES_H_FILE
|
|
503 #undef TERM_H_FILE
|
428
|
504
|
|
505 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
|
|
506 If the assertion fails, assert_failed() will be called. This is
|
|
507 recommended for general use because it gives more info about the crash
|
|
508 than just the abort() message. Too many people "Can't find the corefile"
|
|
509 or have limit-ed core dumps out of existence. */
|
|
510 #undef USE_ASSERTIONS
|
|
511
|
|
512 /* Define one or more of the following if you want lots of extra checks
|
|
513 (e.g. structure validation) compiled in. These should be turned
|
|
514 on during the beta-test cycle. */
|
|
515
|
|
516 /* Check the entire extent structure of a buffer each time an extent
|
|
517 change is done, and do other extent-related checks. */
|
|
518 #undef ERROR_CHECK_EXTENTS
|
440
|
519
|
800
|
520 /* Turn on checks related to types -- make sure that all X... macros are
|
|
521 dereferencing the correct type, and that all XSET... macros (as much as
|
|
522 possible) are setting the correct type of structure; check any other
|
|
523 places that a specific type is expected. */
|
|
524 #undef ERROR_CHECK_TYPES
|
440
|
525
|
800
|
526 /* Turn on checks related to text -- check that text in strings and buffers
|
|
527 is in a valid format before we use it, check that buffer positions are
|
|
528 valid, etc. */
|
|
529 #undef ERROR_CHECK_TEXT
|
440
|
530
|
428
|
531 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
|
|
532 #undef ERROR_CHECK_GC
|
440
|
533
|
428
|
534 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
|
|
535 #undef ERROR_CHECK_MALLOC
|
440
|
536
|
428
|
537 /* Minor sanity checking of the bytecode interpreter. Useful for
|
|
538 debugging the byte compiler. */
|
|
539 #undef ERROR_CHECK_BYTE_CODE
|
|
540
|
442
|
541 /* Minor sanity checking of glyphs, especially subwindows and
|
|
542 widgets. */
|
|
543 #undef ERROR_CHECK_GLYPHS
|
|
544
|
800
|
545 /* Sanity-check the redisplay structures after each modification. */
|
|
546 #undef ERROR_CHECK_DISPLAY
|
|
547
|
|
548 /* Define for any sanity checks on structures that are not handled by a
|
|
549 more specific error-checking type. */
|
|
550 #undef ERROR_CHECK_STRUCTURES
|
|
551
|
428
|
552 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
|
|
553 This is mainly intended for use by developers. */
|
|
554 #undef DEBUG_XEMACS
|
|
555
|
|
556 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
|
|
557 determine where XEmacs' memory is going. */
|
|
558 #undef MEMORY_USAGE_STATS
|
|
559
|
460
|
560 /* Define QUANTIFY if using Quantify from Rational Software.
|
428
|
561 This adds some additional calls to control data collection.
|
|
562 It is only intended for use by the developers. */
|
|
563 #undef QUANTIFY
|
|
564
|
460
|
565 /* Define PURIFY if using Purify from Rational Software.
|
428
|
566 It is only intended for use by the developers. */
|
|
567 #undef PURIFY
|
|
568
|
|
569 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
|
|
570 widget within another program. */
|
|
571 #undef EXTERNAL_WIDGET
|
|
572
|
|
573 /* There are some special-case defines for gcc and lcc. */
|
|
574 #undef USE_GCC
|
|
575 #undef USE_LCC
|
|
576
|
|
577 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
|
|
578 Requires libDtSvc, which typically must be present at runtime. */
|
|
579 #undef HAVE_CDE
|
|
580
|
|
581 /* Compile in support for OffiX Drag and Drop? */
|
|
582 #undef HAVE_OFFIX_DND
|
|
583
|
|
584 /* Compile in generic Drag'n'Drop API */
|
|
585 #undef HAVE_DRAGNDROP
|
|
586
|
|
587 /* Compile in support for proper handling of WM_COMMAND. */
|
|
588 #undef HAVE_WMCOMMAND
|
|
589
|
|
590 /* Define this if you want Mule support (multi-byte character support).
|
|
591 There may be some performance penalty, although it should be small
|
|
592 if you're working with ASCII files. */
|
|
593 #undef MULE
|
|
594
|
771
|
595 /* Define this if you want EOL detection of files to be on by default
|
|
596 in a non-Mule Unix; otherwise, defaults will be set so that all
|
|
597 files are read in as binary. Doesn't apply to Cygwin or MinGW. */
|
|
598 #undef HAVE_DEFAULT_EOL_DETECTION
|
428
|
599
|
1259
|
600 /* Support X FontSets. Evil, yes, but if we're going to make it go away
|
|
601 by using faces in the menubar we should do so. */
|
|
602 #undef USE_XFONTSET
|
|
603
|
428
|
604 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
|
|
605 If so, use raw Xlib or higher level Motif interface? */
|
|
606 #undef HAVE_XIM
|
|
607 #undef XIM_XLIB
|
|
608 #undef XIM_MOTIF
|
|
609
|
|
610 /* Non-XIM input methods for use with Mule. */
|
|
611 #undef HAVE_CANNA
|
|
612 #undef HAVE_WNN
|
|
613 #undef WNN6
|
|
614
|
442
|
615 /* Debugging development option: Remove inessential but time consuming
|
|
616 actions from happening during build. This saves a lot of time when
|
|
617 you're repeatedly compiling-running-crashing. This (1) doesn't
|
|
618 garbage-collect after loading each file during dumping, and (2)
|
|
619 doesn't automatically rebuild the DOC file. (Remove it by hand to
|
|
620 get it rebuilt.)
|
|
621 */
|
|
622 #undef QUICK_BUILD
|
428
|
623
|
872
|
624 /* If true, run the compiler with many files at once rather than one at a
|
|
625 time. May speed up compilation time with some compilers, particularly
|
|
626 if the entire compilation happens in a single process -- the process can
|
|
627 cache the results of processing include files. This definitely helps
|
|
628 with VC++ (although it doesn't use Makefile.in.in) but not with GCC,
|
|
629 which runs many processes per file to compile. */
|
|
630 #undef BATCH_COMPILER_RUNS
|
|
631
|
771
|
632 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
|
|
633 seem to require this, probably because something with the int
|
|
634 definitions isn't right with 64-bit systems. */
|
|
635 #undef USE_UNION_TYPE
|
|
636
|
926
|
637 /* If defined, use experimental pdump-based GC algorithms. */
|
|
638 #undef USE_KKCC
|
|
639
|
771
|
640 /* Enable special GNU Make features in the Makefiles. */
|
|
641 #undef USE_GNU_MAKE
|
|
642
|
428
|
643 /* Defined by AC_C_CONST in configure.in */
|
|
644 #undef const
|
|
645
|
434
|
646 /* Allow the source to use standard types. Include these before the
|
|
647 s&m files so that they can use them. */
|
|
648 #undef ssize_t
|
|
649 #undef size_t
|
|
650 #undef pid_t
|
|
651 #undef mode_t
|
|
652 #undef off_t
|
|
653 #undef uid_t
|
|
654 #undef gid_t
|
442
|
655 #undef socklen_t
|
434
|
656
|
771
|
657 #endif /* WIN32_NO_CONFIGURE */
|
|
658
|
|
659 /* USER_FULL_NAME returns a string that is the user's full name.
|
|
660 It can assume that the variable `pw' points to the password file
|
|
661 entry for this user.
|
|
662
|
|
663 At some sites, the pw_gecos field contains the user's full name.
|
|
664 If neither this nor any other field contains the right thing, use
|
|
665 pw_name, giving the user's login name, since that is better than
|
|
666 nothing. */
|
|
667 #define USER_FULL_NAME pw->pw_gecos
|
|
668
|
|
669 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
|
|
670 #define XLIB_ILLEGAL_ACCESS 1
|
|
671 #endif
|
428
|
672
|
851
|
673 #define XEMACS_WANTS_C_ALLOCA
|
|
674
|
615
|
675 /* alloca twiddling.
|
|
676 Because we might be #including alloca.h here, feature test macros
|
|
677 such as _XOPEN_SOURCE must be defined above. */
|
771
|
678
|
615
|
679 #undef HAVE_ALLOCA_H
|
|
680 #ifndef NOT_C_CODE
|
771
|
681 #if defined (__CYGWIN__)
|
|
682 /* We get complaints about redefinitions if we just use the __GNUC__
|
|
683 definition: stdlib.h also includes alloca.h, which defines it slightly
|
|
684 differently */
|
|
685 #include <alloca.h>
|
|
686 #elif defined (__GNUC__)
|
615
|
687 #define alloca __builtin_alloca
|
771
|
688 #elif defined (WIN32_NO_CONFIGURE)
|
|
689 /* Defines size_t and alloca (). */
|
|
690 #include <malloc.h>
|
|
691 #elif defined (__DECC)
|
615
|
692 #include <alloca.h>
|
|
693 #pragma intrinsic(alloca)
|
771
|
694 #elif defined (HAVE_ALLOCA_H)
|
615
|
695 #include <alloca.h>
|
771
|
696 #elif defined (_AIX)
|
615
|
697 /* AIX requires this before any "real" code in the translation unit. */
|
|
698 #pragma alloca
|
|
699 #elif ! defined (alloca)
|
851
|
700 #ifdef C_ALLOCA
|
|
701 #define alloca xemacs_c_alloca
|
|
702 #else
|
615
|
703 void *alloca ();
|
851
|
704 #endif /* C_ALLOCA */
|
|
705 #endif /* !defined (alloca) */
|
615
|
706 #endif /* C code */
|
|
707
|
442
|
708 /* The configuration script may define `opsysfile' to be the name of
|
|
709 the s/...h file that describes your operating system.
|
|
710 The file name is chosen based on the configuration name. */
|
428
|
711
|
|
712 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
713 extern "C" {
|
|
714 #endif
|
442
|
715
|
428
|
716 #undef config_opsysfile
|
771
|
717 #ifdef WIN32_NO_CONFIGURE
|
|
718 #include "s/windowsnt.h"
|
|
719 #elif defined (config_opsysfile)
|
428
|
720 #include config_opsysfile
|
442
|
721 #endif
|
428
|
722
|
442
|
723 /* The configuration script may define `machfile' to be the name of
|
|
724 the m/...h file that describes the machine you are using.
|
|
725 The file name is chosen based on the configuration name. */
|
428
|
726
|
|
727 #undef config_machfile
|
771
|
728 #ifdef WIN32_NO_CONFIGURE
|
|
729 #include "m/windowsnt.h"
|
|
730 #elif defined (config_machfile)
|
428
|
731 #include config_machfile
|
442
|
732 #endif
|
|
733
|
428
|
734 #if defined (__cplusplus) && !defined (NOT_C_CODE)
|
|
735 }
|
|
736 #endif
|
|
737
|
557
|
738 /* s&m files shouldn't be required to define anything, or even to exist.
|
|
739 If the s&m files don't define SYSTEM_TYPE, configure will select an
|
|
740 appropriate default value. */
|
|
741 #ifndef SYSTEM_TYPE
|
|
742 #undef SYSTEM_TYPE
|
|
743 #endif
|
|
744
|
428
|
745 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
|
|
746 #define SYSTEM_MALLOC
|
|
747 #endif
|
|
748
|
|
749 /* Define the return type of signal handlers if the s/xxx.h file
|
|
750 did not already do so. */
|
|
751 #define RETSIGTYPE void
|
|
752
|
872
|
753 #ifndef XCDECL
|
|
754 #define XCDECL
|
|
755 #endif
|
|
756
|
428
|
757 /* SIGTYPE is the macro we actually use. */
|
|
758 #ifndef SIGTYPE
|
872
|
759 #define SIGTYPE RETSIGTYPE XCDECL
|
428
|
760 #define SIGRETURN return
|
|
761 #endif
|
|
762
|
771
|
763 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
|
|
764
|
872
|
765 /* Use the relocating allocator for buffer space? */
|
|
766 #undef REL_ALLOC
|
|
767
|
428
|
768 /* Define DYNODUMP if it is necessary to properly dump on this system.
|
|
769 Currently this is only Solaris 2.x, for x < 6. */
|
|
770 #undef DYNODUMP
|
|
771
|
|
772 /* Compile in support for Sun Sparcworks/WorkShop? */
|
|
773 #undef SUNPRO
|
|
774
|
|
775 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
|
|
776 support for playing sound files. (On Suns, the sound support is
|
|
777 usually found in /usr/demo/SOUND - you may need to install the
|
|
778 "SUNWaudmo" package.) */
|
|
779 #undef HAVE_NATIVE_SOUND
|
771
|
780
|
428
|
781 /* Native sound may be provided via soundcard.h, in various directories */
|
442
|
782 #undef SOUNDCARD_H_FILE
|
428
|
783
|
|
784 /* Compile in support for NAS (Network Audio System)?
|
|
785 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
|
|
786 error handling changes. */
|
|
787 #undef HAVE_NAS_SOUND
|
|
788 #undef NAS_NO_ERROR_JUMP
|
|
789
|
|
790 /* Compile in support for ESD (Enlightened Sound Daemon)? */
|
|
791 #undef HAVE_ESD_SOUND
|
|
792
|
|
793 /* Compile in support for SunPro usage-tracking code? */
|
|
794 #undef USAGE_TRACKING
|
|
795
|
|
796 /* Compile in support for Tooltalk? */
|
|
797 #undef TOOLTALK
|
|
798 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
|
442
|
799 #undef TT_C_H_FILE
|
428
|
800
|
|
801 /* Toolkits used by lwlib for various widgets... */
|
771
|
802
|
428
|
803 #undef LWLIB_USES_MOTIF
|
|
804 #undef LWLIB_USES_ATHENA
|
|
805 #undef LWLIB_MENUBARS_LUCID
|
|
806 #undef LWLIB_MENUBARS_MOTIF
|
|
807 #undef LWLIB_SCROLLBARS_LUCID
|
|
808 #undef LWLIB_SCROLLBARS_MOTIF
|
|
809 #undef LWLIB_SCROLLBARS_ATHENA
|
|
810 #undef LWLIB_SCROLLBARS_ATHENA3D
|
|
811 #undef LWLIB_DIALOGS_MOTIF
|
|
812 #undef LWLIB_DIALOGS_ATHENA
|
|
813 #undef LWLIB_DIALOGS_ATHENA3D
|
|
814 #undef LWLIB_TABS_LUCID
|
|
815 #undef LWLIB_WIDGETS_MOTIF
|
|
816 #undef LWLIB_WIDGETS_ATHENA
|
440
|
817 #undef HAVE_ATHENA_3D
|
428
|
818
|
|
819 /* Other things that can be disabled by configure. */
|
|
820 #undef HAVE_MENUBARS
|
|
821 #undef HAVE_SCROLLBARS
|
|
822 #undef HAVE_DIALOGS
|
|
823 #undef HAVE_TOOLBARS
|
|
824 #undef HAVE_WIDGETS
|
|
825
|
771
|
826 #endif /* WIN32_NO_CONFIGURE */
|
|
827
|
|
828 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS) || defined (HAVE_WIDGETS)
|
|
829 #define HAVE_GUI_OBJECTS
|
|
830 #endif
|
|
831
|
|
832 /* For the moment, Athena widgets and dialogs may be very unstable and not
|
|
833 working well, but things under Windows work much better. configure by
|
|
834 default tries to turn Windows widgets and dialogs on, but the Athena
|
|
835 ones off, so let's separate the defines. */
|
|
836 #if defined (HAVE_WIDGETS) && (defined (LWLIB_WIDGETS_MOTIF) || defined (LWLIB_WIDGETS_ATHENA))
|
|
837 #define HAVE_X_WIDGETS
|
|
838 #endif
|
|
839
|
|
840 #if defined (HAVE_DIALOGS) && (defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_DIALOGS_ATHENA) || defined (LWLIB_DIALOGS_ATHENA3D))
|
|
841 #define HAVE_X_DIALOGS
|
|
842 #endif
|
428
|
843
|
|
844 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
|
|
845 #define HAVE_POPUPS
|
|
846 #endif
|
|
847
|
|
848 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
|
|
849 There is a stupid bug in the SunOS libc.a: two functions which X11r5
|
|
850 uses, mbstowcs() and wcstombs(), are unusable when programs are
|
|
851 statically linked (as XEmacs must be) because the static version of
|
|
852 libc.a contains the *dynamic* versions of these functions. These
|
|
853 functions don't seem to be called when XEmacs is running, so it's
|
|
854 enough to define stubs for them.
|
|
855
|
|
856 This appears to be fixed in SunOS 4.1.2.
|
|
857
|
|
858 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
|
|
859 sometimes reference memory past the end of the string, which can segv.
|
444
|
860 I don't know whether this has been fixed as of 4.1.2 or 4.1.3. */
|
428
|
861 #if defined (sparc) && !defined (USG)
|
|
862 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
|
|
863 #endif
|
|
864
|
|
865 #ifdef HAVE_CANNA
|
|
866 # define CANNA2
|
|
867 # define CANNA_MULE
|
|
868 # define CANNA_PURESIZE 0
|
|
869 #else /* not CANNA */
|
|
870 # define CANNA_PURESIZE 0
|
|
871 #endif /* not CANNA */
|
|
872
|
|
873 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
|
|
874 #define accept Raccept
|
|
875 #define bind Rbind
|
|
876 #define connect Rconnect
|
|
877 #define getsockname Rgetsockname
|
|
878 #define listen Rlisten
|
|
879 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
|
|
880
|
771
|
881 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
|
|
882
|
428
|
883 #undef SIZEOF_SHORT
|
|
884 #undef SIZEOF_INT
|
|
885 #undef SIZEOF_LONG
|
|
886 #undef SIZEOF_LONG_LONG
|
|
887 #undef SIZEOF_VOID_P
|
|
888
|
771
|
889 /* Does the keyword `inline' exist? */
|
|
890 #undef inline
|
|
891
|
|
892 #endif /* WIN32_NO_CONFIGURE */
|
|
893
|
428
|
894 #ifndef BITS_PER_CHAR
|
|
895 #define BITS_PER_CHAR 8
|
|
896 #endif
|
|
897 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
|
|
898 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
|
|
899 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
|
|
900 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
|
|
901 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
|
|
902
|
442
|
903 /* Use `INLINE_HEADER' to define inline functions in .h files.
|
|
904 Use `inline static' to define inline functions in .c files.
|
|
905 See the Internals manual for examples and more information. */
|
|
906
|
|
907 #if defined (__cplusplus) || ! defined (__GNUC__)
|
|
908 # define INLINE_HEADER inline static
|
|
909 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
|
|
910 # define INLINE_HEADER inline
|
|
911 #else
|
|
912 # define INLINE_HEADER inline extern
|
|
913 #endif
|
428
|
914
|
771
|
915 /* Use DECLARE_INLINE_HEADER() to declare an inline function in a header
|
|
916 file, like this: (This avoids the need to write a prototype directly
|
|
917 followed by the function header itself.)
|
|
918
|
|
919 DECLARE_INLINE_HEADER (int foo (int x))
|
|
920 {
|
|
921 return x * x;
|
|
922 }
|
|
923
|
|
924 */
|
|
925
|
|
926 #define DECLARE_INLINE_HEADER(header) \
|
|
927 INLINE_HEADER header ; INLINE_HEADER header
|
|
928
|
442
|
929 #ifndef NOT_C_CODE /* Actually means C or C++ */
|
|
930 # if defined (__cplusplus)
|
428
|
931 /* Avoid C++ keywords used as ordinary C identifiers */
|
442
|
932 # define new c_new
|
|
933 # define this c_this
|
|
934 # define catch c_catch
|
|
935
|
|
936 # define EXTERN_C extern "C"
|
|
937 # else /* C code */
|
|
938 # define EXTERN_C extern
|
|
939 # endif
|
|
940 #endif /* C or C++ */
|
428
|
941
|
|
942 /* Strictly speaking, only int or unsigned int are valid types in a
|
|
943 bitfield. In practice, we would like to use enums as bitfields.
|
|
944 The following should just result in warning avoidance:
|
|
945 warning: nonportable bit-field type */
|
|
946 #ifdef __GNUC__
|
|
947 #define enum_field(enumeration_type) enum enumeration_type
|
|
948 #else
|
|
949 #define enum_field(enumeration_type) unsigned int
|
|
950 #endif
|
|
951
|
|
952 /* We want to avoid saving the signal mask if possible, because
|
|
953 that necessitates a system call. */
|
|
954 #ifdef HAVE_SIGSETJMP
|
|
955 # define SETJMP(x) sigsetjmp (x, 0)
|
|
956 # define LONGJMP(x, y) siglongjmp (x, y)
|
|
957 # define JMP_BUF sigjmp_buf
|
|
958 #else
|
|
959 # define SETJMP(x) setjmp (x)
|
|
960 # define LONGJMP(x, y) longjmp (x, y)
|
|
961 # define JMP_BUF jmp_buf
|
|
962 #endif
|
|
963
|
771
|
964 #ifndef WIN32_NO_CONFIGURE /* Defined in xemacs.mak or s/windowsnt.h: */
|
|
965
|
428
|
966 /* movemail options */
|
|
967 /* Should movemail use POP3 for mail access? */
|
|
968 #undef MAIL_USE_POP
|
|
969 /* Should movemail use kerberos for POP authentication? */
|
|
970 #undef KERBEROS
|
|
971 /* Should movemail use hesiod for getting POP server host? */
|
|
972 #undef HESIOD
|
|
973 /* Determine type of mail locking. */
|
438
|
974 #undef MAIL_LOCK_LOCKF
|
|
975 #undef MAIL_LOCK_FLOCK
|
|
976 #undef MAIL_LOCK_DOT
|
|
977 #undef MAIL_LOCK_LOCKING
|
|
978 #undef MAIL_LOCK_MMDF
|
428
|
979
|
567
|
980 #undef HAVE_MKSTEMP
|
|
981
|
428
|
982 #undef PREFIX_USER_DEFINED
|
|
983 #undef EXEC_PREFIX_USER_DEFINED
|
|
984 #undef MODULEDIR_USER_DEFINED
|
|
985 #undef SITEMODULEDIR_USER_DEFINED
|
|
986 #undef DOCDIR_USER_DEFINED
|
|
987 #undef LISPDIR_USER_DEFINED
|
|
988 #undef PACKAGE_PATH_USER_DEFINED
|
|
989 #undef SITELISPDIR_USER_DEFINED
|
|
990 #undef ARCHLIBDIR_USER_DEFINED
|
|
991 #undef ETCDIR_USER_DEFINED
|
|
992 #undef INFODIR_USER_DEFINED
|
|
993 #undef INFOPATH_USER_DEFINED
|
|
994
|
|
995 #undef PDUMP
|
|
996
|
771
|
997 #endif /* WIN32_NO_CONFIGURE */
|
|
998
|
838
|
999 /* For the moment, we go ahead and keep this, since it's used in mouse.el.
|
|
1000 #### font-lock does its own version using parse-partial-sexp. We should
|
|
1001 merge the two. */
|
|
1002 #define USE_C_FONT_LOCK
|
|
1003
|
771
|
1004 #if defined (WIN32_NATIVE) || defined (CYGWIN)
|
|
1005 # define HAVE_WIN32_CODING_SYSTEMS
|
|
1006 #endif
|
|
1007
|
800
|
1008 #ifdef ERROR_CHECK_ALL
|
|
1009 #define ERROR_CHECK_EXTENTS
|
|
1010 #define ERROR_CHECK_TYPES
|
|
1011 #define ERROR_CHECK_TEXT
|
|
1012 #define ERROR_CHECK_GC
|
|
1013 #define ERROR_CHECK_MALLOC
|
|
1014 #define ERROR_CHECK_BYTE_CODE
|
|
1015 #define ERROR_CHECK_GLYPHS
|
|
1016 #define ERROR_CHECK_DISPLAY
|
|
1017 #define ERROR_CHECK_STRUCTURES
|
|
1018 #endif /* ERROR_CHECK_ALL */
|
|
1019
|
771
|
1020 /* Move these down here so that the s/m files (esp. windowsnt.h) can
|
|
1021 set them. */
|
800
|
1022 #ifdef ERROR_CHECK_TYPES
|
771
|
1023 #define type_checking_assert(assertion) assert (assertion)
|
788
|
1024 #define type_checking_assert_at_line(assertion, file, line) \
|
|
1025 assert_at_line (assertion, file, line)
|
771
|
1026 #else
|
|
1027 #define type_checking_assert(assertion)
|
788
|
1028 #define type_checking_assert_at_line(assertion, file, line)
|
771
|
1029 #endif
|
|
1030 #ifdef ERROR_CHECK_GC
|
|
1031 #define gc_checking_assert(assertion) assert (assertion)
|
788
|
1032 #define gc_checking_assert_at_line(assertion, file, line) \
|
|
1033 assert_at_line (assertion, file, line)
|
771
|
1034 #else
|
|
1035 #define gc_checking_assert(assertion)
|
788
|
1036 #define gc_checking_assert_at_line(assertion, file, line)
|
771
|
1037 #endif
|
800
|
1038 #ifdef ERROR_CHECK_TEXT
|
|
1039 #define text_checking_assert(assertion) assert (assertion)
|
|
1040 #define text_checking_assert_at_line(assertion, file, line) \
|
|
1041 assert_at_line (assertion, file, line)
|
|
1042 #else
|
|
1043 #define text_checking_assert(assertion)
|
|
1044 #define text_checking_assert_at_line(assertion, file, line)
|
|
1045 #endif
|
771
|
1046
|
428
|
1047 #endif /* _SRC_CONFIG_H_ */
|