Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | ee648375d8d6 |
children | b9518feda344 |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
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 _CONFIG_H_ |
27 #define _CONFIG_H_ | 27 #define _CONFIG_H_ |
28 | 28 |
29 /* #### This has been removed in 20.3. */ | 29 /* #### This will be removed in 19.15. */ |
30 #define LOSING_BYTECODE | 30 #define LOSING_BYTECODE |
31 | 31 |
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 | |
32 | 35 |
33 /* These are all defined in the top-level Makefile by configure. | 36 /* These are all defined in the top-level Makefile by configure. |
34 They're here only for reference. */ | 37 They're here only for reference. */ |
35 | 38 |
36 /* Define LISP_FLOAT_TYPE if you want XEmacs to support floating-point | 39 /* Does XEmacs support floating-point numbers? */ |
37 numbers. */ | |
38 #undef LISP_FLOAT_TYPE | 40 #undef LISP_FLOAT_TYPE |
39 | 41 |
40 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ | 42 /* Do you want to use the *new* GNU memory allocator? */ |
41 #undef GNU_MALLOC | 43 #undef GNU_MALLOC |
42 | 44 |
43 /* Define USE_SYSTEM_MALLOC if you forcing the use of it. */ | 45 /* Do you want to use the system malloc? */ |
44 #undef USE_SYSTEM_MALLOC | 46 #undef USE_SYSTEM_MALLOC |
45 | 47 |
46 /* Define HAVE_TTY if you want TTY support compiled in. */ | 48 /* Do you want TTY support compiled in? */ |
47 #undef HAVE_TTY | 49 #undef HAVE_TTY |
48 | 50 |
49 /* Define HAVE_X_WINDOWS if you want to use the X window system. */ | 51 /* Do you have the X window system and want to use it? */ |
50 #undef HAVE_X_WINDOWS | 52 #undef HAVE_X_WINDOWS |
51 | 53 |
52 /* Define HAVE_NEXTSTEP if you want to use the NeXTstep window system. */ | 54 /* Do you have the the NeXTstep window system? */ |
53 #undef HAVE_NEXTSTEP | 55 #undef HAVE_NEXTSTEP |
54 | 56 |
55 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ | 57 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */ |
56 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) | 58 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) |
57 #define HAVE_WINDOW_SYSTEM | 59 #define HAVE_WINDOW_SYSTEM |
58 #endif | 60 #endif |
59 | 61 |
60 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ | 62 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */ |
61 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) | 63 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) |
62 #define HAVE_UNIXOID_EVENT_LOOP | 64 #define HAVE_UNIXOID_EVENT_LOOP |
63 #endif | 65 #endif |
64 | 66 |
65 /* Define this if you're using XFree386. */ | 67 /* Are we using XFree386? */ |
66 #undef HAVE_XFREE386 | 68 #undef HAVE_XFREE386 |
67 | 69 |
68 #undef THIS_IS_X11R4 | 70 #undef THIS_IS_X11R4 |
69 #undef THIS_IS_X11R5 | 71 #undef THIS_IS_X11R5 |
70 #undef THIS_IS_X11R6 | 72 #undef THIS_IS_X11R6 |
71 | 73 |
72 /* Define USER_FULL_NAME to return a string | 74 /* USER_FULL_NAME returns a string that is the user's full name. |
73 that is the user's full name. | 75 It can assume that the variable `pw' points to the password file |
74 It can assume that the variable `pw' | 76 entry for this user. |
75 points to the password file entry for this user. | 77 |
76 | 78 At some sites, the pw_gecos field contains the user's full name. |
77 At some sites, the pw_gecos field contains | 79 If neither this nor any other field contains the right thing, use |
78 the user's full name. If neither this nor any other | 80 pw_name, giving the user's login name, since that is better than |
79 field contains the right thing, use pw_name, | 81 nothing. */ |
80 giving the user's login name, since that is better than nothing. */ | |
81 #define USER_FULL_NAME pw->pw_gecos | 82 #define USER_FULL_NAME pw->pw_gecos |
82 | 83 |
83 /* Define AMPERSAND_FULL_NAME if you use the convention | 84 /* Define AMPERSAND_FULL_NAME if you use the convention |
84 that & in the full name stands for the login id. */ | 85 that & in the full name stands for the login id. */ |
85 #undef AMPERSAND_FULL_NAME | 86 #undef AMPERSAND_FULL_NAME |
86 | 87 |
87 /* Some things figured out by the configure script, grouped as they are in | 88 /* Some things figured out by the configure script, grouped as they are in |
88 configure.in. */ | 89 configure.in. */ |
89 #undef HAVE_MACH_MACH_H | 90 #undef HAVE_MACH_MACH_H |
90 #undef HAVE_SYS_STROPTS_H | 91 #undef HAVE_SYS_STROPTS_H |
91 #undef HAVE_SYS_TIMEB_H | 92 #undef HAVE_SYS_TIMEB_H |
92 #undef HAVE_SYS_TIME_H | 93 #undef HAVE_SYS_TIME_H |
93 #undef HAVE_UNISTD_H | 94 #undef HAVE_UNISTD_H |
94 #undef HAVE_UTIME_H | 95 #undef HAVE_UTIME_H |
95 #undef HAVE_SYS_WAIT_H | 96 #undef HAVE_SYS_WAIT_H |
97 #undef HAVE_LIBINTL_H | |
96 #undef HAVE_LIBGEN_H | 98 #undef HAVE_LIBGEN_H |
97 #undef HAVE_LOCALE_H | 99 #undef HAVE_LOCALE_H |
98 #undef HAVE_X11_LOCALE_H | 100 #undef HAVE_X11_XLOCALE_H |
99 #undef HAVE_LINUX_VERSION_H | 101 #undef HAVE_LINUX_VERSION_H |
100 #undef STDC_HEADERS | 102 #undef STDC_HEADERS |
101 #undef TIME_WITH_SYS_TIME | 103 #undef TIME_WITH_SYS_TIME |
102 #undef WORDS_BIGENDIAN | 104 #undef WORDS_BIGENDIAN |
105 #undef HAVE_ALLOCA_H | |
106 #undef HAVE_VFORK_H | |
107 #undef HAVE_KSTAT_H | |
108 #undef HAVE_SYS_PSTAT_H | |
109 #undef vfork | |
103 | 110 |
104 #undef HAVE_LONG_FILE_NAMES | 111 #undef HAVE_LONG_FILE_NAMES |
105 | 112 |
106 #ifdef HAVE_LONG_FILE_NAMES | 113 #ifdef HAVE_LONG_FILE_NAMES |
107 #define CLASH_DETECTION | 114 #define CLASH_DETECTION |
108 #endif | 115 #endif |
109 | 116 |
117 #undef HAVE_LIBKSTAT | |
110 #undef HAVE_LIBDNET | 118 #undef HAVE_LIBDNET |
111 #undef HAVE_LIBRESOLV | 119 #undef HAVE_LIBRESOLV |
112 | 120 |
113 /* Define if `sys_siglist' is declared by <signal.h>. */ | 121 /* Is `sys_siglist' declared by <signal.h>? */ |
114 #undef SYS_SIGLIST_DECLARED | 122 #undef SYS_SIGLIST_DECLARED |
115 | 123 |
116 /* Define if `struct utimbuf' is declared by <utime.h>. */ | 124 /* Is `struct utimbuf' declared by <utime.h>? */ |
117 #undef HAVE_STRUCT_UTIMBUF | 125 #undef HAVE_STRUCT_UTIMBUF |
118 | 126 |
119 /* Define if `struct timeval' is declared by <sys/time.h>. */ | 127 /* Is `struct timeval' declared by <sys/time.h>? */ |
120 #undef HAVE_TIMEVAL | 128 #undef HAVE_TIMEVAL |
121 | 129 |
122 | 130 |
123 #undef TM_IN_SYS_TIME | 131 #undef TM_IN_SYS_TIME |
124 #undef HAVE_TM_ZONE | 132 #undef HAVE_TM_ZONE |
125 #undef HAVE_TZNAME | 133 #undef HAVE_TZNAME |
126 | 134 |
127 /* Define if netdb.h declares h_errno. */ | 135 /* Is `h_errno' declared by <netdb.h>? */ |
128 #undef HAVE_H_ERRNO | 136 #undef HAVE_H_ERRNO |
129 | 137 |
130 /* Define if localtime caches TZ */ | 138 /* Does `localtime' cache TZ? */ |
131 #undef LOCALTIME_CACHE | 139 #undef LOCALTIME_CACHE |
132 | 140 |
133 /* Define if gettimeofday can't accept two arguments */ | 141 /* Can `gettimeofday' accept two arguments? */ |
134 #undef GETTIMEOFDAY_ONE_ARGUMENT | 142 #undef GETTIMEOFDAY_ONE_ARGUMENT |
135 | 143 |
136 /* Define in keyword `inline' exists. */ | 144 /* Does the keyword `inline' exist? */ |
137 #undef HAVE_INLINE | 145 #undef HAVE_INLINE |
138 | |
139 #undef HAVE_ALLOCA_H | |
140 #undef HAVE_VFORK_H | |
141 #undef vfork | |
142 | 146 |
143 #undef HAVE_MMAP | 147 #undef HAVE_MMAP |
144 #undef HAVE_STRCOLL | 148 #undef HAVE_STRCOLL |
145 | 149 |
146 #undef SIZEOF_SHORT | 150 #undef SIZEOF_SHORT |
207 #undef NLIST_STRUCT | 211 #undef NLIST_STRUCT |
208 | 212 |
209 #undef UNEXEC_SRC | 213 #undef UNEXEC_SRC |
210 #undef AIX_SMT_EXP | 214 #undef AIX_SMT_EXP |
211 | 215 |
212 /* Define HAVE_SOCKS if you have the `socks' library and want XEmacs to | 216 /* Do you have the `socks' library and want XEmacs to use it? */ |
213 use it. */ | |
214 #undef HAVE_SOCKS | 217 #undef HAVE_SOCKS |
215 | 218 |
216 /* Define HAVE_TERM if you run the `term' program (e.g. under Linux) and | 219 /* Do you run the `term' program (e.g. under Linux) and want XEmacs to |
217 want XEmacs to use it. */ | 220 use it? */ |
218 #undef HAVE_TERM | 221 #undef HAVE_TERM |
219 | 222 |
220 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */ | 223 /* Do you have the `xpm' library and want XEmacs to use it? */ |
221 #undef HAVE_XPM | 224 #undef HAVE_XPM |
222 | 225 |
223 /* Define HAVE_XFACE if you have the `compface' library and want to use it. | 226 /* Do you have the `compface' library and want XEmacs to use it? |
224 This will permit X-face pixmaps in mail and news messages to display | 227 This will permit X-face pixmaps in mail and news messages to display |
225 quickly. */ | 228 quickly. */ |
226 #undef HAVE_XFACE | 229 #undef HAVE_XFACE |
227 | 230 |
228 /* Define HAVE_GIF if you want XEmacs to support converting GIF | 231 /* Do you want XEmacs to have native support for converting |
229 (Graphics Interchange Format) images. */ | 232 GIF (Graphics Interchange Format) images? */ |
230 #undef HAVE_GIF | 233 #undef HAVE_GIF |
231 | 234 |
232 /* Define HAVE_JPEG if you have the JPEG library and want XEmacs to use it. | 235 /* Do you have the JPEG library and want XEmacs to use it? |
233 This is for converting JPEG images. */ | 236 This is for converting JPEG images. */ |
234 #undef HAVE_JPEG | 237 #undef HAVE_JPEG |
235 | 238 |
236 /* Define HAVE_PNG if you have the PNG library and want XEmacs to use it. | 239 /* Do you have the PNG library and want XEmacs to use it? |
237 This is for converting PNG images. */ | 240 This is for converting PNG images. */ |
238 #undef HAVE_PNG | 241 #undef HAVE_PNG |
239 | 242 |
240 /* Define HAVE_PNG_GNUZ if you want to use -lgz instead of -lz for PNG. */ | 243 /* Do you want to use -lgz instead of -lz for PNG. */ |
241 #undef HAVE_PNG_GNUZ | 244 #undef HAVE_PNG_GNUZ |
242 | 245 |
243 /* Define HAVE_TIFF if you have the TIFF library and want XEmacs to use it. | 246 /* Do you have the TIFF library and want XEmacs to use it? |
244 This is for converting TIFF images. */ | 247 This is for converting TIFF images. */ |
245 #undef HAVE_TIFF | 248 #undef HAVE_TIFF |
246 | 249 |
247 /* Define HAVE_XMU if you have the Xmu library. This should always be | 250 /* Do you have the Xmu library? |
248 the case except on losing HPUX systems. */ | 251 This should always be the case except on losing HP-UX systems. */ |
249 #undef HAVE_XMU | 252 #undef HAVE_XMU |
250 | 253 |
251 /* Define HAVE_DBM if you want to use the DBM libraries */ | 254 /* Do you have the DBM libraries and want XEmacs to use them? */ |
252 #undef HAVE_DBM | 255 #undef HAVE_DBM |
253 | 256 |
254 /* Define HAVE_GNU_DBM if you want to use the GNU DBM libraries; | 257 /* Do you have the GNU DBM libraries and want XEmacs to use them? |
255 if you define this, you should also define HAVE_DBM */ | 258 HAVE_GNU_DBM requires that HAVE_DBM be defined as well. */ |
256 #undef HAVE_GNU_DBM | 259 #undef HAVE_GNU_DBM |
257 | 260 |
258 /* Define HAVE_BERKELEY_DB if you want to use the BerkDB libraries */ | 261 /* Do you have the BerkDB libraries and want XEmacs to use them? */ |
259 #undef HAVE_BERKELEY_DB | 262 #undef HAVE_BERKELEY_DB |
260 | 263 |
261 /* Define HAVE_LIBGDBM if you have -lgdbm (separated from HAVE_DBM | 264 /* Do you have the -lgdbm library? (separated from HAVE_GNU_DBM stuff |
262 stuff because FreeBSD has the DBM routines in libc) */ | 265 because FreeBSD has the DBM routines in libc) */ |
263 #undef HAVE_LIBGDBM | 266 #undef HAVE_LIBGDBM |
264 | 267 |
265 /* Define HAVE_LIBDBM if you have -ldbm */ | 268 /* Do you have the -ldbm library? */ |
266 #undef HAVE_LIBDBM | 269 #undef HAVE_LIBDBM |
267 | 270 |
268 /* Define HAVE_LIBDB if you have -ldb */ | 271 /* Do you have the -ldb library? */ |
269 #undef HAVE_LIBDB | 272 #undef HAVE_LIBDB |
270 | 273 |
271 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) | 274 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB) |
272 # define HAVE_DATABASE | 275 # define HAVE_DATABASE |
273 #endif | 276 #endif |
274 | 277 |
275 /* Define HAVE_XAUTH if the Xauth library is present. This will add | 278 /* Do you have the Xauth library present? This will add some extra |
276 some extra functionality to gnuserv. */ | 279 functionality to gnuserv. */ |
277 #undef HAVE_XAUTH | 280 #undef HAVE_XAUTH |
278 | 281 |
279 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */ | 282 /* Do you have the library -lncurses ? */ |
280 #undef HAVE_XLOCALE_H | |
281 | |
282 /* Define HAVE_NCURSES if -lncurses is present. */ | |
283 #undef HAVE_NCURSES | 283 #undef HAVE_NCURSES |
284 | 284 |
285 /* Define HAVE_NCURSES_CURSES_H if ncurses/curses.h is present. */ | 285 /* Do you have ncurses or curses.h ? */ |
286 #undef HAVE_NCURSES_CURSES_H | 286 #undef HAVE_NCURSES_CURSES_H |
287 | 287 |
288 /* Define HAVE_NCURSES_TERM_H if ncurses/term.h is present. */ | 288 /* Define HAVE_NCURSES_TERM_H if ncurses/term.h is present. */ |
289 #undef HAVE_NCURSES_TERM_H | 289 #undef HAVE_NCURSES_TERM_H |
290 | 290 |
291 /* Define EPOCH to include extra functionality that was present in Epoch. | 291 /* Do you want to include extra functionality that was present in Epoch? |
292 This code has received only limited testing. */ | 292 This code has received only limited testing. */ |
293 #undef EPOCH | 293 #undef EPOCH |
294 | 294 |
295 #define LOWTAGS | 295 #define LOWTAGS |
296 | 296 |
297 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert() | 297 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). |
298 If the assertion fails, assert_failed() will be called. This is | 298 If the assertion fails, assert_failed() will be called. This is |
299 recommended for general use because it gives more info about the crash | 299 recommended for general use because it gives more info about the crash |
300 than just the abort() message. Too many people "Can't find the corefile" | 300 than just the abort() message. Too many people "Can't find the corefile" |
301 or have limited core dumps out of existence. */ | 301 or have limit-ed core dumps out of existence. */ |
302 #undef USE_ASSERTIONS | 302 #undef USE_ASSERTIONS |
303 | 303 |
304 /* Define one or more of the following if you want lots of extra checks | 304 /* Define one or more of the following if you want lots of extra checks |
305 (e.g. structure validation) compiled in. These should be turned | 305 (e.g. structure validation) compiled in. These should be turned |
306 on during the beta-test cycle. */ | 306 on during the beta-test cycle. */ |
344 #undef USE_LCC | 344 #undef USE_LCC |
345 | 345 |
346 /* Allow the user to override the default value of PURESIZE at configure | 346 /* Allow the user to override the default value of PURESIZE at configure |
347 time. This must come before we include the sys files in order for | 347 time. This must come before we include the sys files in order for |
348 it to be able to override any changes in them. */ | 348 it to be able to override any changes in them. */ |
349 #undef RAW_PURESIZE | 349 #undef PURESIZE |
350 | 350 |
351 | 351 /* Define this if you want level 2 internationalization compliance |
352 /* Define this if you want to use the Common Desktop Environment | 352 (localized collation and formatting). Generally this should be |
353 */ | 353 defined, unless your system doesn't have the strcoll() and |
354 setlocale() library routines. This really should be defined in | |
355 the appropriate s/ or m/ file. */ | |
356 #undef I18N2 | |
357 | |
358 /* Define this if you want level 3 internationalization compliance | |
359 (localized messaging). This will cause a small runtime performance | |
360 penalty, as the strings are read from the message catalog(s). | |
361 For this you need the gettext() and dgetext() library routines. | |
362 WARNING, this code is under construction. */ | |
363 #undef I18N3 | |
364 | |
365 /* Define this if you want to use the Common Desktop Environment. */ | |
354 #undef HAVE_CDE | 366 #undef HAVE_CDE |
355 | 367 |
356 /* Define this if you want to use the OffiX Drag and Drop | 368 /* Define this if you want to use the OffiX Drag and Drop. */ |
357 */ | |
358 #undef HAVE_OFFIX_DND | 369 #undef HAVE_OFFIX_DND |
370 | |
371 /* Define this if you want Mule support (multi-byte character support). | |
372 There may be some performance penalty, although it should be small | |
373 if you're working with ASCII files. */ | |
374 #undef MULE | |
375 | |
376 /* Do we want to use X window input methods for use with Mule? (requires X11R5) | |
377 If so, use raw Xlib or higher level Motif interface? */ | |
378 #undef HAVE_XIM | |
379 #undef XIM_XLIB | |
380 #undef XIM_MOTIF | |
381 | |
382 /* Non-XIM input methods for use with Mule. */ | |
383 #undef HAVE_CANNA | |
384 #undef HAVE_WNN | |
359 | 385 |
360 /* Mocklisp Support. */ | 386 /* Mocklisp Support. */ |
361 #undef MOCKLISP_SUPPORT | 387 #undef MOCKLISP_SUPPORT |
362 | 388 |
363 /* enable special GNU Make features in the Makefiles. */ | 389 /* enable special GNU Make features in the Makefiles. */ |
364 #undef USE_GNU_MAKE | 390 #undef USE_GNU_MAKE |
365 | 391 |
366 /* Undocumented debugging option: Don't automatically rebuild the DOC | 392 /* Debugging option: Don't automatically rebuild the DOC file. |
367 file. This saves a lot of time when you're repeatedly | 393 This saves a lot of time when you're repeatedly |
368 compiling-running-crashing. */ | 394 compiling-running-crashing. */ |
369 #undef NO_DOC_FILE | 395 #undef NO_DOC_FILE |
370 | 396 |
371 /* To eliminate use of `const' in the XEmacs sources, | 397 /* To eliminate use of `const' in the XEmacs sources, |
372 do `#define CONST_IS_LOSING' */ | 398 do `#define CONST_IS_LOSING' */ |
373 #undef CONST_IS_LOSING | 399 #undef CONST_IS_LOSING |
374 | 400 |
375 # undef CONST | 401 # undef CONST |
376 # ifdef CONST_IS_LOSING | 402 # ifdef CONST_IS_LOSING |
377 # define CONST | 403 # define CONST |
381 | 407 |
382 /* If not defined, use unions instead of ints. A few systems (DEC Alpha) | 408 /* If not defined, use unions instead of ints. A few systems (DEC Alpha) |
383 seem to require this, probably because something with the int | 409 seem to require this, probably because something with the int |
384 definitions isn't right with 64-bit systems. | 410 definitions isn't right with 64-bit systems. |
385 | 411 |
386 (It's NO_UNION_TYPE instead of USE_UNION_TYPE for historical reasons.) | 412 (It's NO_UNION_TYPE instead of USE_UNION_TYPE for historical reasons.) */ |
387 */ | |
388 #undef NO_UNION_TYPE | 413 #undef NO_UNION_TYPE |
389 | 414 |
390 /* The configuration script defines opsysfile to be the name of the | 415 /* The configuration script defines opsysfile to be the name of the |
391 s/...h file that describes the system type you are using. The file | 416 s/...h file that describes the system type you are using. |
392 is chosen based on the configuration name you give. | 417 The file is chosen based on the configuration name you give. |
393 | 418 |
394 See the file ../etc/MACHINES for a list of systems and the | 419 See the file ../etc/MACHINES for a list of systems and the |
395 configuration names to use for them. | 420 configuration names to use for them. |
396 | 421 |
397 See s/template.h for documentation on writing s/...h files. */ | 422 See s/template.h for documentation on writing s/...h files. */ |
398 #undef config_opsysfile | 423 #undef config_opsysfile |
399 #include config_opsysfile | 424 #include config_opsysfile |
400 | 425 |
401 /* The configuration script defines machfile to be the name of the | 426 /* The configuration script defines machfile to be the name of the |
402 m/...h file that describes the machine you are using. The file is | 427 m/...h file that describes the machine you are using. The file is |
403 chosen based on the configuration name you give. | 428 chosen based on the configuration name you give. |
404 | 429 |
405 See the file ../etc/MACHINES for a list of machines and the | 430 See the file ../etc/MACHINES for a list of machines and the |
406 configuration names to use for them. | 431 configuration names to use for them. |
407 | 432 |
408 See m/template.h for documentation on writing m/...h files. */ | 433 See m/template.h for documentation on writing m/...h files. */ |
409 #undef config_machfile | 434 #undef config_machfile |
410 #include config_machfile | 435 #include config_machfile |
411 | 436 |
412 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | 437 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) |
413 #define SYSTEM_MALLOC | 438 #define SYSTEM_MALLOC |
426 | 451 |
427 /* The configuration name. This is used as the install directory name | 452 /* The configuration name. This is used as the install directory name |
428 for the lib-src programs. */ | 453 for the lib-src programs. */ |
429 #undef EMACS_CONFIGURATION | 454 #undef EMACS_CONFIGURATION |
430 | 455 |
456 /* The version string from version.el. Used in #pragma ident in emacs.c */ | |
457 #undef EMACS_VERSION | |
458 | |
431 /* Load in the conversion definitions if this system | 459 /* Load in the conversion definitions if this system |
432 needs them and the source file being compiled has not | 460 needs them and the source file being compiled has not |
433 said to inhibit this. There should be no need for you | 461 said to inhibit this. There should be no need for you |
434 to alter these lines. */ | 462 to alter these lines. */ |
435 | 463 |
436 #ifdef SHORTNAMES | 464 #ifdef SHORTNAMES |
437 #ifndef NO_SHORTNAMES | 465 #ifndef NO_SHORTNAMES |
438 #include "../shortnames/remap.h" | 466 #include "../shortnames/remap.h" |
439 #endif /* not NO_SHORTNAMES */ | 467 #endif /* not NO_SHORTNAMES */ |
441 | 469 |
442 /* Define REL_ALLOC if you want to use the relocating allocator for | 470 /* Define REL_ALLOC if you want to use the relocating allocator for |
443 buffer space. */ | 471 buffer space. */ |
444 #undef REL_ALLOC | 472 #undef REL_ALLOC |
445 | 473 |
446 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ | 474 /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ |
447 #undef LD_SWITCH_SITE | 475 #undef LD_SWITCH_SITE |
448 | 476 |
449 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ | 477 /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ |
450 #undef C_SWITCH_SITE | 478 #undef C_SWITCH_SITE |
451 | 479 |
452 /* Define LD_SWITCH_X_SITE to contain any special flags your loader | 480 /* Define LD_SWITCH_X_SITE to contain any special flags your loader |
453 may need to deal with X Windows. For instance, if you've defined | 481 may need to deal with X Windows. For instance, if you've defined |
454 HAVE_X_WINDOWS above and your X libraries aren't in a place that | 482 HAVE_X_WINDOWS above and your X libraries aren't in a place that |
455 your loader can find on its own, you might want to add "-L/..." or | 483 your loader can find on its own, you might want to add "-L/..." or |
456 something similar. */ | 484 something similar. */ |
457 #undef LD_SWITCH_X_SITE | 485 #undef LD_SWITCH_X_SITE |
458 | 486 |
459 /* Define LD_SWITCH_X_SITE_AUX with an -R option | 487 /* Define LD_SWITCH_X_SITE_AUX with an -R option |
460 in case it's needed (for Solaris, for example). */ | 488 in case it's needed (for Solaris, for example). */ |
461 #undef LD_SWITCH_X_SITE_AUX | 489 #undef LD_SWITCH_X_SITE_AUX |
462 | 490 |
463 /* Define C_SWITCH_X_SITE to contain any special flags your compiler | 491 /* Define C_SWITCH_X_SITE to contain any special flags your compiler |
464 may need to deal with X Windows. For instance, if you've defined | 492 may need to deal with X Windows. For instance, if you've defined |
465 HAVE_X_WINDOWS above and your X include files aren't in a place | 493 HAVE_X_WINDOWS above and your X include files aren't in a place |
466 that your compiler can find on its own, you might want to add | 494 that your compiler can find on its own, you might want to add |
467 "-I/..." or something similar. */ | 495 "-I/..." or something similar. */ |
468 #undef C_SWITCH_X_SITE | 496 #undef C_SWITCH_X_SITE |
469 | 497 |
470 /* Define the return type of signal handlers if the s-xxx file | 498 /* Define the return type of signal handlers if the s-xxx file |
471 did not already do so. */ | 499 did not already do so. */ |
472 #define RETSIGTYPE void | 500 #define RETSIGTYPE void |
473 | 501 |
474 /* SIGTYPE is the macro we actually use. */ | 502 /* SIGTYPE is the macro we actually use. */ |
475 #ifndef SIGTYPE | 503 #ifndef SIGTYPE |
476 #define SIGTYPE RETSIGTYPE | 504 #define SIGTYPE RETSIGTYPE |
477 #define SIGRETURN return | 505 #define SIGRETURN return |
478 #endif | 506 #endif |
479 | 507 |
487 #undef NEED_XILDOFF | 515 #undef NEED_XILDOFF |
488 | 516 |
489 /* Define ENERGIZE to compile with support for the Energize Programming System. | 517 /* Define ENERGIZE to compile with support for the Energize Programming System. |
490 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well. | 518 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well. |
491 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the | 519 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the |
492 Energize connection library (libconn.a) and associated header files. | 520 Energize connection library (libconn.a) and associated header files. */ |
493 */ | |
494 #undef ENERGIZE | 521 #undef ENERGIZE |
495 #undef ENERGIZE_2 | 522 #undef ENERGIZE_2 |
496 #undef ENERGIZE_3 | 523 #undef ENERGIZE_3 |
497 | 524 |
498 /* Define SUNPRO to compiled in support for Sun Sparcworks. */ | 525 /* Define SUNPRO to compiled in support for Sun Sparcworks. */ |
501 /* Sun SparcStations, SGI machines, and HP9000s700s have support for playing | 528 /* Sun SparcStations, SGI machines, and HP9000s700s have support for playing |
502 different sound files as beeps. If you are on a SparcStation but do not | 529 different sound files as beeps. If you are on a SparcStation but do not |
503 have the sound option installed for some reason, then undefine | 530 have the sound option installed for some reason, then undefine |
504 HAVE_NATIVE_SOUND. (It's usually found in /usr/demo/SOUND/ on SunOS 4 | 531 HAVE_NATIVE_SOUND. (It's usually found in /usr/demo/SOUND/ on SunOS 4 |
505 and Solaris systems; on Solaris, you may need to install the "SUNWaudmo" | 532 and Solaris systems; on Solaris, you may need to install the "SUNWaudmo" |
506 package.) | 533 package.) */ |
507 */ | |
508 #undef HAVE_NATIVE_SOUND | 534 #undef HAVE_NATIVE_SOUND |
509 | 535 |
510 /* If you wish to compile with support for the Network Audio System | 536 /* If you wish to compile with support for the Network Audio System |
511 system define HAVE_NAS_SOUND. | 537 system define HAVE_NAS_SOUND. |
512 NAS_NO_ERROR_JUMP means that the NAS libraries don't inlcude some | 538 NAS_NO_ERROR_JUMP means that the NAS libraries don't inlcude some |
513 error handling changes. | 539 error handling changes. */ |
514 */ | |
515 #undef HAVE_NAS_SOUND | 540 #undef HAVE_NAS_SOUND |
516 #undef NAS_NO_ERROR_JUMP | 541 #undef NAS_NO_ERROR_JUMP |
517 | 542 |
518 /* Compile in support for SunPro usage-tracking code. */ | 543 /* Compile in support for SunPro usage-tracking code. */ |
519 #undef USAGE_TRACKING | 544 #undef USAGE_TRACKING |
520 | 545 |
521 /* Define TOOLTALK if your site supports the ToolTalk library. */ | 546 /* Define TOOLTALK if your site supports the ToolTalk library. */ |
522 #undef TOOLTALK | 547 #undef TOOLTALK |
523 | 548 |
524 #undef LWLIB_USES_MOTIF | 549 #undef LWLIB_USES_MOTIF |
525 #undef LWLIB_USES_ATHENA | |
526 #undef LWLIB_MENUBARS_LUCID | 550 #undef LWLIB_MENUBARS_LUCID |
527 #undef LWLIB_MENUBARS_MOTIF | 551 #undef LWLIB_MENUBARS_MOTIF |
528 #undef LWLIB_SCROLLBARS_LUCID | 552 #undef LWLIB_SCROLLBARS_LUCID |
529 #undef LWLIB_SCROLLBARS_MOTIF | 553 #undef LWLIB_SCROLLBARS_MOTIF |
530 #undef LWLIB_SCROLLBARS_ATHENA | 554 #undef LWLIB_SCROLLBARS_ATHENA |
552 | 576 |
553 This appears to be fixed in SunOS 4.1.2. | 577 This appears to be fixed in SunOS 4.1.2. |
554 | 578 |
555 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that | 579 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that |
556 sometimes reference memory past the end of the string, which can segv. | 580 sometimes reference memory past the end of the string, which can segv. |
557 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. | 581 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */ |
558 */ | |
559 #if defined (sparc) && !defined (USG) | 582 #if defined (sparc) && !defined (USG) |
560 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o | 583 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o |
561 #endif | 584 #endif |
562 | 585 |
563 /* If you turn this flag on, it forces encapsulation in all | 586 /* If you turn this flag on, it forces encapsulation in all |
569 | 592 |
570 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) | 593 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) |
571 # define ENCAPSULATE_READ | 594 # define ENCAPSULATE_READ |
572 # define ENCAPSULATE_WRITE | 595 # define ENCAPSULATE_WRITE |
573 #endif | 596 #endif |
574 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION) | 597 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION) |
575 # define ENCAPSULATE_OPEN | 598 # define ENCAPSULATE_OPEN |
576 #endif | 599 #endif |
577 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) | 600 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) |
578 # define ENCAPSULATE_CLOSE | 601 # define ENCAPSULATE_CLOSE |
579 #endif | 602 #endif |
582 | 605 |
583 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) | 606 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) |
584 # define ENCAPSULATE_FREAD | 607 # define ENCAPSULATE_FREAD |
585 # define ENCAPSULATE_FWRITE | 608 # define ENCAPSULATE_FWRITE |
586 #endif | 609 #endif |
587 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION) | 610 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION) |
588 # define ENCAPSULATE_FOPEN | 611 # define ENCAPSULATE_FOPEN |
589 #endif | 612 #endif |
590 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) | 613 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) |
591 # define ENCAPSULATE_FCLOSE | 614 # define ENCAPSULATE_FCLOSE |
592 #endif | 615 #endif |
593 | 616 |
594 /* directory calls */ | 617 /* directory calls */ |
595 | 618 |
596 #if defined (DEBUG_ENCAPSULATION) | 619 #if defined (MULE) || defined (DEBUG_ENCAPSULATION) |
597 # define ENCAPSULATE_CHDIR | 620 # define ENCAPSULATE_CHDIR |
598 # define ENCAPSULATE_MKDIR | 621 # define ENCAPSULATE_MKDIR |
599 # define ENCAPSULATE_OPENDIR | 622 # define ENCAPSULATE_OPENDIR |
600 # define ENCAPSULATE_READDIR | 623 # define ENCAPSULATE_READDIR |
601 # define ENCAPSULATE_RMDIR | 624 # define ENCAPSULATE_RMDIR |
602 #endif | |
603 | 625 |
604 /* file-information calls */ | 626 /* file-information calls */ |
605 | 627 |
606 #if defined (DEBUG_ENCAPSULATION) | |
607 #ifdef HAVE_EACCESS | 628 #ifdef HAVE_EACCESS |
608 # define ENCAPSULATE_EACCESS | 629 # define ENCAPSULATE_EACCESS |
609 #endif | 630 #endif |
610 # define ENCAPSULATE_ACCESS | 631 # define ENCAPSULATE_ACCESS |
611 # define ENCAPSULATE_LSTAT | 632 # define ENCAPSULATE_LSTAT |
612 # define ENCAPSULATE_READLINK | 633 # define ENCAPSULATE_READLINK |
613 # define ENCAPSULATE_STAT | 634 # define ENCAPSULATE_STAT |
614 #endif | |
615 | 635 |
616 /* file-manipulation calls */ | 636 /* file-manipulation calls */ |
617 | 637 |
618 #if defined (DEBUG_ENCAPSULATION) | |
619 # define ENCAPSULATE_CHMOD | 638 # define ENCAPSULATE_CHMOD |
620 # define ENCAPSULATE_CREAT | 639 # define ENCAPSULATE_CREAT |
621 # define ENCAPSULATE_LINK | 640 # define ENCAPSULATE_LINK |
622 # define ENCAPSULATE_RENAME | 641 # define ENCAPSULATE_RENAME |
623 # define ENCAPSULATE_SYMLINK | 642 # define ENCAPSULATE_SYMLINK |
624 # define ENCAPSULATE_UNLINK | 643 # define ENCAPSULATE_UNLINK |
625 #endif | 644 # define ENCAPSULATE_EXECVP |
645 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */ | |
646 | |
647 #ifdef HAVE_CANNA | |
648 # define CANNA2 | |
649 # define CANNA_MULE | |
650 # define CANNA_PURESIZE 0 | |
651 #else /* not CANNA */ | |
652 # define CANNA_PURESIZE 0 | |
653 #endif /* not CANNA */ | |
626 | 654 |
627 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) | 655 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) |
628 #define HAVE_FEP | 656 #define HAVE_FEP |
629 #endif | 657 #endif |
630 | 658 |