annotate w32/config.h @ 209:41ff10fd062f r20-4b3

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