annotate src/config.h.in @ 177:6075d714658b r20-3b15

Import from CVS: tag r20-3b15
author cvs
date Mon, 13 Aug 2007 09:51:16 +0200
parents 2d532a89d707
children 9ad43877534d
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 -*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
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
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
29 /* alloca twiddling belongs in one place, not the s&m headers
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
30 AIX requires this to be the first thing in the file. */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
31 #undef HAVE_ALLOCA_H
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
32
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
33 #ifndef NOT_C_CODE
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
34 #ifdef __GNUC__
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
35 #undef alloca
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
36 #define alloca __builtin_alloca
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
37 #elif defined(_AIX)
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
38 #pragma alloca
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
39 #elif HAVE_ALLOCA_H
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
40 #include <alloca.h>
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
41 #endif
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
42 #endif /* NOT C */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
43
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
45 /* 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
46 files so as to make it obvious where XEmacs changes are. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
47 #define XEMACS
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
49 /* Allow s&m files to differentiate OS versions without having
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
50 multiple files to maintain. */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
51 #undef OS_RELEASE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
52
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
53 /* The configuration name. This is used as the install directory name
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
54 for the lib-src programs. */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
55 #undef EMACS_CONFIGURATION
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
56
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
57 /* The configuration options. This is exported to Lisp. */
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
58 #undef EMACS_CONFIG_OPTIONS
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
59
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
60 /* 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
61 #undef EMACS_MAJOR_VERSION
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
62 #undef EMACS_MINOR_VERSION
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
63 #undef EMACS_BETA_VERSION
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
64 #undef EMACS_VERSION
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
65 #undef XEMACS_CODENAME
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
66
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
67
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
68 /* Used to identify the XEmacs version in stack traces. */
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
69 #undef STACK_TRACE_EYE_CATCHER
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
70
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
71 /* Allow the configurer to specify (additional) package directories. */
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
72 #undef PACKAGE_PATH
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
73
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 163
diff changeset
74 /* This will be removed in 19.15. */
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 163
diff changeset
75 /* Hah! Try 20.3 ... */
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 163
diff changeset
76 /* Hah! Try never ... */
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
77 /* If at first you don't succeed, try, try again. */
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
78 /* #define LOSING_BYTECODE */
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
79
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
80 /* Does XEmacs support floating-point numbers? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 #undef LISP_FLOAT_TYPE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
83 /* Use the *new* GNU memory allocator? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 #undef GNU_MALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
86 /* Use the system malloc? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 #undef USE_SYSTEM_MALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
89 /* Use a debugging malloc? */
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
90 #undef USE_DEBUG_MALLOC
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
91
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
92 /* Compile in TTY support? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #undef HAVE_TTY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
95 /* Compile in support for the X window system? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 #undef HAVE_X_WINDOWS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
98 /* Defines for building X applications */
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 72
diff changeset
99 #ifdef HAVE_X_WINDOWS
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
100 /* The following will be defined if xmkmf thinks they are necessary */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
101 #undef SVR4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
102 #undef SYSV
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
103 #undef _POSIX_SOURCE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
104 #undef _BSD_SOURCE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
105 #undef _GNU_SOURCE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
106 #undef X_LOCALE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
107 #undef NARROWPROTO
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
108 /* The following should always be defined, no matter what xmkmf thinks. */
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 72
diff changeset
109 #ifndef NeedFunctionPrototypes
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 72
diff changeset
110 #define NeedFunctionPrototypes 1
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 72
diff changeset
111 #endif
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
112 #ifndef FUNCPROTO
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
113 #define FUNCPROTO 15
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
114 #endif
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
115 #endif /* HAVE_X_WINDOWS */
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 72
diff changeset
116
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
117 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 118
diff changeset
118 #if defined (HAVE_X_WINDOWS) /* || defined (HAVE_NEXTSTEP) */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 #define HAVE_WINDOW_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
122 /* Define HAVE_UNIXOID_EVENT_LOOP if we use select() to wait for events. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 #if defined (HAVE_X_WINDOWS) || defined (HAVE_TTY)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 #define HAVE_UNIXOID_EVENT_LOOP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
127 /* Are we using XFree386? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 #undef HAVE_XFREE386
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 #undef THIS_IS_X11R4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 #undef THIS_IS_X11R5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 #undef THIS_IS_X11R6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
134 /* 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
135 It can assume that the variable `pw' points to the password file
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
136 entry for this user.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
138 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
139 If neither this nor any other field contains the right thing, use
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
140 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
141 nothing. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 #define USER_FULL_NAME pw->pw_gecos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 /* Define AMPERSAND_FULL_NAME if you use the convention
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
145 that & in the full name stands for the login id. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 #undef AMPERSAND_FULL_NAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 /* 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
149 configure.in. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 #undef HAVE_MACH_MACH_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 #undef HAVE_SYS_STROPTS_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 #undef HAVE_SYS_TIMEB_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 #undef HAVE_SYS_TIME_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 #undef HAVE_UNISTD_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 #undef HAVE_UTIME_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 #undef HAVE_SYS_WAIT_H
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
157 #undef HAVE_LIBINTL_H
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 #undef HAVE_LIBGEN_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 #undef HAVE_LOCALE_H
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
160 #undef HAVE_FCNTL_H
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
161 #undef HAVE_ULIMIT_H
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
162 #undef HAVE_X11_XLOCALE_H
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 #undef HAVE_LINUX_VERSION_H
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
164 #undef HAVE_INTTYPES_H
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
165 #undef HAVE_LIMITS_H
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 #undef STDC_HEADERS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 #undef TIME_WITH_SYS_TIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 #undef WORDS_BIGENDIAN
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
169 #undef HAVE_VFORK_H
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
170 #undef HAVE_KSTAT_H
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
171 #undef HAVE_SYS_PSTAT_H
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
172 #undef vfork
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 #undef HAVE_LONG_FILE_NAMES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
176 /* Use lock files to detect multiple edits of the same file? */
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 169
diff changeset
177 #undef CLASH_DETECTION
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
179 #undef HAVE_LIBKSTAT
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
180 #undef HAVE_LIBINTL
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 #undef HAVE_LIBDNET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 #undef HAVE_LIBRESOLV
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
184 /* Is `sys_siglist' declared by <signal.h>? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 #undef SYS_SIGLIST_DECLARED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
187 /* Is `struct utimbuf' declared by <utime.h>? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 #undef HAVE_STRUCT_UTIMBUF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
190 /* Is `struct timeval' declared by <sys/time.h>? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 #undef HAVE_TIMEVAL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 #undef TM_IN_SYS_TIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 #undef HAVE_TM_ZONE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 #undef HAVE_TZNAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
198 /* Is `h_errno' declared by <netdb.h>? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 #undef HAVE_H_ERRNO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
201 /* Does `localtime' cache TZ? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 #undef LOCALTIME_CACHE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
204 /* Can `gettimeofday' accept two arguments? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 #undef GETTIMEOFDAY_ONE_ARGUMENT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 #undef HAVE_MMAP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 #undef HAVE_STRCOLL
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
209 #undef HAVE_GETPGRP
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
210 #undef GETPGRP_VOID
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 #undef SIZEOF_SHORT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 #undef SIZEOF_INT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 #undef SIZEOF_LONG
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
215 #undef SIZEOF_LONG_LONG
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
216 #undef SIZEOF_VOID_P
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 #undef HAVE_ACOSH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 #undef HAVE_ASINH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 #undef HAVE_ATANH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 #if defined (HAVE_ACOSH) && defined (HAVE_ASINH) && defined (HAVE_ATANH)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 #define HAVE_INVERSE_HYPERBOLIC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 #undef HAVE_CBRT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 #undef HAVE_CLOSEDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 #undef HAVE_DUP2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 #undef HAVE_EACCESS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 #undef HAVE_FMOD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 #undef HAVE_FPATHCONF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 #undef HAVE_FREXP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 #undef HAVE_FTIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 #undef HAVE_GETHOSTNAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 #undef HAVE_GETPAGESIZE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 #undef HAVE_GETTIMEOFDAY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 #undef HAVE_GETWD
72
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents: 70
diff changeset
238 #undef HAVE_GETCWD
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 #undef HAVE_LOGB
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 #undef HAVE_LRAND48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 #undef HAVE_MATHERR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 #undef HAVE_MKDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 #undef HAVE_MKTIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 #undef HAVE_PERROR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 #undef HAVE_POLL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 #undef HAVE_RANDOM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 #undef HAVE_REALPATH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 #undef HAVE_RENAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 #undef HAVE_RES_INIT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 #undef HAVE_RINT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 #undef HAVE_RMDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 #undef HAVE_SELECT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 #undef HAVE_SETITIMER
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 #undef HAVE_SETPGID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 #undef HAVE_SETSID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 #undef HAVE_SIGBLOCK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 #undef HAVE_SIGHOLD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 #undef HAVE_SIGPROCMASK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 #undef HAVE_SIGSETJMP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 #undef HAVE_STRCASECMP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 #undef HAVE_STRERROR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 #undef HAVE_TZSET
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
263 #undef HAVE_ULIMIT
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 163
diff changeset
264 #undef HAVE_USLEEP
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 #undef HAVE_UTIMES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 #undef HAVE_WAITPID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 #undef HAVE_SOCKETS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 #undef HAVE_SOCKADDR_SUN_LEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 #undef HAVE_SYSVIPC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 #undef SYSV_SYSTEM_DIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 #undef NONSYSTEM_DIR_LIBRARY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 #undef HAVE_TERMIOS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 #undef HAVE_TERMIO
175
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 173
diff changeset
277 #undef NO_TERMIO
2d532a89d707 Import from CVS: tag r20-3b14
cvs
parents: 173
diff changeset
278 #undef SIGNALS_VIA_CHARACTERS
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 #undef NLIST_STRUCT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 #undef AIX_SMT_EXP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
284 /* Compile in support for SOCKS? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 #undef HAVE_SOCKS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
287 /* Compile in support for using the `term' program (e.g. under Linux)? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 #undef HAVE_TERM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
290 /* Compile in support for X pixmaps via the `xpm' library? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 #undef HAVE_XPM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
293 /* Compile in support for "X faces" via the `compface' library?
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
294 This enables graphical display of X-face headers in mail/news messages */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 #undef HAVE_XFACE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
297 /* Compile in support for GIF (Graphics Interchange Format) images? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 #undef HAVE_GIF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
300 /* Compile in support for displaying JPEG images via the `jpeg' library? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 #undef HAVE_JPEG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
303 /* Compile in support for displaying PNG images via the `png' library? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 #undef HAVE_PNG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
306 /* Compile in support for displaying TIFF images via the `tiff' library? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 #undef HAVE_TIFF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
309 /* Do you have the Xmu library?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
310 This should always be the case except on losing HP-UX systems. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 #undef HAVE_XMU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
313 /* Compile in support for DBM databases? May require libgdbm or libdbm. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 #undef HAVE_DBM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
316 /* Compile in support for Berkeley DB style databases? May require libdb. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 #undef HAVE_BERKELEY_DB
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
318 /* Full #include file path for Berkeley DB's db.h */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
319 #undef DB_H_PATH
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
321 /* Do we have either DBM or Berkeley DB database support? */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
322 #undef HAVE_DATABASE
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
324 /* Do you have the Xauth library present? This will add some extra
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
325 functionality to gnuserv. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 #undef HAVE_XAUTH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
328 /* Compile in support for gpm (General Purpose Mouse)? */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
329 #undef HAVE_GPM
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
331 /* Compile in support for ncurses? */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
332 #undef HAVE_NCURSES
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
333 /* Full #include file paths for ncurses' curses.h and term.h. */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
334 #undef CURSES_H_PATH
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
335 #undef TERM_H_PATH
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 #define LOWTAGS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
339 /* 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
340 If the assertion fails, assert_failed() will be called. This is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 recommended for general use because it gives more info about the crash
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 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
343 or have limit-ed core dumps out of existence. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 #undef USE_ASSERTIONS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 /* 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
347 (e.g. structure validation) compiled in. These should be turned
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 on during the beta-test cycle. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 /* Check the entire extent structure of a buffer each time an extent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 change is done, and do other extent-related checks. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 #undef ERROR_CHECK_EXTENTS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 /* Make sure that all X... macros are dereferencing the correct type,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 and that all XSET... macros (as much as possible) are setting the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 correct type of structure. Highly recommended for all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 development work. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 #undef ERROR_CHECK_TYPECHECK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 /* Make sure valid buffer positions are passed to BUF_* macros. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 #undef ERROR_CHECK_BUFPOS
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
360 /* 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
361 #undef ERROR_CHECK_GC
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
362 /* 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
363 #undef ERROR_CHECK_MALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 /* Define DEBUG_XEMACS if you want extra debugging code compiled in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 This is mainly intended for use by developers. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 #undef DEBUG_XEMACS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 /* 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
370 determine where XEmacs' memory is going. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 #undef MEMORY_USAGE_STATS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
373 /* Define QUANTIFY if using Quantify from Pure/Atria Software.
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
374 This adds some additional calls to control data collection.
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
375 It is only intended for use by the developers. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 #undef QUANTIFY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 /* 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
379 widget within another program. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 #undef EXTERNAL_WIDGET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 /* There are some special-case defines for gcc and lcc. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 #undef USE_GCC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 #undef USE_LCC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 /* Allow the user to override the default value of PURESIZE at configure
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 time. This must come before we include the sys files in order for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 it to be able to override any changes in them. */
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 98
diff changeset
389 #undef RAW_PURESIZE
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
391 /* Define this if you want level 2 internationalization compliance
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
392 (localized collation and formatting). Generally this should be
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
393 defined, unless your system doesn't have the strcoll() and
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
394 setlocale() library routines. This really should be (NOT! -mrb)
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
395 defined in the appropriate s/ or m/ file. */
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
396 #undef I18N2
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
398 /* Define this if you want level 3 internationalization compliance
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
399 (localized messaging). This will cause a small runtime performance
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
400 penalty, as the strings are read from the message catalog(s).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
401 For this you need the gettext() and dgetext() library routines.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
402 WARNING, this code is under construction. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
403 #undef I18N3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
404
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
405 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
406 Requires libDtSvc, which typically must be present at runtime. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 #undef HAVE_CDE
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 /* Compile in support for OffiX Drag and Drop? Requires libdnd. */
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
410 #undef HAVE_OFFIX_DND
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
411
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
412 /* Compile in support for WindowMaker Application Icons. */
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
413 #undef HAVE_WINDOWMAKER
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
414
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
415 /* Define this if you want Mule support (multi-byte character support).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
416 There may be some performance penalty, although it should be small
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
417 if you're working with ASCII files. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
418 #undef MULE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
419
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
420 /* 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
421 If so, use raw Xlib or higher level Motif interface? */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
422 #undef HAVE_XIM
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
423 #undef XIM_XLIB
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
424 #undef XIM_MOTIF
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 175
diff changeset
425 #undef USE_XFONTSET
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
426
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
427 /* Non-XIM input methods for use with Mule. */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
428 #undef HAVE_CANNA
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
429 #undef HAVE_WNN
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 82
diff changeset
430 #undef WNN6
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
431
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
432 /* Enable special GNU Make features in the Makefiles. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 #undef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
435 /* Debugging option: Don't automatically rebuild the DOC file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
436 This saves a lot of time when you're repeatedly
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 compiling-running-crashing. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 #undef NO_DOC_FILE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
440 /* To eliminate use of `const' in the XEmacs sources,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
441 do `#define CONST_IS_LOSING' */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 #undef CONST_IS_LOSING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 # undef CONST
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 # ifdef CONST_IS_LOSING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 # define CONST
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 # else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 # define CONST const
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 # endif /* CONST */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 /* If not defined, use unions instead of ints. A few systems (DEC Alpha)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 seem to require this, probably because something with the int
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 definitions isn't right with 64-bit systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
455 (It's NO_UNION_TYPE instead of USE_UNION_TYPE for historical reasons.) */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 #undef NO_UNION_TYPE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 /* The configuration script defines opsysfile to be the name of the
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
459 s/...h file that describes the system type you are using.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
460 The file is chosen based on the configuration name you give.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 See the file ../etc/MACHINES for a list of systems and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 configuration names to use for them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
465 See s/template.h for documentation on writing s/...h files. */
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
466 #undef config_opsysfile
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 #include config_opsysfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 /* The configuration script defines machfile to be the name of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 m/...h file that describes the machine you are using. The file is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 chosen based on the configuration name you give.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 See the file ../etc/MACHINES for a list of machines and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 configuration names to use for them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
476 See m/template.h for documentation on writing m/...h files. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 #undef config_machfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 #include config_machfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 #define SYSTEM_MALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
484 /* Use the relocating allocator for buffer space? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 #undef REL_ALLOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
487 /* 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
488 did not already do so. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 #define RETSIGTYPE void
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
491 /* SIGTYPE is the macro we actually use. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 #ifndef SIGTYPE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 #define SIGTYPE RETSIGTYPE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 #define SIGRETURN return
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
497 /* Allow the source to use standard types */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
498 #undef size_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
499 #undef pid_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
500 #undef mode_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
501 #undef off_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
502 #undef uid_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
503 #undef gid_t
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
504
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 /* 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
506 Currently this is only Solaris 2.x, for x < 6. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 #undef DYNODUMP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 /* Define ENERGIZE to compile with support for the Energize Programming System.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 If you do this, don't forget to define ENERGIZE in lwlib/Imakefile as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 You will need to set your C_SWITCH_SITE and LD_SWITCH_SITE to point at the
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
512 Energize connection library (libconn.a) and associated header files. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 #undef ENERGIZE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 #undef ENERGIZE_2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 #undef ENERGIZE_3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
517 /* Compile in support for Sun Sparcworks/WorkShop? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 #undef SUNPRO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
520 /* Sun SparcStations, SGI machines, and HP9000s700s have built-in
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
521 support for playing sound files. (On Suns, the sound support is
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
522 usually found in /usr/demo/SOUND - you may need to install the
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
523 "SUNWaudmo" package.) */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 #undef HAVE_NATIVE_SOUND
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
525 /* Native sound may be provided via soundcard.h, in various directories */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
526 #undef SOUNDCARD_H_PATH
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
528 /* Compile in support for NAS (Network Audio System)?
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
529 NAS_NO_ERROR_JUMP means that the NAS libraries don't include some
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
530 error handling changes. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 #undef HAVE_NAS_SOUND
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 #undef NAS_NO_ERROR_JUMP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
534 /* Compile in support for SunPro usage-tracking code? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 #undef USAGE_TRACKING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
537 /* Compile in support for Tooltalk? */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 #undef TOOLTALK
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
539 /* tt_c.h might be in "Tt" or "desktop" subdirectories */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
540 #undef TT_C_H_PATH
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
542 /* Toolkits used by lwlib for various widgets... */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 #undef LWLIB_USES_MOTIF
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 74
diff changeset
544 #undef LWLIB_USES_ATHENA
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 #undef LWLIB_MENUBARS_LUCID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 #undef LWLIB_MENUBARS_MOTIF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 #undef LWLIB_SCROLLBARS_LUCID
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 #undef LWLIB_SCROLLBARS_MOTIF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 #undef LWLIB_SCROLLBARS_ATHENA
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 74
diff changeset
550 #undef LWLIB_SCROLLBARS_ATHENA3D
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 #undef LWLIB_DIALOGS_MOTIF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 #undef LWLIB_DIALOGS_ATHENA
82
6a378aca36af Import from CVS: tag r20-0b91
cvs
parents: 74
diff changeset
553 #undef LWLIB_DIALOGS_ATHENA3D
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 /* Other things that can be disabled by configure. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 #undef HAVE_MENUBARS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 #undef HAVE_SCROLLBARS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 #undef HAVE_DIALOGS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 #undef HAVE_TOOLBARS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 #define HAVE_POPUPS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 /* 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
567 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
568 uses, mbstowcs() and wcstombs(), are unusable when programs are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 statically linked (as XEmacs must be) because the static version of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 libc.a contains the *dynamic* versions of these functions. These
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
571 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
572 enough to define stubs for them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 This appears to be fixed in SunOS 4.1.2.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 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
578 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
579 #if defined (sparc) && !defined (USG)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 /* If you turn this flag on, it forces encapsulation in all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 circumstances; this can be used to make sure things compile OK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 on various systems. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 #define DEBUG_ENCAPSULATION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 /* basic system calls */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 # define ENCAPSULATE_READ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 # define ENCAPSULATE_WRITE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 #endif
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
594 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 # define ENCAPSULATE_OPEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 # define ENCAPSULATE_CLOSE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 /* stdio calls */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 # define ENCAPSULATE_FREAD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 # define ENCAPSULATE_FWRITE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 #endif
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
607 #if defined (INTERRUPTIBLE_OPEN) || defined (MULE) || defined (DEBUG_ENCAPSULATION)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 # define ENCAPSULATE_FOPEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 # define ENCAPSULATE_FCLOSE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 /* directory calls */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
616 #if defined (MULE) || defined (DEBUG_ENCAPSULATION)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 # define ENCAPSULATE_CHDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 # define ENCAPSULATE_MKDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 # define ENCAPSULATE_OPENDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 # define ENCAPSULATE_READDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 # define ENCAPSULATE_RMDIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 /* file-information calls */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
625 #ifdef HAVE_EACCESS
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
626 # define ENCAPSULATE_EACCESS
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
627 #endif
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 # define ENCAPSULATE_ACCESS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 # define ENCAPSULATE_LSTAT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 # define ENCAPSULATE_READLINK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631 # define ENCAPSULATE_STAT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 /* file-manipulation calls */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 # define ENCAPSULATE_CHMOD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 # define ENCAPSULATE_CREAT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 # define ENCAPSULATE_LINK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 # define ENCAPSULATE_RENAME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 # define ENCAPSULATE_SYMLINK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 # define ENCAPSULATE_UNLINK
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
641 # define ENCAPSULATE_EXECVP
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
642 #endif /* defined (MULE) || defined (DEBUG_ENCAPSULATION) */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
643
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
644 #ifdef HAVE_CANNA
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
645 # define CANNA2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
646 # define CANNA_MULE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
647 # define CANNA_PURESIZE 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
648 #else /* not CANNA */
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
649 # define CANNA_PURESIZE 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
650 #endif /* not CANNA */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 #define HAVE_FEP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 #define accept Raccept
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 #define bind Rbind
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 #define connect Rconnect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 #define getsockname Rgetsockname
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 #define listen Rlisten
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 #ifndef SHORTBITS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 #define SHORTBITS (8 * SIZEOF_SHORT)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 #ifndef INTBITS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 #define INTBITS (8 * SIZEOF_INT)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 #ifndef LONGBITS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 #define LONGBITS (8 * SIZEOF_LONG)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
674 #ifndef NOT_C_CODE
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
675 /* Does the keyword `inline' exist? */
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
676 #undef HAVE_INLINE
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
677 #undef inline
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
678
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
679 # ifdef HAVE_INLINE
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
680 # ifdef __GNUC__
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
681 # ifdef DONT_EXTERN_INLINE_FUNCTIONS
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
682 # define INLINE inline
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
683 # else
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
684 # define INLINE extern inline
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
685 # endif
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 # else
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
687 # define INLINE static inline
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
688 # endif /* __GNUC__ */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 # else
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
690 # define INLINE static
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
691 # endif /* HAVE_INLINE */
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 155
diff changeset
692 #endif /* C code */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 /* We want to avoid saving the signal mask if possible, because
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 that necessitates a system call. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696 #ifdef HAVE_SIGSETJMP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 # define SETJMP(x) sigsetjmp (x, 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 # define LONGJMP(x, y) siglongjmp (x, y)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699 # define JMP_BUF sigjmp_buf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 # define SETJMP(x) setjmp (x)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 # define LONGJMP(x, y) longjmp (x, y)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 # define JMP_BUF jmp_buf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 104
diff changeset
706 /* movemail options */
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
707 /* Should movemail use POP3 for mail access? */
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 104
diff changeset
708 #undef MAIL_USE_POP
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
709 /* Should movemail use kerberos for POP authentication? */
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 104
diff changeset
710 #undef KERBEROS
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
711 /* Should movemail use hesiod for getting POP server host? */
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 104
diff changeset
712 #undef HESIOD
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
713 /* Determine type of mail locking. */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
714 /* Play preprocessor games so that configure options override s&m files */
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
715 #undef REAL_MAIL_USE_LOCKF
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
716 #undef REAL_MAIL_USE_FLOCK
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
717 #undef MAIL_USE_LOCKF
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
718 #undef MAIL_USE_FLOCK
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
719 #ifdef REAL_MAIL_USE_FLOCK
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
720 #define MAIL_USE_FLOCK
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
721 #endif
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
722 #ifdef REAL_MAIL_USE_LOCKF
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
723 #define MAIL_USE_LOCKF
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 120
diff changeset
724 #endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 104
diff changeset
725
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 #endif /* _CONFIG_H_ */