Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | 2f8bb876ab1d |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
405:0e08f63c74d2 | 406:b8cc9ab3f761 |
---|---|
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 | |
28 | 29 |
29 /* alloca twiddling belongs in one place, not the s&m headers | 30 /* alloca twiddling belongs in one place, not the s&m headers |
30 AIX requires this to be the first thing in the file. */ | 31 AIX requires this to be the first thing in the file. */ |
31 #undef HAVE_ALLOCA_H | 32 #undef HAVE_ALLOCA_H |
32 | 33 |
39 #pragma alloca | 40 #pragma alloca |
40 #elif ! defined (alloca) | 41 #elif ! defined (alloca) |
41 char *alloca (); | 42 char *alloca (); |
42 #endif | 43 #endif |
43 #endif /* C code */ | 44 #endif /* C code */ |
45 | |
46 | |
47 /* Use SMART_INCLUDE to generate #include statements with variable paths. | |
48 | |
49 #### WARNING: NEVER EVER PUT A SPACE BETWEEN THE ARGUMENTS OF THE | |
50 `SMART_INCLUDE' MACRO: when the simple (direct version) is defined, you | |
51 would end up with a space in your header filename. | |
52 | |
53 Since the effect of macro expansion in #include statements is underspecified | |
54 in the C standard, and rarely used in source code, different compilers need | |
55 different implementations of SMART_INCLUDE (e.g. gcc 2.5.8 and AIX xlc). | |
56 */ | |
57 #undef SMART_INCLUDE_INDIRECTIONS | |
58 | |
59 #if SMART_INCLUDE_INDIRECTIONS == 0 | |
60 # define SMART_INCLUDE(path,file) <path/file> | |
61 #elif SMART_INCLUDE_INDIRECTIONS == 1 | |
62 # define GLUE_INCLUDE(path,file) <##path##/##file##> | |
63 # define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file) | |
64 #elif SMART_INCLUDE_INDIRECTIONS == 2 | |
65 # define GLUE_INCLUDE_2(path,file) <##path##/##file##> | |
66 # define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file) | |
67 # define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file) | |
68 #else | |
69 # error SMART_INCLUDE_INDIRECTIONS was not properly defined by configure | |
70 #endif | |
44 | 71 |
45 | 72 |
46 /* Use this to add code in a structured way to FSF-maintained source | 73 /* 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. */ | 74 files so as to make it obvious where XEmacs changes are. */ |
48 #define XEMACS 1 | 75 #define XEMACS 1 |
375 #undef HAVE_DBM | 402 #undef HAVE_DBM |
376 | 403 |
377 /* Compile in support for Berkeley DB style databases? May require libdb. */ | 404 /* Compile in support for Berkeley DB style databases? May require libdb. */ |
378 #undef HAVE_BERKELEY_DB | 405 #undef HAVE_BERKELEY_DB |
379 /* Full #include file path for Berkeley DB's db.h */ | 406 /* Full #include file path for Berkeley DB's db.h */ |
380 #undef DB_H_PATH | 407 #undef DB_H_FILE |
381 | 408 |
382 /* Do we have either DBM or Berkeley DB database support? */ | 409 /* Do we have either DBM or Berkeley DB database support? */ |
383 #undef HAVE_DATABASE | 410 #undef HAVE_DATABASE |
384 | 411 |
385 /* Do we have LDAP support? */ | 412 /* Do we have LDAP support? */ |
395 | 422 |
396 /* Do we wish to link against the PostgreSQL RDBMS run-time library? | 423 /* Do we wish to link against the PostgreSQL RDBMS run-time library? |
397 */ | 424 */ |
398 #undef HAVE_POSTGRESQL | 425 #undef HAVE_POSTGRESQL |
399 #undef HAVE_POSTGRESQLV7 | 426 #undef HAVE_POSTGRESQLV7 |
427 #undef POSTGRES_H_PATH | |
428 #if defined POSTGRES_H_PATH | |
429 # define POSTGRES_INCLUDE(file) SMART_INCLUDE (POSTGRES_H_PATH,file) | |
430 #else | |
431 # define POSTGRES_INCLUDE(file) <file> | |
432 #endif | |
400 | 433 |
401 /* Do you have the Xauth library present? This will add some extra | 434 /* Do you have the Xauth library present? This will add some extra |
402 functionality to gnuserv. */ | 435 functionality to gnuserv. */ |
403 #undef HAVE_XAUTH | 436 #undef HAVE_XAUTH |
404 | 437 |
406 #undef HAVE_GPM | 439 #undef HAVE_GPM |
407 | 440 |
408 /* Compile in support for ncurses? */ | 441 /* Compile in support for ncurses? */ |
409 #undef HAVE_NCURSES | 442 #undef HAVE_NCURSES |
410 /* Full #include file paths for ncurses' curses.h and term.h. */ | 443 /* Full #include file paths for ncurses' curses.h and term.h. */ |
411 #undef CURSES_H_PATH | 444 #undef CURSES_H_FILE |
412 #undef TERM_H_PATH | 445 #undef TERM_H_FILE |
413 | 446 |
414 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). | 447 /* 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 | 448 If the assertion fails, assert_failed() will be called. This is |
416 recommended for general use because it gives more info about the crash | 449 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" | 450 than just the abort() message. Too many people "Can't find the corefile" |
458 | 491 |
459 /* Minor sanity checking of the bytecode interpreter. Useful for | 492 /* Minor sanity checking of the bytecode interpreter. Useful for |
460 debugging the byte compiler. */ | 493 debugging the byte compiler. */ |
461 #undef ERROR_CHECK_BYTE_CODE | 494 #undef ERROR_CHECK_BYTE_CODE |
462 | 495 |
496 /* Minor sanity checking of glyphs, especially subwindows and | |
497 widgets. */ | |
498 #undef ERROR_CHECK_GLYPHS | |
499 | |
463 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. | 500 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. |
464 This is mainly intended for use by developers. */ | 501 This is mainly intended for use by developers. */ |
465 #undef DEBUG_XEMACS | 502 #undef DEBUG_XEMACS |
466 | 503 |
467 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to | 504 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to |
537 #undef WNN6 | 574 #undef WNN6 |
538 | 575 |
539 /* Enable special GNU Make features in the Makefiles. */ | 576 /* Enable special GNU Make features in the Makefiles. */ |
540 #undef USE_GNU_MAKE | 577 #undef USE_GNU_MAKE |
541 | 578 |
542 /* Debugging option: Don't automatically rebuild the DOC file. | 579 /* Debugging development option: Remove inessential but time consuming |
543 This saves a lot of time when you're repeatedly | 580 actions from happening during build. This saves a lot of time when |
544 compiling-running-crashing. */ | 581 you're repeatedly compiling-running-crashing. This (1) doesn't |
545 #undef NO_DOC_FILE | 582 garbage-collect after loading each file during dumping, and (2) |
583 doesn't automatically rebuild the DOC file. (Remove it by hand to | |
584 get it rebuilt.) | |
585 */ | |
586 #undef QUICK_BUILD | |
546 | 587 |
547 /* Defined by AC_C_CONST in configure.in */ | 588 /* Defined by AC_C_CONST in configure.in */ |
548 #undef const | 589 #undef const |
549 | 590 |
550 /* Allow the source to use standard types. Include these before the | 591 /* Allow the source to use standard types. Include these before the |
619 support for playing sound files. (On Suns, the sound support is | 660 support for playing sound files. (On Suns, the sound support is |
620 usually found in /usr/demo/SOUND - you may need to install the | 661 usually found in /usr/demo/SOUND - you may need to install the |
621 "SUNWaudmo" package.) */ | 662 "SUNWaudmo" package.) */ |
622 #undef HAVE_NATIVE_SOUND | 663 #undef HAVE_NATIVE_SOUND |
623 /* Native sound may be provided via soundcard.h, in various directories */ | 664 /* Native sound may be provided via soundcard.h, in various directories */ |
624 #undef SOUNDCARD_H_PATH | 665 #undef SOUNDCARD_H_FILE |
625 | 666 |
626 /* Compile in support for NAS (Network Audio System)? | 667 /* Compile in support for NAS (Network Audio System)? |
627 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some | 668 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some |
628 error handling changes. */ | 669 error handling changes. */ |
629 #undef HAVE_NAS_SOUND | 670 #undef HAVE_NAS_SOUND |
636 #undef USAGE_TRACKING | 677 #undef USAGE_TRACKING |
637 | 678 |
638 /* Compile in support for Tooltalk? */ | 679 /* Compile in support for Tooltalk? */ |
639 #undef TOOLTALK | 680 #undef TOOLTALK |
640 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ | 681 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ |
641 #undef TT_C_H_PATH | 682 #undef TT_C_H_FILE |
642 | 683 |
643 /* Toolkits used by lwlib for various widgets... */ | 684 /* Toolkits used by lwlib for various widgets... */ |
644 #undef LWLIB_USES_MOTIF | 685 #undef LWLIB_USES_MOTIF |
645 #undef LWLIB_USES_ATHENA | 686 #undef LWLIB_USES_ATHENA |
646 #undef LWLIB_MENUBARS_LUCID | 687 #undef LWLIB_MENUBARS_LUCID |