aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-05-13 08:49:50 +0000
committerYAMAMOTO Mitsuharu2005-05-13 08:49:50 +0000
commit29b78ea8f60868cc0eb11016c74632d2a3060a20 (patch)
treef09f26b9589659b425a8bc168f8df466cd2cd230 /mac
parent948e665681747c591f85f586992cd69c44f838f9 (diff)
downloademacs-29b78ea8f60868cc0eb11016c74632d2a3060a20.tar.gz
emacs-29b78ea8f60868cc0eb11016c74632d2a3060a20.zip
Sync with src/config.in.
(DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP) (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER) (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H) (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them. [__MRC__] (HAVE_ALLOCA_H): Likewise. (config_machfile, config_opsysfile, my_strftime): New macros. (HAVE_PWD_H): Move from s-mac.h. (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h. (PTR): Move to s-mac.h.
Diffstat (limited to 'mac')
-rw-r--r--mac/inc/config.h1208
1 files changed, 892 insertions, 316 deletions
diff --git a/mac/inc/config.h b/mac/inc/config.h
index c81db673cca..4ac6a9d61f0 100644
--- a/mac/inc/config.h
+++ b/mac/inc/config.h
@@ -22,388 +22,949 @@ Boston, MA 02111-1307, USA. */
22 22
23/* Contributed by Andrew Choi (akochoi@mac.com). */ 23/* Contributed by Andrew Choi (akochoi@mac.com). */
24 24
25 25/* No code in Emacs #includes config.h twice, but some bits of code
26/* No code in Emacs #includes config.h twice, but some of the code
27 intended to work with other packages as well (like gmalloc.c) 26 intended to work with other packages as well (like gmalloc.c)
28 think they can include it as many times as they like. */ 27 think they can include it as many times as they like. */
29#ifndef EMACS_CONFIG_H 28#ifndef EMACS_CONFIG_H
30#define EMACS_CONFIG_H 29#define EMACS_CONFIG_H
31 30
32/* These are all defined in the top-level Makefile by configure.
33 They're here only for reference. */
34 31
35/* Define GNU_MALLOC if you want to use the GNU memory allocator. */ 32/* Define to 1 if the mktime function is broken. */
36/* #undef GNU_MALLOC */ 33/* #undef BROKEN_MKTIME */
34
35/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
36 systems. This function is required for `alloca.c' support on those systems.
37 */
38/* #undef CRAY_STACKSEG_END */
39
40/* Define to 1 if using `alloca.c'. */
41#ifndef __MRC__ /* CodeWarrior */
42#define C_ALLOCA 1
43#endif
44
45/* Define to 1 if using `getloadavg.c'. */
46/* #undef C_GETLOADAVG */
47
48/* Define C_SWITCH_X_SITE to contain any special flags your compiler
49 may need to deal with X Windows. For instance, if you've defined
50 HAVE_X_WINDOWS above and your X include files aren't in a place
51 that your compiler can find on its own, you might want to add
52 "-I/..." or something similar. */
53/* #undef C_SWITCH_X_SITE */
54
55/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
56/* #undef DGUX */
37 57
38/* Define if you are using the GNU C Library. */ 58/* Define to 1 if you are using the GNU C Library. */
39/* #undef DOUG_LEA_MALLOC */ 59/* #undef DOUG_LEA_MALLOC */
40 60
41/* Define REL_ALLOC if you want to use the relocating allocator for 61/* Define to the canonical Emacs configuration name. */
42 buffer space. */ 62#ifdef __MRC__
43/* #undef REL_ALLOC */ 63#define EMACS_CONFIGURATION "macos-mpw"
64#else /* Assume CodeWarrior */
65#define EMACS_CONFIGURATION "macos-cw"
66#endif
44 67
45/* Define HAVE_X_WINDOWS if you want to use the X window system. */ 68/* Define to the options passed to configure. */
46/* #undef HAVE_X_WINDOWS */ 69#define EMACS_CONFIG_OPTIONS ""
47 70
48/* Define HAVE_X11 if you want to use version 11 of X windows. 71/* Define to 1 if the `getpgrp' function requires zero arguments. */
49 Otherwise, Emacs expects to use version 10. */ 72/* #undef GETPGRP_VOID */
50/* #undef HAVE_X11 */
51 73
52/* Define if using an X toolkit. */ 74/* Define to 1 if gettimeofday accepts only one argument. */
53/* #undef USE_X_TOOLKIT */ 75#define GETTIMEOFDAY_ONE_ARGUMENT 1
54 76
55/* Define this if you're using XFree386. */ 77/* Define to 1 if you want to use the GNU memory allocator. */
56/* #undef HAVE_XFREE386 */ 78/* #undef GNU_MALLOC */
57 79
58/* Define this if you have Motif 2.1 or newer. */ 80/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
59/* #undef HAVE_MOTIF_2_1 */ 81/* #undef HAVE_AIX_SMT_EXP */
60 82
61/* Define HAVE_MENUS if you have mouse menus. 83/* Define to 1 if you have the `alarm' function. */
62 (This is automatic if you use X, but the option to specify it remains.) 84/* #undef HAVE_ALARM */
63 It is also defined with other window systems that support xmenu.c. */
64#define HAVE_MENUS 1
65 85
66/* Define if we have the X11R6 or newer version of Xt. */ 86/* Define to 1 if you have `alloca', as a function or macro. */
67/* #undef HAVE_X11XTR6 */ 87#ifdef __MRC__
88#define HAVE_ALLOCA 1
89#endif
68 90
69/* Define if we have the X11R6 or newer version of Xlib. */ 91/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
70/* #undef HAVE_X11R6 */ 92 */
93#ifdef __MRC__
94#define HAVE_ALLOCA_H 1
95#endif
71 96
72/* Define if we have the X11R5 or newer version of Xlib. */ 97/* Define to 1 if you have the `bcmp' function. */
73/* #undef HAVE_X11R5 */ 98/* #define HAVE_BCMP */
74 99
75/* Define if we have the XPM libary. */ 100/* Define to 1 if you have the `bcopy' function. */
76/* #undef HAVE_XPM */ 101/* #define HAVE_BCOPY */
77 102
78/* Define if we have the PNG library. */ 103/* Define to 1 if you have the `bzero' function. */
79/* #undef HAVE_PNG */ 104/* #define HAVE_BZERO */
80 105
81/* Define if we have the JPEG library. */ 106/* Define to 1 if you are using the Carbon API on Mac OS X. */
82/* #undef HAVE_JPEG */ 107/* #undef HAVE_CARBON */
83 108
84/* Define if we have the TIFF library. */ 109/* Define to 1 if you have the `cbrt' function. */
85/* #undef HAVE_TIFF */ 110/* #undef HAVE_CBRT */
111
112/* Define to 1 if you have the `closedir' function. */
113#define HAVE_CLOSEDIR 1
114
115/* Define to 1 if you have the <coff.h> header file. */
116/* #undef HAVE_COFF_H */
117
118/* Define to 1 if you have the <com_err.h> header file. */
119/* #undef HAVE_COM_ERR_H */
120
121/* Define to 1 if you have /usr/lib/crti.o. */
122/* #undef HAVE_CRTIN */
86 123
87/* Define if we have the GIF library. */ 124/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
125 don't. */
126/* #undef HAVE_DECL_SYS_SIGLIST */
127
128/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
129 don't. */
130/* #undef HAVE_DECL___SYS_SIGLIST */
131
132/* Define to 1 if you have the <des.h> header file. */
133/* #undef HAVE_DES_H */
134
135/* Define to 1 if dynamic ptys are supported. */
136/* #undef HAVE_DEV_PTMX */
137
138/* Define to 1 if you have the `difftime' function. */
139#define HAVE_DIFFTIME 1
140
141/* Define to 1 if you have the `dup2' function. */
142/* #undef HAVE_DUP2 */
143
144/* Define to 1 if you have the `euidaccess' function. */
145/* #undef HAVE_EUIDACCESS */
146
147/* Define to 1 if you have the <fcntl.h> header file. */
148#define HAVE_FCNTL_H 1
149
150/* Define to 1 if you have the `fmod' function. */
151#define HAVE_FMOD 1
152
153/* Define to 1 if you have the `fork' function. */
154/* #undef HAVE_FORK */
155
156/* Define to 1 if you have the `fpathconf' function. */
157/* #undef HAVE_FPATHCONF */
158
159/* Define to 1 if you have the `frexp' function. */
160#define HAVE_FREXP 1
161
162/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
163/* #undef HAVE_FSEEKO */
164
165/* Define to 1 if you have the `fsync' function. */
166/* #undef HAVE_FSYNC */
167
168/* Define to 1 if you have the `ftime' function. */
169/* #undef HAVE_FTIME */
170
171/* Define to 1 if you have the `gai_strerror' function. */
172/* #undef HAVE_GAI_STRERROR */
173
174/* Define to 1 if you have the `gdk_display_open' function. */
175/* #undef HAVE_GDK_DISPLAY_OPEN */
176
177/* Define to 1 if you have the `getaddrinfo' function. */
178/* #undef HAVE_GETADDRINFO */
179
180/* Define to 1 if you have the `getcwd' function. */
181/* #undef HAVE_GETCWD */
182
183/* Define to 1 if you have the `getdelim' function. */
184/* #undef HAVE_GETDELIM */
185
186/* Define to 1 if you have the `getdomainname' function. */
187/* #undef HAVE_GETDOMAINNAME */
188
189/* Define to 1 if you have the `gethostname' function. */
190/* #undef HAVE_GETHOSTNAME */
191
192/* Define to 1 if you have the `getline' function. */
193/* #undef HAVE_GETLINE */
194
195/* Define to 1 if you have the `getloadavg' function. */
196/* #undef HAVE_GETLOADAVG */
197
198/* Define to 1 if you have the `getpagesize' function. */
199/* #undef HAVE_GETPAGESIZE */
200
201/* Define to 1 if you have the `getpeername' function. */
202/* #undef HAVE_GETPEERNAME */
203
204/* Define to 1 if you have the `getpt' function. */
205/* #undef HAVE_GETPT */
206
207/* Define to 1 if you have the `getrusage' function. */
208/* #undef HAVE_GETRUSAGE */
209
210/* Define to 1 if you have the `getsockname' function. */
211/* #undef HAVE_GETSOCKNAME */
212
213/* Define to 1 if you have the `getsockopt' function. */
214/* #undef HAVE_GETSOCKOPT */
215
216/* Define to 1 if you have the `gettimeofday' function. */
217#define HAVE_GETTIMEOFDAY 1
218
219/* Define to 1 if you have the `getwd' function. */
220#define HAVE_GETWD 1
221
222/* Define to 1 if you have the ungif library (-lungif). */
88/* #undef HAVE_GIF */ 223/* #undef HAVE_GIF */
89 224
90/* Define if libXaw3d is available. */ 225/* Define to 1 if you have the `grantpt' function. */
91/* #undef HAVE_XAW3D */ 226/* #undef HAVE_GRANTPT */
92 227
93/* Define if we should use toolkit scroll bars. */ 228/* Define to 1 if using GTK. */
94#ifdef HAVE_CARBON 229/* #undef HAVE_GTK */
95#define USE_TOOLKIT_SCROLL_BARS 1
96#endif
97 230
98/* Define if we should use XIM, if it is available. */ 231/* Define to 1 if you have GTK and pthread (-lpthread). */
99/* #undef USE_XIM */ 232/* #undef HAVE_GTK_AND_PTHREAD */
233
234/* Define to 1 if GTK has both file selection and chooser dialog. */
235/* #undef HAVE_GTK_FILE_BOTH */
236
237/* Define to 1 if you have the `gtk_file_chooser_dialog_new' function. */
238/* #undef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW */
239
240/* Define to 1 if you have the `gtk_file_selection_new' function. */
241/* #undef HAVE_GTK_FILE_SELECTION_NEW */
100 242
101/* Define if netdb.h declares h_errno. */ 243/* Define to 1 if GTK can handle more than one display. */
244/* #undef HAVE_GTK_MULTIDISPLAY */
245
246/* Define to 1 if netdb.h declares h_errno. */
102/* #undef HAVE_H_ERRNO */ 247/* #undef HAVE_H_ERRNO */
103 248
104/* If we're using any sort of window system, define some consequences. */ 249/* Define to 1 if you have the `index' function. */
105#ifdef HAVE_X_WINDOWS 250/* #undef HAVE_INDEX */
106#define HAVE_WINDOW_SYSTEM
107#define MULTI_KBOARD
108#define HAVE_MOUSE
109#endif
110 251
111/* Define for MacOS */ 252/* Define to 1 if you have inet sockets. */
112#define HAVE_WINDOW_SYSTEM 1 253/* #undef HAVE_INET_SOCKETS */
113#define HAVE_MOUSE 1
114 254
115/* Define USER_FULL_NAME to return a string 255/* Define to 1 if you have the <inttypes.h> header file. */
116 that is the user's full name. 256/* #undef HAVE_INTTYPES_H */
117 It can assume that the variable `pw'
118 points to the password file entry for this user.
119 257
120 At some sites, the pw_gecos field contains 258/* Define to 1 if you have the jpeg library (-ljpeg). */
121 the user's full name. If neither this nor any other 259/* #undef HAVE_JPEG */
122 field contains the right thing, use pw_name,
123 giving the user's login name, since that is better than nothing. */
124#define USER_FULL_NAME pw->pw_name
125 260
126/* Define AMPERSAND_FULL_NAME if you use the convention 261/* Define to 1 if you have the <kerberosIV/des.h> header file. */
127 that & in the full name stands for the login id. */ 262/* #undef HAVE_KERBEROSIV_DES_H */
128/* Turned on June 1996 supposing nobody will mind it. */
129/* #undef AMPERSAND_FULL_NAME */
130 263
131/* Things set by --with options in the configure script. */ 264/* Define to 1 if you have the <kerberosIV/krb.h> header file. */
265/* #undef HAVE_KERBEROSIV_KRB_H */
132 266
133/* Define to support POP mail retrieval. */ 267/* Define to 1 if you have the <kerberos/des.h> header file. */
134/* #undef MAIL_USE_POP 1 */ 268/* #undef HAVE_KERBEROS_DES_H */
135 269
136/* Define to support Kerberos-authenticated POP mail retrieval. */ 270/* Define to 1 if you have the <kerberos/krb.h> header file. */
137/* #undef KERBEROS */ 271/* #undef HAVE_KERBEROS_KRB_H */
138/* Define to use Kerberos 5 instead of Kerberos 4 */
139/* #undef KERBEROS5 */
140/* Define to support GSS-API in addition to (or instead of) Kerberos */
141/* #undef GSSAPI */
142 272
143/* Define to support using a Hesiod database to find the POP server. */ 273/* Define to 1 if you have the <krb5.h> header file. */
144/* #undef HESIOD */ 274/* #undef HAVE_KRB5_H */
145 275
146/* Header for Voxware or PCM sound card driver. */ 276/* Define to 1 if you have the <krb.h> header file. */
147/* #undef HAVE_MACHINE_SOUNDCARD_H */ 277/* #undef HAVE_KRB_H */
148/* #undef HAVE_SYS_SOUNDCARD_H */
149/* #undef HAVE_SOUNDCARD_H */
150 278
151/* Define HAVE_SOUND if we have sound support. We know it works 279/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
152 and compiles only on the specified platforms. For others, 280/* #undef HAVE_LANGINFO_CODESET */
153 it probably doesn't make sense to try. */
154 281
155#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ 282/* Define to 1 if you have the `com_err' library (-lcom_err). */
156#ifdef HAVE_MACHINE_SOUNDCARD_H 283/* #undef HAVE_LIBCOM_ERR */
157#define HAVE_SOUND 1
158#endif
159#ifdef HAVE_SYS_SOUNDCARD_H
160#define HAVE_SOUND 1
161#endif
162#ifdef HAVE_SOUNDCARD_H
163#define HAVE_SOUND 1
164#endif
165#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */
166 284
167/* Some things figured out by the configure script, grouped as they are in 285/* Define to 1 if you have the `crypto' library (-lcrypto). */
168 configure.in. */ 286/* #undef HAVE_LIBCRYPTO */
169#ifndef _ALL_SOURCE /* suppress warning if this is pre-defined */
170/* #undef _ALL_SOURCE */
171#endif
172 287
173/* #undef HAVE_SYS_SELECT_H */ 288/* Define to 1 if you have the `des' library (-ldes). */
174/* #undef HAVE_SYS_TIMEB_H */ 289/* #undef HAVE_LIBDES */
175#define HAVE_SYS_TIME_H 1
176 290
177#ifdef __MRC__ 291/* Define to 1 if you have the `des425' library (-ldes425). */
178#undef HAVE_UNISTD_H 292/* #undef HAVE_LIBDES425 */
179#else /* CodeWarrior */
180#define HAVE_UNISTD_H 1
181#endif
182 293
183#define HAVE_UTIME_H 1 294/* Define to 1 if you have the `dgc' library (-ldgc). */
184/* #undef HAVE_LINUX_VERSION_H */ 295/* #undef HAVE_LIBDGC */
185/* #undef HAVE_SYS_SYSTEMINFO_H */
186/* #undef HAVE_TERMIOS_H */
187#define HAVE_LIMITS_H 1
188#define HAVE_STRING_H 1
189#define HAVE_STDLIB_H 1
190/* #undef HAVE_TERMCAP_H */
191/* #undef HAVE_TERM_H */
192/* #undef HAVE_STDIO_EXT_H */
193/* #undef STDC_HEADERS */
194/* #undef TIME_WITH_SYS_TIME */
195/* #undef HAVE_VFORK_H */
196#define HAVE_FCNTL_H 1
197/* #undef HAVE_SETITIMER */
198/* #undef HAVE_UALARM */
199/* #undef HAVE_SYS_WAIT_H */
200 296
297/* Define to 1 if you have the `dnet' library (-ldnet). */
201/* #undef HAVE_LIBDNET */ 298/* #undef HAVE_LIBDNET */
202/* #undef HAVE_LIBPTHREADS */ 299
203/* #undef HAVE_LIBRESOLV */ 300/* Define to 1 if you have the hesiod library (-lhesiod). */
204/* #undef HAVE_LIBXMU */ 301/* #undef HAVE_LIBHESIOD */
205/* #undef HAVE_LIBNCURSES */ 302
303/* Define to 1 if you have the `intl' library (-lintl). */
206/* #undef HAVE_LIBINTL */ 304/* #undef HAVE_LIBINTL */
207/* #undef HAVE_LIBXP */
208 305
209/* movemail Kerberos support */ 306/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
210/* libraries */ 307/* #undef HAVE_LIBK5CRYPTO */
308
309/* Define to 1 if you have the `krb' library (-lkrb). */
211/* #undef HAVE_LIBKRB */ 310/* #undef HAVE_LIBKRB */
311
312/* Define to 1 if you have the `krb4' library (-lkrb4). */
212/* #undef HAVE_LIBKRB4 */ 313/* #undef HAVE_LIBKRB4 */
213/* #undef HAVE_LIBDES */ 314
214/* #undef HAVE_LIBDES425 */ 315/* Define to 1 if you have the `krb5' library (-lkrb5). */
215/* #undef HAVE_LIBKRB5 */ 316/* #undef HAVE_LIBKRB5 */
216/* #undef HAVE_LIBCRYPTO */
217/* #undef HAVE_LIBCOM_ERR */
218/* header files */
219/* #undef HAVE_KRB5_H */
220/* #undef HAVE_DES_H */
221/* #undef HAVE_KRB_H */
222/* #undef HAVE_KERBEROSIV_DES_H */
223/* #undef HAVE_KERBEROSIV_KRB_H */
224/* #undef HAVE_KERBEROS_DES_H */
225/* #undef HAVE_KERBEROS_KRB_H */
226/* #undef HAVE_COM_ERR_H */
227 317
228/* GSS-API libraries and headers */ 318/* Define to 1 if you have the `kstat' library (-lkstat). */
229/* #undef HAVE_LIBGSSAPI_KRB5 */ 319/* #undef HAVE_LIBKSTAT */
230/* #undef HAVE_LIBGSSAPI */ 320
231/* #undef HAVE_GSSAPI_H */ 321/* Define to 1 if you have the `lockfile' library (-llockfile). */
322/* #undef HAVE_LIBLOCKFILE */
232 323
233/* Mail-file locking */ 324/* Define to 1 if you have the `m' library (-lm). */
325/* #undef HAVE_LIBM */
326
327/* Define to 1 if you have the `mail' library (-lmail). */
234/* #undef HAVE_LIBMAIL */ 328/* #undef HAVE_LIBMAIL */
235/* #undef HAVE_MAILLOCK_H */
236/* #undef HAVE_TOUCHLOCK */
237 329
238/* #undef HAVE_ALLOCA_H */ 330/* Define to 1 if you have the `ncurses' library (-lncurses). */
331/* #undef HAVE_LIBNCURSES */
239 332
240/* #undef HAVE_DEV_PTMX */ 333/* Define to 1 if you have the <libpng/png.h> header file. */
334/* #undef HAVE_LIBPNG_PNG_H */
241 335
242#define HAVE_GETTIMEOFDAY 1 336/* Define to 1 if you have the `pthreads' library (-lpthreads). */
243/* If we don't have gettimeofday, 337/* #undef HAVE_LIBPTHREADS */
244 the test for GETTIMEOFDAY_ONE_ARGUMENT may succeed,
245 but we should ignore it. */
246#ifdef HAVE_GETTIMEOFDAY
247#define GETTIMEOFDAY_ONE_ARGUMENT 1
248#endif
249/* #undef HAVE_GETHOSTNAME */
250/* #undef HAVE_GETDOMAINNAME */
251/* #undef HAVE_DUP2 */
252#define HAVE_RENAME 1
253#define HAVE_CLOSEDIR 1
254 338
255/* #undef TM_IN_SYS_TIME */ 339/* Define to 1 if you have the resolv library (-lresolv). */
256/* #undef HAVE_TM_ZONE */ 340/* #undef HAVE_LIBRESOLV */
257/* #undef HAVE_TZNAME */
258/* #undef HAVE_TM_GMTOFF */
259 341
260/* #undef const */ 342/* Define to 1 if you have the `Xext' library (-lXext). */
343/* #undef HAVE_LIBXEXT */
261 344
345/* Define to 1 if you have the `Xmu' library (-lXmu). */
346/* #undef HAVE_LIBXMU */
347
348/* Define to 1 if you have the Xp library (-lXp). */
349/* #undef HAVE_LIBXP */
350
351/* Define to 1 if you have the <limits.h> header file. */
352#define HAVE_LIMITS_H 1
353
354/* Define to 1 if you have the <linux/version.h> header file. */
355/* #undef HAVE_LINUX_VERSION_H */
356
357/* Define to 1 if you have the <locale.h> header file. */
358#define HAVE_LOCALE_H 1
359
360/* Define to 1 if you have the `logb' function. */
361#define HAVE_LOGB 1
362
363/* Define to 1 if you support file names longer than 14 characters. */
262/* #undef HAVE_LONG_FILE_NAMES */ 364/* #undef HAVE_LONG_FILE_NAMES */
263 365
264/* #undef CRAY_STACKSEG_END */ 366/* Define to 1 if you have the `lrand48' function. */
367/* #undef HAVE_LRAND48 */
265 368
266/* #undef UNEXEC_SRC */ 369/* Define to 1 if you have the <machine/soundcard.h> header file. */
370/* #undef HAVE_MACHINE_SOUNDCARD_H */
267 371
268/* #undef HAVE_LIBXBSD */ 372/* Define to 1 if you have the <mach/mach.h> header file. */
269/* #undef HAVE_XRMSETDATABASE */ 373/* #undef HAVE_MACH_MACH_H */
270/* #undef HAVE_XSCREENRESOURCESTRING */ 374
271/* #undef HAVE_XSCREENNUMBEROFSCREEN */ 375/* Define to 1 if you have the <maillock.h> header file. */
272/* #undef HAVE_XSETWMPROTOCOLS */ 376/* #undef HAVE_MAILLOCK_H */
273 377
378/* Define to 1 if you have the <malloc/malloc.h> header file. */
379/* #undef HAVE_MALLOC_MALLOC_H */
380
381/* Define to 1 if you have the `mblen' function. */
382/* #undef HAVE_MBLEN */
383
384/* Define to 1 if you have the `mbrlen' function. */
385/* #undef HAVE_MBRLEN */
386
387/* Define to 1 if you have the `mbsinit' function. */
388/* #undef HAVE_MBSINIT */
389
390/* Define to 1 if <wchar.h> declares mbstate_t. */
391/* #undef HAVE_MBSTATE_T */
392
393/* Define to 1 if you have the `memcmp' function. */
394#define HAVE_MEMCMP 1
395
396/* Define to 1 if you have the `memcpy' function. */
397#define HAVE_MEMCPY 1
398
399/* Define to 1 if you have the `memmove' function. */
400#define HAVE_MEMMOVE 1
401
402/* Define to 1 if you have the <memory.h> header file. */
403/* #undef HAVE_MEMORY_H */
404
405/* Define to 1 if you have the `mempcpy' function. */
406/* #undef HAVE_MEMPCPY */
407
408/* Define to 1 if you have the `memset' function. */
409#define HAVE_MEMSET 1
410
411/* Define to 1 if you have mouse menus. (This is automatic if you use X, but
412 the option to specify it remains.) It is also defined with other window
413 systems that support xmenu.c. */
414#define HAVE_MENUS 1
415
416/* Define to 1 if you have the `mkdir' function. */
274#define HAVE_MKDIR 1 417#define HAVE_MKDIR 1
275#define HAVE_RMDIR 1 418
276/* #undef HAVE_SYSINFO */ 419/* Define to 1 if you have the `mkstemp' function. */
420/* #undef HAVE_MKSTEMP */
421
422/* Define to 1 if you have the `mktime' function. */
423/* #undef HAVE_MKTIME */
424
425/* Define to 1 if you have a working `mmap' system call. */
426/* #undef HAVE_MMAP */
427
428/* Define to 1 if you have Motif 2.1 or newer. */
429/* #undef HAVE_MOTIF_2_1 */
430
431/* Define to 1 if you have the `mremap' function. */
432/* #undef HAVE_MREMAP */
433
434/* Define to 1 if you have the <net/if.h> header file. */
435/* #define HAVE_NET_IF_H */
436
437/* Define to 1 if you have the <nlist.h> header file. */
438/* #undef HAVE_NLIST_H */
439
440/* Define to 1 if personality LINUX32 can be set. */
441/* #undef HAVE_PERSONALITY_LINUX32 */
442
443/* Define to 1 if you have the png library (-lpng). */
444/* #undef HAVE_PNG */
445
446/* Define to 1 if you have the <png.h> header file. */
447/* #undef HAVE_PNG_H */
448
449/* Define to 1 if you have the `posix_memalign' function. */
450/* #undef HAVE_POSIX_MEMALIGN */
451
452/* Define to 1 if you have the `pstat_getdynamic' function. */
453/* #undef HAVE_PSTAT_GETDYNAMIC */
454
455/* Define to 1 if you have the <pthread.h> header file. */
456/* #undef HAVE_PTHREAD_H */
457
458/* Define to 1 if you have the <pty.h> header file. */
459/* #undef HAVE_PTY_H */
460
461/* Define to 1 if you have the <pwd.h> header file. */
462#define HAVE_PWD_H 1
463
464/* Define to 1 if you have the `random' function. */
277/* #undef HAVE_RANDOM */ 465/* #undef HAVE_RANDOM */
278/* #undef HAVE_LRAND48 */
279/* #undef HAVE_BCOPY */
280/* #undef HAVE_BCMP */
281#define HAVE_LOGB 1
282#define HAVE_FREXP 1
283#define HAVE_FMOD 1
284 466
467/* Define to 1 if you have the `recvfrom' function. */
468/* #undef HAVE_RECVFROM */
469
470/* Define to 1 if you have the `rename' function. */
471#define HAVE_RENAME 1
472
473/* Define to 1 if you have the `res_init' function. */
474/* #undef HAVE_RES_INIT */
475
476/* Define to 1 if you have the `rindex' function. */
477/* #undef HAVE_RINDEX */
478
479/* Define to 1 if you have the `rint' function. */
285#ifdef __MRC__ 480#ifdef __MRC__
286#undef HAVE_RINT 481#undef HAVE_RINT
287#else /* CodeWarrior */ 482#else /* CodeWarrior */
288#define HAVE_RINT 483#define HAVE_RINT
289#endif 484#endif
290 485
291/* #undef HAVE_CBRT */ 486/* Define to 1 if you have the `rmdir' function. */
292/* #undef HAVE_FTIME */ 487#define HAVE_RMDIR 1
293/* #undef HAVE_RES_INIT */ /* For -lresolv on Suns. */ 488
294/* #undef HAVE_SETSID */ 489/* Define to 1 if you have the `select' function. */
295/* #undef HAVE_FPATHCONF */
296#define HAVE_SELECT 1 490#define HAVE_SELECT 1
297/* #undef HAVE_MKTIME */ 491
298/* #undef BROKEN_MKTIME */ /* have mktime but it's broken */ 492/* Define to 1 if you have the `sendto' function. */
299/* #undef HAVE_EUIDACCESS */ 493/* #undef HAVE_SENDTO */
300/* #undef HAVE_GETPAGESIZE */ 494
301/* #undef HAVE_TZSET */ 495/* Define to 1 if you have the `setitimer' function. */
496#define HAVE_SETITIMER 1
497
498/* Define to 1 if you have the `setlocale' function. */
302#define HAVE_SETLOCALE 1 499#define HAVE_SETLOCALE 1
303/* #undef HAVE_UTIMES */ 500
304/* #undef HAVE_SETRLIMIT */ 501/* Define to 1 if you have the `setpgid' function. */
305/* #undef HAVE_SETPGID */ 502/* #undef HAVE_SETPGID */
306/* #undef HAVE_GETCWD */ 503
307#define HAVE_GETWD 1 504/* Define to 1 if you have the `setrlimit' function. */
505/* #undef HAVE_SETRLIMIT */
506
507/* Define to 1 if you have the `setsid' function. */
508/* #undef HAVE_SETSID */
509
510/* Define to 1 if you have the `setsockopt' function. */
511/* #undefine HAVE_SETSOCKOPT */
512
513/* Define to 1 if you have the `shutdown' function. */
308/* #undef HAVE_SHUTDOWN */ 514/* #undef HAVE_SHUTDOWN */
515
516/* Define to 1 if the system has the type `size_t'. */
517#define HAVE_SIZE_T 1
518
519/* Define to 1 if you have the <soundcard.h> header file. */
520/* #undef HAVE_SOUNDCARD_H */
521
522/* Define to 1 if `speed_t' is declared by <termios.h>. */
523/* #undef HAVE_SPEED_T */
524
525/* Define to 1 if you have the <stdint.h> header file. */
526/* #undef HAVE_STDINT_H */
527
528/* Define to 1 if you have the <stdio_ext.h> header file. */
529/* #undef HAVE_STDIO_EXT_H */
530
531/* Define to 1 if you have the <stdlib.h> header file. */
532#define HAVE_STDLIB_H 1
533
534/* Define to 1 if you have the `strerror' function. */
535#define HAVE_STRERROR 1
536
537/* Define to 1 if you have the `strftime' function. */
538#ifndef __MRC__ /* CodeWarrior */
309#define HAVE_STRFTIME 1 539#define HAVE_STRFTIME 1
310/* #undef HAVE_GETADDRINFO */ 540#endif
311/* #undef HAVE___FPENDING */ 541
312/* #undef HAVE_FTELLO */ 542/* Define to 1 if you have the <strings.h> header file. */
313/* #undef HAVE_GETLOADAVG */ 543/* #undef HAVE_STRINGS_H */
314/* #undef NLIST_STRUCT */ 544
315/* #undef NLIST_NAME_UNION */ 545/* Define to 1 if you have the <string.h> header file. */
316/* #undef HAVE_MBLEN */ 546#define HAVE_STRING_H 1
317/* #undef HAVE_MBRLEN */ 547
548/* Define to 1 if you have the `strsignal' function. */
318/* #undef HAVE_STRSIGNAL */ 549/* #undef HAVE_STRSIGNAL */
319/* #undef HAVE_GRANTPT */
320/* #undef HAVE_GETPT */
321/* #undef HAVE_SPEED_T */ /* speed_t typedef in termios.h */
322/* #undef HAVE_STRUCT_TIMEZONE */
323 550
324/* #undef LOCALTIME_CACHE */ 551/* Define to 1 if `ifr_addr' is member of `struct ifreq'. */
325/* #undef HAVE_INET_SOCKETS */ 552/* #undef HAVE_STRUCT_IFREQ_IFR_ADDR */
326 553
327/* #undef HAVE_AIX_SMT_EXP */ 554/* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */
555/* #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR */
328 556
329/* #undef vfork */ 557/* Define to 1 if `ifr_flags' is member of `struct ifreq'. */
558/* #undef HAVE_STRUCT_IFREQ_IFR_FLAGS */
330 559
331/* Define if you have the ANSI `strerror' function. 560/* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */
332 Otherwise you must have the variable `char *sys_errlist[]'. */ 561/* #undef HAVE_STRUCT_IFREQ_IFR_HWADDR */
333#define HAVE_STRERROR 1 562
563/* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */
564/* #undef HAVE_STRUCT_IFREQ_IFR_NETMASK */
565
566/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
567/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
334 568
335/* Define if `sys_siglist' is declared by <signal.h>. */ 569/* Define to 1 if `tm_zone' is member of `struct tm'. */
336/* #undef SYS_SIGLIST_DECLARED */ 570/* #undef HAVE_STRUCT_TM_TM_ZONE */
337 571
338/* Define if `struct utimbuf' is declared by <utime.h>. */ 572/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
339#define HAVE_STRUCT_UTIMBUF 1 573#define HAVE_STRUCT_UTIMBUF 1
340 574
341/* Define if `struct timeval' is declared by <sys/time.h>. */ 575/* Define to 1 if you have the `sysinfo' function. */
576/* #undef HAVE_SYSINFO */
577
578/* Define to 1 if you have the <sys/ioctl.h> header file. */
579#define HAVE_SYS_IOCTL_H 1
580
581/* Define to 1 if you have the <sys/mman.h> header file. */
582/* #undef HAVE_SYS_MMAN_H */
583
584/* Define to 1 if you have the <sys/param.h> header file. */
585#define HAVE_SYS_PARAM_H 1
586
587/* Define to 1 if you have the <sys/resource.h> header file. */
588/* #undefine HAVE_SYS_RESOURCE_H */
589
590/* Define to 1 if you have the <sys/select.h> header file. */
591/* #undef HAVE_SYS_SELECT_H */
592
593/* Define to 1 if you have the <sys/socket.h> header file. */
594/* #undef HAVE_SYS_SOCKET_H */
595
596/* Define to 1 if you have the <sys/soundcard.h> header file. */
597/* #undef HAVE_SYS_SOUNDCARD_H */
598
599/* Define to 1 if you have the <sys/stat.h> header file. */
600#define HAVE_SYS_STAT_H 1
601
602/* Define to 1 if you have the <sys/systeminfo.h> header file. */
603/* #undef HAVE_SYS_SYSTEMINFO_H */
604
605/* Define to 1 if you have the <sys/timeb.h> header file. */
606/* #undef HAVE_SYS_TIMEB_H */
607
608/* Define to 1 if you have the <sys/time.h> header file. */
609#define HAVE_SYS_TIME_H 1
610
611/* Define to 1 if you have the <sys/types.h> header file. */
612#define HAVE_SYS_TYPES_H 1
613
614/* Define to 1 if you have the <sys/un.h> header file. */
615/* #undef HAVE_SYS_UN_H */
616
617/* Define to 1 if you have the <sys/utsname.h> header file. */
618/* #undef HAVE_SYS_UTSNAME_H */
619
620/* Define to 1 if you have the <sys/vlimit.h> header file. */
621/* #undef HAVE_SYS_VLIMIT_H */
622
623/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
624/* #undef HAVE_SYS_WAIT_H */
625
626/* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
627/* #undef HAVE_SYS__MBSTATE_T_H */
628
629/* Define to 1 if you have the <termcap.h> header file. */
630/* #undef HAVE_TERMCAP_H */
631
632/* Define to 1 if you have the <termios.h> header file. */
633/* #undef HAVE_TERMIOS_H */
634
635/* Define to 1 if you have the <term.h> header file. */
636/* #undef HAVE_TERM_H */
637
638/* Define to 1 if you have the tiff library (-ltiff). */
639/* #undef HAVE_TIFF */
640
641/* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
342#define HAVE_TIMEVAL 1 642#define HAVE_TIMEVAL 1
343 643
344/* If using GNU, then support inline function declarations. */ 644/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
345/* Don't try to switch on inline handling as detected by AC_C_INLINE 645/* #undef HAVE_TM_GMTOFF */
346 generally, because even if non-gcc compilers accept `inline', they 646
347 may reject `extern inline'. */ 647/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
348#ifdef __GNUC__ 648 `HAVE_STRUCT_TM_TM_ZONE' instead. */
349#define INLINE __inline__ 649/* #undef HAVE_TM_ZONE */
350#else 650
351#define INLINE 651/* Define to 1 if you have the `touchlock' function. */
652/* #undef HAVE_TOUCHLOCK */
653
654/* Define to 1 if you don't have `tm_zone' but do have the external array
655 `tzname'. */
656/* #undef HAVE_TZNAME */
657
658/* Define to 1 if you have the `tzset' function. */
659/* #undef HAVE_TZSET */
660
661/* Define to 1 if you have the `ualarm' function. */
662/* #undef HAVE_UALARM */
663
664/* Define to 1 if you have the <unistd.h> header file. */
665#ifdef __MRC__
666#undef HAVE_UNISTD_H
667#else /* CodeWarrior */
668#define HAVE_UNISTD_H 1
352#endif 669#endif
353 670
354/* Define this if you don't have struct exception in math.h. */ 671/* Define to 1 if you have the `utimes' function. */
672/* #undef HAVE_UTIMES */
673
674/* Define to 1 if you have the <utime.h> header file. */
675#define HAVE_UTIME_H 1
676
677/* Define to 1 if you have the `vfork' function. */
678/* #undef HAVE_VFORK */
679
680/* Define to 1 if you have the <vfork.h> header file. */
681/* #undef HAVE_VFORK_H */
682
683/* Define to 1 if `fork' works. */
684/* #undef HAVE_WORKING_FORK */
685
686/* Define to 1 if `vfork' works. */
687/* #undef HAVE_WORKING_VFORK */
688
689/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
690 expects to use version 10. */
691/* #undef HAVE_X11 */
692
693/* Define to 1 if you have the X11R5 or newer version of Xlib. */
694/* #undef HAVE_X11R5 */
695
696/* Define to 1 if you have the X11R6 or newer version of Xlib. */
697/* #undef HAVE_X11R6 */
698
699/* Define to 1 if you have the X11R6 or newer version of Xt. */
700/* #undef HAVE_X11XTR6 */
701
702/* Define to 1 if you have the Xaw3d library (-lXaw3d). */
703/* #undef HAVE_XAW3D */
704
705/* Define to 1 if you're using XFree386. */
706/* #undef HAVE_XFREE386 */
707
708/* Define to 1 if XIM is available */
709/* #undef HAVE_XIM */
710
711/* Define to 1 if you have the XkbGetKeyboard function. */
712/* #undef HAVE_XKBGETKEYBOARD */
713
714/* Define to 1 if you have the Xpm libary (-lXpm). */
715/* #undef HAVE_XPM */
716
717/* Define to 1 if you have the `XrmSetDatabase' function. */
718/* #undef HAVE_XRMSETDATABASE */
719
720/* Define to 1 if you have the `XScreenNumberOfScreen' function. */
721/* #undef HAVE_XSCREENNUMBEROFSCREEN */
722
723/* Define to 1 if you have the `XScreenResourceString' function. */
724/* #undef HAVE_XSCREENRESOURCESTRING */
725
726/* Define to 1 if you have the `XSetWMProtocols' function. */
727/* #undef HAVE_XSETWMPROTOCOLS */
728
729/* Define to 1 if you have the SM library (-lSM). */
730/* #undef HAVE_X_SM */
731
732/* Define to 1 if you want to use the X window system. */
733/* #undef HAVE_X_WINDOWS */
734
735/* Define to 1 if you have the `__fpending' function. */
736/* #undef HAVE___FPENDING */
737
738/* Define to support using a Hesiod database to find the POP server. */
739/* #undef HESIOD */
740
741/* Define to support Kerberos-authenticated POP mail retrieval. */
742/* #undef KERBEROS */
743
744/* Define to use Kerberos 5 instead of Kerberos 4. */
745/* #undef KERBEROS5 */
746
747/* Define LD_SWITCH_X_SITE to contain any special flags your loader may need
748 to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
749 above and your X libraries aren't in a place that your loader can find on
750 its own, you might want to add "-L/..." or something similar. */
751/* #undef LD_SWITCH_X_SITE */
752
753/* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for
754 Solaris, for example). */
755/* #undef LD_SWITCH_X_SITE_AUX */
756
757/* Define to 1 if localtime caches TZ. */
758/* #undef LOCALTIME_CACHE */
759
760/* Define to support POP mail retrieval. */
761/* #undef MAIL_USE_POP 1 */
762
763/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
764 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
765/* #undef NLIST_NAME_UNION */
766
767/* Define to 1 if you don't have struct exception in math.h. */
355/* #undef NO_MATHERR */ 768/* #undef NO_MATHERR */
356 769
357/* Define as `void' if your compiler accepts `void *'; otherwise 770/* Define to the address where bug reports for this package should be sent. */
358 define as `char'. */ 771/* #undef PACKAGE_BUGREPORT */
772
773/* Define to the full name of this package. */
774/* #undef PACKAGE_NAME */
775
776/* Define to the full name and version of this package. */
777/* #undef PACKAGE_STRING */
778
779/* Define to the one symbol short name of this package. */
780/* #undef PACKAGE_TARNAME */
781
782/* Define to the version of this package. */
783/* #undef PACKAGE_VERSION */
784
785/* Define as `void' if your compiler accepts `void *'; otherwise define as
786 `char'. */
359#define POINTER_TYPE void 787#define POINTER_TYPE void
360#define PTR POINTER_TYPE * /* For strftime.c. */
361 788
362/* Number of bits in a file offset, on hosts where this is settable. */ 789/* Define to 1 if the C compiler supports function prototypes. */
790/* #undef PROTOTYPES */
791
792/* Define REL_ALLOC if you want to use the relocating allocator for buffer
793 space. */
794/* #undef REL_ALLOC */
795
796/* Define as the return type of signal handlers (`int' or `void'). */
797#define RETSIGTYPE void
798
799/* If using the C implementation of alloca, define if you know the
800 direction of stack growth for your system; otherwise it will be
801 automatically deduced at run-time.
802 STACK_DIRECTION > 0 => grows toward higher addresses
803 STACK_DIRECTION < 0 => grows toward lower addresses
804 STACK_DIRECTION = 0 => direction of growth unknown */
805/* #undef STACK_DIRECTION */
806
807/* Define to 1 if you have the ANSI C header files. */
808/* #undef STDC_HEADERS */
809
810/* Define to 1 on System V Release 4. */
811/* #undef SVR4 */
812
813/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
814#define TIME_WITH_SYS_TIME 1
815
816/* Define to 1 if your <sys/time.h> declares `struct tm'. */
817/* #undef TM_IN_SYS_TIME */
818
819/* Define to 1 for Encore UMAX. */
820/* #undef UMAX */
821
822/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
823 <sys/cpustats.h>. */
824/* #undef UMAX4_3 */
825
826/* Define to the unexec source file name. */
827/* #undef UNEXEC_SRC */
828
829/* Define to 1 if we should use toolkit scroll bars. */
830#ifdef HAVE_CARBON
831#define USE_TOOLKIT_SCROLL_BARS 1
832#endif
833
834/* Define to 1 if we should use XIM, if it is available. */
835/* #undef USE_XIM */
836
837/* Define to 1 if using an X toolkit. */
838/* #undef USE_X_TOOLKIT */
839
840/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
841 XPointer or XPointer*. */
842/* #undef XRegisterIMInstantiateCallback_arg6 */
843
844/* Define to 1 if on AIX 3.
845 System headers sometimes define this.
846 We just want to avoid a redefinition error message. */
847#ifndef _ALL_SOURCE
848/* #undef _ALL_SOURCE */
849#endif
850
851/* Number of bits in a file offset, on hosts where this is settable. */
363/* #undef _FILE_OFFSET_BITS */ 852/* #undef _FILE_OFFSET_BITS */
364/* Define to make ftello visible on some hosts (e.g. HP-UX 10.20). */ 853
854/* Enable GNU extensions on systems that have them. */
855#ifndef _GNU_SOURCE
856/* # undef _GNU_SOURCE */
857#endif
858
859/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
365/* #undef _LARGEFILE_SOURCE */ 860/* #undef _LARGEFILE_SOURCE */
366/* Define for large files, on AIX-style hosts. */ 861
862/* Define for large files, on AIX-style hosts. */
367/* #undef _LARGE_FILES */ 863/* #undef _LARGE_FILES */
368/* Define to make ftello visible on some hosts (e.g. glibc 2.1.3). */
369/* #undef _XOPEN_SOURCE */
370 864
371#ifdef __MRC__ 865/* Define like PROTOTYPES; this can be used by system headers. */
372/* Use low-bits for tags. If ENABLE_CHECKING is turned on together 866/* #undef __PROTOTYPES */
373 with USE_LSB_TAG, optimization flags should be explicitly turned
374 off. */
375#define USE_LSB_TAG
376#endif
377 867
378#ifdef __MRC__ 868/* Define to compiler's equivalent of C99 restrict keyword. Don't define if
379#define EMACS_CONFIGURATION "macos-mpw" 869 equivalent is `__restrict'. */
380#else /* Assume CodeWarrior */ 870/* #undef __restrict */
381#define EMACS_CONFIGURATION "macos-cw" 871
872/* Define to compiler's equivalent of C99 restrict keyword in array
873 declarations. Define as empty for no equivalent. */
874/* #undef __restrict_arr */
875
876/* Define to the used machine dependent file. */
877#define config_machfile "m-mac.h"
878
879/* Define to the used os dependent file. */
880#define config_opsysfile "s-mac.h"
881
882/* Define to empty if `const' does not conform to ANSI C. */
883/* #undef const */
884
885/* Define to a type if <wchar.h> does not define. */
886/* #undef mbstate_t */
887
888/* Define to `int' if <sys/types.h> does not define. */
889/* #undef pid_t */
890
891/* Define to any substitute for sys_siglist. */
892/* #undef sys_siglist */
893
894/* Define as `fork' if `vfork' does not work. */
895/* #undef vfork */
896
897/* Define to empty if the keyword `volatile' does not work. Warning: valid
898 code using `volatile' can become incorrect without. Disable with care. */
899/* #undef volatile */
900
901
902/* If we're using any sort of window system, define some consequences. */
903#ifdef HAVE_X_WINDOWS
904#define HAVE_WINDOW_SYSTEM
905#define MULTI_KBOARD
906#define HAVE_MOUSE
382#endif 907#endif
383 908
384#define EMACS_CONFIG_OPTIONS "" 909/* Define for MacOS */
910#define HAVE_WINDOW_SYSTEM 1
911#define HAVE_MOUSE 1
385 912
386/* The configuration script defines opsysfile to be the name of the 913/* Define USER_FULL_NAME to return a string
387 s/SYSTEM.h file that describes the system type you are using. The file 914 that is the user's full name.
388 is chosen based on the configuration name you give. 915 It can assume that the variable `pw'
916 points to the password file entry for this user.
389 917
390 See the file ../etc/MACHINES for a list of systems and the 918 At some sites, the pw_gecos field contains
391 configuration names to use for them. 919 the user's full name. If neither this nor any other
920 field contains the right thing, use pw_name,
921 giving the user's login name, since that is better than nothing. */
922#define USER_FULL_NAME pw->pw_name
392 923
393 See s/template.h for documentation on writing s/SYSTEM.h files. */ 924/* Define AMPERSAND_FULL_NAME if you use the convention
394#undef config_opsysfile 925 that & in the full name stands for the login id. */
395#include "s-mac.h" 926/* Turned on June 1996 supposing nobody will mind it. */
927/* #undef AMPERSAND_FULL_NAME */
396 928
397/* The configuration script defines machfile to be the name of the 929/* We have blockinput.h. */
398 m/MACHINE.h file that describes the machine you are using. The file is 930#define DO_BLOCK_INPUT
399 chosen based on the configuration name you give.
400 931
401 See the file ../etc/MACHINES for a list of machines and the 932/* Define HAVE_SOUND if we have sound support. We know it works
402 configuration names to use for them. 933 and compiles only on the specified platforms. For others,
934 it probably doesn't make sense to try. */
403 935
404 See m/template.h for documentation on writing m/MACHINE.h files. */ 936#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
405#undef config_machfile 937#ifdef HAVE_MACHINE_SOUNDCARD_H
406#include "m-mac.h" 938#define HAVE_SOUND 1
939#endif
940#ifdef HAVE_SYS_SOUNDCARD_H
941#define HAVE_SOUND 1
942#endif
943#ifdef HAVE_SOUNDCARD_H
944#define HAVE_SOUND 1
945#endif
946#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */
947
948/* If using GNU, then support inline function declarations. */
949/* Don't try to switch on inline handling as detected by AC_C_INLINE
950 generally, because even if non-gcc compilers accept `inline', they
951 may reject `extern inline'. */
952#if defined (__GNUC__) && defined (OPTIMIZE)
953#define INLINE __inline__
954#else
955#define INLINE
956#endif
957
958#ifdef __MRC__
959/* Use low-bits for tags. If ENABLE_CHECKING is turned on together
960 with USE_LSB_TAG, optimization flags should be explicitly turned
961 off. */
962#define USE_LSB_TAG
963#endif
964
965/* Include the os and machine dependent files. */
966#include config_opsysfile
967#include config_machfile
407 968
408/* Load in the conversion definitions if this system 969/* Load in the conversion definitions if this system
409 needs them and the source file being compiled has not 970 needs them and the source file being compiled has not
@@ -434,39 +995,6 @@ Boston, MA 02111-1307, USA. */
434#endif 995#endif
435#endif 996#endif
436 997
437/* Define LD_SWITCH_SITE to contain any special flags your loader may need. */
438/* #undef LD_SWITCH_SITE */
439
440/* Define C_SWITCH_SITE to contain any special flags your compiler needs. */
441/* #undef C_SWITCH_SITE */
442
443/* Define LD_SWITCH_X_SITE to contain any special flags your loader
444 may need to deal with X Windows. For instance, if you've defined
445 HAVE_X_WINDOWS above and your X libraries aren't in a place that
446 your loader can find on its own, you might want to add "-L/..." or
447 something similar. */
448/* #undef LD_SWITCH_X_SITE */
449
450/* Define LD_SWITCH_X_SITE_AUX with an -R option
451 in case it's needed (for Solaris, for example). */
452/* #undef LD_SWITCH_X_SITE_AUX */
453
454/* Define C_SWITCH_X_SITE to contain any special flags your compiler
455 may need to deal with X Windows. For instance, if you've defined
456 HAVE_X_WINDOWS above and your X include files aren't in a place
457 that your compiler can find on its own, you might want to add
458 "-I/..." or something similar. */
459/* #undef C_SWITCH_X_SITE */
460
461/* Define STACK_DIRECTION here, but not if m/foo.h did. */
462#ifndef STACK_DIRECTION
463/* #undef STACK_DIRECTION */
464#endif
465
466/* Define the return type of signal handlers if the s-xxx file
467 did not already do so. */
468#define RETSIGTYPE void
469
470/* SIGTYPE is the macro we actually use. */ 998/* SIGTYPE is the macro we actually use. */
471#ifndef SIGTYPE 999#ifndef SIGTYPE
472#define SIGTYPE RETSIGTYPE 1000#define SIGTYPE RETSIGTYPE
@@ -476,7 +1004,13 @@ Boston, MA 02111-1307, USA. */
476/* Tell regex.c to use a type compatible with Emacs. */ 1004/* Tell regex.c to use a type compatible with Emacs. */
477#define RE_TRANSLATE_TYPE Lisp_Object 1005#define RE_TRANSLATE_TYPE Lisp_Object
478#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) 1006#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
479#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0) 1007#ifdef make_number
1008/* If make_number is a macro, use it. */
1009#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1010#else
1011/* If make_number is a function, avoid it. */
1012#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
1013#endif
480#endif 1014#endif
481 1015
482/* Avoid link-time collision with system mktime if we will use our own. */ 1016/* Avoid link-time collision with system mktime if we will use our own. */
@@ -484,6 +1018,8 @@ Boston, MA 02111-1307, USA. */
484#define mktime emacs_mktime 1018#define mktime emacs_mktime
485#endif 1019#endif
486 1020
1021#define my_strftime nstrftime /* for strftime.c */
1022
487/* The rest of the code currently tests the CPP symbol BSTRING. 1023/* The rest of the code currently tests the CPP symbol BSTRING.
488 Override any claims made by the system-description files. 1024 Override any claims made by the system-description files.
489 Note that on some SCO version it is possible to have bcopy and not bcmp. */ 1025 Note that on some SCO version it is possible to have bcopy and not bcmp. */
@@ -492,11 +1028,6 @@ Boston, MA 02111-1307, USA. */
492#define BSTRING 1028#define BSTRING
493#endif 1029#endif
494 1030
495/* Define to empty if the keyword `volatile' does not work. Warning:
496 valid code using `volatile' can become incorrect without. Disable
497 with care. */
498/* #undef volatile */
499
500/* Some of the files of Emacs which are intended for use with other 1031/* Some of the files of Emacs which are intended for use with other
501 programs assume that if you have a config.h file, you must declare 1032 programs assume that if you have a config.h file, you must declare
502 the type of getenv. 1033 the type of getenv.
@@ -507,8 +1038,6 @@ Boston, MA 02111-1307, USA. */
507extern char *getenv (); 1038extern char *getenv ();
508#endif 1039#endif
509 1040
510#endif /* EMACS_CONFIG_H */
511
512/* These default definitions are good for almost all machines. 1041/* These default definitions are good for almost all machines.
513 The exceptions override them in m/MACHINE.h. */ 1042 The exceptions override them in m/MACHINE.h. */
514 1043
@@ -548,16 +1077,30 @@ extern char *getenv ();
548# endif /* GCC. */ 1077# endif /* GCC. */
549#endif /* __P */ 1078#endif /* __P */
550 1079
551
552/* Don't include "string.h" or <stdlib.h> in non-C code. */ 1080/* Don't include "string.h" or <stdlib.h> in non-C code. */
553#ifndef NOT_C_CODE 1081#ifndef NOT_C_CODE
554#ifdef HAVE_STRING_H 1082#ifdef HAVE_STRING_H
555#include "string.h" 1083#include "string.h"
556#endif 1084#endif
1085#ifdef HAVE_STRINGS_H
1086#include "strings.h" /* May be needed for bcopy & al. */
1087#endif
557#ifdef HAVE_STDLIB_H 1088#ifdef HAVE_STDLIB_H
558#include <stdlib.h> 1089#include <stdlib.h>
559#endif 1090#endif
1091#ifndef __GNUC__
1092# ifdef HAVE_ALLOCA_H
1093# include <alloca.h>
1094# else /* AIX files deal with #pragma. */
1095# ifndef alloca /* predefined by HP cc +Olibcalls */
1096char *alloca ();
1097# endif
1098# endif /* HAVE_ALLOCA_H */
1099#endif /* __GNUC__ */
1100#ifndef HAVE_SIZE_T
1101typedef unsigned size_t;
560#endif 1102#endif
1103#endif /* NOT_C_CODE */
561 1104
562/* Define HAVE_X_I18N if we have usable i18n support. */ 1105/* Define HAVE_X_I18N if we have usable i18n support. */
563 1106
@@ -576,9 +1119,42 @@ extern char *getenv ();
576/* Should we enable expensive run-time checking of data types? */ 1119/* Should we enable expensive run-time checking of data types? */
577/* #undef ENABLE_CHECKING */ 1120/* #undef ENABLE_CHECKING */
578 1121
579/* #define GLYPH_DEBUG 1 */ 1122#if defined __GNUC__ && (__GNUC__ > 2 \
1123 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1124#define NO_RETURN __attribute__ ((__noreturn__))
1125#else
1126#define NO_RETURN /* nothing */
1127#endif
580 1128
581#define NO_RETURN /* nothing */ 1129/* These won't be used automatically yet. We also need to know, at least,
1130 that the stack is continuous. */
1131#ifdef __GNUC__
1132# ifndef GC_SETJMP_WORKS
1133 /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
1134 see NON_SAVING_SETJMP in the target descriptions. */
1135 /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k,
1136 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
1137 Fixme: Deal with ns32k, SVR3. */
1138# define GC_SETJMP_WORKS 1
1139# endif
1140# ifndef GC_LISP_OBJECT_ALIGNMENT
1141# define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
1142# endif
1143#endif
1144
1145#ifndef HAVE_BCOPY
1146#define bcopy(a,b,s) memcpy (b,a,s)
1147#endif
1148#ifndef HAVE_BZERO
1149#define bzero(a,s) memset (a,0,s)
1150#endif
1151#ifndef HAVE_BCMP
1152#define BCMP memcmp
1153#endif
1154
1155#define SYNC_INPUT
1156
1157#endif /* EMACS_CONFIG_H */
582 1158
583/* arch-tag: 2596b649-b569-448e-8880-373d2a9909b7 1159/* arch-tag: 2596b649-b569-448e-8880-373d2a9909b7
584 (do not change this comment) */ 1160 (do not change this comment) */