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. */
561 /* Define this if you want file coding support */
564 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
565 If so, use raw Xlib or higher level Motif interface? */
571 /* Non-XIM input methods for use with Mule. */
576 /* Enable special GNU Make features in the Makefiles. */
579 /* Debugging development option: Remove inessential but time consuming
580 actions from happening during build. This saves a lot of time when
581 you're repeatedly compiling-running-crashing. This (1) doesn't
582 garbage-collect after loading each file during dumping, and (2)
583 doesn't automatically rebuild the DOC file. (Remove it by hand to
588 /* Defined by AC_C_CONST in configure.in */
591 /* Allow the source to use standard types. Include these before the
592 s&m files so that they can use them. */
601 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
602 seem to require this, probably because something with the int
603 definitions isn't right with 64-bit systems. */
604 #undef USE_UNION_TYPE
606 /* The configuration script defines opsysfile to be the name of the
607 s/...h file that describes the system type you are using.
608 The file is chosen based on the configuration name you give.
610 See the file ../etc/MACHINES for a list of systems and the
611 configuration names to use for them.
613 See s/template.h for documentation on writing s/...h files. */
615 #if defined (__cplusplus) && !defined (NOT_C_CODE)
618 #undef config_opsysfile
619 #include config_opsysfile
621 /* The configuration script defines machfile to be the name of the
622 m/...h file that describes the machine you are using. The file is
623 chosen based on the configuration name you give.
625 See the file ../etc/MACHINES for a list of machines and the
626 configuration names to use for them.
628 See m/template.h for documentation on writing m/...h files. */
629 #undef config_machfile
630 #include config_machfile
631 #if defined (__cplusplus) && !defined (NOT_C_CODE)
635 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
636 #define SYSTEM_MALLOC
639 /* Use the relocating allocator for buffer space? */
642 /* Define the return type of signal handlers if the s/xxx.h file
643 did not already do so. */
644 #define RETSIGTYPE void
646 /* SIGTYPE is the macro we actually use. */
648 #define SIGTYPE RETSIGTYPE
649 #define SIGRETURN return
652 /* Define DYNODUMP if it is necessary to properly dump on this system.
653 Currently this is only Solaris 2.x, for x < 6. */
656 /* Compile in support for Sun Sparcworks/WorkShop? */
659 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
660 support for playing sound files. (On Suns, the sound support is
661 usually found in /usr/demo/SOUND - you may need to install the
662 "SUNWaudmo" package.) */
663 #undef HAVE_NATIVE_SOUND
664 /* Native sound may be provided via soundcard.h, in various directories */
665 #undef SOUNDCARD_H_FILE
667 /* Compile in support for NAS (Network Audio System)?
668 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
669 error handling changes. */
670 #undef HAVE_NAS_SOUND
671 #undef NAS_NO_ERROR_JUMP
673 /* Compile in support for ESD (Enlightened Sound Daemon)? */
674 #undef HAVE_ESD_SOUND
676 /* Compile in support for SunPro usage-tracking code? */
677 #undef USAGE_TRACKING
679 /* Compile in support for Tooltalk? */
681 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
684 /* Toolkits used by lwlib for various widgets... */
685 #undef LWLIB_USES_MOTIF
686 #undef LWLIB_USES_ATHENA
687 #undef LWLIB_MENUBARS_LUCID
688 #undef LWLIB_MENUBARS_MOTIF
689 #undef LWLIB_SCROLLBARS_LUCID
690 #undef LWLIB_SCROLLBARS_MOTIF
691 #undef LWLIB_SCROLLBARS_ATHENA
692 #undef LWLIB_SCROLLBARS_ATHENA3D
693 #undef LWLIB_DIALOGS_MOTIF
694 #undef LWLIB_DIALOGS_ATHENA
695 #undef LWLIB_DIALOGS_ATHENA3D
696 #undef LWLIB_TABS_LUCID
697 #undef LWLIB_WIDGETS_MOTIF
698 #undef LWLIB_WIDGETS_ATHENA
699 #undef HAVE_ATHENA_3D
701 /* Other things that can be disabled by configure. */
703 #undef HAVE_SCROLLBARS
709 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
713 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
714 There is a stupid bug in the SunOS libc.a: two functions which X11r5
715 uses, mbstowcs() and wcstombs(), are unusable when programs are
716 statically linked (as XEmacs must be) because the static version of
717 libc.a contains the *dynamic* versions of these functions. These
718 functions don't seem to be called when XEmacs is running, so it's
719 enough to define stubs for them.
721 This appears to be fixed in SunOS 4.1.2.
723 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
724 sometimes reference memory past the end of the string, which can segv.
725 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */
726 #if defined (sparc) && !defined (USG)
727 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
730 /* If you turn this flag on, it forces encapsulation in all
731 circumstances; this can be used to make sure things compile OK
732 on various systems. */
733 #undef DEBUG_ENCAPSULATION
735 /* basic system calls */
737 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
738 # define ENCAPSULATE_READ
739 # define ENCAPSULATE_WRITE
741 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
742 # define ENCAPSULATE_OPEN
744 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
745 # define ENCAPSULATE_CLOSE
750 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
751 # define ENCAPSULATE_FREAD
752 # define ENCAPSULATE_FWRITE
754 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
755 # define ENCAPSULATE_FOPEN
757 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
758 # define ENCAPSULATE_FCLOSE
761 /* directory calls */
763 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
764 # define ENCAPSULATE_CHDIR
765 # define ENCAPSULATE_MKDIR
766 # define ENCAPSULATE_OPENDIR
767 # define ENCAPSULATE_CLOSEDIR
768 # define ENCAPSULATE_READDIR
769 # define ENCAPSULATE_RMDIR
771 /* file-information calls */
774 # define ENCAPSULATE_EACCESS
776 # define ENCAPSULATE_ACCESS
777 # define ENCAPSULATE_LSTAT
778 # define ENCAPSULATE_READLINK
779 # define ENCAPSULATE_STAT
781 /* file-manipulation calls */
783 # define ENCAPSULATE_CHMOD
784 # define ENCAPSULATE_CREAT
785 # define ENCAPSULATE_LINK
786 # define ENCAPSULATE_RENAME
787 # define ENCAPSULATE_SYMLINK
788 # define ENCAPSULATE_UNLINK
789 # define ENCAPSULATE_EXECVP
790 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
795 # define CANNA_PURESIZE 0
796 #else /* not CANNA */
797 # define CANNA_PURESIZE 0
798 #endif /* not CANNA */
800 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
804 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
805 #define accept Raccept
807 #define connect Rconnect
808 #define getsockname Rgetsockname
809 #define listen Rlisten
810 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
815 #undef SIZEOF_LONG_LONG
818 #ifndef BITS_PER_CHAR
819 #define BITS_PER_CHAR 8
821 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
822 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
823 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
824 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
825 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
827 /* Use `INLINE_HEADER' to define inline functions in .h files.
828 Use `inline static' to define inline functions in .c files.
829 See the Internals manual for examples and more information. */
831 /* Does the keyword `inline' exist? */
834 #if defined (__cplusplus) || ! defined (__GNUC__)
835 # define INLINE_HEADER inline static
836 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
837 # define INLINE_HEADER inline
839 # define INLINE_HEADER inline extern
842 #if defined (__cplusplus) && !defined (NOT_C_CODE)
843 /* Avoid C++ keywords used as ordinary C identifiers */
844 #define class c_class
847 #define catch c_catch
850 /* Strictly speaking, only int or unsigned int are valid types in a
851 bitfield. In practice, we would like to use enums as bitfields.
852 The following should just result in warning avoidance:
853 warning: nonportable bit-field type */
855 #define enum_field(enumeration_type) enum enumeration_type
857 #define enum_field(enumeration_type) unsigned int
860 /* We want to avoid saving the signal mask if possible, because
861 that necessitates a system call. */
862 #ifdef HAVE_SIGSETJMP
863 # define SETJMP(x) sigsetjmp (x, 0)
864 # define LONGJMP(x, y) siglongjmp (x, y)
865 # define JMP_BUF sigjmp_buf
867 # define SETJMP(x) setjmp (x)
868 # define LONGJMP(x, y) longjmp (x, y)
869 # define JMP_BUF jmp_buf
872 /* movemail options */
873 /* Should movemail use POP3 for mail access? */
875 /* Should movemail use kerberos for POP authentication? */
877 /* Should movemail use hesiod for getting POP server host? */
879 /* Determine type of mail locking. */
880 #undef MAIL_LOCK_LOCKF
881 #undef MAIL_LOCK_FLOCK
883 #undef MAIL_LOCK_LOCKING
884 #undef MAIL_LOCK_MMDF
886 #undef PREFIX_USER_DEFINED
887 #undef EXEC_PREFIX_USER_DEFINED
888 #undef MODULEDIR_USER_DEFINED
889 #undef SITEMODULEDIR_USER_DEFINED
890 #undef DOCDIR_USER_DEFINED
891 #undef LISPDIR_USER_DEFINED
892 #undef PACKAGE_PATH_USER_DEFINED
893 #undef SITELISPDIR_USER_DEFINED
894 #undef ARCHLIBDIR_USER_DEFINED
895 #undef ETCDIR_USER_DEFINED
896 #undef LOCKDIR_USER_DEFINED
897 #undef INFODIR_USER_DEFINED
898 #undef INFOPATH_USER_DEFINED
902 #endif /* _SRC_CONFIG_H_ */