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. */
35 #if defined (__CYGWIN__)
36 /* We get complaints about redefinitions if we just use the __GNUC__
37 definition: stdlib.h also includes alloca.h, which defines it slightly
40 #elif defined (__GNUC__)
41 #define alloca __builtin_alloca
44 #pragma intrinsic(alloca)
45 #elif defined HAVE_ALLOCA_H
49 #elif ! defined (alloca)
54 /* Use this to add code in a structured way to FSF-maintained source
55 files so as to make it obvious where XEmacs changes are. */
61 /* Allow s&m files to differentiate OS versions without having
62 multiple files to maintain. */
65 /* The configuration name. This is used as the install directory name
66 for the lib-src programs. */
67 #undef EMACS_CONFIGURATION
69 /* The configuration options. This is exported to Lisp. */
70 #undef EMACS_CONFIG_OPTIONS
72 /* The version info from version.sh. Used in #pragma ident in emacs.c */
73 #undef EMACS_MAJOR_VERSION
74 #undef EMACS_MINOR_VERSION
75 #undef EMACS_PATCH_LEVEL
76 #undef EMACS_BETA_VERSION
78 #undef XEMACS_CODENAME
79 /* InfoDock versions, not used with XEmacs */
80 #undef INFODOCK_MAJOR_VERSION
81 #undef INFODOCK_MINOR_VERSION
82 #undef INFODOCK_BUILD_VERSION
84 /* Make functions from IEEE Stds 1003.[123] available. */
85 #undef _POSIX_C_SOURCE
87 /* Make some functions from Unix98 available. */
90 /* Make "extensions" from Unix98 available. */
91 #undef _XOPEN_SOURCE_EXTENDED
93 /* Make all functions available on AIX. See AC_AIX. */
96 /* Make all functions available on GNU libc systems. See features.h. */
99 /* Make all functions available on Solaris 2 systems. */
100 #undef __EXTENSIONS__
102 /* Used to identify the XEmacs version in stack traces. */
103 #undef STACK_TRACE_EYE_CATCHER
105 /* Allow the configurer to specify if she wants site-lisp. */
106 #undef INHIBIT_SITE_LISP
108 /* Allow the configurer to specify if she wants site-modules. */
109 #undef INHIBIT_SITE_MODULES
111 /* This will be removed in 19.15. */
112 /* Hah! Try 20.3 ... */
113 /* Hah! Try never ... */
114 /* If at first you don't succeed, try, try again. */
115 /* #define LOSING_BYTECODE */
117 /* Undefine on systems which don't have processes */
118 #undef HAVE_UNIX_PROCESSES
120 /* Does XEmacs support floating-point numbers? */
121 #undef LISP_FLOAT_TYPE
123 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
126 /* Define if you are using the GNU C Library. -- experimental. */
127 #undef DOUG_LEA_MALLOC
129 /* Define if you are using libmcheck.a from the GNU C Library. */
130 #undef HAVE_LIBMCHECK
132 /* Define if you are using dlmalloc from the Linux C library. */
133 #undef _NO_MALLOC_WARNING_
135 /* Use the system malloc? */
136 #undef USE_SYSTEM_MALLOC
138 /* Use a debugging malloc? -- experimental */
139 #undef USE_DEBUG_MALLOC
141 /* Compile in TTY support? */
144 /* Compile in support for MS windows? */
145 #undef HAVE_MS_WINDOWS
147 /* special cygwin process handling? */
148 #undef HAVE_MSG_SELECT
150 /* Compile in support for the X window system? */
151 #undef HAVE_X_WINDOWS
153 /* Defines for building X applications */
154 #ifdef HAVE_X_WINDOWS
155 /* The following will be defined if xmkmf thinks they are necessary */
164 /* The following should always be defined, no matter what xmkmf thinks. */
165 #ifndef NeedFunctionPrototypes
166 #define NeedFunctionPrototypes 1
171 #endif /* HAVE_X_WINDOWS */
173 /* Defines for building Gtk applications */
176 #undef HAVE_GDK_IMLIB_INIT
177 #undef HAVE_GLADE_GLADE_H
179 #undef LIBGLADE_XML_TXTDOMAIN
181 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
182 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
183 #define HAVE_WINDOW_SYSTEM
186 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
187 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
188 #define HAVE_UNIXOID_EVENT_LOOP
191 /* XFree86 has a different prototype for this function */
192 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK
193 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
199 #undef HAVE_XCONVERTCASE
201 #undef HAVE_BALLOON_HELP
203 /* Where do we find bitmaps? */
206 /* USER_FULL_NAME returns a string that is the user's full name.
207 It can assume that the variable `pw' points to the password file
210 At some sites, the pw_gecos field contains the user's full name.
211 If neither this nor any other field contains the right thing, use
212 pw_name, giving the user's login name, since that is better than
214 #define USER_FULL_NAME pw->pw_gecos
216 /* Define AMPERSAND_FULL_NAME if you use the convention
217 that & in the full name stands for the login id. */
218 #undef AMPERSAND_FULL_NAME
220 /* Some things figured out by the configure script, grouped as they are in
225 #undef HAVE_CYGWIN_VERSION_H
227 #undef HAVE_INTTYPES_H
230 #undef HAVE_MACH_MACH_H
231 #undef HAVE_SYS_PARAM_H
232 #undef HAVE_SYS_PSTAT_H
233 #undef HAVE_SYS_TIME_H
234 #undef HAVE_SYS_TIMEB_H
239 #undef HAVE_SYS_WAIT_H
240 #undef HAVE_LIBINTL_H
241 #undef HAVE_X11_XLOCALE_H
243 #undef TIME_WITH_SYS_TIME
244 #undef WORDS_BIGENDIAN
248 #undef HAVE_LONG_FILE_NAMES
250 /* Use lock files to detect multiple edits of the same file? */
251 #undef CLASH_DETECTION
253 /* Have shared library support */
263 #undef HAVE_LIBRESOLV
265 /* Is `sys_siglist' declared by <signal.h>? */
266 #undef SYS_SIGLIST_DECLARED
268 /* Is `struct timeval' declared by <sys/time.h>? */
272 #undef TM_IN_SYS_TIME
276 /* For `getloadavg' provided by system */
277 #undef HAVE_GETLOADAVG
278 #undef HAVE_SYS_LOADAVG_H
279 /* For implementing `getloadavg' ourselves */
283 /* Is `h_errno' declared by <netdb.h>? */
286 /* Does `localtime' cache TZ? */
287 #undef LOCALTIME_CACHE
289 /* Can `gettimeofday' accept two arguments? */
290 #undef GETTIMEOFDAY_ONE_ARGUMENT
297 #undef HAVE_INVERSE_HYPERBOLIC
304 #undef HAVE_FPATHCONF
307 #undef HAVE_GETADDRINFO
308 #undef HAVE_GETHOSTNAME
309 #undef HAVE_GETNAMEINFO
310 #undef HAVE_GETPAGESIZE
311 #undef HAVE_GETTIMEOFDAY
328 #undef HAVE_SETITIMER
333 #undef HAVE_SIGPROCMASK
334 #undef HAVE_SIGSETJMP
344 #undef HAVE_VSNPRINTF
346 /* PTY support functions */
347 #undef HAVE_GETPT /* glibc's easy pty allocation function */
348 #undef HAVE__GETPTY /* SGI's easy pty allocation function */
349 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */
350 #undef HAVE_GRANTPT /* Unix98 */
351 #undef HAVE_UNLOCKPT /* Unix98 */
352 #undef HAVE_PTSNAME /* Unix98 */
353 #undef HAVE_KILLPG /* BSD */
354 #undef HAVE_TCGETPGRP /* Posix 1 */
355 #undef HAVE_ISASTREAM /* SysV streams */
356 #undef HAVE_PTY_H /* Linux, Tru64 openpty */
357 #undef HAVE_LIBUTIL_H /* BSD openpty */
358 #undef HAVE_UTIL_H /* NetBSD openpty */
359 #undef HAVE_STROPTS_H /* SysV streams */
360 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */
363 #undef HAVE_SOCKADDR_SUN_LEN
364 #undef HAVE_MULTICAST
369 #undef HAVE_FTRUNCATE
372 #undef SYSV_SYSTEM_DIR
373 #undef NONSYSTEM_DIR_LIBRARY
378 #undef SIGNALS_VIA_CHARACTERS
382 /* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */
383 #undef IPV6_CANONICALIZE
385 /* Compile in support for SOCKS? */
388 /* Compile in support for X pixmaps via the `xpm' library? */
392 /* Compile in support for "X faces" via the `compface' library?
393 This enables graphical display of X-face headers in mail/news messages */
396 /* Compile in support for JPEG images */
399 /* Compile in support for TIFF images */
402 /* Compile in support for GIF images */
405 /* Compile in support for PNG images */
408 /* Do you have the Xmu library?
409 This should always be the case except on losing HP-UX systems. */
412 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
415 /* Compile in support for Berkeley DB style databases? May require libdb. */
416 #undef HAVE_BERKELEY_DB
417 /* Full #include file path for Berkeley DB's db.h */
420 /* Do we have either DBM or Berkeley DB database support? */
423 /* Do we have LDAP support? */
425 /* Does the library define ldap_set_option () ? */
426 #undef HAVE_LDAP_SET_OPTION
427 /* Does the library define ldap_get_lderrno () ? */
428 #undef HAVE_LDAP_GET_LDERRNO
429 /* Does the library define ldap_result2error () ? */
430 #undef HAVE_LDAP_RESULT2ERROR
431 /* Does the library define ldap_parse_result () ? */
432 #undef HAVE_LDAP_PARSE_RESULT
434 /* Do we have PostgreSQL RDBMS support? */
435 #undef HAVE_POSTGRESQL
436 #undef HAVE_POSTGRESQLV7
437 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */
439 /* Do you have the Xauth library present? This will add some extra
440 functionality to gnuserv. */
443 /* Compile in support for gpm (General Purpose Mouse)? */
446 /* Compile in support for ncurses? */
448 /* Full #include file paths for ncurses' curses.h and term.h. */
452 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
453 If the assertion fails, assert_failed() will be called. This is
454 recommended for general use because it gives more info about the crash
455 than just the abort() message. Too many people "Can't find the corefile"
456 or have limit-ed core dumps out of existence. */
457 #undef USE_ASSERTIONS
459 /* Define one or more of the following if you want lots of extra checks
460 (e.g. structure validation) compiled in. These should be turned
461 on during the beta-test cycle. */
463 /* Check the entire extent structure of a buffer each time an extent
464 change is done, and do other extent-related checks. */
465 #undef ERROR_CHECK_EXTENTS
467 /* Make sure that all X... macros are dereferencing the correct type,
468 and that all XSET... macros (as much as possible) are setting the
469 correct type of structure. Highly recommended for all
471 #undef ERROR_CHECK_TYPECHECK
472 #ifdef ERROR_CHECK_TYPECHECK
473 #define type_checking_assert(assertion) assert (assertion)
475 #define type_checking_assert(assertion)
478 /* Make sure valid buffer positions are passed to BUF_* macros. */
479 #undef ERROR_CHECK_BUFPOS
480 #ifdef ERROR_CHECK_BUFPOS
481 #define bufpos_checking_assert(assertion) assert (assertion)
483 #define bufpos_checking_assert(assertion)
486 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
487 #undef ERROR_CHECK_GC
488 #ifdef ERROR_CHECK_GC
489 #define gc_checking_assert(assertion) assert (assertion)
491 #define gc_checking_assert(assertion)
494 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
495 #undef ERROR_CHECK_MALLOC
497 /* Minor sanity checking of the bytecode interpreter. Useful for
498 debugging the byte compiler. */
499 #undef ERROR_CHECK_BYTE_CODE
501 /* Minor sanity checking of glyphs, especially subwindows and
503 #undef ERROR_CHECK_GLYPHS
505 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
506 This is mainly intended for use by developers. */
509 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
510 determine where XEmacs' memory is going. */
511 #undef MEMORY_USAGE_STATS
513 /* Define QUANTIFY if using Quantify from Rational Software.
514 This adds some additional calls to control data collection.
515 It is only intended for use by the developers. */
518 /* Define PURIFY if using Purify from Rational Software.
519 It is only intended for use by the developers. */
522 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
523 #define XLIB_ILLEGAL_ACCESS 1
526 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
527 widget within another program. */
528 #undef EXTERNAL_WIDGET
530 /* There are some special-case defines for gcc and lcc. */
534 /* Define this if you want level 2 internationalization compliance
535 (localized collation and formatting). Generally this should be
536 defined, unless your system doesn't have the strcoll() and
537 setlocale() library routines. This really should be (NOT! -mrb)
538 defined in the appropriate s/ or m/ file. */
541 /* Define this if you want level 3 internationalization compliance
542 (localized messaging). This will cause a small runtime performance
543 penalty, as the strings are read from the message catalog(s).
544 For this you need the gettext() and dgetext() library routines.
545 WARNING, this code is under construction. */
548 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
549 Requires libDtSvc, which typically must be present at runtime. */
552 /* Compile in support for OffiX Drag and Drop? */
553 #undef HAVE_OFFIX_DND
555 /* Compile in generic Drag'n'Drop API */
556 #undef HAVE_DRAGNDROP
558 /* Compile in support for proper handling of WM_COMMAND. */
559 #undef HAVE_WMCOMMAND
561 /* Define this if you want Mule support (multi-byte character support).
562 There may be some performance penalty, although it should be small
563 if you're working with ASCII files. */
566 /* Define this if you want UTF-2000 support (character representation
567 based on character object model). */
572 /* Compile in support for external character database. */
573 #undef HAVE_CHISE_CLIENT
575 /* Define this if you want file coding support */
578 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
579 If so, use raw Xlib or higher level Motif interface? */
585 /* Non-XIM input methods for use with Mule. */
590 /* Enable special GNU Make features in the Makefiles. */
593 /* Debugging development option: Remove inessential but time consuming
594 actions from happening during build. This saves a lot of time when
595 you're repeatedly compiling-running-crashing. This (1) doesn't
596 garbage-collect after loading each file during dumping, and (2)
597 doesn't automatically rebuild the DOC file. (Remove it by hand to
602 /* Defined by AC_C_CONST in configure.in */
605 /* Allow the source to use standard types. Include these before the
606 s&m files so that they can use them. */
616 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
617 seem to require this, probably because something with the int
618 definitions isn't right with 64-bit systems. */
619 #undef USE_UNION_TYPE
621 /* The configuration script may define `opsysfile' to be the name of
622 the s/...h file that describes your operating system.
623 The file name is chosen based on the configuration name. */
625 #if defined (__cplusplus) && !defined (NOT_C_CODE)
629 #undef config_opsysfile
630 #ifdef config_opsysfile
631 #include config_opsysfile
634 /* The configuration script may define `machfile' to be the name of
635 the m/...h file that describes the machine you are using.
636 The file name is chosen based on the configuration name. */
638 #undef config_machfile
639 #ifdef config_machfile
640 #include config_machfile
643 #if defined (__cplusplus) && !defined (NOT_C_CODE)
647 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
648 #define SYSTEM_MALLOC
651 /* Use the relocating allocator for buffer space? */
654 /* Define the return type of signal handlers if the s/xxx.h file
655 did not already do so. */
656 #define RETSIGTYPE void
658 /* SIGTYPE is the macro we actually use. */
660 #define SIGTYPE RETSIGTYPE
661 #define SIGRETURN return
664 /* Define DYNODUMP if it is necessary to properly dump on this system.
665 Currently this is only Solaris 2.x, for x < 6. */
668 /* Compile in support for Sun Sparcworks/WorkShop? */
671 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
672 support for playing sound files. (On Suns, the sound support is
673 usually found in /usr/demo/SOUND - you may need to install the
674 "SUNWaudmo" package.) */
675 #undef HAVE_NATIVE_SOUND
676 /* Native sound may be provided via soundcard.h, in various directories */
677 #undef SOUNDCARD_H_FILE
679 /* Compile in support for NAS (Network Audio System)?
680 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
681 error handling changes. */
682 #undef HAVE_NAS_SOUND
683 #undef NAS_NO_ERROR_JUMP
685 /* Compile in support for ESD (Enlightened Sound Daemon)? */
686 #undef HAVE_ESD_SOUND
688 /* Compile in support for SunPro usage-tracking code? */
689 #undef USAGE_TRACKING
691 /* Compile in support for Tooltalk? */
693 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
696 /* Toolkits used by lwlib for various widgets... */
697 #undef LWLIB_USES_MOTIF
698 #undef LWLIB_USES_ATHENA
699 #undef LWLIB_MENUBARS_LUCID
700 #undef LWLIB_MENUBARS_MOTIF
701 #undef LWLIB_SCROLLBARS_LUCID
702 #undef LWLIB_SCROLLBARS_MOTIF
703 #undef LWLIB_SCROLLBARS_ATHENA
704 #undef LWLIB_SCROLLBARS_ATHENA3D
705 #undef LWLIB_DIALOGS_MOTIF
706 #undef LWLIB_DIALOGS_ATHENA
707 #undef LWLIB_DIALOGS_ATHENA3D
708 #undef LWLIB_TABS_LUCID
709 #undef LWLIB_WIDGETS_MOTIF
710 #undef LWLIB_WIDGETS_ATHENA
711 #undef HAVE_ATHENA_3D
713 /* Other things that can be disabled by configure. */
715 #undef HAVE_SCROLLBARS
721 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
725 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
726 There is a stupid bug in the SunOS libc.a: two functions which X11r5
727 uses, mbstowcs() and wcstombs(), are unusable when programs are
728 statically linked (as XEmacs must be) because the static version of
729 libc.a contains the *dynamic* versions of these functions. These
730 functions don't seem to be called when XEmacs is running, so it's
731 enough to define stubs for them.
733 This appears to be fixed in SunOS 4.1.2.
735 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
736 sometimes reference memory past the end of the string, which can segv.
737 I don't know whether this has been fixed as of 4.1.2 or 4.1.3. */
738 #if defined (sparc) && !defined (USG)
739 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
742 /* If you turn this flag on, it forces encapsulation in all
743 circumstances; this can be used to make sure things compile OK
744 on various systems. */
745 #undef DEBUG_ENCAPSULATION
747 /* basic system calls */
749 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
750 # define ENCAPSULATE_READ
751 # define ENCAPSULATE_WRITE
753 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
754 # define ENCAPSULATE_OPEN
756 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
757 # define ENCAPSULATE_CLOSE
762 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
763 # define ENCAPSULATE_FREAD
764 # define ENCAPSULATE_FWRITE
766 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
767 # define ENCAPSULATE_FOPEN
769 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
770 # define ENCAPSULATE_FCLOSE
773 /* directory calls */
775 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
776 # define ENCAPSULATE_CHDIR
777 # define ENCAPSULATE_MKDIR
778 # define ENCAPSULATE_OPENDIR
779 # define ENCAPSULATE_CLOSEDIR
780 # define ENCAPSULATE_READDIR
781 # define ENCAPSULATE_RMDIR
783 /* file-information calls */
786 # define ENCAPSULATE_EACCESS
788 # define ENCAPSULATE_ACCESS
789 # define ENCAPSULATE_LSTAT
790 # define ENCAPSULATE_READLINK
791 # define ENCAPSULATE_STAT
793 /* file-manipulation calls */
795 # define ENCAPSULATE_CHMOD
796 # define ENCAPSULATE_CREAT
797 # define ENCAPSULATE_LINK
798 # define ENCAPSULATE_RENAME
799 # define ENCAPSULATE_SYMLINK
800 # define ENCAPSULATE_UNLINK
801 # define ENCAPSULATE_EXECVP
802 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
807 # define CANNA_PURESIZE 0
808 #else /* not CANNA */
809 # define CANNA_PURESIZE 0
810 #endif /* not CANNA */
812 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
813 #define accept Raccept
815 #define connect Rconnect
816 #define getsockname Rgetsockname
817 #define listen Rlisten
818 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
823 #undef SIZEOF_LONG_LONG
826 #ifndef BITS_PER_CHAR
827 #define BITS_PER_CHAR 8
829 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
830 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
831 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
832 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
833 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
835 /* Use `INLINE_HEADER' to define inline functions in .h files.
836 Use `inline static' to define inline functions in .c files.
837 See the Internals manual for examples and more information. */
839 /* Does the keyword `inline' exist? */
842 #if defined (__cplusplus) || ! defined (__GNUC__)
843 # define INLINE_HEADER inline static
844 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
845 # define INLINE_HEADER inline
847 # define INLINE_HEADER inline extern
850 #ifndef NOT_C_CODE /* Actually means C or C++ */
851 # if defined (__cplusplus)
852 /* Avoid C++ keywords used as ordinary C identifiers */
853 # define class c_class
856 # define catch c_catch
858 # define EXTERN_C extern "C"
860 # define EXTERN_C extern
862 #endif /* C or C++ */
864 /* Strictly speaking, only int or unsigned int are valid types in a
865 bitfield. In practice, we would like to use enums as bitfields.
866 The following should just result in warning avoidance:
867 warning: nonportable bit-field type */
869 #define enum_field(enumeration_type) enum enumeration_type
871 #define enum_field(enumeration_type) unsigned int
874 /* We want to avoid saving the signal mask if possible, because
875 that necessitates a system call. */
876 #ifdef HAVE_SIGSETJMP
877 # define SETJMP(x) sigsetjmp (x, 0)
878 # define LONGJMP(x, y) siglongjmp (x, y)
879 # define JMP_BUF sigjmp_buf
881 # define SETJMP(x) setjmp (x)
882 # define LONGJMP(x, y) longjmp (x, y)
883 # define JMP_BUF jmp_buf
886 /* movemail options */
887 /* Should movemail use POP3 for mail access? */
889 /* Should movemail use kerberos for POP authentication? */
891 /* Should movemail use hesiod for getting POP server host? */
893 /* Determine type of mail locking. */
894 #undef MAIL_LOCK_LOCKF
895 #undef MAIL_LOCK_FLOCK
897 #undef MAIL_LOCK_LOCKING
898 #undef MAIL_LOCK_MMDF
900 #undef PREFIX_USER_DEFINED
901 #undef EXEC_PREFIX_USER_DEFINED
902 #undef MODULEDIR_USER_DEFINED
903 #undef SITEMODULEDIR_USER_DEFINED
904 #undef DOCDIR_USER_DEFINED
905 #undef LISPDIR_USER_DEFINED
906 #undef PACKAGE_PATH_USER_DEFINED
907 #undef SITELISPDIR_USER_DEFINED
908 #undef ARCHLIBDIR_USER_DEFINED
909 #undef ETCDIR_USER_DEFINED
910 #undef INFODIR_USER_DEFINED
911 #undef INFOPATH_USER_DEFINED
915 #endif /* _SRC_CONFIG_H_ */