Mercurial > hg > xemacs-beta
comparison w32/config.h @ 211:78478c60bfcd r20-4b4
Import from CVS: tag r20-4b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:05:51 +0200 |
parents | 41ff10fd062f |
children |
comparison
equal
deleted
inserted
replaced
210:49f55ca3ba57 | 211:78478c60bfcd |
---|---|
21 /* Synched up with: FSF 19.30 (more or less). */ | 21 /* Synched up with: FSF 19.30 (more or less). */ |
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 /* #### This will be removed in 19.15. */ | 29 #define NTHEAP_PROBE_BASE 1 |
30 #define LOSING_BYTECODE | 30 #define LOSING_BYTECODE |
31 | 31 |
32 #define NTHEAP_PROBE_BASE 1 | 32 /* Use this to add code in a structured way to FSF-maintained source |
33 | 33 files so as to make it obvious where XEmacs changes are. */ |
34 /* These are all defined in the top-level Makefile by configure. | 34 #define XEMACS |
35 They're here only for reference. */ | 35 |
36 /* Allow s&m files to differentiate OS versions without having | |
37 multiple files to maintain. */ | |
38 #undef OS_RELEASE | |
39 | |
40 /* The configuration name. This is used as the install directory name | |
41 for the lib-src programs. */ | |
42 #undef EMACS_CONFIGURATION | |
43 | |
44 /* The configuration options. This is exported to Lisp. */ | |
45 #undef EMACS_CONFIG_OPTIONS | |
46 | |
47 /* The version info from xemacs.mak via version.sh. Used in #pragma ident | |
48 in emacs.c */ | |
49 #if 0 | |
50 #undef EMACS_MAJOR_VERSION | |
51 #undef EMACS_MINOR_VERSION | |
52 #undef EMACS_BETA_VERSION | |
53 #undef EMACS_VERSION | |
54 #undef XEMACS_CODENAME | |
55 #endif | |
56 | |
57 /* Make all functions available on AIX. See AC_AIX. */ | |
58 #undef _ALL_SOURCE | |
59 | |
60 /* Used to identify the XEmacs version in stack traces. */ | |
61 #undef STACK_TRACE_EYE_CATCHER | |
62 | |
63 /* Allow the configurer to specify (additional) package directories. */ | |
64 #undef PACKAGE_PATH | |
36 | 65 |
37 /* Define LISP_FLOAT_TYPE if you want XEmacs to support floating-point | 66 /* Define LISP_FLOAT_TYPE if you want XEmacs to support floating-point |
38 numbers. */ | 67 numbers. */ |
39 #undef LISP_FLOAT_TYPE | 68 #undef LISP_FLOAT_TYPE |
40 | 69 |
45 #undef USE_SYSTEM_MALLOC | 74 #undef USE_SYSTEM_MALLOC |
46 | 75 |
47 /* Define HAVE_TTY if you want TTY support compiled in. */ | 76 /* Define HAVE_TTY if you want TTY support compiled in. */ |
48 #undef HAVE_TTY | 77 #undef HAVE_TTY |
49 | 78 |
50 /* Define HAVE_X_WINDOWS if you want to use the X window system. */ | 79 /* Compile in support for the X window system? */ |
51 #undef HAVE_X_WINDOWS /* XXX Jon */ | 80 /* #undef HAVE_X_WINDOWS -- defined in xemacs.mak */ |
52 | 81 |
53 /* Define HAVE_NEXTSTEP if you want to use the NeXTstep window system. */ | 82 /* Defines for building X applications */ |
54 #undef HAVE_NEXTSTEP | 83 #ifdef HAVE_X_WINDOWS |
55 | 84 /* The following will be defined if xmkmf thinks they are necessary */ |
56 /* Define HAVE_W32 if you want to use the MS win32 GUI. */ | 85 #undef SVR4 |
57 #define HAVE_W32GUI | 86 #undef SYSV |
87 #undef AIXV3 | |
88 #undef _POSIX_SOURCE | |
89 #undef _BSD_SOURCE | |
90 #undef _GNU_SOURCE | |
91 #undef X_LOCALE | |
92 #undef NARROWPROTO | |
93 /* The following should always be defined, no matter what xmkmf thinks. */ | |
94 #ifndef NeedFunctionPrototypes | |
95 #define NeedFunctionPrototypes 1 | |
96 #endif | |
97 #ifndef FUNCPROTO | |
98 #define FUNCPROTO 15 | |
99 #endif | |
100 | |
101 /* Define this if you're using XFree386. */ | |
102 #undef HAVE_XFREE386 | |
103 | |
104 #undef THIS_IS_X11R4 | |
105 #undef THIS_IS_X11R5 | |
106 #define THIS_IS_X11R6 | |
107 | |
108 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */ | |
109 #undef HAVE_XPM | |
110 | |
111 /* Define HAVE_XFACE if you have the `compface' library and want to use it. | |
112 This will permit X-face pixmaps in mail and news messages to display | |
113 quickly. */ | |
114 #undef HAVE_XFACE | |
115 | |
116 #define HAVE_IMAGEMAGICK | |
117 | |
118 /* Define HAVE_XMU if you have the Xmu library. This should always be | |
119 the case except on losing HPUX systems. */ | |
120 #define HAVE_XMU | |
121 | |
122 /* Define HAVE_XAUTH if the Xauth library is present. This will add | |
123 some extra functionality to gnuserv. */ | |
124 #undef HAVE_XAUTH | |
125 | |
126 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */ | |
127 #define HAVE_XLOCALE_H | |
128 | |
129 #endif /* HAVE_X_WINDOWS */ | |
58 | 130 |
59 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ | 131 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ |
60 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) || defined (HAVE_W32GUI) | 132 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) || defined (HAVE_W32GUI) |
61 #define HAVE_WINDOW_SYSTEM | 133 #define HAVE_WINDOW_SYSTEM |
62 #endif | 134 #endif |
63 | 135 |
64 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | 136 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ |
65 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_W32GUI) | 137 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_W32GUI) |
66 #define HAVE_UNIXOID_EVENT_LOOP | 138 #define HAVE_UNIXOID_EVENT_LOOP |
67 #endif | 139 #endif |
68 | |
69 /* Define this if you're using XFree386. */ | |
70 #undef HAVE_XFREE386 | |
71 | |
72 #undef THIS_IS_X11R4 | |
73 #undef THIS_IS_X11R5 | |
74 #undef THIS_IS_X11R6 /* XXX Jon */ | |
75 | 140 |
76 /* Define USER_FULL_NAME to return a string | 141 /* Define USER_FULL_NAME to return a string |
77 that is the user's full name. | 142 that is the user's full name. |
78 It can assume that the variable `pw' | 143 It can assume that the variable `pw' |
79 points to the password file entry for this user. | 144 points to the password file entry for this user. |
81 At some sites, the pw_gecos field contains | 146 At some sites, the pw_gecos field contains |
82 the user's full name. If neither this nor any other | 147 the user's full name. If neither this nor any other |
83 field contains the right thing, use pw_name, | 148 field contains the right thing, use pw_name, |
84 giving the user's login name, since that is better than nothing. */ | 149 giving the user's login name, since that is better than nothing. */ |
85 #define USER_FULL_NAME pw->pw_gecos | 150 #define USER_FULL_NAME pw->pw_gecos |
86 #if 0 | |
87 #define USER_FULL_NAME unknown | |
88 #endif | |
89 | 151 |
90 /* Define AMPERSAND_FULL_NAME if you use the convention | 152 /* Define AMPERSAND_FULL_NAME if you use the convention |
91 that & in the full name stands for the login id. */ | 153 that & in the full name stands for the login id. */ |
92 #undef AMPERSAND_FULL_NAME | 154 #undef AMPERSAND_FULL_NAME |
93 | 155 |
104 #undef WORDS_BIGENDIAN | 166 #undef WORDS_BIGENDIAN |
105 #undef TIME_WITH_SYS_TIME | 167 #undef TIME_WITH_SYS_TIME |
106 | 168 |
107 #define HAVE_SYS_TIME_H | 169 #define HAVE_SYS_TIME_H |
108 #define HAVE_LOCALE_H | 170 #define HAVE_LOCALE_H |
109 #undef HAVE_X11_LOCALE_H /* XXX Jon */ | 171 #ifdef HAVE_X_WINDOWS |
172 #define HAVE_X11_LOCALE_H | |
173 #endif | |
110 #define STDC_HEADERS | 174 #define STDC_HEADERS |
111 #define HAVE_LIMITS_H | 175 #define HAVE_LIMITS_H |
112 #define HAVE_GETCWD | 176 #define HAVE_GETCWD |
113 | 177 |
114 #define HAVE_LONG_FILE_NAMES | 178 #define HAVE_LONG_FILE_NAMES |
115 | 179 |
116 #ifdef HAVE_LONG_FILE_NAMES | 180 #ifdef HAVE_LONG_FILE_NAMES |
117 #define CLASH_DETECTION | 181 #define CLASH_DETECTION |
118 #endif | 182 #endif |
119 | 183 |
184 #undef HAVE_LIBKSTAT | |
185 #undef HAVE_LIBINTL | |
120 #undef HAVE_LIBDNET | 186 #undef HAVE_LIBDNET |
121 #undef HAVE_LIBRESOLV | 187 #undef HAVE_LIBRESOLV |
122 | 188 |
123 /* Define if `sys_siglist' is declared by <signal.h>. */ | 189 /* Define if `sys_siglist' is declared by <signal.h>. */ |
124 #undef SYS_SIGLIST_DECLARED | 190 #undef SYS_SIGLIST_DECLARED |
126 /* Define if `struct utimbuf' is declared by <utime.h>. */ | 192 /* Define if `struct utimbuf' is declared by <utime.h>. */ |
127 #undef HAVE_STRUCT_UTIMBUF | 193 #undef HAVE_STRUCT_UTIMBUF |
128 | 194 |
129 /* Define if `struct timeval' is declared by <sys/time.h>. */ | 195 /* Define if `struct timeval' is declared by <sys/time.h>. */ |
130 #define HAVE_TIMEVAL | 196 #define HAVE_TIMEVAL |
131 | |
132 | 197 |
133 #undef TM_IN_SYS_TIME | 198 #undef TM_IN_SYS_TIME |
134 #undef HAVE_TM_ZONE | 199 #undef HAVE_TM_ZONE |
135 #undef HAVE_TZNAME | 200 #undef HAVE_TZNAME |
136 | 201 |
145 #define GETTIMEOFDAY_ONE_ARGUMENT | 210 #define GETTIMEOFDAY_ONE_ARGUMENT |
146 #else | 211 #else |
147 #undef GETTIMEOFDAY_ONE_ARGUMENT | 212 #undef GETTIMEOFDAY_ONE_ARGUMENT |
148 #endif | 213 #endif |
149 | 214 |
150 /* Define in keyword `inline' exists. */ | 215 /* Is the timezone variable already declared in system headers? */ |
151 #undef HAVE_INLINE | 216 #undef HAVE_TIMEZONE_DECL |
152 | |
153 #undef HAVE_ALLOCA_H | |
154 #undef HAVE_VFORK_H | |
155 #undef vfork | |
156 | 217 |
157 #undef HAVE_MMAP | 218 #undef HAVE_MMAP |
158 #undef HAVE_STRCOLL | 219 #undef HAVE_STRCOLL |
220 #undef HAVE_GETPGRP | |
221 #undef GETPGRP_VOID | |
159 | 222 |
160 #undef SIZEOF_SHORT | 223 #undef SIZEOF_SHORT |
161 #undef SIZEOF_INT | 224 #undef SIZEOF_INT |
162 #undef SIZEOF_LONG | 225 #undef SIZEOF_LONG |
226 #undef SIZEOF_LONG_LONG | |
227 #undef SIZEOF_VOID_P | |
163 | 228 |
164 #undef HAVE_ACOSH | 229 #undef HAVE_ACOSH |
165 #undef HAVE_ASINH | 230 #undef HAVE_ASINH |
166 #undef HAVE_ATANH | 231 #undef HAVE_ATANH |
167 | 232 |
218 #undef HAVE_TERMIOS | 283 #undef HAVE_TERMIOS |
219 #undef HAVE_TERMIO | 284 #undef HAVE_TERMIO |
220 | 285 |
221 #undef NLIST_STRUCT | 286 #undef NLIST_STRUCT |
222 | 287 |
223 #undef UNEXEC_SRC | |
224 #undef AIX_SMT_EXP | |
225 | |
226 /* Define HAVE_SOCKS if you have the `socks' library and want XEmacs to | 288 /* Define HAVE_SOCKS if you have the `socks' library and want XEmacs to |
227 use it. */ | 289 use it. */ |
228 #undef HAVE_SOCKS | 290 #undef HAVE_SOCKS |
229 | 291 |
230 /* Define HAVE_TERM if you run the `term' program (e.g. under Linux) and | 292 /* Define HAVE_TERM if you run the `term' program (e.g. under Linux) and |
231 want XEmacs to use it. */ | 293 want XEmacs to use it. */ |
232 #undef HAVE_TERM | 294 #undef HAVE_TERM |
233 | 295 |
234 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */ | |
235 #undef HAVE_XPM | |
236 | |
237 /* Define HAVE_XFACE if you have the `compface' library and want to use it. | |
238 This will permit X-face pixmaps in mail and news messages to display | |
239 quickly. */ | |
240 #undef HAVE_XFACE | |
241 | |
242 /* Define HAVE_GIF if you want XEmacs to support converting GIF | |
243 (Graphics Interchange Format) images. */ | |
244 #undef HAVE_GIF | |
245 | |
246 /* Define HAVE_JPEG if you have the JPEG library and want XEmacs to use it. | |
247 This is for converting JPEG images. */ | |
248 #undef HAVE_JPEG | |
249 | |
250 /* Define HAVE_PNG if you have the PNG library and want XEmacs to use it. | |
251 This is for converting PNG images. */ | |
252 #undef HAVE_PNG | |
253 | |
254 /* Define HAVE_PNG_GNUZ if you want to use -lgz instead of -lz for PNG. */ | |
255 #undef HAVE_PNG_GNUZ | |
256 | |
257 /* Define HAVE_TIFF if you have the TIFF library and want XEmacs to use it. | |
258 This is for converting TIFF images. */ | |
259 #undef HAVE_TIFF | |
260 | |
261 /* Define HAVE_XMU if you have the Xmu library. This should always be | |
262 the case except on losing HPUX systems. */ | |
263 #undef HAVE_XMU /* XXX Jon */ | |
264 | |
265 /* Define HAVE_DBM if you want to use the DBM libraries */ | 296 /* Define HAVE_DBM if you want to use the DBM libraries */ |
266 #undef HAVE_DBM | 297 #undef HAVE_DBM |
267 | 298 |
268 /* Define HAVE_GNU_DBM if you want to use the GNU DBM libraries; | |
269 if you define this, you should also define HAVE_DBM */ | |
270 #undef HAVE_GNU_DBM | |
271 | |
272 /* Define HAVE_BERKELEY_DB if you want to use the BerkDB libraries */ | 299 /* Define HAVE_BERKELEY_DB if you want to use the BerkDB libraries */ |
273 #undef HAVE_BERKELEY_DB | 300 #undef HAVE_BERKELEY_DB |
274 | 301 /* Full #include file path for Berkeley DB's db.h */ |
275 /* Define HAVE_LIBGDBM if you have -lgdbm (separated from HAVE_DBM | 302 #undef DB_H_PATH |
276 stuff because FreeBSD has the DBM routines in libc) */ | |
277 #undef HAVE_LIBGDBM | |
278 | |
279 /* Define HAVE_LIBDBM if you have -ldbm */ | |
280 #undef HAVE_LIBDBM | |
281 | |
282 /* Define HAVE_LIBDB if you have -ldb */ | |
283 #undef HAVE_LIBDB | |
284 | 303 |
285 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) | 304 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) |
286 # define HAVE_DATABASE | 305 # define HAVE_DATABASE |
287 #endif | 306 #endif |
288 | 307 |
289 /* Define HAVE_XAUTH if the Xauth library is present. This will add | |
290 some extra functionality to gnuserv. */ | |
291 #undef HAVE_XAUTH | |
292 | |
293 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */ | |
294 #undef HAVE_XLOCALE_H /* XXX Jon */ | |
295 | |
296 /* Define HAVE_NCURSES if -lncurses is present. */ | 308 /* Define HAVE_NCURSES if -lncurses is present. */ |
297 #undef HAVE_NCURSES | 309 #undef HAVE_NCURSES |
298 | 310 /* Full #include file paths for ncurses' curses.h and term.h. */ |
299 /* Define HAVE_NCURSES_CURSES_H if ncurses/curses.h is present. */ | 311 #undef CURSES_H_PATH |
300 #undef HAVE_NCURSES_CURSES_H | 312 #undef TERM_H_PATH |
301 | |
302 /* Define HAVE_NCURSES_TERM_H if ncurses/term.h is present. */ | |
303 #undef HAVE_NCURSES_TERM_H | |
304 | |
305 /* Define EPOCH to include extra functionality that was present in Epoch. | |
306 This code has received only limited testing. */ | |
307 #undef EPOCH | |
308 | 313 |
309 #define LOWTAGS | 314 #define LOWTAGS |
310 | 315 |
311 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert() | 316 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert() |
312 If the assertion fails, assert_failed() will be called. This is | 317 If the assertion fails, assert_failed() will be called. This is |
320 on during the beta-test cycle. */ | 325 on during the beta-test cycle. */ |
321 | 326 |
322 /* Check the entire extent structure of a buffer each time an extent | 327 /* Check the entire extent structure of a buffer each time an extent |
323 change is done, and do other extent-related checks. */ | 328 change is done, and do other extent-related checks. */ |
324 #define ERROR_CHECK_EXTENTS | 329 #define ERROR_CHECK_EXTENTS |
330 | |
325 /* Make sure that all X... macros are dereferencing the correct type, | 331 /* Make sure that all X... macros are dereferencing the correct type, |
326 and that all XSET... macros (as much as possible) are setting the | 332 and that all XSET... macros (as much as possible) are setting the |
327 correct type of structure. Highly recommended for all | 333 correct type of structure. Highly recommended for all |
328 development work. */ | 334 development work. */ |
329 #define ERROR_CHECK_TYPECHECK | 335 #define ERROR_CHECK_TYPECHECK |
336 etc. */ | 342 etc. */ |
337 #define ERROR_CHECK_MALLOC | 343 #define ERROR_CHECK_MALLOC |
338 | 344 |
339 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. | 345 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. |
340 This is mainly intended for use by developers. */ | 346 This is mainly intended for use by developers. */ |
341 #define DEBUG_XEMACS 1 | 347 #define DEBUG_XEMACS 0 |
342 | 348 |
343 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to | 349 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to |
344 determine where XEmacs's memory is going. */ | 350 determine where XEmacs's memory is going. */ |
345 #undef MEMORY_USAGE_STATS | 351 #undef MEMORY_USAGE_STATS |
346 | 352 |
358 #undef USE_LCC | 364 #undef USE_LCC |
359 | 365 |
360 /* Allow the user to override the default value of PURESIZE at configure | 366 /* Allow the user to override the default value of PURESIZE at configure |
361 time. This must come before we include the sys files in order for | 367 time. This must come before we include the sys files in order for |
362 it to be able to override any changes in them. */ | 368 it to be able to override any changes in them. */ |
363 #undef PURESIZE | 369 #undef RAW_PURESIZE |
364 | 370 |
365 | 371 /* Define this if you want level 2 internationalization compliance |
366 /* Define this if you want to use the Common Desktop Environment | 372 (localized collation and formatting). Generally this should be |
367 */ | 373 defined, unless your system doesn't have the strcoll() and |
374 setlocale() library routines. This really should be (NOT! -mrb) | |
375 defined in the appropriate s/ or m/ file. */ | |
376 #undef I18N2 | |
377 | |
378 /* Define this if you want level 3 internationalization compliance | |
379 (localized messaging). This will cause a small runtime performance | |
380 penalty, as the strings are read from the message catalog(s). | |
381 For this you need the gettext() and dgetext() library routines. | |
382 WARNING, this code is under construction. */ | |
383 #undef I18N3 | |
384 | |
385 /* Compile in support for CDE (Common Desktop Environment) drag and drop? | |
386 Requires libDtSvc, which typically must be present at runtime. */ | |
368 #undef HAVE_CDE | 387 #undef HAVE_CDE |
388 | |
389 /* Compile in support for OffiX Drag and Drop? */ | |
390 #undef HAVE_OFFIX_DND | |
391 | |
392 /* Compile in support for proper session-management. */ | |
393 #undef HAVE_SESSION | |
369 | 394 |
370 /* Define this if you want Mule support (multi-byte character support). | 395 /* Define this if you want Mule support (multi-byte character support). |
371 There may be some performance penalty, although it should be small | 396 There may be some performance penalty, although it should be small |
372 if you're working with ASCII files. */ | 397 if you're working with ASCII files. */ |
373 #undef MULE /* XXX Jon */ | 398 /* #undef MULE */ |
374 | 399 |
400 #ifdef MULE | |
375 /* Do we want to use X window input methods for use with Mule? (requires X11R5) | 401 /* Do we want to use X window input methods for use with Mule? (requires X11R5) |
376 If so, use raw Xlib or higher level Motif interface? */ | 402 If so, use raw Xlib or higher level Motif interface? */ |
377 #undef HAVE_XIM /* XXX Jon */ | 403 #undef HAVE_XIM |
378 #undef XIM_XLIB /* XXX Jon */ | 404 #undef XIM_XLIB |
379 #undef XIM_MOTIF | 405 #undef XIM_MOTIF |
380 | 406 |
381 /* Non-XIM input methods for use with Mule. */ | 407 /* Non-XIM input methods for use with Mule. */ |
382 #undef HAVE_CANNA | 408 #undef HAVE_CANNA |
383 #undef HAVE_WNN | 409 #undef HAVE_WNN |
384 #undef WNN6 | 410 #undef WNN6 |
411 | |
412 #endif | |
385 | 413 |
386 /* enable special GNU Make features in the Makefiles. */ | 414 /* enable special GNU Make features in the Makefiles. */ |
387 #undef USE_GNU_MAKE | 415 #undef USE_GNU_MAKE |
388 | 416 |
389 /* Undocumented debugging option: Don't automatically rebuild the DOC | 417 /* Undocumented debugging option: Don't automatically rebuild the DOC |
432 | 460 |
433 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | 461 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) |
434 #define SYSTEM_MALLOC | 462 #define SYSTEM_MALLOC |
435 #endif | 463 #endif |
436 | 464 |
437 /* The configuration name. This is used as the install directory name | |
438 for the lib-src programs. */ | |
439 #undef EMACS_CONFIGURATION | |
440 | |
441 /* Define REL_ALLOC if you want to use the relocating allocator for | 465 /* Define REL_ALLOC if you want to use the relocating allocator for |
442 buffer space. */ | 466 buffer space. */ |
443 #undef REL_ALLOC | 467 #undef REL_ALLOC |
444 | |
445 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ | |
446 #undef LD_SWITCH_SITE | |
447 | |
448 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ | |
449 #undef C_SWITCH_SITE | |
450 | |
451 /* Define LD_SWITCH_X_SITE to contain any special flags your loader | |
452 may need to deal with X Windows. For instance, if you've defined | |
453 HAVE_X_WINDOWS above and your X libraries aren't in a place that | |
454 your loader can find on its own, you might want to add "-L/..." or | |
455 something similar. */ | |
456 #undef LD_SWITCH_X_SITE | |
457 | |
458 /* Define LD_SWITCH_X_SITE_AUX with an -R option | |
459 in case it's needed (for Solaris, for example). */ | |
460 #undef LD_SWITCH_X_SITE_AUX | |
461 | |
462 /* Define C_SWITCH_X_SITE to contain any special flags your compiler | |
463 may need to deal with X Windows. For instance, if you've defined | |
464 HAVE_X_WINDOWS above and your X include files aren't in a place | |
465 that your compiler can find on its own, you might want to add | |
466 "-I/..." or something similar. */ | |
467 #undef C_SWITCH_X_SITE | |
468 | 468 |
469 /* Define the return type of signal handlers if the s-xxx file | 469 /* Define the return type of signal handlers if the s-xxx file |
470 did not already do so. */ | 470 did not already do so. */ |
471 #define RETSIGTYPE void | 471 #define RETSIGTYPE void |
472 | 472 |
474 #ifndef SIGTYPE | 474 #ifndef SIGTYPE |
475 #define SIGTYPE RETSIGTYPE | 475 #define SIGTYPE RETSIGTYPE |
476 #define SIGRETURN return | 476 #define SIGRETURN return |
477 #endif | 477 #endif |
478 | 478 |
479 /* Allow the source to use standard types */ | |
480 #undef size_t | |
481 #undef pid_t | |
482 #undef mode_t | |
483 #undef off_t | |
484 #undef uid_t | |
485 #undef gid_t | |
486 | |
479 /* Define DYNODUMP if it is necessary to properly dump on this system. | 487 /* Define DYNODUMP if it is necessary to properly dump on this system. |
480 Currently this is only Solaris. */ | 488 Currently this is only Solaris. */ |
481 #undef DYNODUMP | 489 #undef DYNODUMP |
482 | |
483 /* Define NEED_XILDOFF if the -xildoff flag must be passed to cc to | |
484 avoid invoking the incremental linker ild which is incompatible | |
485 with dynodump. This is needed for recent Sunsoft compilers. */ | |
486 #undef NEED_XILDOFF | |
487 | 490 |
488 /* Define ENERGIZE to compile with support for the Energize Programming System. | 491 /* Define ENERGIZE to compile with support for the Energize Programming System. |
489 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well. | 492 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well. |
490 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the | 493 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the |
491 Energize connection library (libconn.a) and associated header files. | 494 Energize connection library (libconn.a) and associated header files. |
518 #undef USAGE_TRACKING | 521 #undef USAGE_TRACKING |
519 | 522 |
520 /* Define TOOLTALK if your site supports the ToolTalk library. */ | 523 /* Define TOOLTALK if your site supports the ToolTalk library. */ |
521 #undef TOOLTALK | 524 #undef TOOLTALK |
522 | 525 |
526 #ifdef HAVE_X_WINDOWS | |
527 | |
523 #undef LWLIB_USES_MOTIF | 528 #undef LWLIB_USES_MOTIF |
524 #undef LWLIB_MENUBARS_LUCID | 529 #define LWLIB_MENUBARS_LUCID |
525 #undef LWLIB_MENUBARS_MOTIF | 530 #undef LWLIB_MENUBARS_MOTIF |
526 #undef LWLIB_SCROLLBARS_LUCID | 531 #define LWLIB_SCROLLBARS_LUCID |
527 #undef LWLIB_SCROLLBARS_MOTIF | 532 #undef LWLIB_SCROLLBARS_MOTIF |
528 #undef LWLIB_SCROLLBARS_ATHENA | 533 #undef LWLIB_SCROLLBARS_ATHENA |
529 #undef LWLIB_DIALOGS_MOTIF | 534 #undef LWLIB_DIALOGS_MOTIF |
530 #undef LWLIB_DIALOGS_ATHENA | 535 #define LWLIB_DIALOGS_ATHENA |
531 | 536 |
532 /* Other things that can be disabled by configure. */ | 537 /* Other things that can be disabled by configure. */ |
533 #undef HAVE_MENUBARS | 538 #define HAVE_MENUBARS |
534 #undef HAVE_SCROLLBARS | 539 #define HAVE_SCROLLBARS |
535 #undef HAVE_DIALOGS | 540 #define HAVE_DIALOGS |
536 #undef HAVE_TOOLBARS | 541 #undef HAVE_TOOLBARS |
537 | 542 |
543 #endif | |
538 | 544 |
539 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) | 545 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) |
540 #define HAVE_POPUPS | 546 #define HAVE_POPUPS |
541 #endif | 547 #endif |
542 | 548 |
666 # define SETJMP(x) setjmp (x) | 672 # define SETJMP(x) setjmp (x) |
667 # define LONGJMP(x, y) longjmp (x, y) | 673 # define LONGJMP(x, y) longjmp (x, y) |
668 # define JMP_BUF jmp_buf | 674 # define JMP_BUF jmp_buf |
669 #endif | 675 #endif |
670 | 676 |
671 #endif /* _CONFIG_H_ */ | 677 /* movemail options */ |
678 /* Should movemail use POP3 for mail access? */ | |
679 #undef MAIL_USE_POP | |
680 /* Should movemail use kerberos for POP authentication? */ | |
681 #undef KERBEROS | |
682 /* Should movemail use hesiod for getting POP server host? */ | |
683 #undef HESIOD | |
684 /* Determine type of mail locking. */ | |
685 /* Play preprocessor games so that configure options override s&m files */ | |
686 #undef REAL_MAIL_USE_LOCKF | |
687 #undef REAL_MAIL_USE_FLOCK | |
688 #undef MAIL_USE_LOCKF | |
689 #undef MAIL_USE_FLOCK | |
690 #ifdef REAL_MAIL_USE_FLOCK | |
691 #define MAIL_USE_FLOCK | |
692 #endif | |
693 #ifdef REAL_MAIL_USE_LOCKF | |
694 #define MAIL_USE_LOCKF | |
695 #endif | |
696 | |
697 #endif /* _SRC_CONFIG_H_ */ |