Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 3bb7ccffb0c0 |
children | 85ec50267440 |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
21 /* Significantly divergent from FSF. */ | 21 /* Significantly divergent from FSF. */ |
22 | 22 |
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 _CONFIG_H_ | 26 #ifndef _SRC_CONFIG_H_ |
27 #define _CONFIG_H_ | 27 #define _SRC_CONFIG_H_ |
28 | 28 |
29 /* alloca twiddling belongs in one place, not the s&m headers | 29 /* alloca twiddling belongs in one place, not the s&m headers |
30 AIX requires this to be the first thing in the file. */ | 30 AIX requires this to be the first thing in the file. */ |
31 #undef HAVE_ALLOCA_H | 31 #undef HAVE_ALLOCA_H |
32 | 32 |
39 #elif HAVE_ALLOCA_H | 39 #elif HAVE_ALLOCA_H |
40 #include <alloca.h> | 40 #include <alloca.h> |
41 #endif | 41 #endif |
42 #endif /* NOT C */ | 42 #endif /* NOT C */ |
43 | 43 |
44 /* #### This will be removed in 19.15. */ | |
45 #define LOSING_BYTECODE | |
46 | 44 |
47 /* Use this to add code in a structured way to FSF-maintained source | 45 /* Use this to add code in a structured way to FSF-maintained source |
48 files so as to make it obvious where XEmacs changes are. */ | 46 files so as to make it obvious where XEmacs changes are. */ |
49 #define XEMACS | 47 #define XEMACS |
50 | 48 |
49 /* Allow s&m files to differentiate OS versions without having | |
50 multiple files to maintain. */ | |
51 #undef OS_RELEASE | |
52 | |
53 /* The configuration name. This is used as the install directory name | |
54 for the lib-src programs. */ | |
55 #undef EMACS_CONFIGURATION | |
56 | |
57 /* The version info from version.sh. Used in #pragma ident in emacs.c */ | |
58 #undef EMACS_MAJOR_VERSION | |
59 #undef EMACS_MINOR_VERSION | |
60 #undef EMACS_BETA_VERSION | |
61 #undef EMACS_VERSION | |
62 #undef XEMACS_CODENAME | |
63 | |
64 | |
65 /* Used to identify the XEmacs version in stack traces. */ | |
66 #undef CANONICAL_VERSION | |
67 | |
68 /* #### This will be removed in 19.15. */ | |
69 #define LOSING_BYTECODE | |
70 | |
51 /* Does XEmacs support floating-point numbers? */ | 71 /* Does XEmacs support floating-point numbers? */ |
52 #undef LISP_FLOAT_TYPE | 72 #undef LISP_FLOAT_TYPE |
53 | 73 |
54 /* Use the *new* GNU memory allocator? */ | 74 /* Use the *new* GNU memory allocator? */ |
55 #undef GNU_MALLOC | 75 #undef GNU_MALLOC |
61 #undef HAVE_TTY | 81 #undef HAVE_TTY |
62 | 82 |
63 /* Compile in support for the X window system? */ | 83 /* Compile in support for the X window system? */ |
64 #undef HAVE_X_WINDOWS | 84 #undef HAVE_X_WINDOWS |
65 | 85 |
66 /* Slightly better type checking in X header files */ | 86 /* Defines for building X applications */ |
67 #ifdef HAVE_X_WINDOWS | 87 #ifdef HAVE_X_WINDOWS |
88 /* The following will be defined if xmkmf thinks they are necessary */ | |
89 #undef SVR4 | |
90 #undef SYSV | |
91 #undef _POSIX_SOURCE | |
92 #undef _BSD_SOURCE | |
93 #undef _GNU_SOURCE | |
94 #undef X_LOCALE | |
95 #undef NARROWPROTO | |
96 /* The following should always be defined, no matter what xmkmf thinks. */ | |
68 #ifndef NeedFunctionPrototypes | 97 #ifndef NeedFunctionPrototypes |
69 #define NeedFunctionPrototypes 1 | 98 #define NeedFunctionPrototypes 1 |
70 #endif | 99 #endif |
71 #ifndef FUNCPROTO | 100 #ifndef FUNCPROTO |
72 #define FUNCPROTO 15 | 101 #define FUNCPROTO 15 |
73 #endif | 102 #endif |
74 /* Required for most XFree86 systems */ | |
75 #undef NARROWPROTO | |
76 #endif /* HAVE_X_WINDOWS */ | 103 #endif /* HAVE_X_WINDOWS */ |
77 | 104 |
78 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ | 105 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ |
79 #if defined (HAVE_X_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ | 106 #if defined (HAVE_X_WINDOWS) /* || defined (HAVE_NEXTSTEP) */ |
80 #define HAVE_WINDOW_SYSTEM | 107 #define HAVE_WINDOW_SYSTEM |
116 #undef HAVE_UTIME_H | 143 #undef HAVE_UTIME_H |
117 #undef HAVE_SYS_WAIT_H | 144 #undef HAVE_SYS_WAIT_H |
118 #undef HAVE_LIBINTL_H | 145 #undef HAVE_LIBINTL_H |
119 #undef HAVE_LIBGEN_H | 146 #undef HAVE_LIBGEN_H |
120 #undef HAVE_LOCALE_H | 147 #undef HAVE_LOCALE_H |
148 #undef HAVE_FCNTL_H | |
121 #undef HAVE_X11_XLOCALE_H | 149 #undef HAVE_X11_XLOCALE_H |
122 #undef HAVE_LINUX_VERSION_H | 150 #undef HAVE_LINUX_VERSION_H |
123 #undef HAVE_INTTYPES_H | 151 #undef HAVE_INTTYPES_H |
124 #undef HAVE_LIMITS_H | 152 #undef HAVE_LIMITS_H |
125 #undef STDC_HEADERS | 153 #undef STDC_HEADERS |
164 /* Can `gettimeofday' accept two arguments? */ | 192 /* Can `gettimeofday' accept two arguments? */ |
165 #undef GETTIMEOFDAY_ONE_ARGUMENT | 193 #undef GETTIMEOFDAY_ONE_ARGUMENT |
166 | 194 |
167 #undef HAVE_MMAP | 195 #undef HAVE_MMAP |
168 #undef HAVE_STRCOLL | 196 #undef HAVE_STRCOLL |
197 #undef HAVE_GETPGRP | |
198 #undef GETPGRP_VOID | |
169 | 199 |
170 #undef SIZEOF_SHORT | 200 #undef SIZEOF_SHORT |
171 #undef SIZEOF_INT | 201 #undef SIZEOF_INT |
172 #undef SIZEOF_LONG | 202 #undef SIZEOF_LONG |
203 #undef SIZEOF_LONG_LONG | |
204 #undef SIZEOF_VOID_P | |
173 | 205 |
174 #undef HAVE_ACOSH | 206 #undef HAVE_ACOSH |
175 #undef HAVE_ASINH | 207 #undef HAVE_ASINH |
176 #undef HAVE_ATANH | 208 #undef HAVE_ATANH |
177 | 209 |
438 typedef unsigned long EMACS_UINT; | 470 typedef unsigned long EMACS_UINT; |
439 #endif | 471 #endif |
440 #endif | 472 #endif |
441 #endif /* 0 */ | 473 #endif /* 0 */ |
442 | 474 |
443 /* The configuration name. This is used as the install directory name | |
444 for the lib-src programs. */ | |
445 #undef EMACS_CONFIGURATION | |
446 | |
447 /* The version string from version.el. Used in #pragma ident in emacs.c */ | |
448 #undef EMACS_VERSION | |
449 /* Used to identify the XEmacs version in stack traces. */ | |
450 #undef main_1 | |
451 | |
452 /* Load in the conversion definitions if this system | 475 /* Load in the conversion definitions if this system |
453 needs them and the source file being compiled has not | 476 needs them and the source file being compiled has not |
454 said to inhibit this. There should be no need for you | 477 said to inhibit this. There should be no need for you |
455 to alter these lines. */ | 478 to alter these lines. */ |
456 | 479 |
470 /* SIGTYPE is the macro we actually use. */ | 493 /* SIGTYPE is the macro we actually use. */ |
471 #ifndef SIGTYPE | 494 #ifndef SIGTYPE |
472 #define SIGTYPE RETSIGTYPE | 495 #define SIGTYPE RETSIGTYPE |
473 #define SIGRETURN return | 496 #define SIGRETURN return |
474 #endif | 497 #endif |
498 | |
499 /* Allow the source to use standard types */ | |
500 #undef size_t | |
501 #undef pid_t | |
502 #undef mode_t | |
503 #undef off_t | |
504 #undef uid_t | |
505 #undef gid_t | |
475 | 506 |
476 /* Define DYNODUMP if it is necessary to properly dump on this system. | 507 /* Define DYNODUMP if it is necessary to properly dump on this system. |
477 Currently this is only Solaris 2.x, for x < 6. */ | 508 Currently this is only Solaris 2.x, for x < 6. */ |
478 #undef DYNODUMP | 509 #undef DYNODUMP |
479 | 510 |