annotate src/config.h.in @ 38:1a767b41a199 r19-15b102

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