*** empty log message ***
[emacs.git] / mac / inc / config.h
blobb9fb9a6d8cf266bb4328e4df7161f13188fa2bf0
1 /* Handcrafted Emacs site configuration file for Mac OS 9. -*- C -*- */
3 /* GNU Emacs site configuration template file. -*- C -*-
4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004,
5 2005, 2006, 2007 Free Software Foundation, Inc.
7 This file is part of GNU Emacs.
9 GNU Emacs is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
14 GNU Emacs is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU Emacs; see the file COPYING. If not, write to the
21 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
24 /* Contributed by Andrew Choi (akochoi@mac.com). */
26 /* No code in Emacs #includes config.h twice, but some bits of code
27 intended to work with other packages as well (like gmalloc.c)
28 think they can include it as many times as they like. */
29 #ifndef EMACS_CONFIG_H
30 #define EMACS_CONFIG_H
33 /* Define to 1 if the mktime function is broken. */
34 /* #undef BROKEN_MKTIME */
36 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
37 systems. This function is required for `alloca.c' support on those systems.
39 /* #undef CRAY_STACKSEG_END */
41 /* Define to 1 if using `alloca.c'. */
42 #ifndef __MRC__ /* CodeWarrior */
43 #define C_ALLOCA 1
44 #endif
46 /* Define to 1 if using `getloadavg.c'. */
47 /* #undef C_GETLOADAVG */
49 /* Define C_SWITCH_X_SITE to contain any special flags your compiler may need
50 to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
51 above and your X include files aren't in a place that your compiler can
52 find on its own, you might want to add "-I/..." or something similar. */
53 /* #undef C_SWITCH_X_SITE */
55 /* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
56 /* #undef DGUX */
58 /* Define to 1 if you are using the GNU C Library. */
59 /* #undef DOUG_LEA_MALLOC */
61 /* Define to the canonical Emacs configuration name. */
62 #ifdef __MRC__
63 #define EMACS_CONFIGURATION "macos-mpw"
64 #else /* Assume CodeWarrior */
65 #define EMACS_CONFIGURATION "macos-cw"
66 #endif
68 /* Define to the options passed to configure. */
69 #define EMACS_CONFIG_OPTIONS ""
71 /* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
73 /* #undef GETLOADAVG_PRIVILEGED */
75 /* Define to 1 if the `getpgrp' function requires zero arguments. */
76 /* #undef GETPGRP_VOID */
78 /* Define to 1 if gettimeofday accepts only one argument. */
79 #define GETTIMEOFDAY_ONE_ARGUMENT 1
81 /* Define to 1 if you want to use the GNU memory allocator. */
82 /* #undef GNU_MALLOC */
84 /* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
85 /* #undef HAVE_AIX_SMT_EXP */
87 /* Define to 1 if you have the `alarm' function. */
88 /* #undef HAVE_ALARM */
90 /* Define to 1 if you have `alloca', as a function or macro. */
91 #ifdef __MRC__
92 #define HAVE_ALLOCA 1
93 #endif
95 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
97 #ifdef __MRC__
98 #define HAVE_ALLOCA_H 1
99 #endif
101 /* Define to 1 if ALSA is available. */
102 /* #undef HAVE_ALSA */
104 /* Define to 1 if you have the `bcmp' function. */
105 /* #undef HAVE_BCMP */
107 /* Define to 1 if you have the `bcopy' function. */
108 /* #undef HAVE_BCOPY */
110 /* Define to 1 if you have the `bzero' function. */
111 /* #undef HAVE_BZERO */
113 /* Define to 1 if you are using the Carbon API on Mac OS X. */
114 /* #undef HAVE_CARBON */
116 /* Define to 1 if you have the `cbrt' function. */
117 /* #undef HAVE_CBRT */
119 /* Define to 1 if you have the `closedir' function. */
120 #define HAVE_CLOSEDIR 1
122 /* Define to 1 if you have the <coff.h> header file. */
123 /* #undef HAVE_COFF_H */
125 /* Define to 1 if you have the <com_err.h> header file. */
126 /* #undef HAVE_COM_ERR_H */
128 /* Define to 1 if you have /usr/lib/crti.o. */
129 /* #undef HAVE_CRTIN */
131 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
132 don't. */
133 /* #undef HAVE_DECL_SYS_SIGLIST */
135 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
137 /* #undef HAVE_DECL_TZNAME */
139 /* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
140 don't. */
141 /* #undef HAVE_DECL___SYS_SIGLIST */
143 /* Define to 1 if you have the <des.h> header file. */
144 /* #undef HAVE_DES_H */
146 /* Define to 1 if dynamic ptys are supported. */
147 /* #undef HAVE_DEV_PTMX */
149 /* Define to 1 if you have the `difftime' function. */
150 #define HAVE_DIFFTIME 1
152 /* Define to 1 if you have the `dup2' function. */
153 /* #undef HAVE_DUP2 */
155 /* Define to 1 if you have the `euidaccess' function. */
156 /* #undef HAVE_EUIDACCESS */
158 /* Define to 1 if you have the <fcntl.h> header file. */
159 #define HAVE_FCNTL_H 1
161 /* Define to 1 if you have the `fmod' function. */
162 #define HAVE_FMOD 1
164 /* Define to 1 if you have the `fork' function. */
165 /* #undef HAVE_FORK */
167 /* Define to 1 if you have the `fpathconf' function. */
168 /* #undef HAVE_FPATHCONF */
170 /* Define to 1 if you have the `frexp' function. */
171 #define HAVE_FREXP 1
173 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
174 /* #undef HAVE_FSEEKO */
176 /* Define to 1 if you have the `fsync' function. */
177 /* #undef HAVE_FSYNC */
179 /* Define to 1 if you have the `ftime' function. */
180 /* #undef HAVE_FTIME */
182 /* Define to 1 if you have the `gai_strerror' function. */
183 /* #undef HAVE_GAI_STRERROR */
185 /* Define to 1 if you have the `gdk_display_open' function. */
186 /* #undef HAVE_GDK_DISPLAY_OPEN */
188 /* Define to 1 if you have the `getaddrinfo' function. */
189 /* #undef HAVE_GETADDRINFO */
191 /* Define to 1 if you have the `getcwd' function. */
192 /* #undef HAVE_GETCWD */
194 /* Define to 1 if you have the `getdelim' function. */
195 /* #undef HAVE_GETDELIM */
197 /* Define to 1 if you have the `getdomainname' function. */
198 /* #undef HAVE_GETDOMAINNAME */
200 /* Define to 1 if you have the `gethostname' function. */
201 /* #undef HAVE_GETHOSTNAME */
203 /* Define to 1 if you have the `getline' function. */
204 /* #undef HAVE_GETLINE */
206 /* Define to 1 if you have the `getloadavg' function. */
207 /* #undef HAVE_GETLOADAVG */
209 /* Define to 1 if you have the <getopt.h> header file. */
210 /* #undef HAVE_GETOPT_H */
212 /* Define to 1 if you have the `getopt_long_only' function. */
213 /* #undef HAVE_GETOPT_LONG_ONLY */
215 /* Define to 1 if you have the `getpagesize' function. */
216 /* #undef HAVE_GETPAGESIZE */
218 /* Define to 1 if you have the `getpeername' function. */
219 /* #undef HAVE_GETPEERNAME */
221 /* Define to 1 if you have the `getpt' function. */
222 /* #undef HAVE_GETPT */
224 /* Define to 1 if you have the `getrusage' function. */
225 /* #undef HAVE_GETRUSAGE */
227 /* Define to 1 if you have the `getsockname' function. */
228 /* #undef HAVE_GETSOCKNAME */
230 /* Define to 1 if you have the `getsockopt' function. */
231 /* #undef HAVE_GETSOCKOPT */
233 /* Define to 1 if you have the `gettimeofday' function. */
234 #define HAVE_GETTIMEOFDAY 1
236 /* Define to 1 if you have the `getwd' function. */
237 #define HAVE_GETWD 1
239 /* Define to 1 if you have the `get_current_dir_name' function. */
240 /* #undef HAVE_GET_CURRENT_DIR_NAME */
242 /* Define to 1 if you have the ungif library (-lungif). */
243 /* #undef HAVE_GIF */
245 /* Define to 1 if you have the `grantpt' function. */
246 /* #undef HAVE_GRANTPT */
248 /* Define to 1 if using GTK. */
249 /* #undef HAVE_GTK */
251 /* Define to 1 if you have GTK and pthread (-lpthread). */
252 /* #undef HAVE_GTK_AND_PTHREAD */
254 /* Define to 1 if GTK has both file selection and chooser dialog. */
255 /* #undef HAVE_GTK_FILE_BOTH */
257 /* Define to 1 if you have the `gtk_file_chooser_dialog_new' function. */
258 /* #undef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW */
260 /* Define to 1 if you have the `gtk_file_selection_new' function. */
261 /* #undef HAVE_GTK_FILE_SELECTION_NEW */
263 /* Define to 1 if you have the `gtk_main' function. */
264 /* #undef HAVE_GTK_MAIN */
266 /* Define to 1 if GTK can handle more than one display. */
267 /* #undef HAVE_GTK_MULTIDISPLAY */
269 /* Define to 1 if netdb.h declares h_errno. */
270 /* #undef HAVE_H_ERRNO */
272 /* Define to 1 if you have the `index' function. */
273 /* #undef HAVE_INDEX */
275 /* Define to 1 if you have inet sockets. */
276 /* #undef HAVE_INET_SOCKETS */
278 /* Define to 1 if you have the <inttypes.h> header file. */
279 /* #undef HAVE_INTTYPES_H */
281 /* Define to 1 if you have the jpeg library (-ljpeg). */
282 /* #undef HAVE_JPEG */
284 /* Define to 1 if you have the <kerberosIV/des.h> header file. */
285 /* #undef HAVE_KERBEROSIV_DES_H */
287 /* Define to 1 if you have the <kerberosIV/krb.h> header file. */
288 /* #undef HAVE_KERBEROSIV_KRB_H */
290 /* Define to 1 if you have the <kerberos/des.h> header file. */
291 /* #undef HAVE_KERBEROS_DES_H */
293 /* Define to 1 if you have the <kerberos/krb.h> header file. */
294 /* #undef HAVE_KERBEROS_KRB_H */
296 /* Define to 1 if you have the <krb5.h> header file. */
297 /* #undef HAVE_KRB5_H */
299 /* Define to 1 if you have the <krb.h> header file. */
300 /* #undef HAVE_KRB_H */
302 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
303 /* #undef HAVE_LANGINFO_CODESET */
305 /* Define to 1 if you have the `com_err' library (-lcom_err). */
306 /* #undef HAVE_LIBCOM_ERR */
308 /* Define to 1 if you have the `crypto' library (-lcrypto). */
309 /* #undef HAVE_LIBCRYPTO */
311 /* Define to 1 if you have the `des' library (-ldes). */
312 /* #undef HAVE_LIBDES */
314 /* Define to 1 if you have the `des425' library (-ldes425). */
315 /* #undef HAVE_LIBDES425 */
317 /* Define to 1 if you have the `dgc' library (-ldgc). */
318 /* #undef HAVE_LIBDGC */
320 /* Define to 1 if you have the `dnet' library (-ldnet). */
321 /* #undef HAVE_LIBDNET */
323 /* Define to 1 if you have the hesiod library (-lhesiod). */
324 /* #undef HAVE_LIBHESIOD */
326 /* Define to 1 if you have the `intl' library (-lintl). */
327 /* #undef HAVE_LIBINTL */
329 /* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
330 /* #undef HAVE_LIBK5CRYPTO */
332 /* Define to 1 if you have the `krb' library (-lkrb). */
333 /* #undef HAVE_LIBKRB */
335 /* Define to 1 if you have the `krb4' library (-lkrb4). */
336 /* #undef HAVE_LIBKRB4 */
338 /* Define to 1 if you have the `krb5' library (-lkrb5). */
339 /* #undef HAVE_LIBKRB5 */
341 /* Define to 1 if you have the `kstat' library (-lkstat). */
342 /* #undef HAVE_LIBKSTAT */
344 /* Define to 1 if you have the `lockfile' library (-llockfile). */
345 /* #undef HAVE_LIBLOCKFILE */
347 /* Define to 1 if you have the `m' library (-lm). */
348 /* #undef HAVE_LIBM */
350 /* Define to 1 if you have the `mail' library (-lmail). */
351 /* #undef HAVE_LIBMAIL */
353 /* Define to 1 if you have the `ncurses' library (-lncurses). */
354 /* #undef HAVE_LIBNCURSES */
356 /* Define to 1 if you have the <libpng/png.h> header file. */
357 /* #undef HAVE_LIBPNG_PNG_H */
359 /* Define to 1 if you have the `pthreads' library (-lpthreads). */
360 /* #undef HAVE_LIBPTHREADS */
362 /* Define to 1 if you have the resolv library (-lresolv). */
363 /* #undef HAVE_LIBRESOLV */
365 /* Define to 1 if you have the `Xext' library (-lXext). */
366 /* #undef HAVE_LIBXEXT */
368 /* Define to 1 if you have the `Xmu' library (-lXmu). */
369 /* #undef HAVE_LIBXMU */
371 /* Define to 1 if you have the Xp library (-lXp). */
372 /* #undef HAVE_LIBXP */
374 /* Define to 1 if you have the <limits.h> header file. */
375 #define HAVE_LIMITS_H 1
377 /* Define to 1 if you have the <linux/version.h> header file. */
378 /* #undef HAVE_LINUX_VERSION_H */
380 /* Define to 1 if you have the <locale.h> header file. */
381 #define HAVE_LOCALE_H 1
383 /* Define to 1 if you have the `logb' function. */
384 #define HAVE_LOGB 1
386 /* Define to 1 if you support file names longer than 14 characters. */
387 /* #undef HAVE_LONG_FILE_NAMES */
389 /* Define to 1 if you have the `lrand48' function. */
390 /* #undef HAVE_LRAND48 */
392 /* Define to 1 if you have the <machine/soundcard.h> header file. */
393 /* #undef HAVE_MACHINE_SOUNDCARD_H */
395 /* Define to 1 if you have the <mach/mach.h> header file. */
396 /* #undef HAVE_MACH_MACH_H */
398 /* Define to 1 if you have the <maillock.h> header file. */
399 /* #undef HAVE_MAILLOCK_H */
401 /* Define to 1 if you have the <malloc/malloc.h> header file. */
402 /* #undef HAVE_MALLOC_MALLOC_H */
404 /* Define to 1 if you have the `mblen' function. */
405 /* #undef HAVE_MBLEN */
407 /* Define to 1 if you have the `mbrlen' function. */
408 /* #undef HAVE_MBRLEN */
410 /* Define to 1 if you have the `mbsinit' function. */
411 /* #undef HAVE_MBSINIT */
413 /* Define to 1 if <wchar.h> declares mbstate_t. */
414 /* #undef HAVE_MBSTATE_T */
416 /* Define to 1 if you have the `memcmp' function. */
417 #define HAVE_MEMCMP 1
419 /* Define to 1 if you have the `memcpy' function. */
420 #define HAVE_MEMCPY 1
422 /* Define to 1 if you have the `memmove' function. */
423 #define HAVE_MEMMOVE 1
425 /* Define to 1 if you have the <memory.h> header file. */
426 /* #undef HAVE_MEMORY_H */
428 /* Define to 1 if you have the `mempcpy' function. */
429 /* #undef HAVE_MEMPCPY */
431 /* Define to 1 if you have the `memset' function. */
432 #define HAVE_MEMSET 1
434 /* Define to 1 if you have mouse menus. (This is automatic if you use X, but
435 the option to specify it remains.) It is also defined with other window
436 systems that support xmenu.c. */
437 #define HAVE_MENUS 1
439 /* Define to 1 if you have the `mkdir' function. */
440 #define HAVE_MKDIR 1
442 /* Define to 1 if you have the `mkstemp' function. */
443 /* #undef HAVE_MKSTEMP */
445 /* Define to 1 if you have the `mktime' function. */
446 /* #undef HAVE_MKTIME */
448 /* Define to 1 if you have a working `mmap' system call. */
449 /* #undef HAVE_MMAP */
451 /* Define to 1 if you have Motif 2.1 or newer. */
452 /* #undef HAVE_MOTIF_2_1 */
454 /* Define to 1 if you have the `mremap' function. */
455 /* #undef HAVE_MREMAP */
457 /* Define to 1 if you have the <net/if.h> header file. */
458 /* #undef HAVE_NET_IF_H */
460 /* Define to 1 if you have the <nlist.h> header file. */
461 /* #undef HAVE_NLIST_H */
463 /* Define to 1 if personality LINUX32 can be set. */
464 /* #undef HAVE_PERSONALITY_LINUX32 */
466 /* Define to 1 if you have the png library (-lpng). */
467 /* #undef HAVE_PNG */
469 /* Define to 1 if you have the <png.h> header file. */
470 /* #undef HAVE_PNG_H */
472 /* Define to 1 if you have the `posix_memalign' function. */
473 /* #undef HAVE_POSIX_MEMALIGN */
475 /* Define to 1 if you have the `pstat_getdynamic' function. */
476 /* #undef HAVE_PSTAT_GETDYNAMIC */
478 /* Define to 1 if you have the <pthread.h> header file. */
479 /* #undef HAVE_PTHREAD_H */
481 /* Define to 1 if you have the <pty.h> header file. */
482 /* #undef HAVE_PTY_H */
484 /* Define to 1 if you have the <pwd.h> header file. */
485 #define HAVE_PWD_H 1
487 /* Define to 1 if you have the `random' function. */
488 /* #undef HAVE_RANDOM */
490 /* Define to 1 if you have the `recvfrom' function. */
491 /* #undef HAVE_RECVFROM */
493 /* Define to 1 if you have the `rename' function. */
494 #define HAVE_RENAME 1
496 /* Define to 1 if you have the `res_init' function. */
497 /* #undef HAVE_RES_INIT */
499 /* Define to 1 if you have the `rindex' function. */
500 /* #undef HAVE_RINDEX */
502 /* Define to 1 if you have the `rint' function. */
503 #ifdef __MRC__
504 #undef HAVE_RINT
505 #else /* CodeWarrior */
506 #define HAVE_RINT
507 #endif
509 /* Define to 1 if you have the `rmdir' function. */
510 #define HAVE_RMDIR 1
512 /* Define to 1 if you have the `select' function. */
513 #define HAVE_SELECT 1
515 /* Define to 1 if you have the `sendto' function. */
516 /* #undef HAVE_SENDTO */
518 /* Define to 1 if you have the `setitimer' function. */
519 #define HAVE_SETITIMER 1
521 /* Define to 1 if you have the `setlocale' function. */
522 #define HAVE_SETLOCALE 1
524 /* Define to 1 if you have the `setpgid' function. */
525 /* #undef HAVE_SETPGID */
527 /* Define to 1 if you have the `setrlimit' function. */
528 /* #undef HAVE_SETRLIMIT */
530 /* Define to 1 if you have the `setsid' function. */
531 /* #undef HAVE_SETSID */
533 /* Define to 1 if you have the `setsockopt' function. */
534 /* #undef HAVE_SETSOCKOPT */
536 /* Define to 1 if you have the `shutdown' function. */
537 /* #undef HAVE_SHUTDOWN */
539 /* Define to 1 if the system has the type `size_t'. */
540 #define HAVE_SIZE_T 1
542 /* Define to 1 if you have the <soundcard.h> header file. */
543 /* #undef HAVE_SOUNDCARD_H */
545 /* Define to 1 if `speed_t' is declared by <termios.h>. */
546 /* #undef HAVE_SPEED_T */
548 /* Define to 1 if you have the <stdint.h> header file. */
549 /* #undef HAVE_STDINT_H */
551 /* Define to 1 if you have the <stdio_ext.h> header file. */
552 /* #undef HAVE_STDIO_EXT_H */
554 /* Define to 1 if you have the <stdlib.h> header file. */
555 #define HAVE_STDLIB_H 1
557 /* Define to 1 if you have the `strerror' function. */
558 #define HAVE_STRERROR 1
560 /* Define to 1 if you have the `strftime' function. */
561 #ifndef __MRC__ /* CodeWarrior */
562 #define HAVE_STRFTIME 1
563 #endif
565 /* Define to 1 if you have the <strings.h> header file. */
566 /* #undef HAVE_STRINGS_H */
568 /* Define to 1 if you have the <string.h> header file. */
569 #define HAVE_STRING_H 1
571 /* Define to 1 if you have the `strsignal' function. */
572 /* #undef HAVE_STRSIGNAL */
574 /* Define to 1 if `ifr_addr' is member of `struct ifreq'. */
575 /* #undef HAVE_STRUCT_IFREQ_IFR_ADDR */
577 /* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */
578 /* #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR */
580 /* Define to 1 if `ifr_flags' is member of `struct ifreq'. */
581 /* #undef HAVE_STRUCT_IFREQ_IFR_FLAGS */
583 /* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */
584 /* #undef HAVE_STRUCT_IFREQ_IFR_HWADDR */
586 /* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */
587 /* #undef HAVE_STRUCT_IFREQ_IFR_NETMASK */
589 /* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
590 /* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
592 /* Define to 1 if `tm_zone' is member of `struct tm'. */
593 /* #undef HAVE_STRUCT_TM_TM_ZONE */
595 /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
596 #define HAVE_STRUCT_UTIMBUF 1
598 /* Define to 1 if you have the `sync' function. */
599 /* #undef HAVE_SYNC */
601 /* Define to 1 if you have the `sysinfo' function. */
602 /* #undef HAVE_SYSINFO */
604 /* Define to 1 if you have the <sys/ioctl.h> header file. */
605 #define HAVE_SYS_IOCTL_H 1
607 /* Define to 1 if you have the <sys/mman.h> header file. */
608 /* #undef HAVE_SYS_MMAN_H */
610 /* Define to 1 if you have the <sys/param.h> header file. */
611 #define HAVE_SYS_PARAM_H 1
613 /* Define to 1 if you have the <sys/resource.h> header file. */
614 /* #undef HAVE_SYS_RESOURCE_H */
616 /* Define to 1 if you have the <sys/select.h> header file. */
617 /* #undef HAVE_SYS_SELECT_H */
619 /* Define to 1 if you have the <sys/socket.h> header file. */
620 /* #undef HAVE_SYS_SOCKET_H */
622 /* Define to 1 if you have the <sys/soundcard.h> header file. */
623 /* #undef HAVE_SYS_SOUNDCARD_H */
625 /* Define to 1 if you have the <sys/stat.h> header file. */
626 #define HAVE_SYS_STAT_H 1
628 /* Define to 1 if you have the <sys/systeminfo.h> header file. */
629 /* #undef HAVE_SYS_SYSTEMINFO_H */
631 /* Define to 1 if you have the <sys/timeb.h> header file. */
632 /* #undef HAVE_SYS_TIMEB_H */
634 /* Define to 1 if you have the <sys/time.h> header file. */
635 #define HAVE_SYS_TIME_H 1
637 /* Define to 1 if you have the <sys/types.h> header file. */
638 #define HAVE_SYS_TYPES_H 1
640 /* Define to 1 if you have the <sys/un.h> header file. */
641 /* #undef HAVE_SYS_UN_H */
643 /* Define to 1 if you have the <sys/utsname.h> header file. */
644 /* #undef HAVE_SYS_UTSNAME_H */
646 /* Define to 1 if you have the <sys/vlimit.h> header file. */
647 /* #undef HAVE_SYS_VLIMIT_H */
649 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
650 /* #undef HAVE_SYS_WAIT_H */
652 /* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
653 /* #undef HAVE_SYS__MBSTATE_T_H */
655 /* Define to 1 if you have the <termcap.h> header file. */
656 /* #undef HAVE_TERMCAP_H */
658 /* Define to 1 if you have the <termios.h> header file. */
659 /* #undef HAVE_TERMIOS_H */
661 /* Define to 1 if you have the <term.h> header file. */
662 /* #undef HAVE_TERM_H */
664 /* Define to 1 if you have the tiff library (-ltiff). */
665 /* #undef HAVE_TIFF */
667 /* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
668 #define HAVE_TIMEVAL 1
670 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
671 /* #undef HAVE_TM_GMTOFF */
673 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
674 `HAVE_STRUCT_TM_TM_ZONE' instead. */
675 /* #undef HAVE_TM_ZONE */
677 /* Define to 1 if you have the `touchlock' function. */
678 /* #undef HAVE_TOUCHLOCK */
680 /* Define to 1 if you don't have `tm_zone' but do have the external array
681 `tzname'. */
682 /* #undef HAVE_TZNAME */
684 /* Define to 1 if you have the `tzset' function. */
685 /* #undef HAVE_TZSET */
687 /* Define to 1 if you have the `ualarm' function. */
688 /* #undef HAVE_UALARM */
690 /* Define to 1 if you have the <unistd.h> header file. */
691 #ifdef __MRC__
692 #undef HAVE_UNISTD_H
693 #else /* CodeWarrior */
694 #define HAVE_UNISTD_H 1
695 #endif
697 /* Define to 1 if you have the `utimes' function. */
698 /* #undef HAVE_UTIMES */
700 /* Define to 1 if you have the <utime.h> header file. */
701 #define HAVE_UTIME_H 1
703 /* Define to 1 if you have the `vfork' function. */
704 /* #undef HAVE_VFORK */
706 /* Define to 1 if you have the <vfork.h> header file. */
707 /* #undef HAVE_VFORK_H */
709 /* Define to 1 if `fork' works. */
710 /* #undef HAVE_WORKING_FORK */
712 /* Define to 1 if `vfork' works. */
713 /* #undef HAVE_WORKING_VFORK */
715 /* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
716 expects to use version 10. */
717 /* #undef HAVE_X11 */
719 /* Define to 1 if you have the X11R5 or newer version of Xlib. */
720 /* #undef HAVE_X11R5 */
722 /* Define to 1 if you have the X11R6 or newer version of Xlib. */
723 /* #undef HAVE_X11R6 */
725 /* Define to 1 if you have the X11R6 or newer version of Xt. */
726 /* #undef HAVE_X11XTR6 */
728 /* Define to 1 if the file /usr/lib64 exists. */
729 /* #undef HAVE_X86_64_LIB64_DIR */
731 /* Define to 1 if you have the Xaw3d library (-lXaw3d). */
732 /* #undef HAVE_XAW3D */
734 /* Define to 1 if you're using XFree386. */
735 /* #undef HAVE_XFREE386 */
737 /* Define to 1 if you have the Xft library. */
738 /* #undef HAVE_XFT */
740 /* Define to 1 if XIM is available */
741 /* #undef HAVE_XIM */
743 /* Define to 1 if you have the XkbGetKeyboard function. */
744 /* #undef HAVE_XKBGETKEYBOARD */
746 /* Define to 1 if you have the Xpm libary (-lXpm). */
747 /* #undef HAVE_XPM */
749 /* Define to 1 if you have the `XrmSetDatabase' function. */
750 /* #undef HAVE_XRMSETDATABASE */
752 /* Define to 1 if you have the `XScreenNumberOfScreen' function. */
753 /* #undef HAVE_XSCREENNUMBEROFSCREEN */
755 /* Define to 1 if you have the `XScreenResourceString' function. */
756 /* #undef HAVE_XSCREENRESOURCESTRING */
758 /* Define to 1 if you have the `XSetWMProtocols' function. */
759 /* #undef HAVE_XSETWMPROTOCOLS */
761 /* Define to 1 if you have the SM library (-lSM). */
762 /* #undef HAVE_X_SM */
764 /* Define to 1 if you want to use the X window system. */
765 /* #undef HAVE_X_WINDOWS */
767 /* Define to 1 if you have the `__fpending' function. */
768 /* #undef HAVE___FPENDING */
770 /* Define to support using a Hesiod database to find the POP server. */
771 /* #undef HESIOD */
773 /* Define to support Kerberos-authenticated POP mail retrieval. */
774 /* #undef KERBEROS */
776 /* Define to use Kerberos 5 instead of Kerberos 4. */
777 /* #undef KERBEROS5 */
779 /* Define LD_SWITCH_X_SITE to contain any special flags your loader may need
780 to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
781 above and your X libraries aren't in a place that your loader can find on
782 its own, you might want to add "-L/..." or something similar. */
783 /* #undef LD_SWITCH_X_SITE */
785 /* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for
786 Solaris, for example). */
787 /* #undef LD_SWITCH_X_SITE_AUX */
789 /* Define to 1 if localtime caches TZ. */
790 /* #undef LOCALTIME_CACHE */
792 /* Define to support POP mail retrieval. */
793 /* #undef MAIL_USE_POP 1 */
795 /* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
796 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
797 /* #undef NLIST_NAME_UNION */
799 /* Define to 1 if you don't have struct exception in math.h. */
800 /* #undef NO_MATHERR */
802 /* Define to the address where bug reports for this package should be sent. */
803 /* #undef PACKAGE_BUGREPORT */
805 /* Define to the full name of this package. */
806 /* #undef PACKAGE_NAME */
808 /* Define to the full name and version of this package. */
809 /* #undef PACKAGE_STRING */
811 /* Define to the one symbol short name of this package. */
812 /* #undef PACKAGE_TARNAME */
814 /* Define to the version of this package. */
815 /* #undef PACKAGE_VERSION */
817 /* Define as `void' if your compiler accepts `void *'; otherwise define as
818 `char'. */
819 #define POINTER_TYPE void
821 /* Define to 1 if the C compiler supports function prototypes. */
822 /* #undef PROTOTYPES */
824 /* Define REL_ALLOC if you want to use the relocating allocator for buffer
825 space. */
826 /* #undef REL_ALLOC */
828 /* Define as the return type of signal handlers (`int' or `void'). */
829 #define RETSIGTYPE void
831 /* If using the C implementation of alloca, define if you know the
832 direction of stack growth for your system; otherwise it will be
833 automatically deduced at runtime.
834 STACK_DIRECTION > 0 => grows toward higher addresses
835 STACK_DIRECTION < 0 => grows toward lower addresses
836 STACK_DIRECTION = 0 => direction of growth unknown */
837 /* #undef STACK_DIRECTION */
839 /* Define to 1 if you have the ANSI C header files. */
840 /* #undef STDC_HEADERS */
842 /* Define to 1 on System V Release 4. */
843 /* #undef SVR4 */
845 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
846 #define TIME_WITH_SYS_TIME 1
848 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
849 /* #undef TM_IN_SYS_TIME */
851 /* Define to 1 for Encore UMAX. */
852 /* #undef UMAX */
854 /* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
855 <sys/cpustats.h>. */
856 /* #undef UMAX4_3 */
858 /* Define to the unexec source file name. */
859 /* #undef UNEXEC_SRC */
861 /* Define to 1 if we should use toolkit scroll bars. */
862 #ifdef HAVE_CARBON
863 #define USE_TOOLKIT_SCROLL_BARS 1
864 #endif
866 /* Define to 1 if we should use XIM, if it is available. */
867 /* #undef USE_XIM */
869 /* Define to 1 if using an X toolkit. */
870 /* #undef USE_X_TOOLKIT */
872 /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
873 XPointer or XPointer*. */
874 /* #undef XRegisterIMInstantiateCallback_arg6 */
876 /* Define to 1 if on AIX 3.
877 System headers sometimes define this.
878 We just want to avoid a redefinition error message. */
879 #ifndef _ALL_SOURCE
880 /* #undef _ALL_SOURCE */
881 #endif
883 /* Number of bits in a file offset, on hosts where this is settable. */
884 /* #undef _FILE_OFFSET_BITS */
886 /* Enable GNU extensions on systems that have them. */
887 #ifndef _GNU_SOURCE
888 /* # undef _GNU_SOURCE */
889 #endif
891 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
892 /* #undef _LARGEFILE_SOURCE */
894 /* Define for large files, on AIX-style hosts. */
895 /* #undef _LARGE_FILES */
897 /* Define to rpl_ if the getopt replacement functions and variables should be
898 used. */
899 /* #undef __GETOPT_PREFIX */
901 /* Define like PROTOTYPES; this can be used by system headers. */
902 /* #undef __PROTOTYPES */
904 /* Define to compiler's equivalent of C99 restrict keyword. Don't define if
905 equivalent is `__restrict'. */
906 /* #undef __restrict */
908 /* Define to compiler's equivalent of C99 restrict keyword in array
909 declarations. Define as empty for no equivalent. */
910 /* #undef __restrict_arr */
912 /* Define to the used machine dependent file. */
913 #define config_machfile "m-mac.h"
915 /* Define to the used os dependent file. */
916 #define config_opsysfile "s-mac.h"
918 /* Define to empty if `const' does not conform to ANSI C. */
919 /* #undef const */
921 /* Define to a type if <wchar.h> does not define. */
922 /* #undef mbstate_t */
924 /* Define to `int' if <sys/types.h> does not define. */
925 #define pid_t int
927 /* Define to any substitute for sys_siglist. */
928 /* #undef sys_siglist */
930 /* Define as `fork' if `vfork' does not work. */
931 /* #undef vfork */
933 /* Define to empty if the keyword `volatile' does not work. Warning: valid
934 code using `volatile' can become incorrect without. Disable with care. */
935 /* #undef volatile */
938 /* If we're using any sort of window system, define some consequences. */
939 #ifdef HAVE_X_WINDOWS
940 #define HAVE_WINDOW_SYSTEM
941 #define MULTI_KBOARD
942 #define HAVE_MOUSE
943 #endif
945 /* Define for MacOS */
946 #define HAVE_WINDOW_SYSTEM 1
947 #define HAVE_MOUSE 1
949 /* Define USER_FULL_NAME to return a string
950 that is the user's full name.
951 It can assume that the variable `pw'
952 points to the password file entry for this user.
954 At some sites, the pw_gecos field contains
955 the user's full name. If neither this nor any other
956 field contains the right thing, use pw_name,
957 giving the user's login name, since that is better than nothing. */
958 #define USER_FULL_NAME pw->pw_name
960 /* Define AMPERSAND_FULL_NAME if you use the convention
961 that & in the full name stands for the login id. */
962 /* Turned on June 1996 supposing nobody will mind it. */
963 /* #undef AMPERSAND_FULL_NAME */
965 /* We have blockinput.h. */
966 #define DO_BLOCK_INPUT
968 /* Define HAVE_SOUND if we have sound support. We know it works
969 and compiles only on the specified platforms. For others,
970 it probably doesn't make sense to try. */
972 #if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
973 #ifdef HAVE_MACHINE_SOUNDCARD_H
974 #define HAVE_SOUND 1
975 #endif
976 #ifdef HAVE_SYS_SOUNDCARD_H
977 #define HAVE_SOUND 1
978 #endif
979 #ifdef HAVE_SOUNDCARD_H
980 #define HAVE_SOUND 1
981 #endif
982 #ifdef HAVE_ALSA
983 #define HAVE_SOUND 1
984 #endif
985 #endif /* __FreeBSD__ || __NetBSD__ || __linux__ */
987 /* If using GNU, then support inline function declarations. */
988 /* Don't try to switch on inline handling as detected by AC_C_INLINE
989 generally, because even if non-gcc compilers accept `inline', they
990 may reject `extern inline'. */
991 #if defined (__GNUC__) && defined (OPTIMIZE)
992 #define INLINE __inline__
993 #else
994 #define INLINE
995 #endif
997 #ifdef __MRC__
998 /* Use low-bits for tags. If ENABLE_CHECKING is turned on together
999 with USE_LSB_TAG, optimization flags should be explicitly turned
1000 off. */
1001 #define USE_LSB_TAG
1002 #endif
1004 /* Include the os and machine dependent files. */
1005 #include config_opsysfile
1006 #include config_machfile
1008 /* Load in the conversion definitions if this system
1009 needs them and the source file being compiled has not
1010 said to inhibit this. There should be no need for you
1011 to alter these lines. */
1013 #ifdef SHORTNAMES
1014 #ifndef NO_SHORTNAMES
1015 #include "../shortnames/remap.h"
1016 #endif /* not NO_SHORTNAMES */
1017 #endif /* SHORTNAMES */
1019 /* If no remapping takes place, static variables cannot be dumped as
1020 pure, so don't worry about the `static' keyword. */
1021 #ifdef NO_REMAP
1022 /* #undef static */
1023 #endif
1025 /* Define `subprocesses' should be defined if you want to
1026 have code for asynchronous subprocesses
1027 (as used in M-x compile and M-x shell).
1028 These do not work for some USG systems yet;
1029 for the ones where they work, the s/SYSTEM.h file defines this flag. */
1031 #ifndef VMS
1032 #ifndef USG
1033 /* #define subprocesses */
1034 #endif
1035 #endif
1037 /* SIGTYPE is the macro we actually use. */
1038 #ifndef SIGTYPE
1039 #define SIGTYPE RETSIGTYPE
1040 #endif
1042 #ifdef emacs /* Don't do this for lib-src. */
1043 /* Tell regex.c to use a type compatible with Emacs. */
1044 #define RE_TRANSLATE_TYPE Lisp_Object
1045 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
1046 #ifdef make_number
1047 /* If make_number is a macro, use it. */
1048 #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1049 #else
1050 /* If make_number is a function, avoid it. */
1051 #define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
1052 #endif
1053 #endif
1055 /* Avoid link-time collision with system mktime if we will use our own. */
1056 #if ! HAVE_MKTIME || BROKEN_MKTIME
1057 #define mktime emacs_mktime
1058 #endif
1060 #define my_strftime nstrftime /* for strftime.c */
1062 /* The rest of the code currently tests the CPP symbol BSTRING.
1063 Override any claims made by the system-description files.
1064 Note that on some SCO version it is possible to have bcopy and not bcmp. */
1065 /* #undef BSTRING */
1066 #if defined (HAVE_BCOPY) && defined (HAVE_BCMP)
1067 #define BSTRING
1068 #endif
1070 /* Some of the files of Emacs which are intended for use with other
1071 programs assume that if you have a config.h file, you must declare
1072 the type of getenv.
1074 This declaration shouldn't appear when alloca.s or Makefile.in
1075 includes config.h. */
1076 #ifndef NOT_C_CODE
1077 extern char *getenv ();
1078 #endif
1080 /* These default definitions are good for almost all machines.
1081 The exceptions override them in m/MACHINE.h. */
1083 #ifndef BITS_PER_CHAR
1084 #define BITS_PER_CHAR 8
1085 #endif
1087 #ifndef BITS_PER_SHORT
1088 #define BITS_PER_SHORT 16
1089 #endif
1091 /* Note that lisp.h uses this in a preprocessor conditional, so it
1092 would not work to use sizeof. That being so, we do all of them
1093 without sizeof, for uniformity's sake. */
1094 #ifndef BITS_PER_INT
1095 #define BITS_PER_INT 32
1096 #endif
1098 #ifndef BITS_PER_LONG
1099 #ifdef _LP64
1100 #define BITS_PER_LONG 64
1101 #else
1102 #define BITS_PER_LONG 32
1103 #endif
1104 #endif
1106 /* Define if the compiler supports function prototypes. It may do so
1107 but not define __STDC__ (e.g. DEC C by default) or may define it as
1108 zero. */
1109 /* #undef PROTOTYPES */
1110 /* For mktime.c: */
1111 #ifndef __P
1112 # if defined PROTOTYPES
1113 # define __P(args) args
1114 # else
1115 # define __P(args) ()
1116 # endif /* GCC. */
1117 #endif /* __P */
1119 /* Don't include "string.h" or <stdlib.h> in non-C code. */
1120 #ifndef NOT_C_CODE
1121 #ifdef HAVE_STRING_H
1122 #include "string.h"
1123 #endif
1124 #ifdef HAVE_STRINGS_H
1125 #include "strings.h" /* May be needed for bcopy & al. */
1126 #endif
1127 #ifdef HAVE_STDLIB_H
1128 #include <stdlib.h>
1129 #endif
1130 #ifndef __GNUC__
1131 # ifdef HAVE_ALLOCA_H
1132 # include <alloca.h>
1133 # else /* AIX files deal with #pragma. */
1134 # ifndef alloca /* predefined by HP cc +Olibcalls */
1135 char *alloca ();
1136 # endif
1137 # endif /* HAVE_ALLOCA_H */
1138 #endif /* __GNUC__ */
1139 #ifndef HAVE_SIZE_T
1140 typedef unsigned size_t;
1141 #endif
1142 #endif /* NOT_C_CODE */
1144 /* Define HAVE_X_I18N if we have usable i18n support. */
1146 #ifdef HAVE_X11R6
1147 #define HAVE_X_I18N
1148 #elif defined HAVE_X11R5 && !defined X11R5_INHIBIT_I18N
1149 #define HAVE_X_I18N
1150 #endif
1152 /* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */
1154 #if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM
1155 #define HAVE_X11R6_XIM
1156 #endif
1158 /* Should we enable expensive run-time checking of data types? */
1159 /* #undef ENABLE_CHECKING */
1161 #if defined __GNUC__ && (__GNUC__ > 2 \
1162 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1163 #define NO_RETURN __attribute__ ((__noreturn__))
1164 #else
1165 #define NO_RETURN /* nothing */
1166 #endif
1168 /* These won't be used automatically yet. We also need to know, at least,
1169 that the stack is continuous. */
1170 #ifdef __GNUC__
1171 # ifndef GC_SETJMP_WORKS
1172 /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
1173 see NON_SAVING_SETJMP in the target descriptions. */
1174 /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k,
1175 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
1176 Fixme: Deal with ns32k, SVR3. */
1177 # define GC_SETJMP_WORKS 1
1178 # endif
1179 # ifndef GC_LISP_OBJECT_ALIGNMENT
1180 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
1181 # endif
1182 #endif
1184 #ifndef HAVE_BCOPY
1185 #define bcopy(a,b,s) memcpy (b,a,s)
1186 #endif
1187 #ifndef HAVE_BZERO
1188 #define bzero(a,s) memset (a,0,s)
1189 #endif
1190 #ifndef HAVE_BCMP
1191 #define BCMP memcmp
1192 #endif
1194 #define SYNC_INPUT
1196 #endif /* EMACS_CONFIG_H */
1198 /* arch-tag: 2596b649-b569-448e-8880-373d2a9909b7
1199 (do not change this comment) */