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 __INTEL_COMPILER && defined HAVE_ALLOCA_H
46 /* defer #include to end of file */
47 #elif defined HAVE_ALLOCA_H
51 #elif ! defined (alloca)
56 /* Use this to add code in a structured way to FSF-maintained source
57 files so as to make it obvious where XEmacs changes are. */
63 /* Allow s&m files to differentiate OS versions without having
64 multiple files to maintain. */
67 /* The configuration name. This is used as the install directory name
68 for the lib-src programs. */
69 #undef EMACS_CONFIGURATION
71 /* The configuration options. This is exported to Lisp. */
72 #undef EMACS_CONFIG_OPTIONS
74 /* The version info from version.sh. Used in #pragma ident in emacs.c */
75 #undef EMACS_MAJOR_VERSION
76 #undef EMACS_MINOR_VERSION
77 #undef EMACS_PATCH_LEVEL
78 #undef EMACS_BETA_VERSION
80 #undef XEMACS_CODENAME
81 /* InfoDock versions, not used with XEmacs */
82 #undef INFODOCK_MAJOR_VERSION
83 #undef INFODOCK_MINOR_VERSION
84 #undef INFODOCK_BUILD_VERSION
86 /* Make functions from IEEE Stds 1003.[123] available. */
87 #undef _POSIX_C_SOURCE
89 /* Make some functions from Unix98 available. */
92 /* Make "extensions" from Unix98 available. */
93 #undef _XOPEN_SOURCE_EXTENDED
95 /* Make all functions available on AIX. See AC_AIX. */
96 /* Some AIX compilers (cc) pre-define _ALL_SOURCE, some (xlc) don't. */
101 /* Make all functions available on GNU libc systems. See features.h. */
104 /* Make all functions available on Solaris 2 systems. */
105 #undef __EXTENSIONS__
107 /* Used to identify the XEmacs version in stack traces. */
108 #undef STACK_TRACE_EYE_CATCHER
110 /* Allow the configurer to specify if she wants site-lisp. */
111 #undef INHIBIT_SITE_LISP
113 /* Allow the configurer to specify if she wants site-modules. */
114 #undef INHIBIT_SITE_MODULES
116 /* This will be removed in 19.15. */
117 /* Hah! Try 20.3 ... */
118 /* Hah! Try never ... */
119 /* If at first you don't succeed, try, try again. */
120 /* #define LOSING_BYTECODE */
122 /* Undefine on systems which don't have processes */
123 #undef HAVE_UNIX_PROCESSES
125 /* Does XEmacs support floating-point numbers? */
126 #undef LISP_FLOAT_TYPE
128 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
131 /* Define if you are using the GNU C Library. -- experimental. */
132 #undef DOUG_LEA_MALLOC
134 /* Define if you are using libmcheck.a from the GNU C Library. */
135 #undef HAVE_LIBMCHECK
137 /* Define if you are using dlmalloc from the Linux C library. */
138 #undef _NO_MALLOC_WARNING_
140 /* Use the system malloc? */
141 #undef USE_SYSTEM_MALLOC
143 /* Use a debugging malloc? -- experimental */
144 #undef USE_DEBUG_MALLOC
146 /* Compile in TTY support? */
149 /* Compile in support for MS windows? */
150 #undef HAVE_MS_WINDOWS
152 /* special cygwin process handling? */
153 #undef HAVE_MSG_SELECT
155 /* Compile in support for the X window system? */
156 #undef HAVE_X_WINDOWS
158 /* Defines for building X applications */
159 #ifdef HAVE_X_WINDOWS
160 /* The following will be defined if xmkmf thinks they are necessary */
169 /* The following should always be defined, no matter what xmkmf thinks. */
170 #ifndef NeedFunctionPrototypes
171 #define NeedFunctionPrototypes 1
176 #endif /* HAVE_X_WINDOWS */
178 /* Defines for building Gtk applications */
181 #undef HAVE_GDK_IMLIB_INIT
182 #undef HAVE_GLADE_GLADE_H
184 #undef LIBGLADE_XML_TXTDOMAIN
186 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
187 #if defined (HAVE_GTK) || defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
188 #define HAVE_WINDOW_SYSTEM
191 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
192 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
193 #define HAVE_UNIXOID_EVENT_LOOP
196 /* XFree86 has a different prototype for this function */
197 #undef HAVE_XREGISTERIMINSTANTIATECALLBACK
198 #undef XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
204 #undef HAVE_XCONVERTCASE
206 #undef HAVE_BALLOON_HELP
208 /* Where do we find bitmaps? */
211 /* USER_FULL_NAME returns a string that is the user's full name.
212 It can assume that the variable `pw' points to the password file
215 At some sites, the pw_gecos field contains the user's full name.
216 If neither this nor any other field contains the right thing, use
217 pw_name, giving the user's login name, since that is better than
219 #define USER_FULL_NAME pw->pw_gecos
221 /* Define AMPERSAND_FULL_NAME if you use the convention
222 that & in the full name stands for the login id. */
223 #undef AMPERSAND_FULL_NAME
225 /* Some things figured out by the configure script, grouped as they are in
230 #undef HAVE_CYGWIN_VERSION_H
232 #undef HAVE_INTTYPES_H
235 #undef HAVE_MACH_MACH_H
236 #undef HAVE_SYS_PARAM_H
237 #undef HAVE_SYS_PSTAT_H
238 #undef HAVE_SYS_TIME_H
239 #undef HAVE_SYS_TIMEB_H
244 #undef HAVE_SYS_WAIT_H
245 #undef HAVE_LIBINTL_H
246 #undef HAVE_X11_XLOCALE_H
248 #undef TIME_WITH_SYS_TIME
249 #undef WORDS_BIGENDIAN
253 #undef HAVE_LONG_FILE_NAMES
255 /* Use lock files to detect multiple edits of the same file? */
256 #undef CLASH_DETECTION
258 /* Have shared library support */
265 #undef DLSYM_NEEDS_UNDERSCORE
269 #undef HAVE_LIBRESOLV
271 /* Is `sys_siglist' declared by <signal.h>? */
272 #undef SYS_SIGLIST_DECLARED
274 /* Is `struct timeval' declared by <sys/time.h>? */
278 #undef TM_IN_SYS_TIME
282 /* For `getloadavg' provided by system */
283 #undef HAVE_GETLOADAVG
284 #undef HAVE_SYS_LOADAVG_H
285 /* For implementing `getloadavg' ourselves */
289 /* Is `h_errno' declared by <netdb.h>? */
292 /* Does `localtime' cache TZ? */
293 #undef LOCALTIME_CACHE
295 /* Can `gettimeofday' accept two arguments? */
296 #undef GETTIMEOFDAY_ONE_ARGUMENT
303 #undef HAVE_INVERSE_HYPERBOLIC
310 #undef HAVE_FPATHCONF
313 #undef HAVE_GETADDRINFO
314 #undef HAVE_GETHOSTNAME
315 #undef HAVE_GETNAMEINFO
316 #undef HAVE_GETPAGESIZE
317 #undef HAVE_GETTIMEOFDAY
334 #undef HAVE_SETITIMER
339 #undef HAVE_SIGPROCMASK
340 #undef HAVE_SIGSETJMP
350 #undef HAVE_VSNPRINTF
352 /* PTY support functions */
353 #undef HAVE_GETPT /* glibc's easy pty allocation function */
354 #undef HAVE__GETPTY /* SGI's easy pty allocation function */
355 #undef HAVE_OPENPTY /* BSD's easy pty allocation function */
356 #undef HAVE_GRANTPT /* Unix98 */
357 #undef HAVE_UNLOCKPT /* Unix98 */
358 #undef HAVE_PTSNAME /* Unix98 */
359 #undef HAVE_KILLPG /* BSD */
360 #undef HAVE_TCGETPGRP /* Posix 1 */
361 #undef HAVE_ISASTREAM /* SysV streams */
362 #undef HAVE_PTY_H /* Linux, Tru64 openpty */
363 #undef HAVE_LIBUTIL_H /* BSD openpty */
364 #undef HAVE_UTIL_H /* NetBSD openpty */
365 #undef HAVE_STROPTS_H /* SysV streams */
366 #undef HAVE_STRTIO_H /* SysV streams TIOCSIGNAL */
369 #undef HAVE_SOCKADDR_SUN_LEN
370 #undef HAVE_MULTICAST
375 #undef HAVE_FTRUNCATE
378 #undef SYSV_SYSTEM_DIR
379 #undef NONSYSTEM_DIR_LIBRARY
384 #undef SIGNALS_VIA_CHARACTERS
388 /* Do IPv6 hostname canonicalization before IPv4 in getaddrinfo()? */
389 #undef IPV6_CANONICALIZE
391 /* Compile in support for SOCKS? */
394 /* Compile in support for X pixmaps via the `xpm' library? */
398 /* Compile in support for "X faces" via the `compface' library?
399 This enables graphical display of X-face headers in mail/news messages */
402 /* Compile in support for JPEG images */
405 /* Compile in support for TIFF images */
408 /* Compile in support for GIF images */
411 /* Compile in support for PNG images */
414 /* Do you have the Xmu library?
415 This should always be the case except on losing HP-UX systems. */
418 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
421 /* Compile in support for Berkeley DB style databases? May require libdb. */
422 #undef HAVE_BERKELEY_DB
423 /* Full #include file path for Berkeley DB's db.h */
426 /* Do we have either DBM or Berkeley DB database support? */
429 /* Do we have LDAP support? */
431 /* Does the library define ldap_set_option () ? */
432 #undef HAVE_LDAP_SET_OPTION
433 /* Does the library define ldap_get_lderrno () ? */
434 #undef HAVE_LDAP_GET_LDERRNO
435 /* Does the library define ldap_result2error () ? */
436 #undef HAVE_LDAP_RESULT2ERROR
437 /* Does the library define ldap_parse_result () ? */
438 #undef HAVE_LDAP_PARSE_RESULT
440 /* Do we have PostgreSQL RDBMS support? */
441 #undef HAVE_POSTGRESQL
442 #undef HAVE_POSTGRESQLV7
443 #undef LIBPQ_FE_H_FILE /* main PostgreSQL header file */
445 /* Do you have the Xauth library present? This will add some extra
446 functionality to gnuserv. */
449 /* Compile in support for gpm (General Purpose Mouse)? */
452 /* Compile in support for ncurses? */
454 /* Full #include file paths for ncurses' curses.h and term.h. */
458 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
459 If the assertion fails, assert_failed() will be called. This is
460 recommended for general use because it gives more info about the crash
461 than just the abort() message. Too many people "Can't find the corefile"
462 or have limit-ed core dumps out of existence. */
463 #undef USE_ASSERTIONS
465 /* Define one or more of the following if you want lots of extra checks
466 (e.g. structure validation) compiled in. These should be turned
467 on during the beta-test cycle. */
469 /* Check the entire extent structure of a buffer each time an extent
470 change is done, and do other extent-related checks. */
471 #undef ERROR_CHECK_EXTENTS
473 /* Make sure that all X... macros are dereferencing the correct type,
474 and that all XSET... macros (as much as possible) are setting the
475 correct type of structure. Highly recommended for all
477 #undef ERROR_CHECK_TYPECHECK
478 #ifdef ERROR_CHECK_TYPECHECK
479 #define type_checking_assert(assertion) assert (assertion)
481 #define type_checking_assert(assertion)
484 /* Make sure valid buffer positions are passed to BUF_* macros. */
485 #undef ERROR_CHECK_BUFPOS
486 #ifdef ERROR_CHECK_BUFPOS
487 #define bufpos_checking_assert(assertion) assert (assertion)
489 #define bufpos_checking_assert(assertion)
492 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
493 #undef ERROR_CHECK_GC
494 #ifdef ERROR_CHECK_GC
495 #define gc_checking_assert(assertion) assert (assertion)
497 #define gc_checking_assert(assertion)
500 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
501 #undef ERROR_CHECK_MALLOC
503 /* Minor sanity checking of the bytecode interpreter. Useful for
504 debugging the byte compiler. */
505 #undef ERROR_CHECK_BYTE_CODE
507 /* Minor sanity checking of glyphs, especially subwindows and
509 #undef ERROR_CHECK_GLYPHS
511 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
512 This is mainly intended for use by developers. */
515 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
516 determine where XEmacs' memory is going. */
517 #undef MEMORY_USAGE_STATS
519 /* Define QUANTIFY if using Quantify from Rational Software.
520 This adds some additional calls to control data collection.
521 It is only intended for use by the developers. */
524 /* Define PURIFY if using Purify from Rational Software.
525 It is only intended for use by the developers. */
528 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
529 #define XLIB_ILLEGAL_ACCESS 1
532 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
533 widget within another program. */
534 #undef EXTERNAL_WIDGET
536 /* There are some special-case defines for gcc and lcc. */
540 /* Define this if you want level 2 internationalization compliance
541 (localized collation and formatting). Generally this should be
542 defined, unless your system doesn't have the strcoll() and
543 setlocale() library routines. This really should be (NOT! -mrb)
544 defined in the appropriate s/ or m/ file. */
547 /* Define this if you want level 3 internationalization compliance
548 (localized messaging). This will cause a small runtime performance
549 penalty, as the strings are read from the message catalog(s).
550 For this you need the gettext() and dgetext() library routines.
551 WARNING, this code is under construction. */
554 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
555 Requires libDtSvc, which typically must be present at runtime. */
558 /* Compile in support for OffiX Drag and Drop? */
559 #undef HAVE_OFFIX_DND
561 /* Compile in generic Drag'n'Drop API */
562 #undef HAVE_DRAGNDROP
564 /* Compile in support for proper handling of WM_COMMAND. */
565 #undef HAVE_WMCOMMAND
567 /* Define this if you want Mule support (multi-byte character support).
568 There may be some performance penalty, although it should be small
569 if you're working with ASCII files. */
572 /* Define this if you want CHISE support
573 (CHaracter Information Service Environment) */
576 /* Define if you are using libchise */
579 /* Define this if you want UTF-2000 support (character representation
580 based on character object model). */
585 /* Define this if you want file coding support */
588 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
589 If so, use raw Xlib or higher level Motif interface? */
595 /* Non-XIM input methods for use with Mule. */
600 /* Enable special GNU Make features in the Makefiles. */
603 /* Debugging development option: Remove inessential but time consuming
604 actions from happening during build. This saves a lot of time when
605 you're repeatedly compiling-running-crashing. This (1) doesn't
606 garbage-collect after loading each file during dumping, and (2)
607 doesn't automatically rebuild the DOC file. (Remove it by hand to
612 /* Defined by AC_C_CONST in configure.in */
615 /* Allow the source to use standard types. Include these before the
616 s&m files so that they can use them. */
626 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
627 seem to require this, probably because something with the int
628 definitions isn't right with 64-bit systems. */
629 #undef USE_UNION_TYPE
631 /* The configuration script may define `opsysfile' to be the name of
632 the s/...h file that describes your operating system.
633 The file name is chosen based on the configuration name. */
635 #if defined (__cplusplus) && !defined (NOT_C_CODE)
639 #undef config_opsysfile
640 #ifdef config_opsysfile
641 #include config_opsysfile
644 /* The configuration script may define `machfile' to be the name of
645 the m/...h file that describes the machine you are using.
646 The file name is chosen based on the configuration name. */
648 #undef config_machfile
649 #ifdef config_machfile
650 #include config_machfile
653 #if defined (__cplusplus) && !defined (NOT_C_CODE)
657 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
658 #define SYSTEM_MALLOC
661 /* Use the relocating allocator for buffer space? */
664 /* Define the return type of signal handlers if the s/xxx.h file
665 did not already do so. */
666 #define RETSIGTYPE void
668 /* SIGTYPE is the macro we actually use. */
670 #define SIGTYPE RETSIGTYPE
671 #define SIGRETURN return
674 /* Define DYNODUMP if it is necessary to properly dump on this system.
675 Currently this is only Solaris 2.x, for x < 6. */
678 /* Compile in support for Sun Sparcworks/WorkShop? */
681 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
682 support for playing sound files. (On Suns, the sound support is
683 usually found in /usr/demo/SOUND - you may need to install the
684 "SUNWaudmo" package.) */
685 #undef HAVE_NATIVE_SOUND
686 /* Native sound may be provided via soundcard.h, in various directories */
687 #undef SOUNDCARD_H_FILE
689 /* Compile in support for NAS (Network Audio System)?
690 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
691 error handling changes. */
692 #undef HAVE_NAS_SOUND
693 #undef NAS_NO_ERROR_JUMP
695 /* Compile in support for ESD (Enlightened Sound Daemon)? */
696 #undef HAVE_ESD_SOUND
698 /* Compile in support for SunPro usage-tracking code? */
699 #undef USAGE_TRACKING
701 /* Compile in support for Tooltalk? */
703 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
706 /* Toolkits used by lwlib for various widgets... */
707 #undef LWLIB_USES_MOTIF
708 #undef LWLIB_USES_ATHENA
709 #undef LWLIB_MENUBARS_LUCID
710 #undef LWLIB_MENUBARS_MOTIF
711 #undef LWLIB_SCROLLBARS_LUCID
712 #undef LWLIB_SCROLLBARS_MOTIF
713 #undef LWLIB_SCROLLBARS_ATHENA
714 #undef LWLIB_SCROLLBARS_ATHENA3D
715 #undef LWLIB_DIALOGS_MOTIF
716 #undef LWLIB_DIALOGS_ATHENA
717 #undef LWLIB_DIALOGS_ATHENA3D
718 #undef LWLIB_TABS_LUCID
719 #undef LWLIB_WIDGETS_MOTIF
720 #undef LWLIB_WIDGETS_ATHENA
721 #undef HAVE_ATHENA_3D
723 /* Other things that can be disabled by configure. */
725 #undef HAVE_SCROLLBARS
731 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
735 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
736 There is a stupid bug in the SunOS libc.a: two functions which X11r5
737 uses, mbstowcs() and wcstombs(), are unusable when programs are
738 statically linked (as XEmacs must be) because the static version of
739 libc.a contains the *dynamic* versions of these functions. These
740 functions don't seem to be called when XEmacs is running, so it's
741 enough to define stubs for them.
743 This appears to be fixed in SunOS 4.1.2.
745 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
746 sometimes reference memory past the end of the string, which can segv.
747 I don't know whether this has been fixed as of 4.1.2 or 4.1.3. */
748 #if defined (sparc) && !defined (USG)
749 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
752 /* If you turn this flag on, it forces encapsulation in all
753 circumstances; this can be used to make sure things compile OK
754 on various systems. */
755 #undef DEBUG_ENCAPSULATION
757 /* basic system calls */
759 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
760 # define ENCAPSULATE_READ
761 # define ENCAPSULATE_WRITE
763 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
764 # define ENCAPSULATE_OPEN
766 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
767 # define ENCAPSULATE_CLOSE
772 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
773 # define ENCAPSULATE_FREAD
774 # define ENCAPSULATE_FWRITE
776 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
777 # define ENCAPSULATE_FOPEN
779 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
780 # define ENCAPSULATE_FCLOSE
783 /* directory calls */
785 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
786 # define ENCAPSULATE_CHDIR
787 # define ENCAPSULATE_MKDIR
788 # define ENCAPSULATE_OPENDIR
789 # define ENCAPSULATE_CLOSEDIR
790 # define ENCAPSULATE_READDIR
791 # define ENCAPSULATE_RMDIR
793 /* file-information calls */
796 # define ENCAPSULATE_EACCESS
798 # define ENCAPSULATE_ACCESS
799 # define ENCAPSULATE_LSTAT
800 # define ENCAPSULATE_READLINK
801 # define ENCAPSULATE_STAT
803 /* file-manipulation calls */
805 # define ENCAPSULATE_CHMOD
806 # define ENCAPSULATE_CREAT
807 # define ENCAPSULATE_LINK
808 # define ENCAPSULATE_RENAME
809 # define ENCAPSULATE_SYMLINK
810 # define ENCAPSULATE_UNLINK
811 # define ENCAPSULATE_EXECVP
812 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
817 # define CANNA_PURESIZE 0
818 #else /* not CANNA */
819 # define CANNA_PURESIZE 0
820 #endif /* not CANNA */
822 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
823 #define accept Raccept
825 #define connect Rconnect
826 #define getsockname Rgetsockname
827 #define listen Rlisten
828 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
833 #undef SIZEOF_LONG_LONG
836 #undef INTPTR_T_IN_CYGWIN_TYPES_H
838 #ifndef BITS_PER_CHAR
839 #define BITS_PER_CHAR 8
841 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
842 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
843 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
844 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
845 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
847 /* Use `INLINE_HEADER' to define inline functions in .h files.
848 Use `inline static' to define inline functions in .c files.
849 See the Internals manual for examples and more information. */
851 /* Does the keyword `inline' exist? */
854 #if defined (__cplusplus) || ! defined (__GNUC__)
855 # define INLINE_HEADER inline static
856 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
857 # define INLINE_HEADER inline
859 # define INLINE_HEADER inline extern
862 #ifndef NOT_C_CODE /* Actually means C or C++ */
863 # if defined (__cplusplus)
864 /* Avoid C++ keywords used as ordinary C identifiers */
865 # define class c_class
868 # define catch c_catch
870 # define EXTERN_C extern "C"
872 # define EXTERN_C extern
874 #endif /* C or C++ */
876 /* Strictly speaking, only int or unsigned int are valid types in a
877 bitfield. In practice, we would like to use enums as bitfields.
878 The following should just result in warning avoidance:
879 warning: nonportable bit-field type */
881 #define enum_field(enumeration_type) enum enumeration_type
883 #define enum_field(enumeration_type) unsigned int
886 /* We want to avoid saving the signal mask if possible, because
887 that necessitates a system call. */
888 #ifdef HAVE_SIGSETJMP
889 # define SETJMP(x) sigsetjmp (x, 0)
890 # define LONGJMP(x, y) siglongjmp (x, y)
891 # define JMP_BUF sigjmp_buf
893 # define SETJMP(x) setjmp (x)
894 # define LONGJMP(x, y) longjmp (x, y)
895 # define JMP_BUF jmp_buf
898 /* movemail options */
899 /* Should movemail use POP3 for mail access? */
901 /* Should movemail use kerberos for POP authentication? */
903 /* Should movemail use hesiod for getting POP server host? */
905 /* Determine type of mail locking. */
906 #undef MAIL_LOCK_LOCKF
907 #undef MAIL_LOCK_FLOCK
909 #undef MAIL_LOCK_LOCKING
910 #undef MAIL_LOCK_MMDF
912 #undef PREFIX_USER_DEFINED
913 #undef EXEC_PREFIX_USER_DEFINED
914 #undef MODULEDIR_USER_DEFINED
915 #undef SITEMODULEDIR_USER_DEFINED
916 #undef DOCDIR_USER_DEFINED
917 #undef LISPDIR_USER_DEFINED
918 #undef PACKAGE_PATH_USER_DEFINED
919 #undef SITELISPDIR_USER_DEFINED
920 #undef ARCHLIBDIR_USER_DEFINED
921 #undef ETCDIR_USER_DEFINED
922 #undef INFODIR_USER_DEFINED
923 #undef INFOPATH_USER_DEFINED
928 #if defined __INTEL_COMPILER && defined HAVE_ALLOCA_H
929 /* icc's alloca.h pulls in <features.h>,
930 but that must be done after _GNU_SOURCE and friends are defined */
935 #endif /* _SRC_CONFIG_H_ */