1 /* XEmacs site configuration template file. -*- C -*-
2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc.
4 This file is part of XEmacs.
6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with XEmacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Significantly divergent from FSF. */
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)
25 think they can include it as many times as they like. */
26 #ifndef _SRC_CONFIG_H_
27 #define _SRC_CONFIG_H_
30 /* alloca twiddling belongs in one place, not the s&m headers
31 AIX requires this to be the first thing in the file. */
36 #define alloca __builtin_alloca
41 #elif ! defined (alloca)
47 /* Use SMART_INCLUDE to generate #include statements with variable paths.
49 #### WARNING: NEVER EVER PUT A SPACE BETWEEN THE ARGUMENTS OF THE
50 `SMART_INCLUDE' MACRO: when the simple (direct version) is defined, you
51 would end up with a space in your header filename.
53 Since the effect of macro expansion in #include statements is underspecified
54 in the C standard, and rarely used in source code, different compilers need
55 different implementations of SMART_INCLUDE (e.g. gcc 2.5.8 and AIX xlc).
57 #undef SMART_INCLUDE_INDIRECTIONS
59 #if SMART_INCLUDE_INDIRECTIONS == 0
60 # define SMART_INCLUDE(path,file) <path/file>
61 #elif SMART_INCLUDE_INDIRECTIONS == 1
62 # define GLUE_INCLUDE(path,file) <##path##/##file##>
63 # define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file)
64 #elif SMART_INCLUDE_INDIRECTIONS == 2
65 # define GLUE_INCLUDE_2(path,file) <##path##/##file##>
66 # define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file)
67 # define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file)
69 # error SMART_INCLUDE_INDIRECTIONS was not properly defined by configure
73 /* Use this to add code in a structured way to FSF-maintained source
74 files so as to make it obvious where XEmacs changes are. */
80 /* Allow s&m files to differentiate OS versions without having
81 multiple files to maintain. */
84 /* The configuration name. This is used as the install directory name
85 for the lib-src programs. */
86 #undef EMACS_CONFIGURATION
88 /* The configuration options. This is exported to Lisp. */
89 #undef EMACS_CONFIG_OPTIONS
91 /* The version info from version.sh. Used in #pragma ident in emacs.c */
92 #undef EMACS_MAJOR_VERSION
93 #undef EMACS_MINOR_VERSION
94 #undef EMACS_PATCH_LEVEL
95 #undef EMACS_BETA_VERSION
97 #undef XEMACS_CODENAME
98 /* InfoDock versions, not used with XEmacs */
99 #undef INFODOCK_MAJOR_VERSION
100 #undef INFODOCK_MINOR_VERSION
101 #undef INFODOCK_BUILD_VERSION
103 /* Make all functions from all IEEE Stds 1003.[123] available. */
104 #undef _POSIX_C_SOURCE
106 /* Make all functions from Unix98 available. */
109 /* Make extensions from Unix98 available. */
110 #undef _XOPEN_SOURCE_EXTENDED
112 /* Make all functions available on AIX. See AC_AIX. */
115 /* Make all functions available on GNU libc systems. See features.h. */
118 /* Make all functions available on Solaris 2 systems. */
119 #undef __EXTENSIONS__
121 /* Used to identify the XEmacs version in stack traces. */
122 #undef STACK_TRACE_EYE_CATCHER
124 /* Allow the configurer to specify if she wants site-lisp. */
125 #undef INHIBIT_SITE_LISP
127 /* Allow the configurer to specify if she wants site-modules. */
128 #undef INHIBIT_SITE_MODULES
130 /* This will be removed in 19.15. */
131 /* Hah! Try 20.3 ... */
132 /* Hah! Try never ... */
133 /* If at first you don't succeed, try, try again. */
134 /* #define LOSING_BYTECODE */
136 /* Undefine on systems which don't have processes */
137 #undef HAVE_UNIX_PROCESSES
139 /* Does XEmacs support floating-point numbers? */
140 #undef LISP_FLOAT_TYPE
142 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
145 /* Define if you are using the GNU C Library. -- experimental. */
146 #undef DOUG_LEA_MALLOC
148 /* Define if you are using libmcheck.a from the GNU C Library. */
149 #undef HAVE_LIBMCHECK
151 /* Define if you are using dlmalloc from the Linux C library. */
152 #undef _NO_MALLOC_WARNING_
154 /* Use the system malloc? */
155 #undef USE_SYSTEM_MALLOC
157 /* Use a debugging malloc? -- experimental */
158 #undef USE_DEBUG_MALLOC
160 /* Compile in TTY support? */
163 /* Compile in support for MS windows? */
164 #undef HAVE_MS_WINDOWS
166 /* special cygwin process handling? */
167 #undef HAVE_MSG_SELECT
169 /* Compile in support for the X window system? */
170 #undef HAVE_X_WINDOWS
172 /* Defines for building X applications */
173 #ifdef HAVE_X_WINDOWS
174 /* The following will be defined if xmkmf thinks they are necessary */
183 /* The following should always be defined, no matter what xmkmf thinks. */
184 #ifndef NeedFunctionPrototypes
185 #define NeedFunctionPrototypes 1
190 #endif /* HAVE_X_WINDOWS */
192 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
193 #if defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
194 #define HAVE_WINDOW_SYSTEM
197 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
198 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
199 #define HAVE_UNIXOID_EVENT_LOOP
202 /* Are we using XFree386? */
209 #undef HAVE_XCONVERTCASE
211 /* Where do we find bitmaps? */
214 /* USER_FULL_NAME returns a string that is the user's full name.
215 It can assume that the variable `pw' points to the password file
218 At some sites, the pw_gecos field contains the user's full name.
219 If neither this nor any other field contains the right thing, use
220 pw_name, giving the user's login name, since that is better than
222 #define USER_FULL_NAME pw->pw_gecos
224 /* Define AMPERSAND_FULL_NAME if you use the convention
225 that & in the full name stands for the login id. */
226 #undef AMPERSAND_FULL_NAME
228 /* Some things figured out by the configure script, grouped as they are in
232 #undef HAVE_CYGWIN_VERSION_H
234 #undef HAVE_INTTYPES_H
237 #undef HAVE_MACH_MACH_H
238 #undef HAVE_SYS_PARAM_H
239 #undef HAVE_SYS_PSTAT_H
240 #undef HAVE_SYS_STROPTS_H
241 #undef HAVE_SYS_TIME_H
242 #undef HAVE_SYS_TIMEB_H
248 #undef HAVE_SYS_WAIT_H
249 #undef HAVE_LIBINTL_H
250 #undef HAVE_X11_XLOCALE_H
252 #undef TIME_WITH_SYS_TIME
253 #undef WORDS_BIGENDIAN
258 #undef HAVE_LONG_FILE_NAMES
260 /* Use lock files to detect multiple edits of the same file? */
261 #undef CLASH_DETECTION
263 /* Have shared library support */
275 #undef HAVE_LIBRESOLV
277 /* Is `sys_siglist' declared by <signal.h>? */
278 #undef SYS_SIGLIST_DECLARED
280 /* Is `struct utimbuf' declared by <utime.h>? */
281 #undef HAVE_STRUCT_UTIMBUF
283 /* Is `struct timeval' declared by <sys/time.h>? */
287 #undef TM_IN_SYS_TIME
291 /* Is `h_errno' declared by <netdb.h>? */
294 /* Does `localtime' cache TZ? */
295 #undef LOCALTIME_CACHE
297 /* Can `gettimeofday' accept two arguments? */
298 #undef GETTIMEOFDAY_ONE_ARGUMENT
305 #undef HAVE_INVERSE_HYPERBOLIC
312 #undef HAVE_FPATHCONF
315 #undef HAVE_GETADDRINFO
316 #undef HAVE_GETHOSTNAME
317 #undef HAVE_GETNAMEINFO
318 #undef HAVE_GETPAGESIZE
319 #undef HAVE_GETTIMEOFDAY
337 #undef HAVE_SETITIMER
342 #undef HAVE_SIGPROCMASK
343 #undef HAVE_SIGSETJMP
346 #undef HAVE_STRCASECMP
353 #undef HAVE_VSNPRINTF
355 #undef HAVE_SOCKADDR_SUN_LEN
356 #undef HAVE_MULTICAST
361 #undef HAVE_FTRUNCATE
364 #undef SYSV_SYSTEM_DIR
365 #undef NONSYSTEM_DIR_LIBRARY
370 #undef SIGNALS_VIA_CHARACTERS
374 /* Compile in support for SOCKS? */
377 /* Compile in support for X pixmaps via the `xpm' library? */
381 /* Compile in support for "X faces" via the `compface' library?
382 This enables graphical display of X-face headers in mail/news messages */
385 /* Compile in support for JPEG images */
388 /* Compile in support for TIFF images */
391 /* Compile in support for GIF images */
394 /* Compile in support for PNG images */
397 /* Do you have the Xmu library?
398 This should always be the case except on losing HP-UX systems. */
401 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
404 /* Compile in support for Berkeley DB style databases? May require libdb. */
405 #undef HAVE_BERKELEY_DB
406 /* Full #include file path for Berkeley DB's db.h */
409 /* Do we have either DBM or Berkeley DB database support? */
412 /* Do we have LDAP support? */
414 /* Does the library define ldap_set_option () ? */
415 #undef HAVE_LDAP_SET_OPTION
416 /* Does the library define ldap_get_lderrno () ? */
417 #undef HAVE_LDAP_GET_LDERRNO
418 /* Does the library define ldap_result2error () ? */
419 #undef HAVE_LDAP_RESULT2ERROR
420 /* Does the library define ldap_parse_result () ? */
421 #undef HAVE_LDAP_PARSE_RESULT
423 /* Do we wish to link against the PostgreSQL RDBMS run-time library?
425 #undef HAVE_POSTGRESQL
426 #undef HAVE_POSTGRESQLV7
427 #undef POSTGRES_H_PATH
428 #if defined POSTGRES_H_PATH
429 # define POSTGRES_INCLUDE(file) SMART_INCLUDE (POSTGRES_H_PATH,file)
431 # define POSTGRES_INCLUDE(file) <file>
434 /* Do you have the Xauth library present? This will add some extra
435 functionality to gnuserv. */
438 /* Compile in support for gpm (General Purpose Mouse)? */
441 /* Compile in support for ncurses? */
443 /* Full #include file paths for ncurses' curses.h and term.h. */
447 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
448 If the assertion fails, assert_failed() will be called. This is
449 recommended for general use because it gives more info about the crash
450 than just the abort() message. Too many people "Can't find the corefile"
451 or have limit-ed core dumps out of existence. */
452 #undef USE_ASSERTIONS
454 /* Define one or more of the following if you want lots of extra checks
455 (e.g. structure validation) compiled in. These should be turned
456 on during the beta-test cycle. */
458 /* Check the entire extent structure of a buffer each time an extent
459 change is done, and do other extent-related checks. */
460 #undef ERROR_CHECK_EXTENTS
462 /* Make sure that all X... macros are dereferencing the correct type,
463 and that all XSET... macros (as much as possible) are setting the
464 correct type of structure. Highly recommended for all
466 #undef ERROR_CHECK_TYPECHECK
467 #ifdef ERROR_CHECK_TYPECHECK
468 #define type_checking_assert(assertion) assert (assertion)
470 #define type_checking_assert(assertion)
473 /* Make sure valid buffer positions are passed to BUF_* macros. */
474 #undef ERROR_CHECK_BUFPOS
475 #ifdef ERROR_CHECK_BUFPOS
476 #define bufpos_checking_assert(assertion) assert (assertion)
478 #define bufpos_checking_assert(assertion)
481 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
482 #undef ERROR_CHECK_GC
483 #ifdef ERROR_CHECK_GC
484 #define gc_checking_assert(assertion) assert (assertion)
486 #define gc_checking_assert(assertion)
489 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
490 #undef ERROR_CHECK_MALLOC
492 /* Minor sanity checking of the bytecode interpreter. Useful for
493 debugging the byte compiler. */
494 #undef ERROR_CHECK_BYTE_CODE
496 /* Minor sanity checking of glyphs, especially subwindows and
498 #undef ERROR_CHECK_GLYPHS
500 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
501 This is mainly intended for use by developers. */
504 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
505 determine where XEmacs' memory is going. */
506 #undef MEMORY_USAGE_STATS
508 /* Define QUANTIFY if using Quantify from Rational/Pure/Atria Software.
509 This adds some additional calls to control data collection.
510 It is only intended for use by the developers. */
513 /* Define QUANTIFY if using Purify from Rational/Pure/Atria Software.
514 It is only intended for use by the developers. */
517 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
518 #define XLIB_ILLEGAL_ACCESS 1
521 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
522 widget within another program. */
523 #undef EXTERNAL_WIDGET
525 /* There are some special-case defines for gcc and lcc. */
529 /* Define this if you want level 2 internationalization compliance
530 (localized collation and formatting). Generally this should be
531 defined, unless your system doesn't have the strcoll() and
532 setlocale() library routines. This really should be (NOT! -mrb)
533 defined in the appropriate s/ or m/ file. */
536 /* Define this if you want level 3 internationalization compliance
537 (localized messaging). This will cause a small runtime performance
538 penalty, as the strings are read from the message catalog(s).
539 For this you need the gettext() and dgetext() library routines.
540 WARNING, this code is under construction. */
543 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
544 Requires libDtSvc, which typically must be present at runtime. */
547 /* Compile in support for OffiX Drag and Drop? */
548 #undef HAVE_OFFIX_DND
550 /* Compile in generic Drag'n'Drop API */
551 #undef HAVE_DRAGNDROP
553 /* Compile in support for proper handling of WM_COMMAND. */
554 #undef HAVE_WMCOMMAND
556 /* Define this if you want Mule support (multi-byte character support).
557 There may be some performance penalty, although it should be small
558 if you're working with ASCII files. */
565 /* Define this if you want file coding support */
568 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
569 If so, use raw Xlib or higher level Motif interface? */
575 /* Non-XIM input methods for use with Mule. */
580 /* Enable special GNU Make features in the Makefiles. */
583 /* Debugging development option: Remove inessential but time consuming
584 actions from happening during build. This saves a lot of time when
585 you're repeatedly compiling-running-crashing. This (1) doesn't
586 garbage-collect after loading each file during dumping, and (2)
587 doesn't automatically rebuild the DOC file. (Remove it by hand to
592 /* Defined by AC_C_CONST in configure.in */
595 /* Allow the source to use standard types. Include these before the
596 s&m files so that they can use them. */
605 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
606 seem to require this, probably because something with the int
607 definitions isn't right with 64-bit systems. */
608 #undef USE_UNION_TYPE
610 /* The configuration script defines opsysfile to be the name of the
611 s/...h file that describes the system type you are using.
612 The file is chosen based on the configuration name you give.
614 See the file ../etc/MACHINES for a list of systems and the
615 configuration names to use for them.
617 See s/template.h for documentation on writing s/...h files. */
619 #if defined (__cplusplus) && !defined (NOT_C_CODE)
622 #undef config_opsysfile
623 #include config_opsysfile
625 /* The configuration script defines machfile to be the name of the
626 m/...h file that describes the machine you are using. The file is
627 chosen based on the configuration name you give.
629 See the file ../etc/MACHINES for a list of machines and the
630 configuration names to use for them.
632 See m/template.h for documentation on writing m/...h files. */
633 #undef config_machfile
634 #include config_machfile
635 #if defined (__cplusplus) && !defined (NOT_C_CODE)
639 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
640 #define SYSTEM_MALLOC
643 /* Use the relocating allocator for buffer space? */
646 /* Define the return type of signal handlers if the s/xxx.h file
647 did not already do so. */
648 #define RETSIGTYPE void
650 /* SIGTYPE is the macro we actually use. */
652 #define SIGTYPE RETSIGTYPE
653 #define SIGRETURN return
656 /* Define DYNODUMP if it is necessary to properly dump on this system.
657 Currently this is only Solaris 2.x, for x < 6. */
660 /* Compile in support for Sun Sparcworks/WorkShop? */
663 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
664 support for playing sound files. (On Suns, the sound support is
665 usually found in /usr/demo/SOUND - you may need to install the
666 "SUNWaudmo" package.) */
667 #undef HAVE_NATIVE_SOUND
668 /* Native sound may be provided via soundcard.h, in various directories */
669 #undef SOUNDCARD_H_FILE
671 /* Compile in support for NAS (Network Audio System)?
672 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
673 error handling changes. */
674 #undef HAVE_NAS_SOUND
675 #undef NAS_NO_ERROR_JUMP
677 /* Compile in support for ESD (Enlightened Sound Daemon)? */
678 #undef HAVE_ESD_SOUND
680 /* Compile in support for SunPro usage-tracking code? */
681 #undef USAGE_TRACKING
683 /* Compile in support for Tooltalk? */
685 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
688 /* Toolkits used by lwlib for various widgets... */
689 #undef LWLIB_USES_MOTIF
690 #undef LWLIB_USES_ATHENA
691 #undef LWLIB_MENUBARS_LUCID
692 #undef LWLIB_MENUBARS_MOTIF
693 #undef LWLIB_SCROLLBARS_LUCID
694 #undef LWLIB_SCROLLBARS_MOTIF
695 #undef LWLIB_SCROLLBARS_ATHENA
696 #undef LWLIB_SCROLLBARS_ATHENA3D
697 #undef LWLIB_DIALOGS_MOTIF
698 #undef LWLIB_DIALOGS_ATHENA
699 #undef LWLIB_DIALOGS_ATHENA3D
700 #undef LWLIB_TABS_LUCID
701 #undef LWLIB_WIDGETS_MOTIF
702 #undef LWLIB_WIDGETS_ATHENA
703 #undef HAVE_ATHENA_3D
705 /* Other things that can be disabled by configure. */
707 #undef HAVE_SCROLLBARS
713 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
717 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
718 There is a stupid bug in the SunOS libc.a: two functions which X11r5
719 uses, mbstowcs() and wcstombs(), are unusable when programs are
720 statically linked (as XEmacs must be) because the static version of
721 libc.a contains the *dynamic* versions of these functions. These
722 functions don't seem to be called when XEmacs is running, so it's
723 enough to define stubs for them.
725 This appears to be fixed in SunOS 4.1.2.
727 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
728 sometimes reference memory past the end of the string, which can segv.
729 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */
730 #if defined (sparc) && !defined (USG)
731 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
734 /* If you turn this flag on, it forces encapsulation in all
735 circumstances; this can be used to make sure things compile OK
736 on various systems. */
737 #undef DEBUG_ENCAPSULATION
739 /* basic system calls */
741 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
742 # define ENCAPSULATE_READ
743 # define ENCAPSULATE_WRITE
745 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
746 # define ENCAPSULATE_OPEN
748 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
749 # define ENCAPSULATE_CLOSE
754 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
755 # define ENCAPSULATE_FREAD
756 # define ENCAPSULATE_FWRITE
758 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
759 # define ENCAPSULATE_FOPEN
761 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
762 # define ENCAPSULATE_FCLOSE
765 /* directory calls */
767 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
768 # define ENCAPSULATE_CHDIR
769 # define ENCAPSULATE_MKDIR
770 # define ENCAPSULATE_OPENDIR
771 # define ENCAPSULATE_CLOSEDIR
772 # define ENCAPSULATE_READDIR
773 # define ENCAPSULATE_RMDIR
775 /* file-information calls */
778 # define ENCAPSULATE_EACCESS
780 # define ENCAPSULATE_ACCESS
781 # define ENCAPSULATE_LSTAT
782 # define ENCAPSULATE_READLINK
783 # define ENCAPSULATE_STAT
785 /* file-manipulation calls */
787 # define ENCAPSULATE_CHMOD
788 # define ENCAPSULATE_CREAT
789 # define ENCAPSULATE_LINK
790 # define ENCAPSULATE_RENAME
791 # define ENCAPSULATE_SYMLINK
792 # define ENCAPSULATE_UNLINK
793 # define ENCAPSULATE_EXECVP
794 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
799 # define CANNA_PURESIZE 0
800 #else /* not CANNA */
801 # define CANNA_PURESIZE 0
802 #endif /* not CANNA */
804 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
808 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
809 #define accept Raccept
811 #define connect Rconnect
812 #define getsockname Rgetsockname
813 #define listen Rlisten
814 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
819 #undef SIZEOF_LONG_LONG
822 #ifndef BITS_PER_CHAR
823 #define BITS_PER_CHAR 8
825 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
826 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
827 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
828 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
829 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
831 /* Use `INLINE_HEADER' to define inline functions in .h files.
832 Use `inline static' to define inline functions in .c files.
833 See the Internals manual for examples and more information. */
835 /* Does the keyword `inline' exist? */
838 #if defined (__cplusplus) || ! defined (__GNUC__)
839 # define INLINE_HEADER inline static
840 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
841 # define INLINE_HEADER inline
843 # define INLINE_HEADER inline extern
846 #if defined (__cplusplus) && !defined (NOT_C_CODE)
847 /* Avoid C++ keywords used as ordinary C identifiers */
848 #define class c_class
851 #define catch c_catch
854 /* Strictly speaking, only int or unsigned int are valid types in a
855 bitfield. In practice, we would like to use enums as bitfields.
856 The following should just result in warning avoidance:
857 warning: nonportable bit-field type */
859 #define enum_field(enumeration_type) enum enumeration_type
861 #define enum_field(enumeration_type) unsigned int
864 /* We want to avoid saving the signal mask if possible, because
865 that necessitates a system call. */
866 #ifdef HAVE_SIGSETJMP
867 # define SETJMP(x) sigsetjmp (x, 0)
868 # define LONGJMP(x, y) siglongjmp (x, y)
869 # define JMP_BUF sigjmp_buf
871 # define SETJMP(x) setjmp (x)
872 # define LONGJMP(x, y) longjmp (x, y)
873 # define JMP_BUF jmp_buf
876 /* movemail options */
877 /* Should movemail use POP3 for mail access? */
879 /* Should movemail use kerberos for POP authentication? */
881 /* Should movemail use hesiod for getting POP server host? */
883 /* Determine type of mail locking. */
884 #undef MAIL_LOCK_LOCKF
885 #undef MAIL_LOCK_FLOCK
887 #undef MAIL_LOCK_LOCKING
888 #undef MAIL_LOCK_MMDF
890 #undef PREFIX_USER_DEFINED
891 #undef EXEC_PREFIX_USER_DEFINED
892 #undef MODULEDIR_USER_DEFINED
893 #undef SITEMODULEDIR_USER_DEFINED
894 #undef DOCDIR_USER_DEFINED
895 #undef LISPDIR_USER_DEFINED
896 #undef PACKAGE_PATH_USER_DEFINED
897 #undef SITELISPDIR_USER_DEFINED
898 #undef ARCHLIBDIR_USER_DEFINED
899 #undef ETCDIR_USER_DEFINED
900 #undef LOCKDIR_USER_DEFINED
901 #undef INFODIR_USER_DEFINED
902 #undef INFOPATH_USER_DEFINED
906 #endif /* _SRC_CONFIG_H_ */