Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | 576fb035e263 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
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 _SRC_CONFIG_H_ | 26 #ifndef _SRC_CONFIG_H_ |
27 #define _SRC_CONFIG_H_ | 27 #define _SRC_CONFIG_H_ |
28 | |
28 | 29 |
29 /* alloca twiddling belongs in one place, not the s&m headers | 30 /* alloca twiddling belongs in one place, not the s&m headers |
30 AIX requires this to be the first thing in the file. */ | 31 AIX requires this to be the first thing in the file. */ |
31 #undef HAVE_ALLOCA_H | 32 #undef HAVE_ALLOCA_H |
32 | 33 |
36 #elif HAVE_ALLOCA_H | 37 #elif HAVE_ALLOCA_H |
37 #include <alloca.h> | 38 #include <alloca.h> |
38 #elif defined(_AIX) | 39 #elif defined(_AIX) |
39 #pragma alloca | 40 #pragma alloca |
40 #elif ! defined (alloca) | 41 #elif ! defined (alloca) |
41 char *alloca(); | 42 char *alloca (); |
42 #endif | 43 #endif |
43 #endif /* C code */ | 44 #endif /* C code */ |
44 | |
45 | 45 |
46 /* 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 |
47 files so as to make it obvious where XEmacs changes are. */ | 47 files so as to make it obvious where XEmacs changes are. */ |
48 #define XEMACS 1 | 48 #define XEMACS 1 |
49 | |
50 /* Program name */ | |
51 #undef EMACS_PROGNAME | |
49 | 52 |
50 /* Allow s&m files to differentiate OS versions without having | 53 /* Allow s&m files to differentiate OS versions without having |
51 multiple files to maintain. */ | 54 multiple files to maintain. */ |
52 #undef OS_RELEASE | 55 #undef OS_RELEASE |
53 | 56 |
68 /* InfoDock versions, not used with XEmacs */ | 71 /* InfoDock versions, not used with XEmacs */ |
69 #undef INFODOCK_MAJOR_VERSION | 72 #undef INFODOCK_MAJOR_VERSION |
70 #undef INFODOCK_MINOR_VERSION | 73 #undef INFODOCK_MINOR_VERSION |
71 #undef INFODOCK_BUILD_VERSION | 74 #undef INFODOCK_BUILD_VERSION |
72 | 75 |
76 /* Make functions from IEEE Stds 1003.[123] available. */ | |
77 #undef _POSIX_C_SOURCE | |
78 | |
79 /* Make some functions from Unix98 available. */ | |
80 #undef _XOPEN_SOURCE | |
81 | |
82 /* Make "extensions" from Unix98 available. */ | |
83 #undef _XOPEN_SOURCE_EXTENDED | |
84 | |
73 /* Make all functions available on AIX. See AC_AIX. */ | 85 /* Make all functions available on AIX. See AC_AIX. */ |
74 #undef _ALL_SOURCE | 86 #undef _ALL_SOURCE |
75 | 87 |
76 /* Make all functions available on GNU libc systems. See features.h. */ | 88 /* Make all functions available on GNU libc systems. See features.h. */ |
77 #undef _GNU_SOURCE | 89 #undef _GNU_SOURCE |
90 | |
91 /* Make all functions available on Solaris 2 systems. */ | |
92 #undef __EXTENSIONS__ | |
78 | 93 |
79 /* Used to identify the XEmacs version in stack traces. */ | 94 /* Used to identify the XEmacs version in stack traces. */ |
80 #undef STACK_TRACE_EYE_CATCHER | 95 #undef STACK_TRACE_EYE_CATCHER |
81 | 96 |
82 /* Allow the configurer to specify if she wants site-lisp. */ | 97 /* Allow the configurer to specify if she wants site-lisp. */ |
162 | 177 |
163 #undef THIS_IS_X11R4 | 178 #undef THIS_IS_X11R4 |
164 #undef THIS_IS_X11R5 | 179 #undef THIS_IS_X11R5 |
165 #undef THIS_IS_X11R6 | 180 #undef THIS_IS_X11R6 |
166 | 181 |
182 #undef HAVE_XCONVERTCASE | |
183 | |
184 #undef HAVE_BALLOON_HELP | |
185 | |
167 /* Where do we find bitmaps? */ | 186 /* Where do we find bitmaps? */ |
168 #undef BITMAPDIR | 187 #undef BITMAPDIR |
169 | 188 |
170 /* USER_FULL_NAME returns a string that is the user's full name. | 189 /* USER_FULL_NAME returns a string that is the user's full name. |
171 It can assume that the variable `pw' points to the password file | 190 It can assume that the variable `pw' points to the password file |
182 #undef AMPERSAND_FULL_NAME | 201 #undef AMPERSAND_FULL_NAME |
183 | 202 |
184 /* Some things figured out by the configure script, grouped as they are in | 203 /* Some things figured out by the configure script, grouped as they are in |
185 configure.in. */ | 204 configure.in. */ |
186 #undef HAVE_MCHECK_H | 205 #undef HAVE_MCHECK_H |
206 #undef HAVE_A_OUT_H | |
207 #undef HAVE_CYGWIN_VERSION_H | |
208 #undef HAVE_FCNTL_H | |
209 #undef HAVE_INTTYPES_H | |
210 #undef HAVE_LIBGEN_H | |
211 #undef HAVE_LOCALE_H | |
187 #undef HAVE_MACH_MACH_H | 212 #undef HAVE_MACH_MACH_H |
188 #undef HAVE_SYS_STROPTS_H | 213 #undef HAVE_SYS_PARAM_H |
214 #undef HAVE_SYS_PSTAT_H | |
215 #undef HAVE_SYS_TIME_H | |
189 #undef HAVE_SYS_TIMEB_H | 216 #undef HAVE_SYS_TIMEB_H |
190 #undef HAVE_SYS_TIME_H | 217 #undef HAVE_SYS_UN_H |
218 #undef HAVE_ULIMIT_H | |
191 #undef HAVE_UNISTD_H | 219 #undef HAVE_UNISTD_H |
192 #undef HAVE_UTIME_H | 220 #undef HAVE_UTIME_H |
221 | |
193 #undef HAVE_SYS_WAIT_H | 222 #undef HAVE_SYS_WAIT_H |
194 #undef HAVE_LIBINTL_H | 223 #undef HAVE_LIBINTL_H |
195 #undef HAVE_LIBGEN_H | |
196 #undef HAVE_LOCALE_H | |
197 #undef HAVE_FCNTL_H | |
198 #undef HAVE_ULIMIT_H | |
199 #undef HAVE_X11_XLOCALE_H | 224 #undef HAVE_X11_XLOCALE_H |
200 #undef HAVE_LINUX_VERSION_H | |
201 #undef HAVE_CYGWIN_VERSION_H | |
202 #undef HAVE_INTTYPES_H | |
203 #undef HAVE_SYS_UN_H | |
204 #undef HAVE_A_OUT_H | |
205 #undef STDC_HEADERS | 225 #undef STDC_HEADERS |
206 #undef TIME_WITH_SYS_TIME | 226 #undef TIME_WITH_SYS_TIME |
207 #undef WORDS_BIGENDIAN | 227 #undef WORDS_BIGENDIAN |
208 #undef HAVE_VFORK_H | 228 #undef HAVE_VFORK_H |
209 #undef HAVE_KSTAT_H | |
210 #undef HAVE_SYS_PSTAT_H | |
211 #undef vfork | 229 #undef vfork |
212 | 230 |
213 #undef HAVE_LONG_FILE_NAMES | 231 #undef HAVE_LONG_FILE_NAMES |
214 | 232 |
215 /* Use lock files to detect multiple edits of the same file? */ | 233 /* Use lock files to detect multiple edits of the same file? */ |
222 #undef HAVE_SHL_LOAD | 240 #undef HAVE_SHL_LOAD |
223 #undef HAVE_DLD_INIT | 241 #undef HAVE_DLD_INIT |
224 #undef HAVE_SHLIB | 242 #undef HAVE_SHLIB |
225 #undef HAVE_DLFCN_H | 243 #undef HAVE_DLFCN_H |
226 | 244 |
227 #undef HAVE_LIBKSTAT | |
228 #undef HAVE_LIBINTL | 245 #undef HAVE_LIBINTL |
229 #undef HAVE_LIBDNET | 246 #undef HAVE_LIBDNET |
230 #undef HAVE_LIBRESOLV | 247 #undef HAVE_LIBRESOLV |
231 | 248 |
232 /* Is `sys_siglist' declared by <signal.h>? */ | 249 /* Is `sys_siglist' declared by <signal.h>? */ |
240 | 257 |
241 | 258 |
242 #undef TM_IN_SYS_TIME | 259 #undef TM_IN_SYS_TIME |
243 #undef HAVE_TM_ZONE | 260 #undef HAVE_TM_ZONE |
244 #undef HAVE_TZNAME | 261 #undef HAVE_TZNAME |
262 | |
263 /* For `getloadavg' provided by system */ | |
264 #undef HAVE_GETLOADAVG | |
265 #undef HAVE_SYS_LOADAVG_H | |
266 /* For implementing `getloadavg' ourselves */ | |
267 #undef HAVE_LIBKSTAT | |
268 #undef HAVE_KSTAT_H | |
245 | 269 |
246 /* Is `h_errno' declared by <netdb.h>? */ | 270 /* Is `h_errno' declared by <netdb.h>? */ |
247 #undef HAVE_H_ERRNO | 271 #undef HAVE_H_ERRNO |
248 | 272 |
249 /* Does `localtime' cache TZ? */ | 273 /* Does `localtime' cache TZ? */ |
272 #undef HAVE_GETNAMEINFO | 296 #undef HAVE_GETNAMEINFO |
273 #undef HAVE_GETPAGESIZE | 297 #undef HAVE_GETPAGESIZE |
274 #undef HAVE_GETTIMEOFDAY | 298 #undef HAVE_GETTIMEOFDAY |
275 #undef HAVE_GETWD | 299 #undef HAVE_GETWD |
276 #undef HAVE_GETCWD | 300 #undef HAVE_GETCWD |
277 #undef HAVE_GETPT | |
278 #undef HAVE_LOGB | 301 #undef HAVE_LOGB |
279 #undef HAVE_LRAND48 | 302 #undef HAVE_LRAND48 |
280 #undef HAVE_MATHERR | 303 #undef HAVE_MATHERR |
281 #undef HAVE_MKDIR | 304 #undef HAVE_MKDIR |
282 #undef HAVE_MKTIME | 305 #undef HAVE_MKTIME |
296 #undef HAVE_SIGHOLD | 319 #undef HAVE_SIGHOLD |
297 #undef HAVE_SIGPROCMASK | 320 #undef HAVE_SIGPROCMASK |
298 #undef HAVE_SIGSETJMP | 321 #undef HAVE_SIGSETJMP |
299 #undef HAVE_SNPRINTF | 322 #undef HAVE_SNPRINTF |
300 #undef HAVE_STPCPY | 323 #undef HAVE_STPCPY |
301 #undef HAVE_STRCASECMP | |
302 #undef HAVE_STRERROR | 324 #undef HAVE_STRERROR |
303 #undef HAVE_TZSET | 325 #undef HAVE_TZSET |
304 #undef HAVE_ULIMIT | 326 #undef HAVE_ULIMIT |
305 #undef HAVE_USLEEP | 327 #undef HAVE_USLEEP |
306 #undef HAVE_UTIMES | 328 #undef HAVE_UTIMES |
307 #undef HAVE_WAITPID | 329 #undef HAVE_WAITPID |
308 #undef HAVE_VSNPRINTF | 330 #undef HAVE_VSNPRINTF |
331 | |
332 /* PTY support functions */ | |
333 #undef HAVE_GETPT /* glibc's easy pty allocation function */ | |
334 #undef HAVE__GETPT /* SGI's easy pty allocation function */ | |
335 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */ | |
336 #undef HAVE_GRANTPT /* Unix98 */ | |
337 #undef HAVE_UNLOCKPT /* Unix98 */ | |
338 #undef HAVE_PTSNAME /* Unix98 */ | |
339 #undef HAVE_KILLPG /* BSD */ | |
340 #undef HAVE_TCGETPGRP /* Posix 1 */ | |
341 #undef HAVE_ISASTREAM /* SysV streams */ | |
342 #undef HAVE_PTY_H /* Linux, Tru64 openpty */ | |
343 #undef HAVE_LIBUTIL_H /* BSD openpty */ | |
344 #undef HAVE_SYS_STROPTS_H /* SysV streams */ | |
345 #undef HAVE_SYS_STRTIO_H /* SysV streams TIOCSIGNAL */ | |
346 | |
309 #undef HAVE_SOCKETS | 347 #undef HAVE_SOCKETS |
310 #undef HAVE_SOCKADDR_SUN_LEN | 348 #undef HAVE_SOCKADDR_SUN_LEN |
311 #undef HAVE_MULTICAST | 349 #undef HAVE_MULTICAST |
312 #undef HAVE_SYSVIPC | 350 #undef HAVE_SYSVIPC |
313 #undef HAVE_LOCKF | 351 #undef HAVE_LOCKF |
357 #undef HAVE_DBM | 395 #undef HAVE_DBM |
358 | 396 |
359 /* Compile in support for Berkeley DB style databases? May require libdb. */ | 397 /* Compile in support for Berkeley DB style databases? May require libdb. */ |
360 #undef HAVE_BERKELEY_DB | 398 #undef HAVE_BERKELEY_DB |
361 /* Full #include file path for Berkeley DB's db.h */ | 399 /* Full #include file path for Berkeley DB's db.h */ |
362 #undef DB_H_PATH | 400 #undef DB_H_FILE |
363 | 401 |
364 /* Do we have either DBM or Berkeley DB database support? */ | 402 /* Do we have either DBM or Berkeley DB database support? */ |
365 #undef HAVE_DATABASE | 403 #undef HAVE_DATABASE |
366 | 404 |
367 /* Do we have LDAP support? */ | 405 /* Do we have LDAP support? */ |
373 /* Does the library define ldap_result2error () ? */ | 411 /* Does the library define ldap_result2error () ? */ |
374 #undef HAVE_LDAP_RESULT2ERROR | 412 #undef HAVE_LDAP_RESULT2ERROR |
375 /* Does the library define ldap_parse_result () ? */ | 413 /* Does the library define ldap_parse_result () ? */ |
376 #undef HAVE_LDAP_PARSE_RESULT | 414 #undef HAVE_LDAP_PARSE_RESULT |
377 | 415 |
416 /* Do we have PostgreSQL RDBMS support? */ | |
417 #undef HAVE_POSTGRESQL | |
418 #undef HAVE_POSTGRESQLV7 | |
419 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */ | |
420 | |
378 /* Do you have the Xauth library present? This will add some extra | 421 /* Do you have the Xauth library present? This will add some extra |
379 functionality to gnuserv. */ | 422 functionality to gnuserv. */ |
380 #undef HAVE_XAUTH | 423 #undef HAVE_XAUTH |
381 | 424 |
382 /* Compile in support for gpm (General Purpose Mouse)? */ | 425 /* Compile in support for gpm (General Purpose Mouse)? */ |
383 #undef HAVE_GPM | 426 #undef HAVE_GPM |
384 | 427 |
385 /* Compile in support for ncurses? */ | 428 /* Compile in support for ncurses? */ |
386 #undef HAVE_NCURSES | 429 #undef HAVE_NCURSES |
387 /* Full #include file paths for ncurses' curses.h and term.h. */ | 430 /* Full #include file paths for ncurses' curses.h and term.h. */ |
388 #undef CURSES_H_PATH | 431 #undef CURSES_H_FILE |
389 #undef TERM_H_PATH | 432 #undef TERM_H_FILE |
390 | 433 |
391 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). | 434 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert(). |
392 If the assertion fails, assert_failed() will be called. This is | 435 If the assertion fails, assert_failed() will be called. This is |
393 recommended for general use because it gives more info about the crash | 436 recommended for general use because it gives more info about the crash |
394 than just the abort() message. Too many people "Can't find the corefile" | 437 than just the abort() message. Too many people "Can't find the corefile" |
422 #define bufpos_checking_assert(assertion) | 465 #define bufpos_checking_assert(assertion) |
423 #endif | 466 #endif |
424 | 467 |
425 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */ | 468 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */ |
426 #undef ERROR_CHECK_GC | 469 #undef ERROR_CHECK_GC |
470 #ifdef ERROR_CHECK_GC | |
471 #define gc_checking_assert(assertion) assert (assertion) | |
472 #else | |
473 #define gc_checking_assert(assertion) | |
474 #endif | |
427 | 475 |
428 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */ | 476 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */ |
429 #undef ERROR_CHECK_MALLOC | 477 #undef ERROR_CHECK_MALLOC |
430 | 478 |
431 /* Minor sanity checking of the bytecode interpreter. Useful for | 479 /* Minor sanity checking of the bytecode interpreter. Useful for |
432 debugging the byte compiler. */ | 480 debugging the byte compiler. */ |
433 #undef ERROR_CHECK_BYTE_CODE | 481 #undef ERROR_CHECK_BYTE_CODE |
482 | |
483 /* Minor sanity checking of glyphs, especially subwindows and | |
484 widgets. */ | |
485 #undef ERROR_CHECK_GLYPHS | |
434 | 486 |
435 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. | 487 /* Define DEBUG_XEMACS if you want extra debugging code compiled in. |
436 This is mainly intended for use by developers. */ | 488 This is mainly intended for use by developers. */ |
437 #undef DEBUG_XEMACS | 489 #undef DEBUG_XEMACS |
438 | 490 |
509 #undef WNN6 | 561 #undef WNN6 |
510 | 562 |
511 /* Enable special GNU Make features in the Makefiles. */ | 563 /* Enable special GNU Make features in the Makefiles. */ |
512 #undef USE_GNU_MAKE | 564 #undef USE_GNU_MAKE |
513 | 565 |
514 /* Debugging option: Don't automatically rebuild the DOC file. | 566 /* Debugging development option: Remove inessential but time consuming |
515 This saves a lot of time when you're repeatedly | 567 actions from happening during build. This saves a lot of time when |
516 compiling-running-crashing. */ | 568 you're repeatedly compiling-running-crashing. This (1) doesn't |
517 #undef NO_DOC_FILE | 569 garbage-collect after loading each file during dumping, and (2) |
570 doesn't automatically rebuild the DOC file. (Remove it by hand to | |
571 get it rebuilt.) | |
572 */ | |
573 #undef QUICK_BUILD | |
518 | 574 |
519 /* Defined by AC_C_CONST in configure.in */ | 575 /* Defined by AC_C_CONST in configure.in */ |
520 #undef const | 576 #undef const |
521 | |
522 #define CONST const | |
523 | 577 |
524 /* Allow the source to use standard types. Include these before the | 578 /* Allow the source to use standard types. Include these before the |
525 s&m files so that they can use them. */ | 579 s&m files so that they can use them. */ |
526 #undef ssize_t | 580 #undef ssize_t |
527 #undef size_t | 581 #undef size_t |
528 #undef pid_t | 582 #undef pid_t |
529 #undef mode_t | 583 #undef mode_t |
530 #undef off_t | 584 #undef off_t |
531 #undef uid_t | 585 #undef uid_t |
532 #undef gid_t | 586 #undef gid_t |
587 #undef socklen_t | |
533 | 588 |
534 /* If defined, use unions instead of ints. A few systems (DEC Alpha) | 589 /* If defined, use unions instead of ints. A few systems (DEC Alpha) |
535 seem to require this, probably because something with the int | 590 seem to require this, probably because something with the int |
536 definitions isn't right with 64-bit systems. */ | 591 definitions isn't right with 64-bit systems. */ |
537 #undef USE_UNION_TYPE | 592 #undef USE_UNION_TYPE |
538 | 593 |
539 /* The configuration script defines opsysfile to be the name of the | 594 /* The configuration script may define `opsysfile' to be the name of |
540 s/...h file that describes the system type you are using. | 595 the s/...h file that describes your operating system. |
541 The file is chosen based on the configuration name you give. | 596 The file name is chosen based on the configuration name. */ |
542 | |
543 See the file ../etc/MACHINES for a list of systems and the | |
544 configuration names to use for them. | |
545 | |
546 See s/template.h for documentation on writing s/...h files. */ | |
547 | 597 |
548 #if defined (__cplusplus) && !defined (NOT_C_CODE) | 598 #if defined (__cplusplus) && !defined (NOT_C_CODE) |
549 extern "C" { | 599 extern "C" { |
550 #endif | 600 #endif |
601 | |
551 #undef config_opsysfile | 602 #undef config_opsysfile |
603 #ifdef config_opsysfile | |
552 #include config_opsysfile | 604 #include config_opsysfile |
553 | 605 #endif |
554 /* The configuration script defines machfile to be the name of the | 606 |
555 m/...h file that describes the machine you are using. The file is | 607 /* The configuration script may define `machfile' to be the name of |
556 chosen based on the configuration name you give. | 608 the m/...h file that describes the machine you are using. |
557 | 609 The file name is chosen based on the configuration name. */ |
558 See the file ../etc/MACHINES for a list of machines and the | 610 |
559 configuration names to use for them. | |
560 | |
561 See m/template.h for documentation on writing m/...h files. */ | |
562 #undef config_machfile | 611 #undef config_machfile |
612 #ifdef config_machfile | |
563 #include config_machfile | 613 #include config_machfile |
614 #endif | |
615 | |
564 #if defined (__cplusplus) && !defined (NOT_C_CODE) | 616 #if defined (__cplusplus) && !defined (NOT_C_CODE) |
565 } | 617 } |
566 #endif | 618 #endif |
567 | 619 |
568 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) | 620 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC) |
593 support for playing sound files. (On Suns, the sound support is | 645 support for playing sound files. (On Suns, the sound support is |
594 usually found in /usr/demo/SOUND - you may need to install the | 646 usually found in /usr/demo/SOUND - you may need to install the |
595 "SUNWaudmo" package.) */ | 647 "SUNWaudmo" package.) */ |
596 #undef HAVE_NATIVE_SOUND | 648 #undef HAVE_NATIVE_SOUND |
597 /* Native sound may be provided via soundcard.h, in various directories */ | 649 /* Native sound may be provided via soundcard.h, in various directories */ |
598 #undef SOUNDCARD_H_PATH | 650 #undef SOUNDCARD_H_FILE |
599 | 651 |
600 /* Compile in support for NAS (Network Audio System)? | 652 /* Compile in support for NAS (Network Audio System)? |
601 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some | 653 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some |
602 error handling changes. */ | 654 error handling changes. */ |
603 #undef HAVE_NAS_SOUND | 655 #undef HAVE_NAS_SOUND |
610 #undef USAGE_TRACKING | 662 #undef USAGE_TRACKING |
611 | 663 |
612 /* Compile in support for Tooltalk? */ | 664 /* Compile in support for Tooltalk? */ |
613 #undef TOOLTALK | 665 #undef TOOLTALK |
614 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ | 666 /* tt_c.h might be in "Tt" or "desktop" subdirectories */ |
615 #undef TT_C_H_PATH | 667 #undef TT_C_H_FILE |
616 | 668 |
617 /* Toolkits used by lwlib for various widgets... */ | 669 /* Toolkits used by lwlib for various widgets... */ |
618 #undef LWLIB_USES_MOTIF | 670 #undef LWLIB_USES_MOTIF |
619 #undef LWLIB_USES_ATHENA | 671 #undef LWLIB_USES_ATHENA |
620 #undef LWLIB_MENUBARS_LUCID | 672 #undef LWLIB_MENUBARS_LUCID |
728 # define CANNA_PURESIZE 0 | 780 # define CANNA_PURESIZE 0 |
729 #else /* not CANNA */ | 781 #else /* not CANNA */ |
730 # define CANNA_PURESIZE 0 | 782 # define CANNA_PURESIZE 0 |
731 #endif /* not CANNA */ | 783 #endif /* not CANNA */ |
732 | 784 |
733 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) | |
734 #define HAVE_FEP | |
735 #endif | |
736 | |
737 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) | 785 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) |
738 #define accept Raccept | 786 #define accept Raccept |
739 #define bind Rbind | 787 #define bind Rbind |
740 #define connect Rconnect | 788 #define connect Rconnect |
741 #define getsockname Rgetsockname | 789 #define getsockname Rgetsockname |
755 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) | 803 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR) |
756 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) | 804 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR) |
757 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) | 805 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR) |
758 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) | 806 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR) |
759 | 807 |
760 #ifndef NOT_C_CODE | 808 /* Use `INLINE_HEADER' to define inline functions in .h files. |
761 #ifdef __cplusplus | 809 Use `inline static' to define inline functions in .c files. |
762 #define HAVE_INLINE 1 | 810 See the Internals manual for examples and more information. */ |
763 #define INLINE inline | 811 |
764 #else /* not C++ */ | |
765 /* Does the keyword `inline' exist? */ | 812 /* Does the keyword `inline' exist? */ |
766 #undef HAVE_INLINE | |
767 #undef inline | 813 #undef inline |
768 | 814 |
769 # ifdef HAVE_INLINE | 815 #if defined (__cplusplus) || ! defined (__GNUC__) |
770 # ifdef __GNUC__ | 816 # define INLINE_HEADER inline static |
771 # ifdef DONT_EXTERN_INLINE_FUNCTIONS | 817 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) |
772 # define INLINE inline | 818 # define INLINE_HEADER inline |
773 # else | 819 #else |
774 # define INLINE extern inline | 820 # define INLINE_HEADER inline extern |
775 # endif | 821 #endif |
776 # else | 822 |
777 # define INLINE static inline | 823 #ifndef NOT_C_CODE /* Actually means C or C++ */ |
778 # endif /* __GNUC__ */ | 824 # if defined (__cplusplus) |
779 # else | |
780 # define INLINE static | |
781 # endif /* HAVE_INLINE */ | |
782 #endif /* not C++ */ | |
783 #endif /* C code */ | |
784 | |
785 #if defined (__cplusplus) && !defined (NOT_C_CODE) | |
786 /* Avoid C++ keywords used as ordinary C identifiers */ | 825 /* Avoid C++ keywords used as ordinary C identifiers */ |
787 #define class c_class | 826 # define class c_class |
788 #define new c_new | 827 # define new c_new |
789 #define this c_this | 828 # define this c_this |
790 #define catch c_catch | 829 # define catch c_catch |
791 #endif /* C++ */ | 830 # define not c_not |
831 | |
832 # define EXTERN_C extern "C" | |
833 # else /* C code */ | |
834 # define EXTERN_C extern | |
835 # endif | |
836 #endif /* C or C++ */ | |
792 | 837 |
793 /* Strictly speaking, only int or unsigned int are valid types in a | 838 /* Strictly speaking, only int or unsigned int are valid types in a |
794 bitfield. In practice, we would like to use enums as bitfields. | 839 bitfield. In practice, we would like to use enums as bitfields. |
795 The following should just result in warning avoidance: | 840 The following should just result in warning avoidance: |
796 warning: nonportable bit-field type */ | 841 warning: nonportable bit-field type */ |
834 #undef LISPDIR_USER_DEFINED | 879 #undef LISPDIR_USER_DEFINED |
835 #undef PACKAGE_PATH_USER_DEFINED | 880 #undef PACKAGE_PATH_USER_DEFINED |
836 #undef SITELISPDIR_USER_DEFINED | 881 #undef SITELISPDIR_USER_DEFINED |
837 #undef ARCHLIBDIR_USER_DEFINED | 882 #undef ARCHLIBDIR_USER_DEFINED |
838 #undef ETCDIR_USER_DEFINED | 883 #undef ETCDIR_USER_DEFINED |
839 #undef LOCKDIR_USER_DEFINED | |
840 #undef INFODIR_USER_DEFINED | 884 #undef INFODIR_USER_DEFINED |
841 #undef INFOPATH_USER_DEFINED | 885 #undef INFOPATH_USER_DEFINED |
842 | 886 |
843 #undef PDUMP | 887 #undef PDUMP |
844 | 888 |