annotate src/config.h.in @ 407:ed6218a7d4d3

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