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
39 #pragma intrinsic(alloca)
40 #elif defined HAVE_ALLOCA_H
44 #elif ! defined (alloca)
49 /* Use this to add code in a structured way to FSF-maintained source
50 files so as to make it obvious where XEmacs changes are. */
56 /* Allow s&m files to differentiate OS versions without having
57 multiple files to maintain. */
60 /* The configuration name. This is used as the install directory name
61 for the lib-src programs. */
62 #undef EMACS_CONFIGURATION
64 /* The configuration options. This is exported to Lisp. */
65 #undef EMACS_CONFIG_OPTIONS
67 /* The version info from version.sh. Used in #pragma ident in emacs.c */
68 #undef EMACS_MAJOR_VERSION
69 #undef EMACS_MINOR_VERSION
70 #undef EMACS_PATCH_LEVEL
71 #undef EMACS_BETA_VERSION
73 #undef XEMACS_CODENAME
74 /* InfoDock versions, not used with XEmacs */
75 #undef INFODOCK_MAJOR_VERSION
76 #undef INFODOCK_MINOR_VERSION
77 #undef INFODOCK_BUILD_VERSION
79 /* Make functions from IEEE Stds 1003.[123] available. */
80 #undef _POSIX_C_SOURCE
82 /* Make some functions from Unix98 available. */
85 /* Make "extensions" from Unix98 available. */
86 #undef _XOPEN_SOURCE_EXTENDED
88 /* Make all functions available on AIX. See AC_AIX. */
91 /* Make all functions available on GNU libc systems. See features.h. */
94 /* Make all functions available on Solaris 2 systems. */
97 /* Used to identify the XEmacs version in stack traces. */
98 #undef STACK_TRACE_EYE_CATCHER
100 /* Allow the configurer to specify if she wants site-lisp. */
101 #undef INHIBIT_SITE_LISP
103 /* Allow the configurer to specify if she wants site-modules. */
104 #undef INHIBIT_SITE_MODULES
106 /* This will be removed in 19.15. */
107 /* Hah! Try 20.3 ... */
108 /* Hah! Try never ... */
109 /* If at first you don't succeed, try, try again. */
110 /* #define LOSING_BYTECODE */
112 /* Undefine on systems which don't have processes */
113 #undef HAVE_UNIX_PROCESSES
115 /* Does XEmacs support floating-point numbers? */
116 #undef LISP_FLOAT_TYPE
118 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
121 /* Define if you are using the GNU C Library. -- experimental. */
122 #undef DOUG_LEA_MALLOC
124 /* Define if you are using libmcheck.a from the GNU C Library. */
125 #undef HAVE_LIBMCHECK
127 /* Define if you are using dlmalloc from the Linux C library. */
128 #undef _NO_MALLOC_WARNING_
130 /* Use the system malloc? */
131 #undef USE_SYSTEM_MALLOC
133 /* Use a debugging malloc? -- experimental */
134 #undef USE_DEBUG_MALLOC
136 /* Compile in TTY support? */
139 /* Compile in support for MS windows? */
140 #undef HAVE_MS_WINDOWS
142 /* special cygwin process handling? */
143 #undef HAVE_MSG_SELECT
145 /* Compile in support for the X window system? */
146 #undef HAVE_X_WINDOWS
148 /* Defines for building X applications */
149 #ifdef HAVE_X_WINDOWS
150 /* The following will be defined if xmkmf thinks they are necessary */
159 /* The following should always be defined, no matter what xmkmf thinks. */
160 #ifndef NeedFunctionPrototypes
161 #define NeedFunctionPrototypes 1
166 #endif /* HAVE_X_WINDOWS */
168 /* Defines for building Gtk applications */
171 #undef HAVE_GDK_IMLIB_INIT
172 #undef HAVE_GLADE_GLADE_H
174 #undef LIBGLADE_XML_TXTDOMAIN
176 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
177 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
178 #define HAVE_WINDOW_SYSTEM
181 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
182 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
183 #define HAVE_UNIXOID_EVENT_LOOP
186 /* XFree86 has a different prototype for this function */
187 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK
188 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
194 #undef HAVE_XCONVERTCASE
196 #undef HAVE_BALLOON_HELP
198 /* Where do we find bitmaps? */
201 /* USER_FULL_NAME returns a string that is the user's full name.
202 It can assume that the variable `pw' points to the password file
205 At some sites, the pw_gecos field contains the user's full name.
206 If neither this nor any other field contains the right thing, use
207 pw_name, giving the user's login name, since that is better than
209 #define USER_FULL_NAME pw->pw_gecos
211 /* Define AMPERSAND_FULL_NAME if you use the convention
212 that & in the full name stands for the login id. */
213 #undef AMPERSAND_FULL_NAME
215 /* Some things figured out by the configure script, grouped as they are in
220 #undef HAVE_CYGWIN_VERSION_H
222 #undef HAVE_INTTYPES_H
225 #undef HAVE_MACH_MACH_H
226 #undef HAVE_SYS_PARAM_H
227 #undef HAVE_SYS_PSTAT_H
228 #undef HAVE_SYS_TIME_H
229 #undef HAVE_SYS_TIMEB_H
234 #undef HAVE_SYS_WAIT_H
235 #undef HAVE_LIBINTL_H
236 #undef HAVE_X11_XLOCALE_H
238 #undef TIME_WITH_SYS_TIME
239 #undef WORDS_BIGENDIAN
243 #undef HAVE_LONG_FILE_NAMES
245 /* Use lock files to detect multiple edits of the same file? */
246 #undef CLASH_DETECTION
248 /* Have shared library support */
258 #undef HAVE_LIBRESOLV
260 /* Is `sys_siglist' declared by <signal.h>? */
261 #undef SYS_SIGLIST_DECLARED
263 /* Is `struct timeval' declared by <sys/time.h>? */
267 #undef TM_IN_SYS_TIME
271 /* For `getloadavg' provided by system */
272 #undef HAVE_GETLOADAVG
273 #undef HAVE_SYS_LOADAVG_H
274 /* For implementing `getloadavg' ourselves */
278 /* Is `h_errno' declared by <netdb.h>? */
281 /* Does `localtime' cache TZ? */
282 #undef LOCALTIME_CACHE
284 /* Can `gettimeofday' accept two arguments? */
285 #undef GETTIMEOFDAY_ONE_ARGUMENT
292 #undef HAVE_INVERSE_HYPERBOLIC
299 #undef HAVE_FPATHCONF
302 #undef HAVE_GETADDRINFO
303 #undef HAVE_GETHOSTNAME
304 #undef HAVE_GETNAMEINFO
305 #undef HAVE_GETPAGESIZE
306 #undef HAVE_GETTIMEOFDAY
323 #undef HAVE_SETITIMER
328 #undef HAVE_SIGPROCMASK
329 #undef HAVE_SIGSETJMP
339 #undef HAVE_VSNPRINTF
341 /* PTY support functions */
342 #undef HAVE_GETPT /* glibc's easy pty allocation function */
343 #undef HAVE__GETPTY /* SGI's easy pty allocation function */
344 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */
345 #undef HAVE_GRANTPT /* Unix98 */
346 #undef HAVE_UNLOCKPT /* Unix98 */
347 #undef HAVE_PTSNAME /* Unix98 */
348 #undef HAVE_KILLPG /* BSD */
349 #undef HAVE_TCGETPGRP /* Posix 1 */
350 #undef HAVE_ISASTREAM /* SysV streams */
351 #undef HAVE_PTY_H /* Linux, Tru64 openpty */
352 #undef HAVE_LIBUTIL_H /* BSD openpty */
353 #undef HAVE_UTIL_H /* NetBSD openpty */
354 #undef HAVE_STROPTS_H /* SysV streams */
355 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */
358 #undef HAVE_SOCKADDR_SUN_LEN
359 #undef HAVE_MULTICAST
364 #undef HAVE_FTRUNCATE
367 #undef SYSV_SYSTEM_DIR
368 #undef NONSYSTEM_DIR_LIBRARY
373 #undef SIGNALS_VIA_CHARACTERS
377 /* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */
378 #undef IPV6_CANONICALIZE
380 /* Compile in support for SOCKS? */
383 /* Compile in support for X pixmaps via the `xpm' library? */
387 /* Compile in support for "X faces" via the `compface' library?
388 This enables graphical display of X-face headers in mail/news messages */
391 /* Compile in support for JPEG images */
394 /* Compile in support for TIFF images */
397 /* Compile in support for GIF images */
400 /* Compile in support for PNG images */
403 /* Do you have the Xmu library?
404 This should always be the case except on losing HP-UX systems. */
407 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
410 /* Compile in support for Berkeley DB style databases? May require libdb. */
411 #undef HAVE_BERKELEY_DB
412 /* Full #include file path for Berkeley DB's db.h */
415 /* Do we have either DBM or Berkeley DB database support? */
418 /* Do we have LDAP support? */
420 /* Does the library define ldap_set_option () ? */
421 #undef HAVE_LDAP_SET_OPTION
422 /* Does the library define ldap_get_lderrno () ? */
423 #undef HAVE_LDAP_GET_LDERRNO
424 /* Does the library define ldap_result2error () ? */
425 #undef HAVE_LDAP_RESULT2ERROR
426 /* Does the library define ldap_parse_result () ? */
427 #undef HAVE_LDAP_PARSE_RESULT
429 /* Do we have PostgreSQL RDBMS support? */
430 #undef HAVE_POSTGRESQL
431 #undef HAVE_POSTGRESQLV7
432 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header 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 Software.
509 This adds some additional calls to control data collection.
510 It is only intended for use by the developers. */
513 /* Define PURIFY if using Purify from Rational 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. */
602 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
603 seem to require this, probably because something with the int
604 definitions isn't right with 64-bit systems. */
605 #undef USE_UNION_TYPE
607 /* The configuration script may define `opsysfile' to be the name of
608 the s/...h file that describes your operating system.
609 The file name is chosen based on the configuration name. */
611 #if defined (__cplusplus) && !defined (NOT_C_CODE)
615 #undef config_opsysfile
616 #ifdef config_opsysfile
617 #include config_opsysfile
620 /* The configuration script may define `machfile' to be the name of
621 the m/...h file that describes the machine you are using.
622 The file name is chosen based on the configuration name. */
624 #undef config_machfile
625 #ifdef config_machfile
626 #include config_machfile
629 #if defined (__cplusplus) && !defined (NOT_C_CODE)
633 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
634 #define SYSTEM_MALLOC
637 /* Use the relocating allocator for buffer space? */
640 /* Define the return type of signal handlers if the s/xxx.h file
641 did not already do so. */
642 #define RETSIGTYPE void
644 /* SIGTYPE is the macro we actually use. */
646 #define SIGTYPE RETSIGTYPE
647 #define SIGRETURN return
650 /* Define DYNODUMP if it is necessary to properly dump on this system.
651 Currently this is only Solaris 2.x, for x < 6. */
654 /* Compile in support for Sun Sparcworks/WorkShop? */
657 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
658 support for playing sound files. (On Suns, the sound support is
659 usually found in /usr/demo/SOUND - you may need to install the
660 "SUNWaudmo" package.) */
661 #undef HAVE_NATIVE_SOUND
662 /* Native sound may be provided via soundcard.h, in various directories */
663 #undef SOUNDCARD_H_FILE
665 /* Compile in support for NAS (Network Audio System)?
666 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
667 error handling changes. */
668 #undef HAVE_NAS_SOUND
669 #undef NAS_NO_ERROR_JUMP
671 /* Compile in support for ESD (Enlightened Sound Daemon)? */
672 #undef HAVE_ESD_SOUND
674 /* Compile in support for SunPro usage-tracking code? */
675 #undef USAGE_TRACKING
677 /* Compile in support for Tooltalk? */
679 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
682 /* Toolkits used by lwlib for various widgets... */
683 #undef LWLIB_USES_MOTIF
684 #undef LWLIB_USES_ATHENA
685 #undef LWLIB_MENUBARS_LUCID
686 #undef LWLIB_MENUBARS_MOTIF
687 #undef LWLIB_SCROLLBARS_LUCID
688 #undef LWLIB_SCROLLBARS_MOTIF
689 #undef LWLIB_SCROLLBARS_ATHENA
690 #undef LWLIB_SCROLLBARS_ATHENA3D
691 #undef LWLIB_DIALOGS_MOTIF
692 #undef LWLIB_DIALOGS_ATHENA
693 #undef LWLIB_DIALOGS_ATHENA3D
694 #undef LWLIB_TABS_LUCID
695 #undef LWLIB_WIDGETS_MOTIF
696 #undef LWLIB_WIDGETS_ATHENA
697 #undef HAVE_ATHENA_3D
699 /* Other things that can be disabled by configure. */
701 #undef HAVE_SCROLLBARS
707 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
711 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
712 There is a stupid bug in the SunOS libc.a: two functions which X11r5
713 uses, mbstowcs() and wcstombs(), are unusable when programs are
714 statically linked (as XEmacs must be) because the static version of
715 libc.a contains the *dynamic* versions of these functions. These
716 functions don't seem to be called when XEmacs is running, so it's
717 enough to define stubs for them.
719 This appears to be fixed in SunOS 4.1.2.
721 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
722 sometimes reference memory past the end of the string, which can segv.
723 I don't know whether this has been fixed as of 4.1.2 or 4.1.3. */
724 #if defined (sparc) && !defined (USG)
725 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
728 /* If you turn this flag on, it forces encapsulation in all
729 circumstances; this can be used to make sure things compile OK
730 on various systems. */
731 #undef DEBUG_ENCAPSULATION
733 /* basic system calls */
735 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
736 # define ENCAPSULATE_READ
737 # define ENCAPSULATE_WRITE
739 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
740 # define ENCAPSULATE_OPEN
742 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
743 # define ENCAPSULATE_CLOSE
748 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
749 # define ENCAPSULATE_FREAD
750 # define ENCAPSULATE_FWRITE
752 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
753 # define ENCAPSULATE_FOPEN
755 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
756 # define ENCAPSULATE_FCLOSE
759 /* directory calls */
761 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
762 # define ENCAPSULATE_CHDIR
763 # define ENCAPSULATE_MKDIR
764 # define ENCAPSULATE_OPENDIR
765 # define ENCAPSULATE_CLOSEDIR
766 # define ENCAPSULATE_READDIR
767 # define ENCAPSULATE_RMDIR
769 /* file-information calls */
772 # define ENCAPSULATE_EACCESS
774 # define ENCAPSULATE_ACCESS
775 # define ENCAPSULATE_LSTAT
776 # define ENCAPSULATE_READLINK
777 # define ENCAPSULATE_STAT
779 /* file-manipulation calls */
781 # define ENCAPSULATE_CHMOD
782 # define ENCAPSULATE_CREAT
783 # define ENCAPSULATE_LINK
784 # define ENCAPSULATE_RENAME
785 # define ENCAPSULATE_SYMLINK
786 # define ENCAPSULATE_UNLINK
787 # define ENCAPSULATE_EXECVP
788 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
793 # define CANNA_PURESIZE 0
794 #else /* not CANNA */
795 # define CANNA_PURESIZE 0
796 #endif /* not CANNA */
798 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
799 #define accept Raccept
801 #define connect Rconnect
802 #define getsockname Rgetsockname
803 #define listen Rlisten
804 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
809 #undef SIZEOF_LONG_LONG
812 #ifndef BITS_PER_CHAR
813 #define BITS_PER_CHAR 8
815 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
816 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
817 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
818 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
819 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
821 /* Use `INLINE_HEADER' to define inline functions in .h files.
822 Use `inline static' to define inline functions in .c files.
823 See the Internals manual for examples and more information. */
825 /* Does the keyword `inline' exist? */
828 #if defined (__cplusplus) || ! defined (__GNUC__)
829 # define INLINE_HEADER inline static
830 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
831 # define INLINE_HEADER inline
833 # define INLINE_HEADER inline extern
836 #ifndef NOT_C_CODE /* Actually means C or C++ */
837 # if defined (__cplusplus)
838 /* Avoid C++ keywords used as ordinary C identifiers */
839 # define class c_class
842 # define catch c_catch
844 # define EXTERN_C extern "C"
846 # define EXTERN_C extern
848 #endif /* C or C++ */
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 INFODIR_USER_DEFINED
897 #undef INFOPATH_USER_DEFINED
901 #endif /* _SRC_CONFIG_H_ */