annotate nt/config.h @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c42ec1d1cded
children c9fe270a4101
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 274
diff changeset
1 /* XEmacs configuration file for Win32 -*- C -*-
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
2 Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
3
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
4 This file is part of XEmacs.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
5
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
9 later version.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
10
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
14 for more details.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
15
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
20
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
21 /* Synched up with: FSF 19.30 (more or less). */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
22
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
23 /* No code in XEmacs #includes config.h twice, but some of the code
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
24 intended to work with other packages as well (like gmalloc.c)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
25 think they can include it as many times as they like. */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
26 #ifndef _SRC_CONFIG_H_
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
27 #define _SRC_CONFIG_H_
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
28
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
29 #define NTHEAP_PROBE_BASE 1
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
30 #undef LOSING_BYTECODE
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
31
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
32 /* Use this to add code in a structured way to FSF-maintained source
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
33 files so as to make it obvious where XEmacs changes are. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
34 #define XEMACS
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
35
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
36 /* Allow s&m files to differentiate OS versions without having
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
37 multiple files to maintain. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
38 #undef OS_RELEASE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
39
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
40 /* The configuration name. This is used as the install directory name
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
41 for the lib-src programs. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
42 #undef EMACS_CONFIGURATION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
43
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
44 /* The configuration options. This is exported to Lisp. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
45 #undef EMACS_CONFIG_OPTIONS
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
46
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
47 /* The version info from xemacs.mak via version.sh. Used in #pragma ident
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
48 in emacs.c */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
49 #if 0
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
50 #undef EMACS_MAJOR_VERSION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
51 #undef EMACS_MINOR_VERSION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
52 #undef EMACS_BETA_VERSION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
53 #undef EMACS_VERSION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
54 #undef XEMACS_CODENAME
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
55 #endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
56
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
57 /* Make all functions available on AIX. See AC_AIX. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
58 #undef _ALL_SOURCE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
59
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
60 /* Used to identify the XEmacs version in stack traces. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
61 #undef STACK_TRACE_EYE_CATCHER
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
62
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
63 /* Allow the configurer to specify (additional) package directories. */
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
64 /* #undef PACKAGE_PATH */
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
65
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
66 /* Define LISP_FLOAT_TYPE if you want XEmacs to support floating-point
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
67 numbers. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
68 #undef LISP_FLOAT_TYPE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
69
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
70 /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
71 #define GNU_MALLOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
72
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
73 /* Define USE_SYSTEM_MALLOC if you forcing the use of it. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
74 #undef USE_SYSTEM_MALLOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
75
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
76 /* Define HAVE_TTY if you want TTY support compiled in. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
77 #undef HAVE_TTY
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
78
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
79 /* Compile in support for the X window system? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
80 /* #undef HAVE_X_WINDOWS -- defined in xemacs.mak */
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
81
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
82 /* Defines for building X applications */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
83 #ifdef HAVE_X_WINDOWS
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
84 /* The following will be defined if xmkmf thinks they are necessary */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
85 #undef SVR4
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
86 #undef SYSV
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
87 #undef AIXV3
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
88 #undef _POSIX_SOURCE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
89 #undef _BSD_SOURCE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
90 #undef _GNU_SOURCE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
91 #undef X_LOCALE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
92 #undef NARROWPROTO
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
93 /* The following should always be defined, no matter what xmkmf thinks. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
94 #ifndef NeedFunctionPrototypes
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
95 #define NeedFunctionPrototypes 1
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
96 #endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
97 #ifndef FUNCPROTO
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
98 #define FUNCPROTO 15
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
99 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
101 /* Define this if you're using XFree386. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
102 #undef HAVE_XFREE386
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
103
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
104 #undef THIS_IS_X11R4
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
105 #undef THIS_IS_X11R5
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
106 #define THIS_IS_X11R6
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
107
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
108 /* Define HAVE_XPM if you have the `xpm' library and want XEmacs to use it. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
109 #undef HAVE_XPM
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
110
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
111 /* Define HAVE_XFACE if you have the `compface' library and want to use it.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
112 This will permit X-face pixmaps in mail and news messages to display
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
113 quickly. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
114 #undef HAVE_XFACE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
115
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
116 /* #define HAVE_IMAGEMAGICK */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
117
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
118 /* Define HAVE_XMU if you have the Xmu library. This should always be
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
119 the case except on losing HPUX systems. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
120 #define HAVE_XMU
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
121
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
122 /* Define HAVE_XAUTH if the Xauth library is present. This will add
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
123 some extra functionality to gnuserv. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
124 #undef HAVE_XAUTH
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
125
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
126 /* Define HAVE_XLOCALE_H if X11/Xlocale.h is present. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
127 #define HAVE_XLOCALE_H
247
e70b3a057e12 Import from CVS: tag r20-5b22
cvs
parents: 239
diff changeset
128 #define HAVE_UNIXOID_EVENT_LOOP
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
129
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
130 #endif /* HAVE_X_WINDOWS */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
131
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
132 /* Define HAVE_WINDOW_SYSTEM if any windowing system is available. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
133 #if defined (HAVE_X_WINDOWS) || defined (HAVE_NEXTSTEP) || defined (HAVE_MS_WINDOWS)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
134 #define HAVE_WINDOW_SYSTEM
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
135 #endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
136
247
e70b3a057e12 Import from CVS: tag r20-5b22
cvs
parents: 239
diff changeset
137
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
138
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
139 /* Define USER_FULL_NAME to return a string
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
140 that is the user's full name.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
141 It can assume that the variable `pw'
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
142 points to the password file entry for this user.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
143
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
144 At some sites, the pw_gecos field contains
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
145 the user's full name. If neither this nor any other
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
146 field contains the right thing, use pw_name,
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
147 giving the user's login name, since that is better than nothing. */
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
148 #define USER_FULL_NAME pw->pw_gecos
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
149
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
150 /* Define AMPERSAND_FULL_NAME if you use the convention
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
151 that & in the full name stands for the login id. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
152 #undef AMPERSAND_FULL_NAME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
153
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
154 /* Some things figured out by the configure script, grouped as they are in
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
155 configure.in. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
156 #undef HAVE_MACH_MACH_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
157 #undef HAVE_SYS_STROPTS_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
158 #undef HAVE_SYS_TIMEB_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
159 #undef HAVE_UNISTD_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
160 #undef HAVE_UTIME_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
161 #undef HAVE_SYS_WAIT_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
162 #undef HAVE_LIBGEN_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
163 #undef HAVE_LINUX_VERSION_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
164 #undef WORDS_BIGENDIAN
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
165 #undef TIME_WITH_SYS_TIME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
166
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
167 #define HAVE_SYS_TIME_H
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
168 #define HAVE_LOCALE_H
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
169 #ifdef HAVE_X_WINDOWS
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
170 #define HAVE_X11_LOCALE_H
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
171 #endif
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
172 #define STDC_HEADERS
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
173 #define HAVE_LIMITS_H
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
174 #define HAVE_GETCWD
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
175
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
176 #define HAVE_LONG_FILE_NAMES
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
177
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
178 #ifdef HAVE_LONG_FILE_NAMES
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
179 #define CLASH_DETECTION
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
180 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
181
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
182 #undef HAVE_LIBKSTAT
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
183 #undef HAVE_LIBINTL
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
184 #undef HAVE_LIBDNET
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
185 #undef HAVE_LIBRESOLV
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
186
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
187 /* Define if `sys_siglist' is declared by <signal.h>. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
188 #undef SYS_SIGLIST_DECLARED
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
189
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
190 /* Define if `struct utimbuf' is declared by <utime.h>. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
191 #undef HAVE_STRUCT_UTIMBUF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
192
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
193 /* Define if `struct timeval' is declared by <sys/time.h>. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
194 #define HAVE_TIMEVAL
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
195
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
196 #undef TM_IN_SYS_TIME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
197 #undef HAVE_TM_ZONE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
198 #undef HAVE_TZNAME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
199
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
200 /* Define if netdb.h declares h_errno. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
201 #undef HAVE_H_ERRNO
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
202
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
203 /* Define if localtime caches TZ */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
204 #undef LOCALTIME_CACHE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
205
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
206 /* Define if gettimeofday can't accept two arguments */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
207 #ifdef HAVE_X_WINDOWS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
208 #define GETTIMEOFDAY_ONE_ARGUMENT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
209 #else
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
210 #undef GETTIMEOFDAY_ONE_ARGUMENT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
211 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
212
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
213 /* Is the timezone variable already declared in system headers? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
214 #undef HAVE_TIMEZONE_DECL
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
215
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
216 #undef HAVE_MMAP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
217 #undef HAVE_STRCOLL
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
218 #undef HAVE_GETPGRP
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
219 #undef GETPGRP_VOID
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
220
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
221 #undef SIZEOF_SHORT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
222 #undef SIZEOF_INT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
223 #undef SIZEOF_LONG
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
224 #undef SIZEOF_LONG_LONG
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
225 #undef SIZEOF_VOID_P
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
226
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
227 #undef HAVE_ACOSH
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
228 #undef HAVE_ASINH
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
229 #undef HAVE_ATANH
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
230
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
231 #if defined (HAVE_ACOSH) && defined (HAVE_ASINH) && defined (HAVE_ATANH)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
232 #define HAVE_INVERSE_HYPERBOLIC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
233 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
234
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
235 #undef HAVE_CBRT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
236 #define HAVE_CLOSEDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
237 #undef HAVE_DUP2
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
238 #undef HAVE_EACCESS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
239 #undef HAVE_FMOD
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
240 #undef HAVE_FPATHCONF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
241 #undef HAVE_FREXP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
242 #undef HAVE_FTIME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
243 #undef HAVE_GETHOSTNAME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
244 #undef HAVE_GETPAGESIZE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
245 #define HAVE_GETTIMEOFDAY
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
246 #define HAVE_GETWD
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
247 #undef HAVE_LOGB
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
248 #undef HAVE_LRAND48
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
249 #undef HAVE_MATHERR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
250 #undef HAVE_MKDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
251 #undef HAVE_MKTIME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
252 #undef HAVE_PERROR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
253 #undef HAVE_POLL
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
254 #undef HAVE_RANDOM
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
255 #undef HAVE_REALPATH
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
256 #undef HAVE_RENAME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
257 #undef HAVE_RES_INIT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
258 #undef HAVE_RINT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
259 #undef HAVE_RMDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
260 #define HAVE_SELECT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
261 #undef HAVE_SETITIMER
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
262 #undef HAVE_SETPGID
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
263 #undef HAVE_SETSID
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
264 #undef HAVE_SIGBLOCK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
265 #undef HAVE_SIGHOLD
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
266 #undef HAVE_SIGPROCMASK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
267 #undef HAVE_SIGSETJMP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
268 #undef HAVE_STRCASECMP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
269 #define HAVE_STRERROR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
270 #undef HAVE_TZSET
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
271 #undef HAVE_UTIMES
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
272 #undef HAVE_WAITPID
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
273
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
274 #define HAVE_SOCKETS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
275 #undef HAVE_SOCKADDR_SUN_LEN
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
276 #undef HAVE_SYSVIPC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
277
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
278 #undef SYSV_SYSTEM_DIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
279 #undef NONSYSTEM_DIR_LIBRARY
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
280
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
281 #undef HAVE_TERMIOS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
282 #undef HAVE_TERMIO
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
283
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
284 #undef NLIST_STRUCT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
285
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
286 /* Define HAVE_SOCKS if you have the `socks' library and want XEmacs to
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
287 use it. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
288 #undef HAVE_SOCKS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
289
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
290 /* Define HAVE_TERM if you run the `term' program (e.g. under Linux) and
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
291 want XEmacs to use it. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
292 #undef HAVE_TERM
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
293
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
294 /* Define HAVE_DBM if you want to use the DBM libraries */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
295 #undef HAVE_DBM
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
296
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
297 /* Define HAVE_BERKELEY_DB if you want to use the BerkDB libraries */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
298 #undef HAVE_BERKELEY_DB
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
299 /* Full #include file path for Berkeley DB's db.h */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
300 #undef DB_H_PATH
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
301
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
302 #if defined (HAVE_DBM) || defined (HAVE_BERKELEY_DB)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
303 # define HAVE_DATABASE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
304 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
305
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
306 /* Define HAVE_NCURSES if -lncurses is present. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
307 #undef HAVE_NCURSES
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
308 /* Full #include file paths for ncurses' curses.h and term.h. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
309 #undef CURSES_H_PATH
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
310 #undef TERM_H_PATH
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
311
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
312 #define LOWTAGS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
313
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 272
diff changeset
314 #ifdef DEBUG_XEMACS
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 272
diff changeset
315
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
316 /* Define USE_ASSERTIONS if you want the abort() to be changed to assert()
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
317 If the assertion fails, assert_failed() will be called. This is
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
318 recommended for general use because it gives more info about the crash
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
319 than just the abort() message. Too many people "Can't find the corefile"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
320 or have limited core dumps out of existence. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
321 #define USE_ASSERTIONS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
322
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
323 /* Check the entire extent structure of a buffer each time an extent
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
324 change is done, and do other extent-related checks. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
325 #define ERROR_CHECK_EXTENTS
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
326
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
327 /* Make sure that all X... macros are dereferencing the correct type,
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
328 and that all XSET... macros (as much as possible) are setting the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
329 correct type of structure. Highly recommended for all
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
330 development work. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
331 #define ERROR_CHECK_TYPECHECK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
332 /* Make sure valid buffer positions are passed to BUF_* macros. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
333 #define ERROR_CHECK_BUFPOS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
334 /* Attempt to catch bugs related to garbage collection (e.g.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
335 insufficient GCPRO'ing). */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
336 #define ERROR_CHECK_GC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
337 /* Attempt to catch freeing of a non-malloc()ed block, heap corruption,
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
338 etc. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
339 #define ERROR_CHECK_MALLOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
340
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
341 #endif /* DEBUG_XEMACS */
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
342
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
343 /* Define MEMORY_USAGE_STATS if you want extra code compiled in to
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
344 determine where XEmacs's memory is going. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
345 #undef MEMORY_USAGE_STATS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
346
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
347 /* Define QUANTIFY if using Quantify from Pure Software. This adds
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
348 some additional calls to control data collection. This is only
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
349 intended for use by the developers. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
350 #undef QUANTIFY
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
351
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
352 /* Define EXTERNAL_WIDGET to compile support for using the editor as a
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
353 widget in another program. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
354 #undef EXTERNAL_WIDGET
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
355
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
356 /* There are some special-case defines for gcc and lcc. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
357 #undef USE_GCC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
358 #undef USE_LCC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
359
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
360 /* Allow the user to override the default value of PURESIZE at configure
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
361 time. This must come before we include the sys files in order for
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
362 it to be able to override any changes in them. */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
363 #undef RAW_PURESIZE
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
364
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
365 /* Define this if you want level 2 internationalization compliance
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
366 (localized collation and formatting). Generally this should be
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
367 defined, unless your system doesn't have the strcoll() and
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
368 setlocale() library routines. This really should be (NOT! -mrb)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
369 defined in the appropriate s/ or m/ file. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
370 #undef I18N2
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
371
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
372 /* Define this if you want level 3 internationalization compliance
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
373 (localized messaging). This will cause a small runtime performance
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
374 penalty, as the strings are read from the message catalog(s).
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
375 For this you need the gettext() and dgetext() library routines.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
376 WARNING, this code is under construction. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
377 #undef I18N3
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
378
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
379 /* Compile in support for CDE (Common Desktop Environment) drag and drop?
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
380 Requires libDtSvc, which typically must be present at runtime. */
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
381 #undef HAVE_CDE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
382
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
383 /* Compile in support for OffiX Drag and Drop? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
384 #undef HAVE_OFFIX_DND
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
385
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
386 /* Compile in generic Drag'n'Drop API */
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
387 #define HAVE_DRAGNDROP
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
388
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
389 /* Compile in support for proper session-management. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
390 #undef HAVE_SESSION
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
391
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
392 /* Define this if you want Mule support (multi-byte character support).
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
393 There may be some performance penalty, although it should be small
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
394 if you're working with ASCII files. */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
395 /* #undef MULE */
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
396
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
397 #ifdef MULE
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
398 /* Do we want to use X window input methods for use with Mule? (requires X11R5)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
399 If so, use raw Xlib or higher level Motif interface? */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
400 #undef HAVE_XIM
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
401 #undef XIM_XLIB
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
402 #undef XIM_MOTIF
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
403
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
404 /* Non-XIM input methods for use with Mule. */
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
405 #undef HAVE_CANNA
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
406 #undef HAVE_WNN
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 118
diff changeset
407 #undef WNN6
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
408
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
409 #endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
410
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
411 /* enable special GNU Make features in the Makefiles. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
412 #undef USE_GNU_MAKE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
413
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
414 /* Undocumented debugging option: Don't automatically rebuild the DOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
415 file. This saves a lot of time when you're repeatedly
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
416 compiling-running-crashing. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
417 #undef NO_DOC_FILE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
418
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
419 #define CONST const
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
420
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
421 /* If not defined, use unions instead of ints. A few systems (DEC Alpha)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
422 seem to require this, probably because something with the int
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
423 definitions isn't right with 64-bit systems.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
424
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
425 (It's NO_UNION_TYPE instead of USE_UNION_TYPE for historical reasons.)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
426 */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
427 #undef NO_UNION_TYPE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
428
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
429 /* The configuration script defines opsysfile to be the name of the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
430 s/...h file that describes the system type you are using. The file
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
431 is chosen based on the configuration name you give.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
432
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
433 See the file ../etc/MACHINES for a list of systems and the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
434 configuration names to use for them.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
435
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
436 See s/template.h for documentation on writing s/...h files. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
437 #include "s/windowsnt.h"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
438
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
439 /* The configuration script defines machfile to be the name of the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
440 m/...h file that describes the machine you are using. The file is
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
441 chosen based on the configuration name you give.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
442
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
443 See the file ../etc/MACHINES for a list of machines and the
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
444 configuration names to use for them.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
445
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
446 See m/template.h for documentation on writing m/...h files. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
447 #include "m/windowsnt.h"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
448
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
449 #if defined (USE_SYSTEM_MALLOC) && !defined (SYSTEM_MALLOC)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
450 #define SYSTEM_MALLOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
451 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
452
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
453 /* Define REL_ALLOC if you want to use the relocating allocator for
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
454 buffer space. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
455 #undef REL_ALLOC
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
456
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
457 /* Define the return type of signal handlers if the s-xxx file
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
458 did not already do so. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
459 #define RETSIGTYPE void
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
460
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
461 /* SIGTYPE is the macro we actually use. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
462 #ifndef SIGTYPE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
463 #define SIGTYPE RETSIGTYPE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
464 #define SIGRETURN return
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
465 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
466
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
467 /* Allow the source to use standard types */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
468 #undef size_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
469 #undef pid_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
470 #undef mode_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
471 #undef off_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
472 #undef uid_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
473 #undef gid_t
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
474
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
475 /* Define DYNODUMP if it is necessary to properly dump on this system.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
476 Currently this is only Solaris. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
477 #undef DYNODUMP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
478
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
479 /* Define SUNPRO to compiled in support for Sun Sparcworks. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
480 #undef SUNPRO
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
481
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
482 /* Sun SparcStations, SGI machines, and HP9000s700s have support for playing
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
483 different sound files as beeps. If you are on a SparcStation but do not
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
484 have the sound option installed for some reason, then undefine
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
485 HAVE_NATIVE_SOUND. (It's usually found in /usr/demo/SOUND/ on SunOS 4
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
486 and Solaris systems; on Solaris, you may need to install the "SUNWaudmo"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
487 package.)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
488 */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
489 #undef HAVE_NATIVE_SOUND
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
490
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
491 /* If you wish to compile with support for the Network Audio System
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
492 system define HAVE_NAS_SOUND.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
493 NAS_NO_ERROR_JUMP means that the NAS libraries don't inlcude some
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
494 error handling changes.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
495 */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
496 #undef HAVE_NAS_SOUND
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
497 #undef NAS_NO_ERROR_JUMP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
498
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
499 /* Compile in support for SunPro usage-tracking code. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
500 #undef USAGE_TRACKING
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
501
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
502 /* Define TOOLTALK if your site supports the ToolTalk library. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
503 #undef TOOLTALK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
504
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
505 #ifdef HAVE_X_WINDOWS
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
506
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
507 #undef LWLIB_USES_MOTIF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
508 #define LWLIB_MENUBARS_LUCID
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
509 #undef LWLIB_MENUBARS_MOTIF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
510 #define LWLIB_SCROLLBARS_LUCID
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
511 #undef LWLIB_SCROLLBARS_MOTIF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
512 #undef LWLIB_SCROLLBARS_ATHENA
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
513 #undef LWLIB_DIALOGS_MOTIF
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
514 #define LWLIB_DIALOGS_ATHENA
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
515
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
516 /* Other things that can be disabled by configure. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
517 #define HAVE_MENUBARS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
518 #define HAVE_SCROLLBARS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
519 #define HAVE_DIALOGS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
520 #undef HAVE_TOOLBARS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
521
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
522 #endif
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
523
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
524 #if defined (HAVE_MENUBARS) || defined (HAVE_DIALOGS)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
525 #define HAVE_POPUPS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
526 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
527
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
528 /* If you are using SunOS 4.1.1 and X11r5, then you need this patch.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
529 There is a stupid bug in the SunOS libc.a: two functions which X11r5
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
530 uses, mbstowcs() and wcstombs(), are unusable when programs are
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
531 statically linked (as XEmacs must be) because the static version of
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
532 libc.a contains the *dynamic* versions of these functions. These
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
533 functions don't seem to be called when XEmacs is running, so it's
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
534 enough to define stubs for them.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
535
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
536 This appears to be fixed in SunOS 4.1.2.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
537
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
538 Also, SunOS 4.1.1 contains buggy versions of strcmp and strcpy that
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
539 sometimes reference memory past the end of the string, which can segv.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
540 I don't know whether this is has been fixed as of 4.1.2 or 4.1.3.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
541 */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
542 #if defined (sparc) && !defined (USG)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
543 #define OBJECTS_SYSTEM sunOS-fix.o strcmp.o strcpy.o
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
544 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
545
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
546 /* If you turn this flag on, it forces encapsulation in all
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
547 circumstances; this can be used to make sure things compile OK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
548 on various systems. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
549 #undef DEBUG_ENCAPSULATION
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
550 #define DONT_ENCAPSULATE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
551
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
552 /* basic system calls */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
553
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
554 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
555 # define ENCAPSULATE_READ
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
556 # define ENCAPSULATE_WRITE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
557 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
558 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
559 # define ENCAPSULATE_OPEN
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
560 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
561 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
562 # define ENCAPSULATE_CLOSE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
563 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
564
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
565 /* stdio calls */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
566
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
567 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
568 # define ENCAPSULATE_FREAD
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
569 # define ENCAPSULATE_FWRITE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
570 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
571 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
572 # define ENCAPSULATE_FOPEN
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
573 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
574 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
575 # define ENCAPSULATE_FCLOSE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
576 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
577
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
578 /* directory calls */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
579
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
580 #if defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
581 # define ENCAPSULATE_CHDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
582 # define ENCAPSULATE_MKDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
583 # define ENCAPSULATE_OPENDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
584 # define ENCAPSULATE_READDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
585 # define ENCAPSULATE_RMDIR
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
586 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
587
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
588 /* file-information calls */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
589
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
590 #if defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
591 # define ENCAPSULATE_ACCESS
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
592 # define ENCAPSULATE_LSTAT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
593 # define ENCAPSULATE_READLINK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
594 # define ENCAPSULATE_STAT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
595 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
596
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
597 /* file-manipulation calls */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
598
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
599 #if defined (DEBUG_ENCAPSULATION)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
600 # define ENCAPSULATE_CHMOD
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
601 # define ENCAPSULATE_CREAT
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
602 # define ENCAPSULATE_LINK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
603 # define ENCAPSULATE_RENAME
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
604 # define ENCAPSULATE_SYMLINK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
605 # define ENCAPSULATE_UNLINK
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
606 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
607
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
608 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
609 #define HAVE_FEP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
610 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
611
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
612 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
613 #define accept Raccept
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
614 #define bind Rbind
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
615 #define connect Rconnect
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
616 #define getsockname Rgetsockname
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
617 #define listen Rlisten
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
618 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
619
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
620 #ifndef BITS_PER_CHAR
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
621 #define BITS_PER_CHAR 8
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
622 #endif
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
623 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
624 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
625 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
626 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 247
diff changeset
627 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
628
233
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
629 /* MSVC version >= 2.x without /Za supports __inline */
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
630 #if (_MSC_VER < 900) || defined(__STDC__)
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
631 # define INLINE static
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
632 #else
233
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
633 # define INLINE __inline
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
634 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
635
233
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
636 /* MSVC warnings no-no crap. When adding one to this section,
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
637 1. Think twice
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
638 2. Insert textual description of the warning.
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
639 3. Think twice. Undo still works */
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
640 #if (_MSC_VER >= 800)
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
641
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
642 /* 'expression' : signed/unsigned mismatch */
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
643 #pragma warning ( disable : 4018 )
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
644
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
645 #endif /* compiler understands #pragma warning*/
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 221
diff changeset
646
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 274
diff changeset
647 #define enum_field(enumeration_type) unsigned int
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 272
diff changeset
648
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
649 /* We want to avoid saving the signal mask if possible, because
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
650 that necessitates a system call. */
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
651 #ifdef HAVE_SIGSETJMP
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
652 # define SETJMP(x) sigsetjmp (x, 0)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
653 # define LONGJMP(x, y) siglongjmp (x, y)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
654 # define JMP_BUF sigjmp_buf
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
655 #else
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
656 # define SETJMP(x) setjmp (x)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
657 # define LONGJMP(x, y) longjmp (x, y)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
658 # define JMP_BUF jmp_buf
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
659 #endif
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
660
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
661 /* movemail options */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
662 /* Should movemail use POP3 for mail access? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
663 #undef MAIL_USE_POP
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
664 /* Should movemail use kerberos for POP authentication? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
665 #undef KERBEROS
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
666 /* Should movemail use hesiod for getting POP server host? */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
667 #undef HESIOD
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
668 /* Determine type of mail locking. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
669 /* Play preprocessor games so that configure options override s&m files */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
670 #undef REAL_MAIL_USE_LOCKF
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
671 #undef REAL_MAIL_USE_FLOCK
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
672 #undef MAIL_USE_LOCKF
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
673 #undef MAIL_USE_FLOCK
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
674 #ifdef REAL_MAIL_USE_FLOCK
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
675 #define MAIL_USE_FLOCK
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
676 #endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
677 #ifdef REAL_MAIL_USE_LOCKF
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
678 #define MAIL_USE_LOCKF
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
679 #endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
680
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 173
diff changeset
681 #endif /* _SRC_CONFIG_H_ */