annotate src/config.h.in @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 84b14dcb0985
children abe6d1db359e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 /* XEmacs site configuration template file. -*- C -*-
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 Copyright (C) 1986, 1991-1994, 1998, 1999 Free Software Foundation, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 /* Significantly divergent from FSF. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 /* No code in XEmacs #includes config.h twice, but some of the code
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 intended to work with other packages as well (like gmalloc.c)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 think they can include it as many times as they like. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 #ifndef _SRC_CONFIG_H_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 #define _SRC_CONFIG_H_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 /* alloca twiddling belongs in one place, not the s&m headers
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 AIX requires this to be the first thing in the file. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 #undef HAVE_ALLOCA_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 #ifndef NOT_C_CODE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 #ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 #define alloca __builtin_alloca
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 #elif HAVE_ALLOCA_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 #include <alloca.h>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38 #elif defined(_AIX)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 #pragma alloca
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 #elif ! defined (alloca)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 char *alloca();
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 #endif /* C code */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 /* Use this to add code in a structured way to FSF-maintained source
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 files so as to make it obvious where XEmacs changes are. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 #define XEMACS 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50 /* Allow s&m files to differentiate OS versions without having
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51 multiple files to maintain. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52 #undef OS_RELEASE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 /* The configuration name. This is used as the install directory name
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 for the lib-src programs. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 #undef EMACS_CONFIGURATION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58 /* The configuration options. This is exported to Lisp. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 #undef EMACS_CONFIG_OPTIONS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 /* The version info from version.sh. Used in #pragma ident in emacs.c */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 #undef EMACS_MAJOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 #undef EMACS_MINOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 #undef EMACS_PATCH_LEVEL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 #undef EMACS_BETA_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 #undef EMACS_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 #undef XEMACS_CODENAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 /* InfoDock versions, not used with XEmacs */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 #undef INFODOCK_MAJOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 #undef INFODOCK_MINOR_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 #undef INFODOCK_BUILD_VERSION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 /* Make all functions available on AIX. See AC_AIX. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 #undef _ALL_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 /* Make all functions available on GNU libc systems. See features.h. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 #undef _GNU_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 /* Used to identify the XEmacs version in stack traces. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 #undef STACK_TRACE_EYE_CATCHER
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 /* Allow the configurer to specify if she wants site-lisp. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 #undef INHIBIT_SITE_LISP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 /* Allow the configurer to specify if she wants site-modules. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86 #undef INHIBIT_SITE_MODULES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
87
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 /* This will be removed in 19.15. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
89 /* Hah! Try 20.3 ... */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
90 /* Hah! Try never ... */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
91 /* If at first you don't succeed, try, try again. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
92 /* #define LOSING_BYTECODE */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
93
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
94 /* Undefine on systems which don't have processes */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
95 #undef HAVE_UNIX_PROCESSES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
96
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
97 /* Does XEmacs support floating-point numbers? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
98 #undef LISP_FLOAT_TYPE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
99
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
100 /* Define GNU_MALLOC if you want to use the GNU memory allocator. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 #undef GNU_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 /* Define if you are using the GNU C Library. -- experimental. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 #undef DOUG_LEA_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 /* Define if you are using libmcheck.a from the GNU C Library. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 #undef HAVE_LIBMCHECK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 /* Define if you are using dlmalloc from the Linux C library. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 #undef _NO_MALLOC_WARNING_
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 /* Use the system malloc? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113 #undef USE_SYSTEM_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 /* Use a debugging malloc? -- experimental */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 #undef USE_DEBUG_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
118 /* Compile in TTY support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 #undef HAVE_TTY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 /* Compile in support for MS windows? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
122 #undef HAVE_MS_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
123
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
124 /* special cygwin process handling? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
125 #undef HAVE_MSG_SELECT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
126
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
127 /* Compile in support for the X window system? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
128 #undef HAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
129
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130 /* Defines for building X applications */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 #ifdef HAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 /* The following will be defined if xmkmf thinks they are necessary */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133 #undef SVR4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
134 #undef SYSV
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
135 #undef AIXV3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
136 #undef _POSIX_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
137 #undef _BSD_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
138 #undef _SVID_SOURCE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
139 #undef X_LOCALE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 #undef NARROWPROTO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 /* The following should always be defined, no matter what xmkmf thinks. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142 #ifndef NeedFunctionPrototypes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 #define NeedFunctionPrototypes 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145 #ifndef FUNCPROTO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 #define FUNCPROTO 15
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 #endif /* HAVE_X_WINDOWS */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 #if defined (HAVE_X_WINDOWS) || defined(HAVE_MS_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 #define HAVE_WINDOW_SYSTEM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY) || defined(HAVE_MSG_SELECT)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157 #define HAVE_UNIXOID_EVENT_LOOP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 /* Are we using XFree386? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 #undef HAVE_XFREE386
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163 #undef THIS_IS_X11R4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 #undef THIS_IS_X11R5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 #undef THIS_IS_X11R6
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
167 /* Where do we find bitmaps? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168 #undef BITMAPDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 /* USER_FULL_NAME returns a string that is the user's full name.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 It can assume that the variable `pw' points to the password file
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172 entry for this user.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
173
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
174 At some sites, the pw_gecos field contains the user's full name.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
175 If neither this nor any other field contains the right thing, use
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
176 pw_name, giving the user's login name, since that is better than
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177 nothing. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178 #define USER_FULL_NAME pw->pw_gecos
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 /* Define AMPERSAND_FULL_NAME if you use the convention
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 that & in the full name stands for the login id. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 #undef AMPERSAND_FULL_NAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 /* Some things figured out by the configure script, grouped as they are in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 configure.in. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 #undef HAVE_MCHECK_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 #undef HAVE_MACH_MACH_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 #undef HAVE_SYS_STROPTS_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 #undef HAVE_SYS_TIMEB_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 #undef HAVE_SYS_TIME_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 #undef HAVE_UNISTD_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 #undef HAVE_UTIME_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 #undef HAVE_SYS_WAIT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 #undef HAVE_LIBINTL_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 #undef HAVE_LIBGEN_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196 #undef HAVE_LOCALE_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
197 #undef HAVE_FCNTL_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
198 #undef HAVE_ULIMIT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199 #undef HAVE_X11_XLOCALE_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 #undef HAVE_LINUX_VERSION_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201 #undef HAVE_CYGWIN_VERSION_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 #undef HAVE_INTTYPES_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203 #undef HAVE_SYS_UN_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 #undef HAVE_A_OUT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 #undef STDC_HEADERS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 #undef TIME_WITH_SYS_TIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 #undef WORDS_BIGENDIAN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208 #undef HAVE_VFORK_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
209 #undef HAVE_KSTAT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 #undef HAVE_SYS_PSTAT_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 #undef vfork
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213 #undef HAVE_LONG_FILE_NAMES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215 /* Use lock files to detect multiple edits of the same file? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216 #undef CLASH_DETECTION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
217
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
218 /* Have shared library support */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
219 #undef HAVE_DLOPEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220 #undef HAVE_DLERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221 #undef HAVE__DLERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 #undef HAVE_SHL_LOAD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 #undef HAVE_DLD_INIT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 #undef HAVE_SHLIB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 #undef HAVE_DLFCN_H
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 #undef HAVE_LIBKSTAT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228 #undef HAVE_LIBINTL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
229 #undef HAVE_LIBDNET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
230 #undef HAVE_LIBRESOLV
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
231
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
232 /* Is `sys_siglist' declared by <signal.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
233 #undef SYS_SIGLIST_DECLARED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
234
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 /* Is `struct utimbuf' declared by <utime.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
236 #undef HAVE_STRUCT_UTIMBUF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
237
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
238 /* Is `struct timeval' declared by <sys/time.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
239 #undef HAVE_TIMEVAL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
240
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
241
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
242 #undef TM_IN_SYS_TIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
243 #undef HAVE_TM_ZONE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 #undef HAVE_TZNAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 /* Is `h_errno' declared by <netdb.h>? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 #undef HAVE_H_ERRNO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
249 /* Does `localtime' cache TZ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
250 #undef LOCALTIME_CACHE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
251
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
252 /* Can `gettimeofday' accept two arguments? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
253 #undef GETTIMEOFDAY_ONE_ARGUMENT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
254
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
255 #undef HAVE_MMAP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256 #undef HAVE_STRCOLL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
257 #undef HAVE_GETPGRP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 #undef GETPGRP_VOID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260 #undef HAVE_INVERSE_HYPERBOLIC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262 #undef HAVE_CBRT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 #undef HAVE_CLOSEDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 #undef HAVE_DUP2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 #undef HAVE_EACCESS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
266 #undef HAVE_FMOD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 #undef HAVE_FPATHCONF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 #undef HAVE_FREXP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 #undef HAVE_FTIME
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
270 #undef HAVE_GETADDRINFO
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 #undef HAVE_GETHOSTNAME
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
272 #undef HAVE_GETNAMEINFO
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273 #undef HAVE_GETPAGESIZE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 #undef HAVE_GETTIMEOFDAY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 #undef HAVE_GETWD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
276 #undef HAVE_GETCWD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 #undef HAVE_GETPT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 #undef HAVE_LOGB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 #undef HAVE_LRAND48
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280 #undef HAVE_MATHERR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281 #undef HAVE_MKDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 #undef HAVE_MKTIME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283 #undef HAVE_PERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 #undef HAVE_POLL
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 #undef HAVE_RANDOM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286 #undef HAVE_REALPATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 #undef HAVE_RENAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288 #undef HAVE_RES_INIT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
289 #undef HAVE_RINT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
290 #undef HAVE_RMDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 #undef HAVE_SELECT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
292 #undef HAVE_SETITIMER
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
293 #undef HAVE_SETPGID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
294 #undef HAVE_SETSID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 #undef HAVE_SIGBLOCK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296 #undef HAVE_SIGHOLD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
297 #undef HAVE_SIGPROCMASK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
298 #undef HAVE_SIGSETJMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 #undef HAVE_SNPRINTF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
300 #undef HAVE_STPCPY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
301 #undef HAVE_STRCASECMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
302 #undef HAVE_STRERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 #undef HAVE_TZSET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
304 #undef HAVE_ULIMIT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305 #undef HAVE_USLEEP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
306 #undef HAVE_UTIMES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
307 #undef HAVE_WAITPID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
308 #undef HAVE_VSNPRINTF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
309 #undef HAVE_SOCKETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
310 #undef HAVE_SOCKADDR_SUN_LEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
311 #undef HAVE_MULTICAST
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
312 #undef HAVE_SYSVIPC
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
313 #undef HAVE_LOCKF
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
314 #undef HAVE_FLOCK
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
315 #undef HAVE_FSYNC
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
316 #undef HAVE_FTRUNCATE
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
317 #undef HAVE_UMASK
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
318
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
319 #undef SYSV_SYSTEM_DIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
320 #undef NONSYSTEM_DIR_LIBRARY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
321
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
322 #undef HAVE_TERMIOS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
323 #undef HAVE_TERMIO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
324 #undef NO_TERMIO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325 #undef SIGNALS_VIA_CHARACTERS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
327 #undef NLIST_STRUCT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
328
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
329 /* Compile in support for SOCKS? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
330 #undef HAVE_SOCKS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
331
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332 /* Compile in support for X pixmaps via the `xpm' library? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 #undef HAVE_XPM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334 #undef FOR_MSW
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 /* Compile in support for "X faces" via the `compface' library?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
337 This enables graphical display of X-face headers in mail/news messages */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
338 #undef HAVE_XFACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
339
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
340 /* Compile in support for JPEG images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
341 #undef HAVE_JPEG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
342
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343 /* Compile in support for TIFF images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
344 #undef HAVE_TIFF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
345
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
346 /* Compile in support for GIF images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
347 #undef HAVE_GIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
348
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
349 /* Compile in support for PNG images */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
350 #undef HAVE_PNG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
351
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
352 /* Do you have the Xmu library?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
353 This should always be the case except on losing HP-UX systems. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 #undef HAVE_XMU
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 #undef HAVE_DBM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359 /* Compile in support for Berkeley DB style databases? May require libdb. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360 #undef HAVE_BERKELEY_DB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
361 /* Full #include file path for Berkeley DB's db.h */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
362 #undef DB_H_PATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
363
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
364 /* Do we have either DBM or Berkeley DB database support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
365 #undef HAVE_DATABASE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
366
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
367 /* Do we have LDAP support? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
368 #undef HAVE_LDAP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
369 /* Does the library define ldap_set_option () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
370 #undef HAVE_LDAP_SET_OPTION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
371 /* Does the library define ldap_get_lderrno () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
372 #undef HAVE_LDAP_GET_LDERRNO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
373 /* Does the library define ldap_result2error () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
374 #undef HAVE_LDAP_RESULT2ERROR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
375 /* Does the library define ldap_parse_result () ? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
376 #undef HAVE_LDAP_PARSE_RESULT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
377
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
378 /* Do you have the Xauth library present? This will add some extra
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
379 functionality to gnuserv. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
380 #undef HAVE_XAUTH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
381
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 /* Compile in support for gpm (General Purpose Mouse)? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383 #undef HAVE_GPM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
384
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 /* Compile in support for ncurses? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386 #undef HAVE_NCURSES
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387 /* Full #include file paths for ncurses' curses.h and term.h. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
388 #undef CURSES_H_PATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389 #undef TERM_H_PATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
390
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert().
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392 If the assertion fails, assert_failed() will be called. This is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
393 recommended for general use because it gives more info about the crash
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 than just the abort() message. Too many people "Can't find the corefile"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 or have limit-ed core dumps out of existence. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396 #undef USE_ASSERTIONS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 /* Define one or more of the following if you want lots of extra checks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 (e.g. structure validation) compiled in. These should be turned
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 on during the beta-test cycle. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 /* Check the entire extent structure of a buffer each time an extent
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 change is done, and do other extent-related checks. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 #undef ERROR_CHECK_EXTENTS
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
405
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 /* Make sure that all X... macros are dereferencing the correct type,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407 and that all XSET... macros (as much as possible) are setting the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 correct type of structure. Highly recommended for all
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 development work. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 #undef ERROR_CHECK_TYPECHECK
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
411 #ifdef ERROR_CHECK_TYPECHECK
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
412 #define type_checking_assert(assertion) assert (assertion)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
413 #else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
414 #define type_checking_assert(assertion)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
415 #endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
416
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 /* Make sure valid buffer positions are passed to BUF_* macros. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 #undef ERROR_CHECK_BUFPOS
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
419 #ifdef ERROR_CHECK_BUFPOS
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
420 #define bufpos_checking_assert(assertion) assert (assertion)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
421 #else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
422 #define bufpos_checking_assert(assertion)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
423 #endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
424
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
425 /* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
426 #undef ERROR_CHECK_GC
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
427
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
428 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
429 #undef ERROR_CHECK_MALLOC
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
430
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
431 /* Minor sanity checking of the bytecode interpreter. Useful for
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
432 debugging the byte compiler. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
433 #undef ERROR_CHECK_BYTE_CODE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
434
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
435 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
436 This is mainly intended for use by developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
437 #undef DEBUG_XEMACS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
438
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
439 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
440 determine where XEmacs' memory is going. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441 #undef MEMORY_USAGE_STATS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
442
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
443 /* Define QUANTIFY if using Quantify from Rational/Pure/Atria Software.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 This adds some additional calls to control data collection.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
445 It is only intended for use by the developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
446 #undef QUANTIFY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
447
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
448 /* Define QUANTIFY if using Purify from Rational/Pure/Atria Software.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
449 It is only intended for use by the developers. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
450 #undef PURIFY
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
451
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
452 #if (defined (QUANTIFY) || defined (PURIFY)) && !defined (XLIB_ILLEGAL_ACCESS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
453 #define XLIB_ILLEGAL_ACCESS 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
454 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
456 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
457 widget within another program. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
458 #undef EXTERNAL_WIDGET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
459
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
460 /* There are some special-case defines for gcc and lcc. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
461 #undef USE_GCC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
462 #undef USE_LCC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
463
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
464 /* Define this if you want level 2 internationalization compliance
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
465 (localized collation and formatting). Generally this should be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466 defined, unless your system doesn't have the strcoll() and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467 setlocale() library routines. This really should be (NOT! -mrb)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468 defined in the appropriate s/ or m/ file. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469 #undef I18N2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 /* Define this if you want level 3 internationalization compliance
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472 (localized messaging). This will cause a small runtime performance
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
473 penalty, as the strings are read from the message catalog(s).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
474 For this you need the gettext() and dgetext() library routines.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
475 WARNING, this code is under construction. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
476 #undef I18N3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
477
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
478 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
479 Requires libDtSvc, which typically must be present at runtime. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
480 #undef HAVE_CDE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
481
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
482 /* Compile in support for OffiX Drag and Drop? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
483 #undef HAVE_OFFIX_DND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
484
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
485 /* Compile in generic Drag'n'Drop API */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
486 #undef HAVE_DRAGNDROP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
487
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
488 /* Compile in support for proper handling of WM_COMMAND. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
489 #undef HAVE_WMCOMMAND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
490
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
491 /* Define this if you want Mule support (multi-byte character support).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492 There may be some performance penalty, although it should be small
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493 if you're working with ASCII files. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 #undef MULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
495
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
496 /* Define this if you want file coding support */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
497 #undef FILE_CODING
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
498
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
499 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
500 If so, use raw Xlib or higher level Motif interface? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
501 #undef HAVE_XIM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
502 #undef XIM_XLIB
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
503 #undef XIM_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
504 #undef USE_XFONTSET
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
505
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506 /* Non-XIM input methods for use with Mule. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
507 #undef HAVE_CANNA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
508 #undef HAVE_WNN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
509 #undef WNN6
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
510
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
511 /* Enable special GNU Make features in the Makefiles. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
512 #undef USE_GNU_MAKE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
513
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
514 /* Debugging option: Don't automatically rebuild the DOC file.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515 This saves a lot of time when you're repeatedly
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
516 compiling-running-crashing. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
517 #undef NO_DOC_FILE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
518
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
519 /* Defined by AC_C_CONST in configure.in */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
520 #undef const
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
521
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
522 #define CONST const
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
523
434
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
524 /* Allow the source to use standard types. Include these before the
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
525 s&m files so that they can use them. */
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
526 #undef ssize_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
527 #undef size_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
528 #undef pid_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
529 #undef mode_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
530 #undef off_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
531 #undef uid_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
532 #undef gid_t
9d177e8d4150 Import from CVS: tag r21-2-25
cvs
parents: 428
diff changeset
533
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
534 /* If defined, use unions instead of ints. A few systems (DEC Alpha)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
535 seem to require this, probably because something with the int
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
536 definitions isn't right with 64-bit systems. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
537 #undef USE_UNION_TYPE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
538
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
539 /* The configuration script defines opsysfile to be the name of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540 s/...h file that describes the system type you are using.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 The file is chosen based on the configuration name you give.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
543 See the file ../etc/MACHINES for a list of systems and the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
544 configuration names to use for them.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
545
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
546 See s/template.h for documentation on writing s/...h files. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
547
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
548 #if defined (__cplusplus) && !defined (NOT_C_CODE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 extern "C" {
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
550 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 #undef config_opsysfile
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552 #include config_opsysfile
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
553
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 /* The configuration script defines machfile to be the name of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
555 m/...h file that describes the machine you are using. The file is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
556 chosen based on the configuration name you give.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
557
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
558 See the file ../etc/MACHINES for a list of machines and the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
559 configuration names to use for them.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
560
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
561 See m/template.h for documentation on writing m/...h files. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
562 #undef config_machfile
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
563 #include config_machfile
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
564 #if defined (__cplusplus) && !defined (NOT_C_CODE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
565 }
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
566 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
567
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
568 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
569 #define SYSTEM_MALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
570 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
571
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
572 /* Use the relocating allocator for buffer space? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
573 #undef REL_ALLOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
574
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
575 /* Define the return type of signal handlers if the s/xxx.h file
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
576 did not already do so. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
577 #define RETSIGTYPE void
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
578
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
579 /* SIGTYPE is the macro we actually use. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
580 #ifndef SIGTYPE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
581 #define SIGTYPE RETSIGTYPE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
582 #define SIGRETURN return
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
584
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
585 /* Define DYNODUMP if it is necessary to properly dump on this system.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
586 Currently this is only Solaris 2.x, for x < 6. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
587 #undef DYNODUMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
588
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
589 /* Compile in support for Sun Sparcworks/WorkShop? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
590 #undef SUNPRO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
591
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
592 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
593 support for playing sound files. (On Suns, the sound support is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
594 usually found in /usr/demo/SOUND - you may need to install the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
595 "SUNWaudmo" package.) */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
596 #undef HAVE_NATIVE_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
597 /* Native sound may be provided via soundcard.h, in various directories */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
598 #undef SOUNDCARD_H_PATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600 /* Compile in support for NAS (Network Audio System)?
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
602 error handling changes. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
603 #undef HAVE_NAS_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604 #undef NAS_NO_ERROR_JUMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
605
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
606 /* Compile in support for ESD (Enlightened Sound Daemon)? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
607 #undef HAVE_ESD_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
608
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
609 /* Compile in support for SunPro usage-tracking code? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
610 #undef USAGE_TRACKING
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
611
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
612 /* Compile in support for Tooltalk? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
613 #undef TOOLTALK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
614 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
615 #undef TT_C_H_PATH
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
616
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
617 /* Toolkits used by lwlib for various widgets... */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
618 #undef LWLIB_USES_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
619 #undef LWLIB_USES_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
620 #undef LWLIB_MENUBARS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
621 #undef LWLIB_MENUBARS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
622 #undef LWLIB_SCROLLBARS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
623 #undef LWLIB_SCROLLBARS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
624 #undef LWLIB_SCROLLBARS_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
625 #undef LWLIB_SCROLLBARS_ATHENA3D
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
626 #undef LWLIB_DIALOGS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
627 #undef LWLIB_DIALOGS_ATHENA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
628 #undef LWLIB_DIALOGS_ATHENA3D
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629 #undef LWLIB_TABS_LUCID
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630 #undef LWLIB_WIDGETS_MOTIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
631 #undef LWLIB_WIDGETS_ATHENA
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
632 #undef HAVE_ATHENA_3D
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
633
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
634 /* Other things that can be disabled by configure. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
635 #undef HAVE_MENUBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636 #undef HAVE_SCROLLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
637 #undef HAVE_DIALOGS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 #undef HAVE_TOOLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639 #undef HAVE_WIDGETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
640
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
641
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
642 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
643 #define HAVE_POPUPS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
644 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
646 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
647 There is a stupid bug in the SunOS libc.a: two functions which X11r5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
648 uses, mbstowcs() and wcstombs(), are unusable when programs are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
649 statically linked (as XEmacs must be) because the static version of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
650 libc.a contains the *dynamic* versions of these functions. These
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
651 functions don't seem to be called when XEmacs is running, so it's
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
652 enough to define stubs for them.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
653
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
654 This appears to be fixed in SunOS 4.1.2.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
656 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
657 sometimes reference memory past the end of the string, which can segv.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
659 #if defined (sparc) && !defined (USG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
660 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
662
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663 /* If you turn this flag on, it forces encapsulation in all
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664 circumstances; this can be used to make sure things compile OK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665 on various systems. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666 #undef DEBUG_ENCAPSULATION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
668 /* basic system calls */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
670 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
671 # define ENCAPSULATE_READ
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
672 # define ENCAPSULATE_WRITE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
673 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
674 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
675 # define ENCAPSULATE_OPEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
676 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
677 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
678 # define ENCAPSULATE_CLOSE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
679 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
680
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
681 /* stdio calls */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
682
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
683 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
684 # define ENCAPSULATE_FREAD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
685 # define ENCAPSULATE_FWRITE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
687 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
688 # define ENCAPSULATE_FOPEN
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
689 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
690 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
691 # define ENCAPSULATE_FCLOSE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
692 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
693
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
694 /* directory calls */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
695
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
696 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
697 # define ENCAPSULATE_CHDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
698 # define ENCAPSULATE_MKDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
699 # define ENCAPSULATE_OPENDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
700 # define ENCAPSULATE_CLOSEDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
701 # define ENCAPSULATE_READDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
702 # define ENCAPSULATE_RMDIR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
703
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
704 /* file-information calls */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
705
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
706 #ifdef HAVE_EACCESS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
707 # define ENCAPSULATE_EACCESS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
708 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
709 # define ENCAPSULATE_ACCESS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
710 # define ENCAPSULATE_LSTAT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
711 # define ENCAPSULATE_READLINK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
712 # define ENCAPSULATE_STAT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
713
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
714 /* file-manipulation calls */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
715
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
716 # define ENCAPSULATE_CHMOD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
717 # define ENCAPSULATE_CREAT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
718 # define ENCAPSULATE_LINK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
719 # define ENCAPSULATE_RENAME
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
720 # define ENCAPSULATE_SYMLINK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
721 # define ENCAPSULATE_UNLINK
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
722 # define ENCAPSULATE_EXECVP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
723 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
724
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
725 #ifdef HAVE_CANNA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
726 # define CANNA2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
727 # define CANNA_MULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
728 # define CANNA_PURESIZE 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
729 #else /* not CANNA */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
730 # define CANNA_PURESIZE 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
731 #endif /* not CANNA */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
732
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
733 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 #define HAVE_FEP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
735 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
736
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
737 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
738 #define accept Raccept
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
739 #define bind Rbind
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
740 #define connect Rconnect
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
741 #define getsockname Rgetsockname
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
742 #define listen Rlisten
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
743 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
744
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
745 #undef SIZEOF_SHORT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
746 #undef SIZEOF_INT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
747 #undef SIZEOF_LONG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
748 #undef SIZEOF_LONG_LONG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
749 #undef SIZEOF_VOID_P
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
750
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
751 #ifndef BITS_PER_CHAR
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
752 #define BITS_PER_CHAR 8
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
753 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
754 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
755 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
756 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
757 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
758 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
759
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
760 #ifndef NOT_C_CODE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
761 #ifdef __cplusplus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
762 #define HAVE_INLINE 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
763 #define INLINE inline
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
764 #else /* not C++ */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
765 /* Does the keyword `inline' exist? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
766 #undef HAVE_INLINE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
767 #undef inline
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
768
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
769 # ifdef HAVE_INLINE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
770 # ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
771 # ifdef DONT_EXTERN_INLINE_FUNCTIONS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
772 # define INLINE inline
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
773 # else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
774 # define INLINE extern inline
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
775 # endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
776 # else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
777 # define INLINE static inline
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
778 # endif /* __GNUC__ */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
779 # else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
780 # define INLINE static
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
781 # endif /* HAVE_INLINE */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
782 #endif /* not C++ */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
783 #endif /* C code */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
784
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
785 #if defined (__cplusplus) && !defined (NOT_C_CODE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
786 /* Avoid C++ keywords used as ordinary C identifiers */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
787 #define class c_class
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
788 #define new c_new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
789 #define this c_this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
790 #define catch c_catch
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
791 #endif /* C++ */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
792
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
793 /* Strictly speaking, only int or unsigned int are valid types in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
794 bitfield. In practice, we would like to use enums as bitfields.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
795 The following should just result in warning avoidance:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
796 warning: nonportable bit-field type */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
797 #ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
798 #define enum_field(enumeration_type) enum enumeration_type
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
799 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
800 #define enum_field(enumeration_type) unsigned int
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
802
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803 /* We want to avoid saving the signal mask if possible, because
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
804 that necessitates a system call. */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
805 #ifdef HAVE_SIGSETJMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
806 # define SETJMP(x) sigsetjmp (x, 0)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 # define LONGJMP(x, y) siglongjmp (x, y)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808 # define JMP_BUF sigjmp_buf
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
809 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
810 # define SETJMP(x) setjmp (x)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
811 # define LONGJMP(x, y) longjmp (x, y)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
812 # define JMP_BUF jmp_buf
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
813 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
814
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815 /* movemail options */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816 /* Should movemail use POP3 for mail access? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
817 #undef MAIL_USE_POP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818 /* Should movemail use kerberos for POP authentication? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
819 #undef KERBEROS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
820 /* Should movemail use hesiod for getting POP server host? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
821 #undef HESIOD
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
822 /* Determine type of mail locking. */
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
823 #undef MAIL_LOCK_LOCKF
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
824 #undef MAIL_LOCK_FLOCK
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
825 #undef MAIL_LOCK_DOT
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
826 #undef MAIL_LOCK_LOCKING
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 434
diff changeset
827 #undef MAIL_LOCK_MMDF
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
828
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
829 #undef PREFIX_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
830 #undef EXEC_PREFIX_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
831 #undef MODULEDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
832 #undef SITEMODULEDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
833 #undef DOCDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
834 #undef LISPDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
835 #undef PACKAGE_PATH_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
836 #undef SITELISPDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837 #undef ARCHLIBDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838 #undef ETCDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839 #undef LOCKDIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840 #undef INFODIR_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 #undef INFOPATH_USER_DEFINED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843 #undef PDUMP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 #endif /* _SRC_CONFIG_H_ */