Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 501cfd01ee6d |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
40 #pragma alloca | 40 #pragma alloca |
41 #elif ! defined (alloca) | 41 #elif ! defined (alloca) |
42 char *alloca (); | 42 char *alloca (); |
43 #endif | 43 #endif |
44 #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 | |
71 | |
72 | 45 |
73 /* 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 |
74 files so as to make it obvious where XEmacs changes are. */ | 47 files so as to make it obvious where XEmacs changes are. */ |
75 #define XEMACS 1 | 48 #define XEMACS 1 |
76 | 49 |
418 /* Does the library define ldap_result2error () ? */ | 391 /* Does the library define ldap_result2error () ? */ |
419 #undef HAVE_LDAP_RESULT2ERROR | 392 #undef HAVE_LDAP_RESULT2ERROR |
420 /* Does the library define ldap_parse_result () ? */ | 393 /* Does the library define ldap_parse_result () ? */ |
421 #undef HAVE_LDAP_PARSE_RESULT | 394 #undef HAVE_LDAP_PARSE_RESULT |
422 | 395 |
423 /* Do we wish to link against the PostgreSQL RDBMS run-time library? | 396 /* Do we have PostgreSQL RDBMS support? */ |
424 */ | |
425 #undef HAVE_POSTGRESQL | 397 #undef HAVE_POSTGRESQL |
426 #undef HAVE_POSTGRESQLV7 | 398 #undef HAVE_POSTGRESQLV7 |
427 #undef POSTGRES_H_PATH | 399 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */ |
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 | |
433 | 400 |
434 /* Do you have the Xauth library present? This will add some extra | 401 /* Do you have the Xauth library present? This will add some extra |
435 functionality to gnuserv. */ | 402 functionality to gnuserv. */ |
436 #undef HAVE_XAUTH | 403 #undef HAVE_XAUTH |
437 | 404 |
595 #undef pid_t | 562 #undef pid_t |
596 #undef mode_t | 563 #undef mode_t |
597 #undef off_t | 564 #undef off_t |
598 #undef uid_t | 565 #undef uid_t |
599 #undef gid_t | 566 #undef gid_t |
567 #undef socklen_t | |
600 | 568 |
601 /* If defined, use unions instead of ints. A few systems (DEC Alpha) | 569 /* If defined, use unions instead of ints. A few systems (DEC Alpha) |
602 seem to require this, probably because something with the int | 570 seem to require this, probably because something with the int |
603 definitions isn't right with 64-bit systems. */ | 571 definitions isn't right with 64-bit systems. */ |
604 #undef USE_UNION_TYPE | 572 #undef USE_UNION_TYPE |
795 # define CANNA_PURESIZE 0 | 763 # define CANNA_PURESIZE 0 |
796 #else /* not CANNA */ | 764 #else /* not CANNA */ |
797 # define CANNA_PURESIZE 0 | 765 # define CANNA_PURESIZE 0 |
798 #endif /* not CANNA */ | 766 #endif /* not CANNA */ |
799 | 767 |
800 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) | |
801 #define HAVE_FEP | |
802 #endif | |
803 | |
804 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) | 768 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) |
805 #define accept Raccept | 769 #define accept Raccept |
806 #define bind Rbind | 770 #define bind Rbind |
807 #define connect Rconnect | 771 #define connect Rconnect |
808 #define getsockname Rgetsockname | 772 #define getsockname Rgetsockname |
837 # define INLINE_HEADER inline | 801 # define INLINE_HEADER inline |
838 #else | 802 #else |
839 # define INLINE_HEADER inline extern | 803 # define INLINE_HEADER inline extern |
840 #endif | 804 #endif |
841 | 805 |
842 #if defined (__cplusplus) && !defined (NOT_C_CODE) | 806 #ifndef NOT_C_CODE /* Actually means C or C++ */ |
807 # if defined (__cplusplus) | |
843 /* Avoid C++ keywords used as ordinary C identifiers */ | 808 /* Avoid C++ keywords used as ordinary C identifiers */ |
844 #define class c_class | 809 # define class c_class |
845 #define new c_new | 810 # define new c_new |
846 #define this c_this | 811 # define this c_this |
847 #define catch c_catch | 812 # define catch c_catch |
848 #endif /* C++ */ | 813 # define not c_not |
814 | |
815 # define EXTERN_C extern "C" | |
816 # else /* C code */ | |
817 # define EXTERN_C extern | |
818 # endif | |
819 #endif /* C or C++ */ | |
849 | 820 |
850 /* Strictly speaking, only int or unsigned int are valid types in a | 821 /* Strictly speaking, only int or unsigned int are valid types in a |
851 bitfield. In practice, we would like to use enums as bitfields. | 822 bitfield. In practice, we would like to use enums as bitfields. |
852 The following should just result in warning avoidance: | 823 The following should just result in warning avoidance: |
853 warning: nonportable bit-field type */ | 824 warning: nonportable bit-field type */ |