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