Mercurial > hg > xemacs-beta
comparison nt/config.h @ 213:78f53ef88e17 r20-4b5
Import from CVS: tag r20-4b5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:06:47 +0200 |
parents | 8eaf7971accc |
children | d44af0c54775 |
comparison
equal
deleted
inserted
replaced
212:d8688acf4c5b | 213:78f53ef88e17 |
---|---|
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 | |
29 /* #### This will be removed in 19.15. */ | |
30 #define LOSING_BYTECODE | |
31 | 28 |
32 #define NTHEAP_PROBE_BASE 1 | 29 #define NTHEAP_PROBE_BASE 1 |
33 | 30 #undef LOSING_BYTECODE |
34 /* These are all defined in the top-level Makefile by configure. | 31 |
35 They're here only for reference. */ | 32 /* Use this to add code in a structured way to FSF-maintained source |
33 files so as to make it obvious where XEmacs changes are. */ | |
34 #define XEMACS | |
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 #define HAVE_X_WINDOWS | 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_WINDOW_SYSTEM if any windowing system is available. */ | 85 #undef SVR4 |
57 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) | 86 #undef SYSV |
58 #define HAVE_WINDOW_SYSTEM | 87 #undef AIXV3 |
59 #endif | 88 #undef _POSIX_SOURCE |
60 | 89 #undef _BSD_SOURCE |
61 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | 90 #undef _GNU_SOURCE |
62 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) | 91 #undef X_LOCALE |
63 #define HAVE_UNIXOID_EVENT_LOOP | 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 | |
64 #endif | 99 #endif |
65 | 100 |
66 /* Define this if you're using XFree386. */ | 101 /* Define this if you're using XFree386. */ |
67 #undef HAVE_XFREE386 | 102 #undef HAVE_XFREE386 |
68 | 103 |
69 #undef THIS_IS_X11R4 | 104 #undef THIS_IS_X11R4 |
70 #undef THIS_IS_X11R5 | 105 #undef THIS_IS_X11R5 |
71 #define THIS_IS_X11R6 | 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 */ | |
130 | |
131 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ | |
132 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) || defined (HAVE_MS_WINDOWS) | |
133 #define HAVE_WINDOW_SYSTEM | |
134 #endif | |
135 | |
136 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | |
137 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined (HAVE_MS_WINDOWS) | |
138 #define HAVE_UNIXOID_EVENT_LOOP | |
139 #endif | |
72 | 140 |
73 /* Define USER_FULL_NAME to return a string | 141 /* Define USER_FULL_NAME to return a string |
74 that is the user's full name. | 142 that is the user's full name. |
75 It can assume that the variable `pw' | 143 It can assume that the variable `pw' |
76 points to the password file entry for this user. | 144 points to the password file entry for this user. |
78 At some sites, the pw_gecos field contains | 146 At some sites, the pw_gecos field contains |
79 the user's full name. If neither this nor any other | 147 the user's full name. If neither this nor any other |
80 field contains the right thing, use pw_name, | 148 field contains the right thing, use pw_name, |
81 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. */ |
82 #define USER_FULL_NAME pw->pw_gecos | 150 #define USER_FULL_NAME pw->pw_gecos |
83 #if 0 | |
84 #define USER_FULL_NAME unknown | |
85 #endif | |
86 | 151 |
87 /* Define AMPERSAND_FULL_NAME if you use the convention | 152 /* Define AMPERSAND_FULL_NAME if you use the convention |
88 that & in the full name stands for the login id. */ | 153 that & in the full name stands for the login id. */ |
89 #undef AMPERSAND_FULL_NAME | 154 #undef AMPERSAND_FULL_NAME |
90 | 155 |
101 #undef WORDS_BIGENDIAN | 166 #undef WORDS_BIGENDIAN |
102 #undef TIME_WITH_SYS_TIME | 167 #undef TIME_WITH_SYS_TIME |
103 | 168 |
104 #define HAVE_SYS_TIME_H | 169 #define HAVE_SYS_TIME_H |
105 #define HAVE_LOCALE_H | 170 #define HAVE_LOCALE_H |
171 #ifdef HAVE_X_WINDOWS | |
106 #define HAVE_X11_LOCALE_H | 172 #define HAVE_X11_LOCALE_H |
173 #endif | |
107 #define STDC_HEADERS | 174 #define STDC_HEADERS |
108 #define HAVE_LIMITS_H | 175 #define HAVE_LIMITS_H |
109 #define HAVE_GETCWD | 176 #define HAVE_GETCWD |
110 | 177 |
111 #define HAVE_LONG_FILE_NAMES | 178 #define HAVE_LONG_FILE_NAMES |
112 | 179 |
113 #ifdef HAVE_LONG_FILE_NAMES | 180 #ifdef HAVE_LONG_FILE_NAMES |
114 #define CLASH_DETECTION | 181 #define CLASH_DETECTION |
115 #endif | 182 #endif |
116 | 183 |
184 #undef HAVE_LIBKSTAT | |
185 #undef HAVE_LIBINTL | |
117 #undef HAVE_LIBDNET | 186 #undef HAVE_LIBDNET |
118 #undef HAVE_LIBRESOLV | 187 #undef HAVE_LIBRESOLV |
119 | 188 |
120 /* Define if `sys_siglist' is declared by <signal.h>. */ | 189 /* Define if `sys_siglist' is declared by <signal.h>. */ |
121 #undef SYS_SIGLIST_DECLARED | 190 #undef SYS_SIGLIST_DECLARED |
123 /* Define if `struct utimbuf' is declared by <utime.h>. */ | 192 /* Define if `struct utimbuf' is declared by <utime.h>. */ |
124 #undef HAVE_STRUCT_UTIMBUF | 193 #undef HAVE_STRUCT_UTIMBUF |
125 | 194 |
126 /* Define if `struct timeval' is declared by <sys/time.h>. */ | 195 /* Define if `struct timeval' is declared by <sys/time.h>. */ |
127 #define HAVE_TIMEVAL | 196 #define HAVE_TIMEVAL |
128 | |
129 | 197 |
130 #undef TM_IN_SYS_TIME | 198 #undef TM_IN_SYS_TIME |
131 #undef HAVE_TM_ZONE | 199 #undef HAVE_TM_ZONE |
132 #undef HAVE_TZNAME | 200 #undef HAVE_TZNAME |
133 | 201 |
142 #define GETTIMEOFDAY_ONE_ARGUMENT | 210 #define GETTIMEOFDAY_ONE_ARGUMENT |
143 #else | 211 #else |
144 #undef GETTIMEOFDAY_ONE_ARGUMENT | 212 #undef GETTIMEOFDAY_ONE_ARGUMENT |
145 #endif | 213 #endif |
146 | 214 |
147 /* Define in keyword `inline' exists. */ | 215 /* Is the timezone variable already declared in system headers? */ |
148 #undef HAVE_INLINE | 216 #undef HAVE_TIMEZONE_DECL |
149 | |
150 #undef HAVE_ALLOCA_H | |
151 #undef HAVE_VFORK_H | |
152 #undef vfork | |
153 | 217 |
154 #undef HAVE_MMAP | 218 #undef HAVE_MMAP |
155 #undef HAVE_STRCOLL | 219 #undef HAVE_STRCOLL |
220 #undef HAVE_GETPGRP | |
221 #undef GETPGRP_VOID | |
156 | 222 |
157 #undef SIZEOF_SHORT | 223 #undef SIZEOF_SHORT |
158 #undef SIZEOF_INT | 224 #undef SIZEOF_INT |
159 #undef SIZEOF_LONG | 225 #undef SIZEOF_LONG |
226 #undef SIZEOF_LONG_LONG | |
227 #undef SIZEOF_VOID_P | |
160 | 228 |
161 #undef HAVE_ACOSH | 229 #undef HAVE_ACOSH |
162 #undef HAVE_ASINH | 230 #undef HAVE_ASINH |
163 #undef HAVE_ATANH | 231 #undef HAVE_ATANH |
164 | 232 |
215 #undef HAVE_TERMIOS | 283 #undef HAVE_TERMIOS |
216 #undef HAVE_TERMIO | 284 #undef HAVE_TERMIO |
217 | 285 |
218 #undef NLIST_STRUCT | 286 #undef NLIST_STRUCT |
219 | 287 |
220 #undef UNEXEC_SRC | |
221 #undef AIX_SMT_EXP | |
222 | |
223 /* 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 |
224 use it. */ | 289 use it. */ |
225 #undef HAVE_SOCKS | 290 #undef HAVE_SOCKS |
226 | 291 |
227 /* 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 |
228 want XEmacs to use it. */ | 293 want XEmacs to use it. */ |
229 #undef HAVE_TERM | 294 #undef HAVE_TERM |
230 | 295 |
231 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */ | |
232 #undef HAVE_XPM | |
233 | |
234 /* Define HAVE_XFACE if you have the `compface' library and want to use it. | |
235 This will permit X-face pixmaps in mail and news messages to display | |
236 quickly. */ | |
237 #undef HAVE_XFACE | |
238 | |
239 /* Define HAVE_GIF if you want XEmacs to support converting GIF | |
240 (Graphics Interchange Format) images. */ | |
241 #undef HAVE_GIF | |
242 | |
243 /* Define HAVE_JPEG if you have the JPEG library and want XEmacs to use it. | |
244 This is for converting JPEG images. */ | |
245 #undef HAVE_JPEG | |
246 | |
247 /* Define HAVE_PNG if you have the PNG library and want XEmacs to use it. | |
248 This is for converting PNG images. */ | |
249 #undef HAVE_PNG | |
250 | |
251 /* Define HAVE_PNG_GNUZ if you want to use -lgz instead of -lz for PNG. */ | |
252 #undef HAVE_PNG_GNUZ | |
253 | |
254 /* Define HAVE_TIFF if you have the TIFF library and want XEmacs to use it. | |
255 This is for converting TIFF images. */ | |
256 #undef HAVE_TIFF | |
257 | |
258 /* Define HAVE_XMU if you have the Xmu library. This should always be | |
259 the case except on losing HPUX systems. */ | |
260 #define HAVE_XMU | |
261 | |
262 /* Define HAVE_DBM if you want to use the DBM libraries */ | 296 /* Define HAVE_DBM if you want to use the DBM libraries */ |
263 #undef HAVE_DBM | 297 #undef HAVE_DBM |
264 | 298 |
265 /* Define HAVE_GNU_DBM if you want to use the GNU DBM libraries; | |
266 if you define this, you should also define HAVE_DBM */ | |
267 #undef HAVE_GNU_DBM | |
268 | |
269 /* 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 */ |
270 #undef HAVE_BERKELEY_DB | 300 #undef HAVE_BERKELEY_DB |
271 | 301 /* Full #include file path for Berkeley DB's db.h */ |
272 /* Define HAVE_LIBGDBM if you have -lgdbm (separated from HAVE_DBM | 302 #undef DB_H_PATH |
273 stuff because FreeBSD has the DBM routines in libc) */ | |
274 #undef HAVE_LIBGDBM | |
275 | |
276 /* Define HAVE_LIBDBM if you have -ldbm */ | |
277 #undef HAVE_LIBDBM | |
278 | |
279 /* Define HAVE_LIBDB if you have -ldb */ | |
280 #undef HAVE_LIBDB | |
281 | 303 |
282 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) | 304 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) |
283 # define HAVE_DATABASE | 305 # define HAVE_DATABASE |
284 #endif | 306 #endif |
285 | 307 |
286 /* Define HAVE_XAUTH if the Xauth library is present. This will add | |
287 some extra functionality to gnuserv. */ | |
288 #undef HAVE_XAUTH | |
289 | |
290 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */ | |
291 #define HAVE_XLOCALE_H | |
292 | |
293 /* Define HAVE_NCURSES if -lncurses is present. */ | 308 /* Define HAVE_NCURSES if -lncurses is present. */ |
294 #undef HAVE_NCURSES | 309 #undef HAVE_NCURSES |
295 | 310 /* Full #include file paths for ncurses' curses.h and term.h. */ |
296 /* Define HAVE_NCURSES_CURSES_H if ncurses/curses.h is present. */ | 311 #undef CURSES_H_PATH |
297 #undef HAVE_NCURSES_CURSES_H | 312 #undef TERM_H_PATH |
298 | |
299 /* Define HAVE_NCURSES_TERM_H if ncurses/term.h is present. */ | |
300 #undef HAVE_NCURSES_TERM_H | |
301 | |
302 /* Define EPOCH to include extra functionality that was present in Epoch. | |
303 This code has received only limited testing. */ | |
304 #undef EPOCH | |
305 | 313 |
306 #define LOWTAGS | 314 #define LOWTAGS |
307 | 315 |
308 /* 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() |
309 If the assertion fails, assert_failed() will be called. This is | 317 If the assertion fails, assert_failed() will be called. This is |
317 on during the beta-test cycle. */ | 325 on during the beta-test cycle. */ |
318 | 326 |
319 /* 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 |
320 change is done, and do other extent-related checks. */ | 328 change is done, and do other extent-related checks. */ |
321 #define ERROR_CHECK_EXTENTS | 329 #define ERROR_CHECK_EXTENTS |
330 | |
322 /* Make sure that all X... macros are dereferencing the correct type, | 331 /* Make sure that all X... macros are dereferencing the correct type, |
323 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 |
324 correct type of structure. Highly recommended for all | 333 correct type of structure. Highly recommended for all |
325 development work. */ | 334 development work. */ |
326 #define ERROR_CHECK_TYPECHECK | 335 #define ERROR_CHECK_TYPECHECK |
355 #undef USE_LCC | 364 #undef USE_LCC |
356 | 365 |
357 /* 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 |
358 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 |
359 it to be able to override any changes in them. */ | 368 it to be able to override any changes in them. */ |
360 #undef PURESIZE | 369 #undef RAW_PURESIZE |
361 | 370 |
362 | 371 /* Define this if you want level 2 internationalization compliance |
363 /* Define this if you want to use the Common Desktop Environment | 372 (localized collation and formatting). Generally this should be |
364 */ | 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. */ | |
365 #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 | |
366 | 394 |
367 /* Define this if you want Mule support (multi-byte character support). | 395 /* Define this if you want Mule support (multi-byte character support). |
368 There may be some performance penalty, although it should be small | 396 There may be some performance penalty, although it should be small |
369 if you're working with ASCII files. */ | 397 if you're working with ASCII files. */ |
370 #define MULE | 398 /* #undef MULE */ |
371 | 399 |
400 #ifdef MULE | |
372 /* 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) |
373 If so, use raw Xlib or higher level Motif interface? */ | 402 If so, use raw Xlib or higher level Motif interface? */ |
374 #define HAVE_XIM | 403 #undef HAVE_XIM |
375 #define XIM_XLIB | 404 #undef XIM_XLIB |
376 #undef XIM_MOTIF | 405 #undef XIM_MOTIF |
377 | 406 |
378 /* Non-XIM input methods for use with Mule. */ | 407 /* Non-XIM input methods for use with Mule. */ |
379 #undef HAVE_CANNA | 408 #undef HAVE_CANNA |
380 #undef HAVE_WNN | 409 #undef HAVE_WNN |
381 #undef WNN6 | 410 #undef WNN6 |
411 | |
412 #endif | |
382 | 413 |
383 /* enable special GNU Make features in the Makefiles. */ | 414 /* enable special GNU Make features in the Makefiles. */ |
384 #undef USE_GNU_MAKE | 415 #undef USE_GNU_MAKE |
385 | 416 |
386 /* Undocumented debugging option: Don't automatically rebuild the DOC | 417 /* Undocumented debugging option: Don't automatically rebuild the DOC |
429 | 460 |
430 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | 461 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) |
431 #define SYSTEM_MALLOC | 462 #define SYSTEM_MALLOC |
432 #endif | 463 #endif |
433 | 464 |
434 /* The configuration name. This is used as the install directory name | |
435 for the lib-src programs. */ | |
436 #undef EMACS_CONFIGURATION | |
437 | |
438 /* 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 |
439 buffer space. */ | 466 buffer space. */ |
440 #undef REL_ALLOC | 467 #undef REL_ALLOC |
441 | |
442 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ | |
443 #undef LD_SWITCH_SITE | |
444 | |
445 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ | |
446 #undef C_SWITCH_SITE | |
447 | |
448 /* Define LD_SWITCH_X_SITE to contain any special flags your loader | |
449 may need to deal with X Windows. For instance, if you've defined | |
450 HAVE_X_WINDOWS above and your X libraries aren't in a place that | |
451 your loader can find on its own, you might want to add "-L/..." or | |
452 something similar. */ | |
453 #undef LD_SWITCH_X_SITE | |
454 | |
455 /* Define LD_SWITCH_X_SITE_AUX with an -R option | |
456 in case it's needed (for Solaris, for example). */ | |
457 #undef LD_SWITCH_X_SITE_AUX | |
458 | |
459 /* Define C_SWITCH_X_SITE to contain any special flags your compiler | |
460 may need to deal with X Windows. For instance, if you've defined | |
461 HAVE_X_WINDOWS above and your X include files aren't in a place | |
462 that your compiler can find on its own, you might want to add | |
463 "-I/..." or something similar. */ | |
464 #undef C_SWITCH_X_SITE | |
465 | 468 |
466 /* 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 |
467 did not already do so. */ | 470 did not already do so. */ |
468 #define RETSIGTYPE void | 471 #define RETSIGTYPE void |
469 | 472 |
471 #ifndef SIGTYPE | 474 #ifndef SIGTYPE |
472 #define SIGTYPE RETSIGTYPE | 475 #define SIGTYPE RETSIGTYPE |
473 #define SIGRETURN return | 476 #define SIGRETURN return |
474 #endif | 477 #endif |
475 | 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 | |
476 /* 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. |
477 Currently this is only Solaris. */ | 488 Currently this is only Solaris. */ |
478 #undef DYNODUMP | 489 #undef DYNODUMP |
479 | |
480 /* Define NEED_XILDOFF if the -xildoff flag must be passed to cc to | |
481 avoid invoking the incremental linker ild which is incompatible | |
482 with dynodump. This is needed for recent Sunsoft compilers. */ | |
483 #undef NEED_XILDOFF | |
484 | 490 |
485 /* Define ENERGIZE to compile with support for the Energize Programming System. | 491 /* Define ENERGIZE to compile with support for the Energize Programming System. |
486 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. |
487 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 |
488 Energize connection library (libconn.a) and associated header files. | 494 Energize connection library (libconn.a) and associated header files. |
515 #undef USAGE_TRACKING | 521 #undef USAGE_TRACKING |
516 | 522 |
517 /* Define TOOLTALK if your site supports the ToolTalk library. */ | 523 /* Define TOOLTALK if your site supports the ToolTalk library. */ |
518 #undef TOOLTALK | 524 #undef TOOLTALK |
519 | 525 |
526 #ifdef HAVE_X_WINDOWS | |
527 | |
520 #undef LWLIB_USES_MOTIF | 528 #undef LWLIB_USES_MOTIF |
521 #define LWLIB_MENUBARS_LUCID | 529 #define LWLIB_MENUBARS_LUCID |
522 #undef LWLIB_MENUBARS_MOTIF | 530 #undef LWLIB_MENUBARS_MOTIF |
523 #define LWLIB_SCROLLBARS_LUCID | 531 #define LWLIB_SCROLLBARS_LUCID |
524 #undef LWLIB_SCROLLBARS_MOTIF | 532 #undef LWLIB_SCROLLBARS_MOTIF |
530 #define HAVE_MENUBARS | 538 #define HAVE_MENUBARS |
531 #define HAVE_SCROLLBARS | 539 #define HAVE_SCROLLBARS |
532 #define HAVE_DIALOGS | 540 #define HAVE_DIALOGS |
533 #undef HAVE_TOOLBARS | 541 #undef HAVE_TOOLBARS |
534 | 542 |
543 #endif | |
535 | 544 |
536 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) | 545 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS) |
537 #define HAVE_POPUPS | 546 #define HAVE_POPUPS |
538 #endif | 547 #endif |
539 | 548 |
663 # define SETJMP(x) setjmp (x) | 672 # define SETJMP(x) setjmp (x) |
664 # define LONGJMP(x, y) longjmp (x, y) | 673 # define LONGJMP(x, y) longjmp (x, y) |
665 # define JMP_BUF jmp_buf | 674 # define JMP_BUF jmp_buf |
666 #endif | 675 #endif |
667 | 676 |
668 #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_ */ |