Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children | da8ed4261e83 |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
23 /* No code in XEmacs #includes config.h twice, but some of the code | 23 /* No code in XEmacs #includes config.h twice, but some of the code |
24 intended to work with other packages as well (like gmalloc.c) | 24 intended to work with other packages as well (like gmalloc.c) |
25 think they can include it as many times as they like. */ | 25 think they can include it as many times as they like. */ |
26 #ifndef _SRC_CONFIG_H_ | 26 #ifndef _SRC_CONFIG_H_ |
27 #define _SRC_CONFIG_H_ | 27 #define _SRC_CONFIG_H_ |
28 | |
29 | 28 |
30 /* alloca twiddling belongs in one place, not the s&m headers | 29 /* alloca twiddling belongs in one place, not the s&m headers |
31 AIX requires this to be the first thing in the file. */ | 30 AIX requires this to be the first thing in the file. */ |
32 #undef HAVE_ALLOCA_H | 31 #undef HAVE_ALLOCA_H |
33 | 32 |
37 #elif HAVE_ALLOCA_H | 36 #elif HAVE_ALLOCA_H |
38 #include <alloca.h> | 37 #include <alloca.h> |
39 #elif defined(_AIX) | 38 #elif defined(_AIX) |
40 #pragma alloca | 39 #pragma alloca |
41 #elif ! defined (alloca) | 40 #elif ! defined (alloca) |
42 char *alloca (); | 41 char *alloca(); |
43 #endif | 42 #endif |
44 #endif /* C code */ | 43 #endif /* C code */ |
44 | |
45 | 45 |
46 /* Use this to add code in a structured way to FSF-maintained source | 46 /* Use this to add code in a structured way to FSF-maintained source |
47 files so as to make it obvious where XEmacs changes are. */ | 47 files so as to make it obvious where XEmacs changes are. */ |
48 #define XEMACS 1 | 48 #define XEMACS 1 |
49 | 49 |
50 /* Program name */ | |
51 #undef EMACS_PROGNAME | |
52 | |
53 /* Allow s&m files to differentiate OS versions without having | 50 /* Allow s&m files to differentiate OS versions without having |
54 multiple files to maintain. */ | 51 multiple files to maintain. */ |
55 #undef OS_RELEASE | 52 #undef OS_RELEASE |
56 | 53 |
57 /* The configuration name. This is used as the install directory name | 54 /* The configuration name. This is used as the install directory name |
62 #undef EMACS_CONFIG_OPTIONS | 59 #undef EMACS_CONFIG_OPTIONS |
63 | 60 |
64 /* The version info from version.sh. Used in #pragma ident in emacs.c */ | 61 /* The version info from version.sh. Used in #pragma ident in emacs.c */ |
65 #undef EMACS_MAJOR_VERSION | 62 #undef EMACS_MAJOR_VERSION |
66 #undef EMACS_MINOR_VERSION | 63 #undef EMACS_MINOR_VERSION |
67 #undef EMACS_PATCH_LEVEL | |
68 #undef EMACS_BETA_VERSION | 64 #undef EMACS_BETA_VERSION |
69 #undef EMACS_VERSION | 65 #undef EMACS_VERSION |
70 #undef XEMACS_CODENAME | 66 #undef XEMACS_CODENAME |
71 /* InfoDock versions, not used with XEmacs */ | 67 /* InfoDock versions, not used with XEmacs */ |
72 #undef INFODOCK_MAJOR_VERSION | 68 #undef INFODOCK_MAJOR_VERSION |
73 #undef INFODOCK_MINOR_VERSION | 69 #undef INFODOCK_MINOR_VERSION |
74 #undef INFODOCK_BUILD_VERSION | 70 #undef INFODOCK_BUILD_VERSION |
75 | 71 |
76 /* Make all functions from all IEEE Stds 1003.[123] available. */ | |
77 #undef _POSIX_C_SOURCE | |
78 | |
79 /* Make all functions from Unix98 available. */ | |
80 #undef _XOPEN_SOURCE | |
81 | |
82 /* Make extensions from Unix98 available. */ | |
83 #undef _XOPEN_SOURCE_EXTENDED | |
84 | |
85 /* Make all functions available on AIX. See AC_AIX. */ | 72 /* Make all functions available on AIX. See AC_AIX. */ |
86 #undef _ALL_SOURCE | 73 #undef _ALL_SOURCE |
87 | 74 |
88 /* Make all functions available on GNU libc systems. See features.h. */ | 75 /* Make all functions available on GNU libc systems. See features.h. */ |
89 #undef _GNU_SOURCE | 76 #undef _GNU_SOURCE |
90 | |
91 /* Make all functions available on Solaris 2 systems. */ | |
92 #undef __EXTENSIONS__ | |
93 | 77 |
94 /* Used to identify the XEmacs version in stack traces. */ | 78 /* Used to identify the XEmacs version in stack traces. */ |
95 #undef STACK_TRACE_EYE_CATCHER | 79 #undef STACK_TRACE_EYE_CATCHER |
96 | 80 |
97 /* Allow the configurer to specify if she wants site-lisp. */ | 81 /* Allow the configurer to specify if she wants site-lisp. */ |
177 | 161 |
178 #undef THIS_IS_X11R4 | 162 #undef THIS_IS_X11R4 |
179 #undef THIS_IS_X11R5 | 163 #undef THIS_IS_X11R5 |
180 #undef THIS_IS_X11R6 | 164 #undef THIS_IS_X11R6 |
181 | 165 |
182 #undef HAVE_XCONVERTCASE | |
183 | |
184 /* Where do we find bitmaps? */ | 166 /* Where do we find bitmaps? */ |
185 #undef BITMAPDIR | 167 #undef BITMAPDIR |
186 | 168 |
187 /* USER_FULL_NAME returns a string that is the user's full name. | 169 /* USER_FULL_NAME returns a string that is the user's full name. |
188 It can assume that the variable `pw' points to the password file | 170 It can assume that the variable `pw' points to the password file |
199 #undef AMPERSAND_FULL_NAME | 181 #undef AMPERSAND_FULL_NAME |
200 | 182 |
201 /* Some things figured out by the configure script, grouped as they are in | 183 /* Some things figured out by the configure script, grouped as they are in |
202 configure.in. */ | 184 configure.in. */ |
203 #undef HAVE_MCHECK_H | 185 #undef HAVE_MCHECK_H |
204 #undef HAVE_A_OUT_H | 186 #undef HAVE_MACH_MACH_H |
205 #undef HAVE_CYGWIN_VERSION_H | 187 #undef HAVE_SYS_STROPTS_H |
206 #undef HAVE_FCNTL_H | 188 #undef HAVE_SYS_TIMEB_H |
207 #undef HAVE_INTTYPES_H | 189 #undef HAVE_SYS_TIME_H |
190 #undef HAVE_UNISTD_H | |
191 #undef HAVE_UTIME_H | |
192 #undef HAVE_SYS_WAIT_H | |
193 #undef HAVE_LIBINTL_H | |
208 #undef HAVE_LIBGEN_H | 194 #undef HAVE_LIBGEN_H |
209 #undef HAVE_LOCALE_H | 195 #undef HAVE_LOCALE_H |
210 #undef HAVE_MACH_MACH_H | 196 #undef HAVE_FCNTL_H |
211 #undef HAVE_SYS_PARAM_H | 197 #undef HAVE_ULIMIT_H |
212 #undef HAVE_SYS_PSTAT_H | 198 #undef HAVE_X11_XLOCALE_H |
213 #undef HAVE_SYS_STROPTS_H | 199 #undef HAVE_LINUX_VERSION_H |
214 #undef HAVE_SYS_TIME_H | 200 #undef HAVE_CYGWIN_VERSION_H |
215 #undef HAVE_SYS_TIMEB_H | 201 #undef HAVE_INTTYPES_H |
216 #undef HAVE_SYS_UN_H | 202 #undef HAVE_SYS_UN_H |
217 #undef HAVE_ULIMIT_H | 203 #undef HAVE_A_OUT_H |
218 #undef HAVE_UNISTD_H | |
219 #undef HAVE_UTIME_H | |
220 | |
221 #undef HAVE_SYS_WAIT_H | |
222 #undef HAVE_LIBINTL_H | |
223 #undef HAVE_X11_XLOCALE_H | |
224 #undef STDC_HEADERS | 204 #undef STDC_HEADERS |
225 #undef TIME_WITH_SYS_TIME | 205 #undef TIME_WITH_SYS_TIME |
226 #undef WORDS_BIGENDIAN | 206 #undef WORDS_BIGENDIAN |
227 #undef HAVE_VFORK_H | 207 #undef HAVE_VFORK_H |
228 #undef HAVE_KSTAT_H | 208 #undef HAVE_KSTAT_H |
209 #undef HAVE_SYS_PSTAT_H | |
229 #undef vfork | 210 #undef vfork |
230 | 211 |
231 #undef HAVE_LONG_FILE_NAMES | 212 #undef HAVE_LONG_FILE_NAMES |
232 | 213 |
233 /* Use lock files to detect multiple edits of the same file? */ | 214 /* Use lock files to detect multiple edits of the same file? */ |
283 #undef HAVE_EACCESS | 264 #undef HAVE_EACCESS |
284 #undef HAVE_FMOD | 265 #undef HAVE_FMOD |
285 #undef HAVE_FPATHCONF | 266 #undef HAVE_FPATHCONF |
286 #undef HAVE_FREXP | 267 #undef HAVE_FREXP |
287 #undef HAVE_FTIME | 268 #undef HAVE_FTIME |
288 #undef HAVE_GETADDRINFO | |
289 #undef HAVE_GETHOSTNAME | 269 #undef HAVE_GETHOSTNAME |
290 #undef HAVE_GETNAMEINFO | |
291 #undef HAVE_GETPAGESIZE | 270 #undef HAVE_GETPAGESIZE |
292 #undef HAVE_GETTIMEOFDAY | 271 #undef HAVE_GETTIMEOFDAY |
293 #undef HAVE_GETWD | 272 #undef HAVE_GETWD |
294 #undef HAVE_GETCWD | 273 #undef HAVE_GETCWD |
295 #undef HAVE_GETPT | |
296 #undef HAVE_LOGB | 274 #undef HAVE_LOGB |
297 #undef HAVE_LRAND48 | 275 #undef HAVE_LRAND48 |
298 #undef HAVE_MATHERR | 276 #undef HAVE_MATHERR |
299 #undef HAVE_MKDIR | 277 #undef HAVE_MKDIR |
300 #undef HAVE_MKTIME | 278 #undef HAVE_MKTIME |
313 #undef HAVE_SIGBLOCK | 291 #undef HAVE_SIGBLOCK |
314 #undef HAVE_SIGHOLD | 292 #undef HAVE_SIGHOLD |
315 #undef HAVE_SIGPROCMASK | 293 #undef HAVE_SIGPROCMASK |
316 #undef HAVE_SIGSETJMP | 294 #undef HAVE_SIGSETJMP |
317 #undef HAVE_SNPRINTF | 295 #undef HAVE_SNPRINTF |
318 #undef HAVE_STPCPY | |
319 #undef HAVE_STRCASECMP | 296 #undef HAVE_STRCASECMP |
320 #undef HAVE_STRERROR | 297 #undef HAVE_STRERROR |
321 #undef HAVE_TZSET | 298 #undef HAVE_TZSET |
322 #undef HAVE_ULIMIT | 299 #undef HAVE_ULIMIT |
323 #undef HAVE_USLEEP | 300 #undef HAVE_USLEEP |
326 #undef HAVE_VSNPRINTF | 303 #undef HAVE_VSNPRINTF |
327 #undef HAVE_SOCKETS | 304 #undef HAVE_SOCKETS |
328 #undef HAVE_SOCKADDR_SUN_LEN | 305 #undef HAVE_SOCKADDR_SUN_LEN |
329 #undef HAVE_MULTICAST | 306 #undef HAVE_MULTICAST |
330 #undef HAVE_SYSVIPC | 307 #undef HAVE_SYSVIPC |
331 #undef HAVE_LOCKF | |
332 #undef HAVE_FLOCK | |
333 #undef HAVE_FSYNC | |
334 #undef HAVE_FTRUNCATE | |
335 #undef HAVE_UMASK | |
336 | 308 |
337 #undef SYSV_SYSTEM_DIR | 309 #undef SYSV_SYSTEM_DIR |
338 #undef NONSYSTEM_DIR_LIBRARY | 310 #undef NONSYSTEM_DIR_LIBRARY |
339 | 311 |
340 #undef HAVE_TERMIOS | 312 #undef HAVE_TERMIOS |
375 #undef HAVE_DBM | 347 #undef HAVE_DBM |
376 | 348 |
377 /* Compile in support for Berkeley DB style databases? May require libdb. */ | 349 /* Compile in support for Berkeley DB style databases? May require libdb. */ |
378 #undef HAVE_BERKELEY_DB | 350 #undef HAVE_BERKELEY_DB |
379 /* Full #include file path for Berkeley DB's db.h */ | 351 /* Full #include file path for Berkeley DB's db.h */ |
380 #undef DB_H_FILE | 352 #undef DB_H_PATH |
381 | 353 |
382 /* Do we have either DBM or Berkeley DB database support? */ | 354 /* Do we have either DBM or Berkeley DB database support? */ |
383 #undef HAVE_DATABASE | 355 #undef HAVE_DATABASE |
384 | 356 |
385 /* Do we have LDAP support? */ | 357 /* Do we have LDAP support? */ |
386 #undef HAVE_LDAP | 358 #undef HAVE_LDAP |
387 /* Does the library define ldap_set_option () ? */ | 359 /* Do we have the LDAP library of the University of Michigan ? */ |
388 #undef HAVE_LDAP_SET_OPTION | 360 #undef HAVE_UMICH_LDAP |
389 /* Does the library define ldap_get_lderrno () ? */ | 361 /* Do we have Netscape LDAP SDK library */ |
390 #undef HAVE_LDAP_GET_LDERRNO | 362 #undef HAVE_NS_LDAP |
391 /* Does the library define ldap_result2error () ? */ | |
392 #undef HAVE_LDAP_RESULT2ERROR | |
393 /* Does the library define ldap_parse_result () ? */ | |
394 #undef HAVE_LDAP_PARSE_RESULT | |
395 | |
396 /* Do we have PostgreSQL RDBMS support? */ | |
397 #undef HAVE_POSTGRESQL | |
398 #undef HAVE_POSTGRESQLV7 | |
399 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */ | |
400 | 363 |
401 /* Do you have the Xauth library present? This will add some extra | 364 /* Do you have the Xauth library present? This will add some extra |
402 functionality to gnuserv. */ | 365 functionality to gnuserv. */ |
403 #undef HAVE_XAUTH | 366 #undef HAVE_XAUTH |
404 | 367 |
406 #undef HAVE_GPM | 369 #undef HAVE_GPM |
407 | 370 |
408 /* Compile in support for ncurses? */ | 371 /* Compile in support for ncurses? */ |
409 #undef HAVE_NCURSES | 372 #undef HAVE_NCURSES |
410 /* Full #include file paths for ncurses' curses.h and term.h. */ | 373 /* Full #include file paths for ncurses' curses.h and term.h. */ |
411 #undef CURSES_H_FILE | 374 #undef CURSES_H_PATH |
412 #undef TERM_H_FILE | 375 #undef TERM_H_PATH |
413 | 376 |
414 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). | 377 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). |
415 If the assertion fails, assert_failed() will be called. This is | 378 If the assertion fails, assert_failed() will be called. This is |
416 recommended for general use because it gives more info about the crash | 379 recommended for general use because it gives more info about the crash |
417 than just the abort() message. Too many people "Can't find the corefile" | 380 than just the abort() message. Too many people "Can't find the corefile" |
423 on during the beta-test cycle. */ | 386 on during the beta-test cycle. */ |
424 | 387 |
425 /* Check the entire extent structure of a buffer each time an extent | 388 /* Check the entire extent structure of a buffer each time an extent |
426 change is done, and do other extent-related checks. */ | 389 change is done, and do other extent-related checks. */ |
427 #undef ERROR_CHECK_EXTENTS | 390 #undef ERROR_CHECK_EXTENTS |
428 | |
429 /* Make sure that all X... macros are dereferencing the correct type, | 391 /* Make sure that all X... macros are dereferencing the correct type, |
430 and that all XSET... macros (as much as possible) are setting the | 392 and that all XSET... macros (as much as possible) are setting the |
431 correct type of structure. Highly recommended for all | 393 correct type of structure. Highly recommended for all |
432 development work. */ | 394 development work. */ |
433 #undef ERROR_CHECK_TYPECHECK | 395 #undef ERROR_CHECK_TYPECHECK |
434 #ifdef ERROR_CHECK_TYPECHECK | |
435 #define type_checking_assert(assertion) assert (assertion) | |
436 #else | |
437 #define type_checking_assert(assertion) | |
438 #endif | |
439 | |
440 /* Make sure valid buffer positions are passed to BUF_* macros. */ | 396 /* Make sure valid buffer positions are passed to BUF_* macros. */ |
441 #undef ERROR_CHECK_BUFPOS | 397 #undef ERROR_CHECK_BUFPOS |
442 #ifdef ERROR_CHECK_BUFPOS | |
443 #define bufpos_checking_assert(assertion) assert (assertion) | |
444 #else | |
445 #define bufpos_checking_assert(assertion) | |
446 #endif | |
447 | |
448 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */ | 398 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */ |
449 #undef ERROR_CHECK_GC | 399 #undef ERROR_CHECK_GC |
450 #ifdef ERROR_CHECK_GC | |
451 #define gc_checking_assert(assertion) assert (assertion) | |
452 #else | |
453 #define gc_checking_assert(assertion) | |
454 #endif | |
455 | |
456 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */ | 400 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */ |
457 #undef ERROR_CHECK_MALLOC | 401 #undef ERROR_CHECK_MALLOC |
458 | |
459 /* Minor sanity checking of the bytecode interpreter. Useful for | |
460 debugging the byte compiler. */ | |
461 #undef ERROR_CHECK_BYTE_CODE | |
462 | |
463 /* Minor sanity checking of glyphs, especially subwindows and | |
464 widgets. */ | |
465 #undef ERROR_CHECK_GLYPHS | |
466 | 402 |
467 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. | 403 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. |
468 This is mainly intended for use by developers. */ | 404 This is mainly intended for use by developers. */ |
469 #undef DEBUG_XEMACS | 405 #undef DEBUG_XEMACS |
470 | 406 |
515 #undef HAVE_OFFIX_DND | 451 #undef HAVE_OFFIX_DND |
516 | 452 |
517 /* Compile in generic Drag'n'Drop API */ | 453 /* Compile in generic Drag'n'Drop API */ |
518 #undef HAVE_DRAGNDROP | 454 #undef HAVE_DRAGNDROP |
519 | 455 |
520 /* Compile in support for proper handling of WM_COMMAND. */ | 456 /* Compile in support for proper session-management. */ |
521 #undef HAVE_WMCOMMAND | 457 #undef HAVE_SESSION |
522 | 458 |
523 /* Define this if you want Mule support (multi-byte character support). | 459 /* Define this if you want Mule support (multi-byte character support). |
524 There may be some performance penalty, although it should be small | 460 There may be some performance penalty, although it should be small |
525 if you're working with ASCII files. */ | 461 if you're working with ASCII files. */ |
526 #undef MULE | 462 #undef MULE |
541 #undef WNN6 | 477 #undef WNN6 |
542 | 478 |
543 /* Enable special GNU Make features in the Makefiles. */ | 479 /* Enable special GNU Make features in the Makefiles. */ |
544 #undef USE_GNU_MAKE | 480 #undef USE_GNU_MAKE |
545 | 481 |
546 /* Debugging development option: Remove inessential but time consuming | 482 /* Debugging option: Don't automatically rebuild the DOC file. |
547 actions from happening during build. This saves a lot of time when | 483 This saves a lot of time when you're repeatedly |
548 you're repeatedly compiling-running-crashing. This (1) doesn't | 484 compiling-running-crashing. */ |
549 garbage-collect after loading each file during dumping, and (2) | 485 #undef NO_DOC_FILE |
550 doesn't automatically rebuild the DOC file. (Remove it by hand to | |
551 get it rebuilt.) | |
552 */ | |
553 #undef QUICK_BUILD | |
554 | 486 |
555 /* Defined by AC_C_CONST in configure.in */ | 487 /* Defined by AC_C_CONST in configure.in */ |
556 #undef const | 488 #undef const |
557 | 489 |
558 /* Allow the source to use standard types. Include these before the | 490 #define CONST const |
559 s&m files so that they can use them. */ | 491 |
560 #undef ssize_t | 492 /* If defined, use unions instead of ints. A few systems (DEC Alpha) |
493 seem to require this, probably because something with the int | |
494 definitions isn't right with 64-bit systems. */ | |
495 #undef USE_UNION_TYPE | |
496 | |
497 /* The configuration script defines opsysfile to be the name of the | |
498 s/...h file that describes the system type you are using. | |
499 The file is chosen based on the configuration name you give. | |
500 | |
501 See the file ../etc/MACHINES for a list of systems and the | |
502 configuration names to use for them. | |
503 | |
504 See s/template.h for documentation on writing s/...h files. */ | |
505 | |
506 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
507 extern "C" { | |
508 #endif | |
509 #undef config_opsysfile | |
510 #include config_opsysfile | |
511 | |
512 /* The configuration script defines machfile to be the name of the | |
513 m/...h file that describes the machine you are using. The file is | |
514 chosen based on the configuration name you give. | |
515 | |
516 See the file ../etc/MACHINES for a list of machines and the | |
517 configuration names to use for them. | |
518 | |
519 See m/template.h for documentation on writing m/...h files. */ | |
520 #undef config_machfile | |
521 #include config_machfile | |
522 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
523 } | |
524 #endif | |
525 | |
526 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | |
527 #define SYSTEM_MALLOC | |
528 #endif | |
529 | |
530 /* Use the relocating allocator for buffer space? */ | |
531 #undef REL_ALLOC | |
532 | |
533 /* Define the return type of signal handlers if the s/xxx.h file | |
534 did not already do so. */ | |
535 #define RETSIGTYPE void | |
536 | |
537 /* SIGTYPE is the macro we actually use. */ | |
538 #ifndef SIGTYPE | |
539 #define SIGTYPE RETSIGTYPE | |
540 #define SIGRETURN return | |
541 #endif | |
542 | |
543 /* Allow the source to use standard types */ | |
561 #undef size_t | 544 #undef size_t |
562 #undef pid_t | 545 #undef pid_t |
563 #undef mode_t | 546 #undef mode_t |
564 #undef off_t | 547 #undef off_t |
565 #undef uid_t | 548 #undef uid_t |
566 #undef gid_t | 549 #undef gid_t |
567 #undef socklen_t | |
568 | |
569 /* If defined, use unions instead of ints. A few systems (DEC Alpha) | |
570 seem to require this, probably because something with the int | |
571 definitions isn't right with 64-bit systems. */ | |
572 #undef USE_UNION_TYPE | |
573 | |
574 /* The configuration script defines opsysfile to be the name of the | |
575 s/...h file that describes the system type you are using. | |
576 The file is chosen based on the configuration name you give. | |
577 | |
578 See the file ../etc/MACHINES for a list of systems and the | |
579 configuration names to use for them. | |
580 | |
581 See s/template.h for documentation on writing s/...h files. */ | |
582 | |
583 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
584 extern "C" { | |
585 #endif | |
586 #undef config_opsysfile | |
587 #include config_opsysfile | |
588 | |
589 /* The configuration script defines machfile to be the name of the | |
590 m/...h file that describes the machine you are using. The file is | |
591 chosen based on the configuration name you give. | |
592 | |
593 See the file ../etc/MACHINES for a list of machines and the | |
594 configuration names to use for them. | |
595 | |
596 See m/template.h for documentation on writing m/...h files. */ | |
597 #undef config_machfile | |
598 #include config_machfile | |
599 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
600 } | |
601 #endif | |
602 | |
603 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | |
604 #define SYSTEM_MALLOC | |
605 #endif | |
606 | |
607 /* Use the relocating allocator for buffer space? */ | |
608 #undef REL_ALLOC | |
609 | |
610 /* Define the return type of signal handlers if the s/xxx.h file | |
611 did not already do so. */ | |
612 #define RETSIGTYPE void | |
613 | |
614 /* SIGTYPE is the macro we actually use. */ | |
615 #ifndef SIGTYPE | |
616 #define SIGTYPE RETSIGTYPE | |
617 #define SIGRETURN return | |
618 #endif | |
619 | 550 |
620 /* Define DYNODUMP if it is necessary to properly dump on this system. | 551 /* Define DYNODUMP if it is necessary to properly dump on this system. |
621 Currently this is only Solaris 2.x, for x < 6. */ | 552 Currently this is only Solaris 2.x, for x < 6. */ |
622 #undef DYNODUMP | 553 #undef DYNODUMP |
623 | 554 |
628 support for playing sound files. (On Suns, the sound support is | 559 support for playing sound files. (On Suns, the sound support is |
629 usually found in /usr/demo/SOUND - you may need to install the | 560 usually found in /usr/demo/SOUND - you may need to install the |
630 "SUNWaudmo" package.) */ | 561 "SUNWaudmo" package.) */ |
631 #undef HAVE_NATIVE_SOUND | 562 #undef HAVE_NATIVE_SOUND |
632 /* Native sound may be provided via soundcard.h, in various directories */ | 563 /* Native sound may be provided via soundcard.h, in various directories */ |
633 #undef SOUNDCARD_H_FILE | 564 #undef SOUNDCARD_H_PATH |
634 | 565 |
635 /* Compile in support for NAS (Network Audio System)? | 566 /* Compile in support for NAS (Network Audio System)? |
636 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some | 567 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some |
637 error handling changes. */ | 568 error handling changes. */ |
638 #undef HAVE_NAS_SOUND | 569 #undef HAVE_NAS_SOUND |
639 #undef NAS_NO_ERROR_JUMP | 570 #undef NAS_NO_ERROR_JUMP |
640 | 571 |
641 /* Compile in support for ESD (Enlightened Sound Daemon)? */ | |
642 #undef HAVE_ESD_SOUND | |
643 | |
644 /* Compile in support for SunPro usage-tracking code? */ | 572 /* Compile in support for SunPro usage-tracking code? */ |
645 #undef USAGE_TRACKING | 573 #undef USAGE_TRACKING |
646 | 574 |
647 /* Compile in support for Tooltalk? */ | 575 /* Compile in support for Tooltalk? */ |
648 #undef TOOLTALK | 576 #undef TOOLTALK |
649 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ | 577 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ |
650 #undef TT_C_H_FILE | 578 #undef TT_C_H_PATH |
651 | 579 |
652 /* Toolkits used by lwlib for various widgets... */ | 580 /* Toolkits used by lwlib for various widgets... */ |
653 #undef LWLIB_USES_MOTIF | 581 #undef LWLIB_USES_MOTIF |
654 #undef LWLIB_USES_ATHENA | 582 #undef LWLIB_USES_ATHENA |
655 #undef LWLIB_MENUBARS_LUCID | 583 #undef LWLIB_MENUBARS_LUCID |
659 #undef LWLIB_SCROLLBARS_ATHENA | 587 #undef LWLIB_SCROLLBARS_ATHENA |
660 #undef LWLIB_SCROLLBARS_ATHENA3D | 588 #undef LWLIB_SCROLLBARS_ATHENA3D |
661 #undef LWLIB_DIALOGS_MOTIF | 589 #undef LWLIB_DIALOGS_MOTIF |
662 #undef LWLIB_DIALOGS_ATHENA | 590 #undef LWLIB_DIALOGS_ATHENA |
663 #undef LWLIB_DIALOGS_ATHENA3D | 591 #undef LWLIB_DIALOGS_ATHENA3D |
664 #undef LWLIB_TABS_LUCID | |
665 #undef LWLIB_WIDGETS_MOTIF | |
666 #undef LWLIB_WIDGETS_ATHENA | |
667 #undef HAVE_ATHENA_3D | |
668 | 592 |
669 /* Other things that can be disabled by configure. */ | 593 /* Other things that can be disabled by configure. */ |
670 #undef HAVE_MENUBARS | 594 #undef HAVE_MENUBARS |
671 #undef HAVE_SCROLLBARS | 595 #undef HAVE_SCROLLBARS |
672 #undef HAVE_DIALOGS | 596 #undef HAVE_DIALOGS |
673 #undef HAVE_TOOLBARS | 597 #undef HAVE_TOOLBARS |
674 #undef HAVE_WIDGETS | |
675 | 598 |
676 | 599 |
677 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) | 600 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) |
678 #define HAVE_POPUPS | 601 #define HAVE_POPUPS |
679 #endif | 602 #endif |
763 # define CANNA_PURESIZE 0 | 686 # define CANNA_PURESIZE 0 |
764 #else /* not CANNA */ | 687 #else /* not CANNA */ |
765 # define CANNA_PURESIZE 0 | 688 # define CANNA_PURESIZE 0 |
766 #endif /* not CANNA */ | 689 #endif /* not CANNA */ |
767 | 690 |
691 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) | |
692 #define HAVE_FEP | |
693 #endif | |
694 | |
768 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) | 695 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) |
769 #define accept Raccept | 696 #define accept Raccept |
770 #define bind Rbind | 697 #define bind Rbind |
771 #define connect Rconnect | 698 #define connect Rconnect |
772 #define getsockname Rgetsockname | 699 #define getsockname Rgetsockname |
786 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) | 713 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) |
787 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) | 714 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) |
788 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) | 715 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) |
789 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) | 716 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) |
790 | 717 |
791 /* Use `INLINE_HEADER' to define inline functions in .h files. | 718 #ifndef NOT_C_CODE |
792 Use `inline static' to define inline functions in .c files. | 719 #ifdef __cplusplus |
793 See the Internals manual for examples and more information. */ | 720 #define HAVE_INLINE 1 |
794 | 721 #define INLINE inline |
722 #else /* not C++ */ | |
795 /* Does the keyword `inline' exist? */ | 723 /* Does the keyword `inline' exist? */ |
724 #undef HAVE_INLINE | |
796 #undef inline | 725 #undef inline |
797 | 726 |
798 #if defined (__cplusplus) || ! defined (__GNUC__) | 727 # ifdef HAVE_INLINE |
799 # define INLINE_HEADER inline static | 728 # ifdef __GNUC__ |
800 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) | 729 # ifdef DONT_EXTERN_INLINE_FUNCTIONS |
801 # define INLINE_HEADER inline | 730 # define INLINE inline |
802 #else | 731 # else |
803 # define INLINE_HEADER inline extern | 732 # define INLINE extern inline |
804 #endif | 733 # endif |
805 | 734 # else |
806 #ifndef NOT_C_CODE /* Actually means C or C++ */ | 735 # define INLINE static inline |
807 # if defined (__cplusplus) | 736 # endif /* __GNUC__ */ |
737 # else | |
738 # define INLINE static | |
739 # endif /* HAVE_INLINE */ | |
740 #endif /* not C++ */ | |
741 #endif /* C code */ | |
742 | |
743 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
808 /* Avoid C++ keywords used as ordinary C identifiers */ | 744 /* Avoid C++ keywords used as ordinary C identifiers */ |
809 # define class c_class | 745 #define class c_class |
810 # define new c_new | 746 #define new c_new |
811 # define this c_this | 747 #define this c_this |
812 # define catch c_catch | 748 #define catch c_catch |
813 # define not c_not | 749 #endif /* C++ */ |
814 | |
815 # define EXTERN_C extern "C" | |
816 # else /* C code */ | |
817 # define EXTERN_C extern | |
818 # endif | |
819 #endif /* C or C++ */ | |
820 | 750 |
821 /* Strictly speaking, only int or unsigned int are valid types in a | 751 /* Strictly speaking, only int or unsigned int are valid types in a |
822 bitfield. In practice, we would like to use enums as bitfields. | 752 bitfield. In practice, we would like to use enums as bitfields. |
823 The following should just result in warning avoidance: | 753 The following should just result in warning avoidance: |
824 warning: nonportable bit-field type */ | 754 warning: nonportable bit-field type */ |
846 /* Should movemail use kerberos for POP authentication? */ | 776 /* Should movemail use kerberos for POP authentication? */ |
847 #undef KERBEROS | 777 #undef KERBEROS |
848 /* Should movemail use hesiod for getting POP server host? */ | 778 /* Should movemail use hesiod for getting POP server host? */ |
849 #undef HESIOD | 779 #undef HESIOD |
850 /* Determine type of mail locking. */ | 780 /* Determine type of mail locking. */ |
851 #undef MAIL_LOCK_LOCKF | 781 /* Play preprocessor games so that configure options override s&m files */ |
852 #undef MAIL_LOCK_FLOCK | 782 #undef REAL_MAIL_USE_LOCKF |
853 #undef MAIL_LOCK_DOT | 783 #undef REAL_MAIL_USE_FLOCK |
854 #undef MAIL_LOCK_LOCKING | 784 #undef MAIL_USE_LOCKF |
855 #undef MAIL_LOCK_MMDF | 785 #undef MAIL_USE_FLOCK |
856 | 786 #ifdef REAL_MAIL_USE_FLOCK |
857 #undef PREFIX_USER_DEFINED | 787 #define MAIL_USE_FLOCK |
858 #undef EXEC_PREFIX_USER_DEFINED | 788 #endif |
859 #undef MODULEDIR_USER_DEFINED | 789 #ifdef REAL_MAIL_USE_LOCKF |
860 #undef SITEMODULEDIR_USER_DEFINED | 790 #define MAIL_USE_LOCKF |
861 #undef DOCDIR_USER_DEFINED | 791 #endif |
792 | |
862 #undef LISPDIR_USER_DEFINED | 793 #undef LISPDIR_USER_DEFINED |
863 #undef PACKAGE_PATH_USER_DEFINED | 794 #undef PACKAGE_PATH_USER_DEFINED |
864 #undef SITELISPDIR_USER_DEFINED | 795 #undef SITELISPDIR_USER_DEFINED |
865 #undef ARCHLIBDIR_USER_DEFINED | 796 #undef ARCHLIBDIR_USER_DEFINED |
866 #undef ETCDIR_USER_DEFINED | 797 #undef ETCDIR_USER_DEFINED |
798 #undef LOCKDIR_USER_DEFINED | |
867 #undef INFODIR_USER_DEFINED | 799 #undef INFODIR_USER_DEFINED |
868 #undef INFOPATH_USER_DEFINED | 800 #undef INFOPATH_USER_DEFINED |
869 | 801 |
870 #undef PDUMP | |
871 | |
872 #endif /* _SRC_CONFIG_H_ */ | 802 #endif /* _SRC_CONFIG_H_ */ |