*** empty log message ***
[bpt/emacs.git] / src / config.in
CommitLineData
1c9952f8
AS
1/* src/config.in. Generated from configure.in by autoheader. */
2
6bae0ccf
DL
3/* GNU Emacs site configuration template file.
4 Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc.
6c4f352f
JB
5
6This file is part of GNU Emacs.
7
eb963e25
RS
8GNU Emacs is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2, or (at your option)
11any later version.
12
6c4f352f 13GNU Emacs is distributed in the hope that it will be useful,
eb963e25
RS
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
1c9952f8
AS
18You should have received a copy of the GNU General Public License
19along with GNU Emacs; see the file COPYING. If not, write to the
20Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21Boston, MA 02111-1307, USA. */
22
23
22044edf 24/* No code in Emacs #includes config.h twice, but some bits of code
1c9952f8
AS
25 intended to work with other packages as well (like gmalloc.c)
26 think they can include it as many times as they like. */
27#ifndef EMACS_CONFIG_H
28#define EMACS_CONFIG_H
29
30
31/* Define to 1 if the mktime function is broken. */
32#undef BROKEN_MKTIME
33
34/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
35 systems. This function is required for `alloca.c' support on those systems.
36 */
37#undef CRAY_STACKSEG_END
38
39/* Define to 1 if using `alloca.c'. */
40#undef C_ALLOCA
41
42/* Define to 1 if using `getloadavg.c'. */
43#undef C_GETLOADAVG
44
45/* Define C_SWITCH_X_SITE to contain any special flags your compiler may need
46 to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
47 above and your X include files aren't in a place that your compiler can
48 find on its own, you might want to add "-I/..." or something similar. */
49#undef C_SWITCH_X_SITE
50
51/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
52#undef DGUX
53
54/* Define to 1 if you are using the GNU C Library. */
55#undef DOUG_LEA_MALLOC
56
57/* Define to the canonical Emacs configuration name. */
58#undef EMACS_CONFIGURATION
59
60/* Define to the options passed to configure. */
61#undef EMACS_CONFIG_OPTIONS
62
63/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
64 */
65#undef GETLOADAVG_PRIVILEGED
66
67/* Define to 1 if gettimeofday accepts only one argument. */
68#undef GETTIMEOFDAY_ONE_ARGUMENT
69
70/* Define to 1 if you want to use the GNU memory allocator. */
71#undef GNU_MALLOC
72
73/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
74#undef HAVE_AIX_SMT_EXP
75
76/* Define to 1 if you have the `alarm' function. */
77#undef HAVE_ALARM
78
79/* Define to 1 if you have `alloca', as a function or macro. */
80#undef HAVE_ALLOCA
81
82/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
83 */
84#undef HAVE_ALLOCA_H
85
86/* Define to 1 if you have the `bcmp' function. */
87#undef HAVE_BCMP
88
89/* Define to 1 if you have the `bcopy' function. */
90#undef HAVE_BCOPY
91
22044edf
DL
92/* Define to 1 if you have the `bzero' function. */
93#undef HAVE_BZERO
94
e3ba1015
AC
95/* Define to 1 if you are using the Carbon API on Mac OS X. */
96#undef HAVE_CARBON
97
1c9952f8
AS
98/* Define to 1 if you have the `cbrt' function. */
99#undef HAVE_CBRT
100
101/* Define to 1 if you have the `closedir' function. */
102#undef HAVE_CLOSEDIR
103
104/* Define to 1 if you have the <coff.h> header file. */
105#undef HAVE_COFF_H
106
107/* Define to 1 if you have the <com_err.h> header file. */
108#undef HAVE_COM_ERR_H
109
110/* Define to 1 if you have the <des.h> header file. */
111#undef HAVE_DES_H
112
113/* Define to 1 if dynamic ptys are supported. */
114#undef HAVE_DEV_PTMX
115
116/* Define to 1 if you have the `dup2' function. */
117#undef HAVE_DUP2
118
119/* Define to 1 if you have the `euidaccess' function. */
120#undef HAVE_EUIDACCESS
121
122/* Define to 1 if you have the <fcntl.h> header file. */
123#undef HAVE_FCNTL_H
124
125/* Define to 1 if you have the `fmod' function. */
126#undef HAVE_FMOD
127
128/* Define to 1 if you have the `fork' function. */
129#undef HAVE_FORK
130
131/* Define to 1 if you have the `fpathconf' function. */
132#undef HAVE_FPATHCONF
133
134/* Define to 1 if you have the `frexp' function. */
135#undef HAVE_FREXP
136
137/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
138#undef HAVE_FSEEKO
139
22044edf
DL
140/* Define to 1 if you have the `fsync' function. */
141#undef HAVE_FSYNC
142
1c9952f8
AS
143/* Define to 1 if you have the `ftime' function. */
144#undef HAVE_FTIME
145
146/* Define to 1 if you have the `gai_strerror' function. */
147#undef HAVE_GAI_STRERROR
148
149/* Define to 1 if you have the `getaddrinfo' function. */
150#undef HAVE_GETADDRINFO
151
152/* Define to 1 if you have the `getcwd' function. */
153#undef HAVE_GETCWD
154
155/* Define to 1 if you have the `getdelim' function. */
156#undef HAVE_GETDELIM
157
158/* Define to 1 if you have the `getdomainname' function. */
159#undef HAVE_GETDOMAINNAME
160
161/* Define to 1 if you have the `gethostname' function. */
162#undef HAVE_GETHOSTNAME
163
164/* Define to 1 if you have the `getline' function. */
165#undef HAVE_GETLINE
166
167/* Define to 1 if you have the `getloadavg' function. */
168#undef HAVE_GETLOADAVG
169
170/* Define to 1 if you have the `getpagesize' function. */
171#undef HAVE_GETPAGESIZE
172
173/* Define to 1 if you have the `getpeername' function. */
174#undef HAVE_GETPEERNAME
175
176/* Define to 1 if you have the `getpt' function. */
177#undef HAVE_GETPT
178
179/* Define to 1 if you have the `getsockname' function. */
180#undef HAVE_GETSOCKNAME
181
182/* Define to 1 if you have the `getsockopt' function. */
183#undef HAVE_GETSOCKOPT
184
185/* Define to 1 if you have the `gettimeofday' function. */
186#undef HAVE_GETTIMEOFDAY
187
188/* Define to 1 if you have the `getwd' function. */
189#undef HAVE_GETWD
190
191/* Define to 1 if you have the ungif library (-lungif). */
192#undef HAVE_GIF
193
194/* Define to 1 if you have the `grantpt' function. */
195#undef HAVE_GRANTPT
196
197/* Define to 1 if netdb.h declares h_errno. */
198#undef HAVE_H_ERRNO
199
200/* Define to 1 if you have the `index' function. */
201#undef HAVE_INDEX
202
203/* Define to 1 if you have inet sockets. */
204#undef HAVE_INET_SOCKETS
205
206/* Define to 1 if you have the <inttypes.h> header file. */
207#undef HAVE_INTTYPES_H
208
209/* Define to 1 if you have the jpeg library (-ljpeg). */
210#undef HAVE_JPEG
211
212/* Define to 1 if you have the <kerberosIV/des.h> header file. */
213#undef HAVE_KERBEROSIV_DES_H
214
215/* Define to 1 if you have the <kerberosIV/krb.h> header file. */
216#undef HAVE_KERBEROSIV_KRB_H
217
218/* Define to 1 if you have the <kerberos/des.h> header file. */
219#undef HAVE_KERBEROS_DES_H
220
221/* Define to 1 if you have the <kerberos/krb.h> header file. */
222#undef HAVE_KERBEROS_KRB_H
223
224/* Define to 1 if you have the <krb5.h> header file. */
225#undef HAVE_KRB5_H
226
227/* Define to 1 if you have the <krb.h> header file. */
228#undef HAVE_KRB_H
229
230/* Define to 1 if you have the `com_err' library (-lcom_err). */
231#undef HAVE_LIBCOM_ERR
232
233/* Define to 1 if you have the `crypto' library (-lcrypto). */
234#undef HAVE_LIBCRYPTO
235
236/* Define to 1 if you have the `des' library (-ldes). */
237#undef HAVE_LIBDES
238
239/* Define to 1 if you have the `des425' library (-ldes425). */
240#undef HAVE_LIBDES425
241
242/* Define to 1 if you have the `dgc' library (-ldgc). */
243#undef HAVE_LIBDGC
244
245/* Define to 1 if you have the `dnet' library (-ldnet). */
246#undef HAVE_LIBDNET
247
248/* Define to 1 if you have the hesiod library (-lhesiod). */
249#undef HAVE_LIBHESIOD
250
251/* Define to 1 if you have the `intl' library (-lintl). */
252#undef HAVE_LIBINTL
253
254/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
255#undef HAVE_LIBK5CRYPTO
256
257/* Define to 1 if you have the `krb' library (-lkrb). */
258#undef HAVE_LIBKRB
259
260/* Define to 1 if you have the `krb4' library (-lkrb4). */
261#undef HAVE_LIBKRB4
262
263/* Define to 1 if you have the `krb5' library (-lkrb5). */
264#undef HAVE_LIBKRB5
265
266/* Define to 1 if you have the `kstat' library (-lkstat). */
267#undef HAVE_LIBKSTAT
268
269/* Define to 1 if you have the `lockfile' library (-llockfile). */
270#undef HAVE_LIBLOCKFILE
271
272/* Define to 1 if you have the `m' library (-lm). */
273#undef HAVE_LIBM
274
275/* Define to 1 if you have the `mail' library (-lmail). */
276#undef HAVE_LIBMAIL
277
278/* Define to 1 if you have the `ncurses' library (-lncurses). */
279#undef HAVE_LIBNCURSES
280
281/* Define to 1 if you have the `pthreads' library (-lpthreads). */
282#undef HAVE_LIBPTHREADS
283
284/* Define to 1 if you have the resolv library (-lresolv). */
285#undef HAVE_LIBRESOLV
286
287/* Define to 1 if you have the `Xext' library (-lXext). */
288#undef HAVE_LIBXEXT
289
290/* Define to 1 if you have the `Xmu' library (-lXmu). */
291#undef HAVE_LIBXMU
292
293/* Define to 1 if you have the Xp library (-lXp). */
294#undef HAVE_LIBXP
295
296/* Define to 1 if you have the <limits.h> header file. */
297#undef HAVE_LIMITS_H
298
299/* Define to 1 if you have the <linux/version.h> header file. */
300#undef HAVE_LINUX_VERSION_H
301
302/* Define to 1 if you have the `logb' function. */
303#undef HAVE_LOGB
304
305/* Define to 1 if you support file names longer than 14 characters. */
306#undef HAVE_LONG_FILE_NAMES
307
308/* Define to 1 if you have the `lrand48' function. */
309#undef HAVE_LRAND48
310
311/* Define to 1 if you have the <machine/soundcard.h> header file. */
312#undef HAVE_MACHINE_SOUNDCARD_H
313
314/* Define to 1 if you have the <mach/mach.h> header file. */
315#undef HAVE_MACH_MACH_H
316
317/* Define to 1 if you have the <maillock.h> header file. */
318#undef HAVE_MAILLOCK_H
319
320/* Define to 1 if you have the `mblen' function. */
321#undef HAVE_MBLEN
322
323/* Define to 1 if you have the `mbrlen' function. */
324#undef HAVE_MBRLEN
325
326/* Define to 1 if you have the `mbsinit' function. */
327#undef HAVE_MBSINIT
328
6bae0ccf
DL
329/* Define to 1 if you have the `memmove' function. */
330#undef HAVE_MEMMOVE
331
1c9952f8
AS
332/* Define to 1 if you have the <memory.h> header file. */
333#undef HAVE_MEMORY_H
334
335/* Define to 1 if you have mouse menus. (This is automatic if you use X, but
336 the option to specify it remains.) It is also defined with other window
337 systems that support xmenu.c. */
338#undef HAVE_MENUS
339
340/* Define to 1 if you have the `mkdir' function. */
341#undef HAVE_MKDIR
342
343/* Define to 1 if you have the `mkstemp' function. */
344#undef HAVE_MKSTEMP
345
346/* Define to 1 if you have the `mktime' function. */
347#undef HAVE_MKTIME
348
349/* Define to 1 if you have a working `mmap' system call. */
350#undef HAVE_MMAP
351
352/* Define to 1 if you have Motif 2.1 or newer. */
353#undef HAVE_MOTIF_2_1
354
6bae0ccf
DL
355/* Define to 1 if you have the `mremap' function. */
356#undef HAVE_MREMAP
357
1c9952f8
AS
358/* Define to 1 if you have the <nlist.h> header file. */
359#undef HAVE_NLIST_H
360
361/* Define to 1 if you have the png library (-lpng). */
362#undef HAVE_PNG
363
364/* Define to 1 if you have the `pstat_getdynamic' function. */
365#undef HAVE_PSTAT_GETDYNAMIC
366
6bae0ccf
DL
367/* Define to 1 if you have the <pty.h> header file. */
368#undef HAVE_PTY_H
369
1c9952f8
AS
370/* Define to 1 if you have the `random' function. */
371#undef HAVE_RANDOM
372
373/* Define to 1 if you have the `recvfrom' function. */
374#undef HAVE_RECVFROM
375
376/* Define to 1 if you have the `rename' function. */
377#undef HAVE_RENAME
378
379/* Define to 1 if you have the `res_init' function. */
380#undef HAVE_RES_INIT
381
382/* Define to 1 if you have the `rindex' function. */
383#undef HAVE_RINDEX
384
385/* Define to 1 if you have the `rint' function. */
386#undef HAVE_RINT
387
388/* Define to 1 if you have the `rmdir' function. */
389#undef HAVE_RMDIR
390
391/* Define to 1 if you have the `select' function. */
392#undef HAVE_SELECT
393
394/* Define to 1 if you have the `sendto' function. */
395#undef HAVE_SENDTO
396
397/* Define to 1 if you have the `setitimer' function. */
398#undef HAVE_SETITIMER
399
400/* Define to 1 if you have the `setlocale' function. */
401#undef HAVE_SETLOCALE
402
403/* Define to 1 if you have the `setpgid' function. */
404#undef HAVE_SETPGID
405
406/* Define to 1 if you have the `setrlimit' function. */
407#undef HAVE_SETRLIMIT
408
409/* Define to 1 if you have the `setsid' function. */
410#undef HAVE_SETSID
411
412/* Define to 1 if you have the `setsockopt' function. */
413#undef HAVE_SETSOCKOPT
414
1c9952f8
AS
415/* Define to 1 if you have the `shutdown' function. */
416#undef HAVE_SHUTDOWN
417
6bae0ccf
DL
418/* Define to 1 if the system has the type `size_t'. */
419#undef HAVE_SIZE_T
420
1c9952f8
AS
421/* Define to 1 if you have the <soundcard.h> header file. */
422#undef HAVE_SOUNDCARD_H
423
424/* Define to 1 if `speed_t' is declared by <termios.h>. */
425#undef HAVE_SPEED_T
426
427/* Define to 1 if you have the <stdint.h> header file. */
428#undef HAVE_STDINT_H
429
430/* Define to 1 if you have the <stdio_ext.h> header file. */
431#undef HAVE_STDIO_EXT_H
432
433/* Define to 1 if you have the <stdlib.h> header file. */
434#undef HAVE_STDLIB_H
435
436/* Define to 1 if you have the `strerror' function. */
437#undef HAVE_STRERROR
438
439/* Define to 1 if you have the `strftime' function. */
440#undef HAVE_STRFTIME
441
442/* Define to 1 if you have the <strings.h> header file. */
443#undef HAVE_STRINGS_H
444
445/* Define to 1 if you have the <string.h> header file. */
446#undef HAVE_STRING_H
447
448/* Define to 1 if you have the `strsignal' function. */
449#undef HAVE_STRSIGNAL
450
451/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
452#undef HAVE_STRUCT_NLIST_N_UN_N_NAME
453
454/* Define to 1 if `tm_zone' is member of `struct tm'. */
455#undef HAVE_STRUCT_TM_TM_ZONE
456
457/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
458#undef HAVE_STRUCT_UTIMBUF
459
460/* Define to 1 if you have the `sysinfo' function. */
461#undef HAVE_SYSINFO
462
6bae0ccf
DL
463/* Define to 1 if you have the <sys/mman.h> header file. */
464#undef HAVE_SYS_MMAN_H
465
466/* Define to 1 if you have the <sys/param.h> header file. */
467#undef HAVE_SYS_PARAM_H
468
22044edf
DL
469/* Define to 1 if you have the <sys/resource.h> header file. */
470#undef HAVE_SYS_RESOURCE_H
471
1c9952f8
AS
472/* Define to 1 if you have the <sys/select.h> header file. */
473#undef HAVE_SYS_SELECT_H
474
475/* Define to 1 if you have the <sys/soundcard.h> header file. */
476#undef HAVE_SYS_SOUNDCARD_H
477
478/* Define to 1 if you have the <sys/stat.h> header file. */
479#undef HAVE_SYS_STAT_H
480
481/* Define to 1 if you have the <sys/systeminfo.h> header file. */
482#undef HAVE_SYS_SYSTEMINFO_H
483
484/* Define to 1 if you have the <sys/timeb.h> header file. */
485#undef HAVE_SYS_TIMEB_H
486
487/* Define to 1 if you have the <sys/time.h> header file. */
488#undef HAVE_SYS_TIME_H
489
490/* Define to 1 if you have the <sys/types.h> header file. */
491#undef HAVE_SYS_TYPES_H
492
493/* Define to 1 if you have the <sys/un.h> header file. */
494#undef HAVE_SYS_UN_H
495
22044edf
DL
496/* Define to 1 if you have the <sys/vlimit.h> header file. */
497#undef HAVE_SYS_VLIMIT_H
498
1c9952f8
AS
499/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
500#undef HAVE_SYS_WAIT_H
501
502/* Define to 1 if you have the <termcap.h> header file. */
503#undef HAVE_TERMCAP_H
504
505/* Define to 1 if you have the <termios.h> header file. */
506#undef HAVE_TERMIOS_H
507
508/* Define to 1 if you have the <term.h> header file. */
509#undef HAVE_TERM_H
510
511/* Define to 1 if you have the tiff library (-ltiff). */
512#undef HAVE_TIFF
513
514/* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
515#undef HAVE_TIMEVAL
516
517/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
518#undef HAVE_TM_GMTOFF
519
520/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
521 `HAVE_STRUCT_TM_TM_ZONE' instead. */
522#undef HAVE_TM_ZONE
523
524/* Define to 1 if you have the `touchlock' function. */
525#undef HAVE_TOUCHLOCK
526
527/* Define to 1 if you don't have `tm_zone' but do have the external array
528 `tzname'. */
529#undef HAVE_TZNAME
530
531/* Define to 1 if you have the `tzset' function. */
532#undef HAVE_TZSET
533
534/* Define to 1 if you have the `ualarm' function. */
535#undef HAVE_UALARM
536
537/* Define to 1 if you have the <unistd.h> header file. */
538#undef HAVE_UNISTD_H
539
540/* Define to 1 if you have the `utimes' function. */
541#undef HAVE_UTIMES
542
543/* Define to 1 if you have the <utime.h> header file. */
544#undef HAVE_UTIME_H
545
546/* Define to 1 if you have the `vfork' function. */
547#undef HAVE_VFORK
548
549/* Define to 1 if you have the <vfork.h> header file. */
550#undef HAVE_VFORK_H
551
552/* Define to 1 if `fork' works. */
553#undef HAVE_WORKING_FORK
554
555/* Define to 1 if `vfork' works. */
556#undef HAVE_WORKING_VFORK
557
558/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
559 expects to use version 10. */
560#undef HAVE_X11
561
562/* Define to 1 if you have the X11R5 or newer version of Xlib. */
563#undef HAVE_X11R5
564
565/* Define to 1 if you have the X11R6 or newer version of Xlib. */
566#undef HAVE_X11R6
567
568/* Define to 1 if you have the X11R6 or newer version of Xt. */
569#undef HAVE_X11XTR6
570
571/* Define to 1 if you have the Xaw3d library (-lXaw3d). */
572#undef HAVE_XAW3D
573
574/* Define to 1 if you're using XFree386. */
575#undef HAVE_XFREE386
576
577/* Define to 1 if you have the XkbGetKeyboard function. */
578#undef HAVE_XKBGETKEYBOARD
579
580/* Define to 1 if you have the Xpm libary (-lXpm). */
581#undef HAVE_XPM
582
583/* Define to 1 if you have the `XrmSetDatabase' function. */
584#undef HAVE_XRMSETDATABASE
585
586/* Define to 1 if you have the `XScreenNumberOfScreen' function. */
587#undef HAVE_XSCREENNUMBEROFSCREEN
588
589/* Define to 1 if you have the `XScreenResourceString' function. */
590#undef HAVE_XSCREENRESOURCESTRING
591
592/* Define to 1 if you have the `XSetWMProtocols' function. */
593#undef HAVE_XSETWMPROTOCOLS
594
595/* Define to 1 if you have the SM library (-lSM). */
596#undef HAVE_X_SM
597
598/* Define to 1 if you want to use the X window system. */
599#undef HAVE_X_WINDOWS
600
601/* Define to 1 if you have the `__fpending' function. */
602#undef HAVE___FPENDING
603
604/* Define to support using a Hesiod database to find the POP server. */
605#undef HESIOD
606
607/* Define to support Kerberos-authenticated POP mail retrieval. */
608#undef KERBEROS
609
610/* Define to use Kerberos 5 instead of Kerberos 4. */
611#undef KERBEROS5
612
613/* Define LD_SWITCH_X_SITE to contain any special flags your loader may need
614 to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
615 above and your X libraries aren't in a place that your loader can find on
616 its own, you might want to add "-L/..." or something similar. */
617#undef LD_SWITCH_X_SITE
618
619/* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for
620 Solaris, for example). */
621#undef LD_SWITCH_X_SITE_AUX
622
623/* Define to -llockfile if it is usable. */
624#undef LIBMAIL
625
626/* Define to 1 if localtime caches TZ. */
627#undef LOCALTIME_CACHE
628
629/* Define to support POP mail retrieval. */
630#undef MAIL_USE_POP
631
632/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
633 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
634#undef NLIST_NAME_UNION
635
636/* Define to 1 if you have <nlist.h>. */
637#undef NLIST_STRUCT
638
639/* Define to 1 if you don't have struct exception in math.h. */
640#undef NO_MATHERR
641
642/* Define to the address where bug reports for this package should be sent. */
643#undef PACKAGE_BUGREPORT
644
645/* Define to the full name of this package. */
646#undef PACKAGE_NAME
647
648/* Define to the full name and version of this package. */
649#undef PACKAGE_STRING
650
651/* Define to the one symbol short name of this package. */
652#undef PACKAGE_TARNAME
653
654/* Define to the version of this package. */
655#undef PACKAGE_VERSION
656
657/* Define as `void' if your compiler accepts `void *'; otherwise define as
658 `char'. */
659#undef POINTER_TYPE
660
661/* Define to 1 if the C compiler supports function prototypes. */
662#undef PROTOTYPES
663
664/* Define REL_ALLOC if you want to use the relocating allocator for buffer
665 space. */
666#undef REL_ALLOC
667
668/* Define as the return type of signal handlers (`int' or `void'). */
669#undef RETSIGTYPE
6c4f352f 670
1c9952f8
AS
671/* If using the C implementation of alloca, define if you know the
672 direction of stack growth for your system; otherwise it will be
673 automatically deduced at run-time.
674 STACK_DIRECTION > 0 => grows toward higher addresses
675 STACK_DIRECTION < 0 => grows toward lower addresses
676 STACK_DIRECTION = 0 => direction of growth unknown */
677#undef STACK_DIRECTION
6c4f352f 678
1c9952f8
AS
679/* Define to 1 if you have the ANSI C header files. */
680#undef STDC_HEADERS
7e1fc708 681
1c9952f8
AS
682/* Define to 1 on System V Release 4. */
683#undef SVR4
cf91f754 684
1c9952f8
AS
685/* Define to 1 if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
686#undef SYS_SIGLIST_DECLARED
cf91f754 687
1c9952f8
AS
688/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
689#undef TIME_WITH_SYS_TIME
3689ff14 690
1c9952f8
AS
691/* Define to 1 if your <sys/time.h> declares `struct tm'. */
692#undef TM_IN_SYS_TIME
6b910f7d 693
1c9952f8
AS
694/* Define to 1 for Encore UMAX. */
695#undef UMAX
6c4f352f 696
1c9952f8
AS
697/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
698 <sys/cpustats.h>. */
699#undef UMAX4_3
6c4f352f 700
1c9952f8
AS
701/* Define to the unexec source file name. */
702#undef UNEXEC_SRC
2ae41520 703
1c9952f8
AS
704/* Define to 1 if we should use toolkit scroll bars. */
705#undef USE_TOOLKIT_SCROLL_BARS
cf91f754 706
1c9952f8
AS
707/* Define to 1 if we should use XIM, if it is available. */
708#undef USE_XIM
46266d2b 709
1c9952f8
AS
710/* Define to 1 if using an X toolkit. */
711#undef USE_X_TOOLKIT
6c4f352f 712
1c9952f8
AS
713/* Define to 1 if on AIX 3.
714 System headers sometimes define this.
715 We just want to avoid a redefinition error message. */
716#ifndef _ALL_SOURCE
717# undef _ALL_SOURCE
718#endif
3c024044 719
1c9952f8
AS
720/* Number of bits in a file offset, on hosts where this is settable. */
721#undef _FILE_OFFSET_BITS
c91b3402 722
22044edf
DL
723/* Enable GNU extensions on systems that have them. */
724#ifndef _GNU_SOURCE
725# undef _GNU_SOURCE
726#endif
727
1c9952f8
AS
728/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
729#undef _LARGEFILE_SOURCE
07ba43a2 730
1c9952f8
AS
731/* Define for large files, on AIX-style hosts. */
732#undef _LARGE_FILES
43c70fcf 733
1c9952f8
AS
734/* Define like PROTOTYPES; this can be used by system headers. */
735#undef __PROTOTYPES
43c70fcf 736
22044edf
DL
737/* Define to compiler's equivalent of C99 restrict keyword. Don't define if
738 equivalent is `__restrict'. */
739#undef __restrict
740
741/* Define to compiler's equivalent of C99 restrict keyword in array
742 declarations. Define as empty for no equivalent. */
743#undef __restrict_arr
744
1c9952f8
AS
745/* Define to the used machine dependent file. */
746#undef config_machfile
43c70fcf 747
1c9952f8
AS
748/* Define to the used os dependent file. */
749#undef config_opsysfile
43c70fcf 750
1c9952f8
AS
751/* Define to empty if `const' does not conform to ANSI C. */
752#undef const
43c70fcf 753
1c9952f8
AS
754/* Define to `int' if <sys/types.h> does not define. */
755#undef pid_t
43c70fcf 756
1c9952f8
AS
757/* Define as `fork' if `vfork' does not work. */
758#undef vfork
5b01f1a9 759
1c9952f8
AS
760/* Define to empty if the keyword `volatile' does not work. Warning: valid
761 code using `volatile' can become incorrect without. Disable with care. */
762#undef volatile
9b3bf387 763
0f0ed96e 764
87485d6f 765/* If we're using any sort of window system, define some consequences. */
efb859b4 766#ifdef HAVE_X_WINDOWS
6055eb04 767#define HAVE_WINDOW_SYSTEM
4648e527 768#define MULTI_KBOARD
87485d6f 769#define HAVE_MOUSE
6c4f352f
JB
770#endif
771
e3ba1015
AC
772/* If we're using the Carbon API on Mac OS X, define a few more
773 variables as well. */
774#ifdef HAVE_CARBON
775#define HAVE_WINDOW_SYSTEM
776#define HAVE_MOUSE
777#define HAVE_MENUS
778#endif
779
6c4f352f
JB
780/* Define USER_FULL_NAME to return a string
781 that is the user's full name.
782 It can assume that the variable `pw'
783 points to the password file entry for this user.
784
785 At some sites, the pw_gecos field contains
786 the user's full name. If neither this nor any other
787 field contains the right thing, use pw_name,
788 giving the user's login name, since that is better than nothing. */
6c4f352f
JB
789#define USER_FULL_NAME pw->pw_gecos
790
791/* Define AMPERSAND_FULL_NAME if you use the convention
792 that & in the full name stands for the login id. */
0b292416
RS
793/* Turned on June 1996 supposing nobody will mind it. */
794#define AMPERSAND_FULL_NAME
783f85c7 795
8ea64148
GM
796/* Define HAVE_SOUND if we have sound support. We know it works
797 and compiles only on the specified platforms. For others,
798 it probably doesn't make sense to try. */
799
800#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
43c70fcf
GM
801#ifdef HAVE_MACHINE_SOUNDCARD_H
802#define HAVE_SOUND 1
803#endif
804#ifdef HAVE_SYS_SOUNDCARD_H
80fcd514
KR
805#define HAVE_SOUND 1
806#endif
807#ifdef HAVE_SOUNDCARD_H
43c70fcf
GM
808#define HAVE_SOUND 1
809#endif
8ea64148 810#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */
43c70fcf 811
b8145012 812/* If using GNU, then support inline function declarations. */
308a4793
DL
813/* Don't try to switch on inline handling as detected by AC_C_INLINE
814 generally, because even if non-gcc compilers accept `inline', they
815 may reject `extern inline'. */
b8145012
JA
816#ifdef __GNUC__
817#define INLINE __inline__
818#else
819#define INLINE
820#endif
821
1c9952f8 822/* Include the os and machine dependent files. */
783f85c7 823#include config_opsysfile
783f85c7 824#include config_machfile
5e1ad1f7 825
efb859b4
JB
826/* Load in the conversion definitions if this system
827 needs them and the source file being compiled has not
828 said to inhibit this. There should be no need for you
829 to alter these lines. */
830
831#ifdef SHORTNAMES
832#ifndef NO_SHORTNAMES
833#include "../shortnames/remap.h"
834#endif /* not NO_SHORTNAMES */
835#endif /* SHORTNAMES */
836
e114e160
RS
837/* If no remapping takes place, static variables cannot be dumped as
838 pure, so don't worry about the `static' keyword. */
839#ifdef NO_REMAP
840#undef static
841#endif
842
efb859b4
JB
843/* Define `subprocesses' should be defined if you want to
844 have code for asynchronous subprocesses
845 (as used in M-x compile and M-x shell).
846 These do not work for some USG systems yet;
cea00ac3 847 for the ones where they work, the s/SYSTEM.h file defines this flag. */
efb859b4
JB
848
849#ifndef VMS
850#ifndef USG
851/* #define subprocesses */
852#endif
853#endif
854
cf91f754
JB
855/* SIGTYPE is the macro we actually use. */
856#ifndef SIGTYPE
857#define SIGTYPE RETSIGTYPE
1dc4f30a
JB
858#endif
859
d26a6872
RS
860#ifdef emacs /* Don't do this for lib-src. */
861/* Tell regex.c to use a type compatible with Emacs. */
11257d61 862#define RE_TRANSLATE_TYPE Lisp_Object
44eba967 863#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
7874f8a6 864#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0)
d26a6872
RS
865#endif
866
89e5d420
PE
867/* Avoid link-time collision with system mktime if we will use our own. */
868#if ! HAVE_MKTIME || BROKEN_MKTIME
869#define mktime emacs_mktime
870#endif
871
1f88d61e 872/* The rest of the code currently tests the CPP symbol BSTRING.
cadc2c79
RS
873 Override any claims made by the system-description files.
874 Note that on some SCO version it is possible to have bcopy and not bcmp. */
1f88d61e 875#undef BSTRING
cadc2c79 876#if defined (HAVE_BCOPY) && defined (HAVE_BCMP)
1f88d61e
JB
877#define BSTRING
878#endif
879
7e1fc708
JB
880/* Some of the files of Emacs which are intended for use with other
881 programs assume that if you have a config.h file, you must declare
8b0c35d9
JB
882 the type of getenv.
883
64b25365 884 This declaration shouldn't appear when alloca.s or Makefile.in
8b0c35d9
JB
885 includes config.h. */
886#ifndef NOT_C_CODE
7e1fc708
JB
887extern char *getenv ();
888#endif
889
2017bc3d 890/* These default definitions are good for almost all machines.
f11c1c14 891 The exceptions override them in m/MACHINE.h. */
2017bc3d
RS
892
893#ifndef BITS_PER_CHAR
894#define BITS_PER_CHAR 8
895#endif
896
897#ifndef BITS_PER_SHORT
898#define BITS_PER_SHORT 16
899#endif
900
901/* Note that lisp.h uses this in a preprocessor conditional, so it
902 would not work to use sizeof. That being so, we do all of them
903 without sizeof, for uniformity's sake. */
904#ifndef BITS_PER_INT
905#define BITS_PER_INT 32
906#endif
907
908#ifndef BITS_PER_LONG
68c45bf0
PE
909#ifdef _LP64
910#define BITS_PER_LONG 64
911#else
2017bc3d
RS
912#define BITS_PER_LONG 32
913#endif
68c45bf0 914#endif
d2e9bfae 915
308a4793
DL
916/* Define if the compiler supports function prototypes. It may do so
917 but not define __STDC__ (e.g. DEC C by default) or may define it as
918 zero. */
919#undef PROTOTYPES
920/* For mktime.c: */
921#ifndef __P
922# if defined PROTOTYPES
923# define __P(args) args
924# else
925# define __P(args) ()
926# endif /* GCC. */
927#endif /* __P */
928
68c45bf0 929/* Don't include "string.h" or <stdlib.h> in non-C code. */
69927a6c 930#ifndef NOT_C_CODE
d2e9bfae
RS
931#ifdef HAVE_STRING_H
932#include "string.h"
933#endif
6bae0ccf
DL
934#ifdef HAVE_STRINGS_H
935#include "strings.h" /* May be needed for bcopy & al. */
936#endif
68c45bf0
PE
937#ifdef HAVE_STDLIB_H
938#include <stdlib.h>
939#endif
22044edf
DL
940#ifndef __GNUC__
941# ifdef HAVE_ALLOCA_H
942# include <alloca.h>
943# else /* AIX files deal with #pragma. */
944# ifndef alloca /* predefined by HP cc +Olibcalls */
945char *alloca ();
946# endif
947# endif /* HAVE_ALLOCA_H */
948#endif /* __GNUC__ */
6bae0ccf
DL
949#ifndef HAVE_SIZE_T
950typedef size_t unsigned
951#endif
22044edf 952#endif /* NOT_C_CODE */
25e9f929
GM
953
954/* Define HAVE_X_I18N if we have usable i18n support. */
955
956#ifdef HAVE_X11R6
957#define HAVE_X_I18N
958#elif defined HAVE_X11R5 && !defined X11R5_INHIBIT_I18N
959#define HAVE_X_I18N
960#endif
961
962/* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */
963
964#if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM
965#define HAVE_X11R6_XIM
966#endif
e0b8c689
KR
967
968/* Should we enable expensive run-time checking of data types? */
969#undef ENABLE_CHECKING
86014a26 970
0813074c
GM
971#if defined __GNUC__ && (__GNUC__ > 2 \
972 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
86014a26
GM
973#define NO_RETURN __attribute__ ((__noreturn__))
974#else
975#define NO_RETURN /* nothing */
976#endif
1c9952f8 977
22044edf
DL
978/* These won't be used automatically yet. We also need to know, at least,
979 that the stack is continuous. */
980#ifdef __GNUC__
981# ifndef GC_SETJMP_WORKS
982 /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
983 see NON_SAVING_SETJMP in the target descriptions. */
984 /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k,
985 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
986 Fixme: Deal with ns32k, SVR3. */
987# define GC_SETJMP_WORKS 1
988# endif
989# ifndef GC_LISP_OBJECT_ALIGNMENT
990# define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
991# endif
992#endif
993
994#ifndef HAVE_BCOPY
995#define bcopy(a,b,s) memcpy (b,a,s)
996#endif
997#ifndef HAVE_BZERO
998#define bzero(a,s) memset (a,0,s)
999#endif
1000#ifndef HAVE_BCMP
1001#define BCMP memcmp
1002#endif
1003
1004#endif /* EMACS_CONFIG_H */
1005
6bae0ccf 1006/*
22044edf 1007Local Variables:
6bae0ccf
DL
1008mode: c
1009End:
1010*/
1011