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