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