fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
[bpt/emacs.git] / src / config.in
CommitLineData
1c9952f8
AS
1/* src/config.in. Generated from configure.in by autoheader. */
2
6bae0ccf 3/* GNU Emacs site configuration template file.
125c3718
PE
4
5Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2011
6 Free Software Foundation, Inc.
6c4f352f
JB
7
8This file is part of GNU Emacs.
9
8275fb5a 10GNU Emacs is free software: you can redistribute it and/or modify
eb963e25 11it under the terms of the GNU General Public License as published by
8275fb5a
GM
12the Free Software Foundation, either version 3 of the License, or
13(at your option) any later version.
eb963e25 14
6c4f352f 15GNU Emacs is distributed in the hope that it will be useful,
eb963e25
RS
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License for more details.
19
1c9952f8 20You should have received a copy of the GNU General Public License
8275fb5a 21along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1c9952f8
AS
22
23
22044edf 24/* No code in Emacs #includes config.h twice, but some bits of code
177c0ea7 25 intended to work with other packages as well (like gmalloc.c)
1c9952f8
AS
26 think they can include it as many times as they like. */
27#ifndef EMACS_CONFIG_H
28#define EMACS_CONFIG_H
29
30
671d409f
AS
31/* Define if building universal (internal helper macro) */
32#undef AC_APPLE_UNIVERSAL_BUILD
33
e7586c7a
GM
34/* Define if Emacs cannot be dumped on your system. */
35#undef CANNOT_DUMP
36
1c9952f8
AS
37/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
38 systems. This function is required for `alloca.c' support on those systems.
39 */
40#undef CRAY_STACKSEG_END
41
42/* Define to 1 if using `alloca.c'. */
43#undef C_ALLOCA
44
45/* Define to 1 if using `getloadavg.c'. */
46#undef C_GETLOADAVG
47
1c9952f8
AS
48/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
49#undef DGUX
50
51/* Define to 1 if you are using the GNU C Library. */
52#undef DOUG_LEA_MALLOC
53
54/* Define to the canonical Emacs configuration name. */
55#undef EMACS_CONFIGURATION
56
57/* Define to the options passed to configure. */
58#undef EMACS_CONFIG_OPTIONS
59
29771094
DN
60/* Enable expensive run-time checking of data types? */
61#undef ENABLE_CHECKING
62
63/* Define this to check for errors in cons list. */
64#undef GC_CHECK_CONS_LIST
65
66/* Define this temporarily to hunt a bug. If defined, the size of strings is
67 redundantly recorded in sdata structures so that it can be compared to the
68 sizes recorded in Lisp strings. */
69#undef GC_CHECK_STRING_BYTES
70
71/* Define this to check the string free list. */
72#undef GC_CHECK_STRING_FREE_LIST
73
74/* Define this to check for short string overrun. */
75#undef GC_CHECK_STRING_OVERRUN
76
1c9952f8
AS
77/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
78 */
79#undef GETLOADAVG_PRIVILEGED
80
44f75c4f
MB
81/* Define to 1 if the `getpgrp' function requires zero arguments. */
82#undef GETPGRP_VOID
83
1c9952f8
AS
84/* Define to 1 if gettimeofday accepts only one argument. */
85#undef GETTIMEOFDAY_ONE_ARGUMENT
86
87/* Define to 1 if you want to use the GNU memory allocator. */
88#undef GNU_MALLOC
89
90/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
91#undef HAVE_AIX_SMT_EXP
92
93/* Define to 1 if you have the `alarm' function. */
94#undef HAVE_ALARM
95
96/* Define to 1 if you have `alloca', as a function or macro. */
97#undef HAVE_ALLOCA
98
99/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
100 */
101#undef HAVE_ALLOCA_H
102
51d13991
JD
103/* Define to 1 if ALSA is available. */
104#undef HAVE_ALSA
105
7cae64b4
PE
106/* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
107#undef HAVE_ATTRIBUTE_ALIGNED
108
a451f14b
PE
109/* Define to 1 if strtold conforms to C99. */
110#undef HAVE_C99_STRTOLD
111
1c9952f8
AS
112/* Define to 1 if you have the `cbrt' function. */
113#undef HAVE_CBRT
114
2d3c36ae
SM
115/* Define to 1 if you have the `cfmakeraw' function. */
116#undef HAVE_CFMAKERAW
117
118/* Define to 1 if you have the `cfsetspeed' function. */
119#undef HAVE_CFSETSPEED
120
1c9952f8
AS
121/* Define to 1 if you have the `closedir' function. */
122#undef HAVE_CLOSEDIR
123
124/* Define to 1 if you have the <coff.h> header file. */
125#undef HAVE_COFF_H
126
127/* Define to 1 if you have the <com_err.h> header file. */
128#undef HAVE_COM_ERR_H
129
15e12598
VB
130/* Define to 1 if you have the `copysign' function. */
131#undef HAVE_COPYSIGN
690615f7 132
07562bde
GM
133/* Define to 1 if using D-Bus. */
134#undef HAVE_DBUS
135
244f96fc
MA
136/* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */
137#undef HAVE_DBUS_WATCH_GET_UNIX_FD
138
e275c824
PE
139/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
140 */
141#undef HAVE_DECL_GETENV
142
1fd182f0
PE
143/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
144 don't. */
145#undef HAVE_DECL_LOCALTIME_R
146
44f75c4f
MB
147/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
148 don't. */
149#undef HAVE_DECL_SYS_SIGLIST
150
ed1281ec
EZ
151/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
152 */
153#undef HAVE_DECL_TZNAME
154
44f75c4f
MB
155/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
156 don't. */
157#undef HAVE_DECL___SYS_SIGLIST
158
1c9952f8
AS
159/* Define to 1 if you have the <des.h> header file. */
160#undef HAVE_DES_H
161
162/* Define to 1 if dynamic ptys are supported. */
163#undef HAVE_DEV_PTMX
164
25ca0bca
AS
165/* Define to 1 if you have the `difftime' function. */
166#undef HAVE_DIFFTIME
167
1c97e857
J
168/* Define to 1 if you have the <dirent.h> header file. */
169#undef HAVE_DIRENT_H
170
1c9952f8
AS
171/* Define to 1 if you have the `dup2' function. */
172#undef HAVE_DUP2
173
174/* Define to 1 if you have the `euidaccess' function. */
175#undef HAVE_EUIDACCESS
176
177/* Define to 1 if you have the <fcntl.h> header file. */
178#undef HAVE_FCNTL_H
179
180/* Define to 1 if you have the `fmod' function. */
181#undef HAVE_FMOD
182
183/* Define to 1 if you have the `fork' function. */
184#undef HAVE_FORK
185
186/* Define to 1 if you have the `fpathconf' function. */
187#undef HAVE_FPATHCONF
188
a27152d1 189/* Define to 1 if using the freetype and fontconfig libraries. */
45a4b03e
KH
190#undef HAVE_FREETYPE
191
1c9952f8
AS
192/* Define to 1 if you have the `frexp' function. */
193#undef HAVE_FREXP
194
195/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
196#undef HAVE_FSEEKO
197
22044edf
DL
198/* Define to 1 if you have the `fsync' function. */
199#undef HAVE_FSYNC
200
1c9952f8
AS
201/* Define to 1 if you have the `ftime' function. */
202#undef HAVE_FTIME
203
204/* Define to 1 if you have the `gai_strerror' function. */
205#undef HAVE_GAI_STRERROR
206
637fa988
JD
207/* Define to 1 if using GConf. */
208#undef HAVE_GCONF
209
1c9952f8
AS
210/* Define to 1 if you have the `getaddrinfo' function. */
211#undef HAVE_GETADDRINFO
212
213/* Define to 1 if you have the `getcwd' function. */
214#undef HAVE_GETCWD
215
216/* Define to 1 if you have the `getdelim' function. */
217#undef HAVE_GETDELIM
218
219/* Define to 1 if you have the `getdomainname' function. */
220#undef HAVE_GETDOMAINNAME
221
222/* Define to 1 if you have the `gethostname' function. */
223#undef HAVE_GETHOSTNAME
224
225/* Define to 1 if you have the `getline' function. */
226#undef HAVE_GETLINE
227
228/* Define to 1 if you have the `getloadavg' function. */
229#undef HAVE_GETLOADAVG
230
52dbaac8
PE
231/* Define to 1 if you have the <getopt.h> header file. */
232#undef HAVE_GETOPT_H
233
234/* Define to 1 if you have the `getopt_long_only' function. */
235#undef HAVE_GETOPT_LONG_ONLY
236
1c9952f8
AS
237/* Define to 1 if you have the `getpagesize' function. */
238#undef HAVE_GETPAGESIZE
239
240/* Define to 1 if you have the `getpeername' function. */
241#undef HAVE_GETPEERNAME
242
243/* Define to 1 if you have the `getpt' function. */
244#undef HAVE_GETPT
245
9d9a7716
DN
246/* Define to 1 if you have the `getrlimit' function. */
247#undef HAVE_GETRLIMIT
248
ea92fc9f
EZ
249/* Define to 1 if you have the `getrusage' function. */
250#undef HAVE_GETRUSAGE
251
1c9952f8
AS
252/* Define to 1 if you have the `getsockname' function. */
253#undef HAVE_GETSOCKNAME
254
255/* Define to 1 if you have the `getsockopt' function. */
256#undef HAVE_GETSOCKOPT
257
258/* Define to 1 if you have the `gettimeofday' function. */
259#undef HAVE_GETTIMEOFDAY
260
261/* Define to 1 if you have the `getwd' function. */
262#undef HAVE_GETWD
263
e2fcf543
EZ
264/* Define to 1 if you have the `get_current_dir_name' function. */
265#undef HAVE_GET_CURRENT_DIR_NAME
266
f70b938a 267/* Define to 1 if you have a gif (or ungif) library. */
1c9952f8
AS
268#undef HAVE_GIF
269
613c83fc 270/* Define if using GnuTLS. */
8af55556
TZ
271#undef HAVE_GNUTLS
272
7e5a23bd
NR
273/* Define to 1 if you have the gpm library (-lgpm). */
274#undef HAVE_GPM
a7c03edb 275
1c9952f8
AS
276/* Define to 1 if you have the `grantpt' function. */
277#undef HAVE_GRANTPT
278
e547b051
J
279/* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */
280#undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE
281
9a38524c
JD
282/* Define to 1 if you have GTK and pthread (-lpthread). */
283#undef HAVE_GTK_AND_PTHREAD
284
e547b051
J
285/* Define to 1 if you have the `gtk_dialog_get_action_area' function. */
286#undef HAVE_GTK_DIALOG_GET_ACTION_AREA
2a00cdb4
JD
287
288/* Define to 1 if you have the `gtk_file_selection_new' function. */
289#undef HAVE_GTK_FILE_SELECTION_NEW
290
4b411bfe
CY
291/* Define to 1 if you have the `gtk_main' function. */
292#undef HAVE_GTK_MAIN
293
e547b051
J
294/* Define to 1 if you have the `gtk_orientable_set_orientation' function. */
295#undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION
296
297/* Define to 1 if you have the `gtk_widget_get_mapped' function. */
298#undef HAVE_GTK_WIDGET_GET_MAPPED
299
300/* Define to 1 if you have the `gtk_widget_get_sensitive' function. */
301#undef HAVE_GTK_WIDGET_GET_SENSITIVE
302
303/* Define to 1 if you have the `gtk_widget_get_window' function. */
304#undef HAVE_GTK_WIDGET_GET_WINDOW
305
306/* Define to 1 if you have the `gtk_widget_set_has_window' function. */
307#undef HAVE_GTK_WIDGET_SET_HAS_WINDOW
a32e9bfd 308
1e600395
J
309/* Define to 1 if you have the `g_type_init' function. */
310#undef HAVE_G_TYPE_INIT
311
1c9952f8
AS
312/* Define to 1 if netdb.h declares h_errno. */
313#undef HAVE_H_ERRNO
314
ce07fa9a
JV
315/* Define to 1 if using imagemagick. */
316#undef HAVE_IMAGEMAGICK
317
1c9952f8
AS
318/* Define to 1 if you have inet sockets. */
319#undef HAVE_INET_SOCKETS
320
321/* Define to 1 if you have the <inttypes.h> header file. */
322#undef HAVE_INTTYPES_H
323
15e12598
VB
324/* Define to 1 if you have the `isnan' function. */
325#undef HAVE_ISNAN
326
1c9952f8
AS
327/* Define to 1 if you have the jpeg library (-ljpeg). */
328#undef HAVE_JPEG
329
330/* Define to 1 if you have the <kerberosIV/des.h> header file. */
331#undef HAVE_KERBEROSIV_DES_H
332
333/* Define to 1 if you have the <kerberosIV/krb.h> header file. */
334#undef HAVE_KERBEROSIV_KRB_H
335
336/* Define to 1 if you have the <kerberos/des.h> header file. */
337#undef HAVE_KERBEROS_DES_H
338
339/* Define to 1 if you have the <kerberos/krb.h> header file. */
340#undef HAVE_KERBEROS_KRB_H
341
3085237c 342/* Define to 1 if `e_text' is a member of `krb5_error'. */
5c17fc1d
AS
343#undef HAVE_KRB5_ERROR_E_TEXT
344
3085237c 345/* Define to 1 if `text' is a member of `krb5_error'. */
5c17fc1d
AS
346#undef HAVE_KRB5_ERROR_TEXT
347
1c9952f8
AS
348/* Define to 1 if you have the <krb5.h> header file. */
349#undef HAVE_KRB5_H
350
351/* Define to 1 if you have the <krb.h> header file. */
352#undef HAVE_KRB_H
353
8f417b3b
AS
354/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
355#undef HAVE_LANGINFO_CODESET
356
1c9952f8
AS
357/* Define to 1 if you have the `com_err' library (-lcom_err). */
358#undef HAVE_LIBCOM_ERR
359
360/* Define to 1 if you have the `crypto' library (-lcrypto). */
361#undef HAVE_LIBCRYPTO
362
363/* Define to 1 if you have the `des' library (-ldes). */
364#undef HAVE_LIBDES
365
366/* Define to 1 if you have the `des425' library (-ldes425). */
367#undef HAVE_LIBDES425
368
369/* Define to 1 if you have the `dgc' library (-ldgc). */
370#undef HAVE_LIBDGC
371
372/* Define to 1 if you have the `dnet' library (-ldnet). */
373#undef HAVE_LIBDNET
374
375/* Define to 1 if you have the hesiod library (-lhesiod). */
376#undef HAVE_LIBHESIOD
377
378/* Define to 1 if you have the `intl' library (-lintl). */
379#undef HAVE_LIBINTL
380
381/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
382#undef HAVE_LIBK5CRYPTO
383
384/* Define to 1 if you have the `krb' library (-lkrb). */
385#undef HAVE_LIBKRB
386
387/* Define to 1 if you have the `krb4' library (-lkrb4). */
388#undef HAVE_LIBKRB4
389
390/* Define to 1 if you have the `krb5' library (-lkrb5). */
391#undef HAVE_LIBKRB5
392
393/* Define to 1 if you have the `kstat' library (-lkstat). */
394#undef HAVE_LIBKSTAT
395
396/* Define to 1 if you have the `lockfile' library (-llockfile). */
397#undef HAVE_LIBLOCKFILE
398
399/* Define to 1 if you have the `m' library (-lm). */
400#undef HAVE_LIBM
401
402/* Define to 1 if you have the `mail' library (-lmail). */
403#undef HAVE_LIBMAIL
404
405/* Define to 1 if you have the `ncurses' library (-lncurses). */
406#undef HAVE_LIBNCURSES
407
a27152d1 408/* Define to 1 if using libotf. */
45a4b03e
KH
409#undef HAVE_LIBOTF
410
690615f7
DL
411/* Define to 1 if you have the <libpng/png.h> header file. */
412#undef HAVE_LIBPNG_PNG_H
413
1c9952f8
AS
414/* Define to 1 if you have the `pthreads' library (-lpthreads). */
415#undef HAVE_LIBPTHREADS
416
417/* Define to 1 if you have the resolv library (-lresolv). */
418#undef HAVE_LIBRESOLV
419
022c122a
GM
420/* Define to 1 if using SELinux. */
421#undef HAVE_LIBSELINUX
422
1c9952f8
AS
423/* Define to 1 if you have the `Xext' library (-lXext). */
424#undef HAVE_LIBXEXT
425
613c83fc
GM
426/* Define to 1 if you have the libxml library (-lxml2). */
427#undef HAVE_LIBXML2
428
1c9952f8
AS
429/* Define to 1 if you have the `Xmu' library (-lXmu). */
430#undef HAVE_LIBXMU
431
1c9952f8
AS
432/* Define to 1 if you have the <limits.h> header file. */
433#undef HAVE_LIMITS_H
434
435/* Define to 1 if you have the <linux/version.h> header file. */
436#undef HAVE_LINUX_VERSION_H
437
973a76b1
DL
438/* Define to 1 if you have the <locale.h> header file. */
439#undef HAVE_LOCALE_H
440
1fd182f0
PE
441/* Define to 1 if you have the `localtime_r' function. */
442#undef HAVE_LOCALTIME_R
443
1c9952f8
AS
444/* Define to 1 if you have the `logb' function. */
445#undef HAVE_LOGB
446
447/* Define to 1 if you support file names longer than 14 characters. */
448#undef HAVE_LONG_FILE_NAMES
449
450/* Define to 1 if you have the `lrand48' function. */
451#undef HAVE_LRAND48
452
a27152d1 453/* Define to 1 if using libm17n-flt. */
d8d1da59
KH
454#undef HAVE_M17N_FLT
455
1c9952f8
AS
456/* Define to 1 if you have the <machine/soundcard.h> header file. */
457#undef HAVE_MACHINE_SOUNDCARD_H
458
459/* Define to 1 if you have the <mach/mach.h> header file. */
460#undef HAVE_MACH_MACH_H
461
431dab04
JV
462/* Define to 1 if you have the `MagickExportImagePixels' function. */
463#undef HAVE_MAGICKEXPORTIMAGEPIXELS
464
1c9952f8
AS
465/* Define to 1 if you have the <maillock.h> header file. */
466#undef HAVE_MAILLOCK_H
467
f7f3a65f
ST
468/* Define to 1 if you have the <malloc/malloc.h> header file. */
469#undef HAVE_MALLOC_MALLOC_H
470
1c9952f8
AS
471/* Define to 1 if you have the `mblen' function. */
472#undef HAVE_MBLEN
473
474/* Define to 1 if you have the `mbrlen' function. */
475#undef HAVE_MBRLEN
476
477/* Define to 1 if you have the `mbsinit' function. */
478#undef HAVE_MBSINIT
479
973a76b1
DL
480/* Define to 1 if <wchar.h> declares mbstate_t. */
481#undef HAVE_MBSTATE_T
482
710ee5a9
RB
483/* Define to 1 if you have the `memcmp' function. */
484#undef HAVE_MEMCMP
485
973a76b1
DL
486/* Define to 1 if you have the `memcpy' function. */
487#undef HAVE_MEMCPY
488
6bae0ccf
DL
489/* Define to 1 if you have the `memmove' function. */
490#undef HAVE_MEMMOVE
491
1c9952f8
AS
492/* Define to 1 if you have the <memory.h> header file. */
493#undef HAVE_MEMORY_H
494
973a76b1
DL
495/* Define to 1 if you have the `mempcpy' function. */
496#undef HAVE_MEMPCPY
497
44f75c4f
MB
498/* Define to 1 if you have the `memset' function. */
499#undef HAVE_MEMSET
500
1c9952f8
AS
501/* Define to 1 if you have mouse menus. (This is automatic if you use X, but
502 the option to specify it remains.) It is also defined with other window
503 systems that support xmenu.c. */
504#undef HAVE_MENUS
505
506/* Define to 1 if you have the `mkdir' function. */
507#undef HAVE_MKDIR
508
509/* Define to 1 if you have the `mkstemp' function. */
510#undef HAVE_MKSTEMP
511
1c9952f8
AS
512/* Define to 1 if you have a working `mmap' system call. */
513#undef HAVE_MMAP
514
372b4090
GM
515/* Define if you have mouse support. */
516#undef HAVE_MOUSE
517
6bae0ccf
DL
518/* Define to 1 if you have the `mremap' function. */
519#undef HAVE_MREMAP
520
2d2b6695
KS
521/* Define to 1 if you have the <net/if.h> header file. */
522#undef HAVE_NET_IF_H
523
1c9952f8
AS
524/* Define to 1 if you have the <nlist.h> header file. */
525#undef HAVE_NLIST_H
526
edfda783
AR
527/* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on
528 Mac OS X. */
529#undef HAVE_NS
530
3f2d84c7
CY
531/* Define to 1 if libotf has OTF_get_variation_glyphs. */
532#undef HAVE_OTF_GET_VARIATION_GLYPHS
533
dede2792
JD
534/* Define to 1 if personality LINUX32 can be set. */
535#undef HAVE_PERSONALITY_LINUX32
536
1c9952f8
AS
537/* Define to 1 if you have the png library (-lpng). */
538#undef HAVE_PNG
539
690615f7
DL
540/* Define to 1 if you have the <png.h> header file. */
541#undef HAVE_PNG_H
542
543/* Define to 1 if you have the `posix_memalign' function. */
544#undef HAVE_POSIX_MEMALIGN
545
1c9952f8
AS
546/* Define to 1 if you have the `pstat_getdynamic' function. */
547#undef HAVE_PSTAT_GETDYNAMIC
548
9a38524c
JD
549/* Define to 1 if you have the <pthread.h> header file. */
550#undef HAVE_PTHREAD_H
551
6bae0ccf
DL
552/* Define to 1 if you have the <pty.h> header file. */
553#undef HAVE_PTY_H
554
4086de3d
TTN
555/* Define to 1 if you have the <pwd.h> header file. */
556#undef HAVE_PWD_H
557
1c9952f8
AS
558/* Define to 1 if you have the `random' function. */
559#undef HAVE_RANDOM
560
561/* Define to 1 if you have the `recvfrom' function. */
562#undef HAVE_RECVFROM
563
564/* Define to 1 if you have the `rename' function. */
565#undef HAVE_RENAME
566
5d9c8a34 567/* Define to 1 if res_init is available. */
1c9952f8
AS
568#undef HAVE_RES_INIT
569
1c9952f8
AS
570/* Define to 1 if you have the `rint' function. */
571#undef HAVE_RINT
572
573/* Define to 1 if you have the `rmdir' function. */
574#undef HAVE_RMDIR
575
f68c9a7b
GM
576/* Define to 1 if using librsvg. */
577#undef HAVE_RSVG
578
1c9952f8
AS
579/* Define to 1 if you have the `select' function. */
580#undef HAVE_SELECT
581
582/* Define to 1 if you have the `sendto' function. */
583#undef HAVE_SENDTO
584
585/* Define to 1 if you have the `setitimer' function. */
586#undef HAVE_SETITIMER
587
588/* Define to 1 if you have the `setlocale' function. */
589#undef HAVE_SETLOCALE
590
591/* Define to 1 if you have the `setpgid' function. */
592#undef HAVE_SETPGID
593
594/* Define to 1 if you have the `setrlimit' function. */
595#undef HAVE_SETRLIMIT
596
597/* Define to 1 if you have the `setsid' function. */
598#undef HAVE_SETSID
599
600/* Define to 1 if you have the `setsockopt' function. */
601#undef HAVE_SETSOCKOPT
602
1c9952f8
AS
603/* Define to 1 if you have the `shutdown' function. */
604#undef HAVE_SHUTDOWN
605
6bae0ccf
DL
606/* Define to 1 if the system has the type `size_t'. */
607#undef HAVE_SIZE_T
608
a46007e9
GM
609/* Define to 1 if you have sound support. */
610#undef HAVE_SOUND
611
1c9952f8
AS
612/* Define to 1 if you have the <soundcard.h> header file. */
613#undef HAVE_SOUNDCARD_H
614
615/* Define to 1 if `speed_t' is declared by <termios.h>. */
616#undef HAVE_SPEED_T
617
618/* Define to 1 if you have the <stdint.h> header file. */
619#undef HAVE_STDINT_H
620
621/* Define to 1 if you have the <stdio_ext.h> header file. */
622#undef HAVE_STDIO_EXT_H
623
624/* Define to 1 if you have the <stdlib.h> header file. */
625#undef HAVE_STDLIB_H
626
8966b757
AS
627/* Define to 1 if you have the `strchr' function. */
628#undef HAVE_STRCHR
629
1c9952f8
AS
630/* Define to 1 if you have the `strerror' function. */
631#undef HAVE_STRERROR
632
633/* Define to 1 if you have the `strftime' function. */
634#undef HAVE_STRFTIME
635
636/* Define to 1 if you have the <strings.h> header file. */
637#undef HAVE_STRINGS_H
638
639/* Define to 1 if you have the <string.h> header file. */
640#undef HAVE_STRING_H
641
8966b757
AS
642/* Define to 1 if you have the `strrchr' function. */
643#undef HAVE_STRRCHR
644
1c9952f8
AS
645/* Define to 1 if you have the `strsignal' function. */
646#undef HAVE_STRSIGNAL
647
3085237c 648/* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
96f3a036
DL
649#undef HAVE_STRUCT_IFREQ_IFR_ADDR
650
3085237c 651/* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
96f3a036
DL
652#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
653
3085237c 654/* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
96f3a036
DL
655#undef HAVE_STRUCT_IFREQ_IFR_FLAGS
656
3085237c 657/* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
96f3a036
DL
658#undef HAVE_STRUCT_IFREQ_IFR_HWADDR
659
3085237c 660/* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
96f3a036
DL
661#undef HAVE_STRUCT_IFREQ_IFR_NETMASK
662
3085237c 663/* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
1c9952f8
AS
664#undef HAVE_STRUCT_NLIST_N_UN_N_NAME
665
3085237c 666/* Define to 1 if `tm_zone' is a member of `struct tm'. */
1c9952f8
AS
667#undef HAVE_STRUCT_TM_TM_ZONE
668
669/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
670#undef HAVE_STRUCT_UTIMBUF
671
190956b3
YM
672/* Define to 1 if you have the `sync' function. */
673#undef HAVE_SYNC
674
1c9952f8
AS
675/* Define to 1 if you have the `sysinfo' function. */
676#undef HAVE_SYSINFO
677
6bae0ccf
DL
678/* Define to 1 if you have the <sys/mman.h> header file. */
679#undef HAVE_SYS_MMAN_H
680
681/* Define to 1 if you have the <sys/param.h> header file. */
682#undef HAVE_SYS_PARAM_H
683
22044edf
DL
684/* Define to 1 if you have the <sys/resource.h> header file. */
685#undef HAVE_SYS_RESOURCE_H
686
1c9952f8
AS
687/* Define to 1 if you have the <sys/select.h> header file. */
688#undef HAVE_SYS_SELECT_H
689
7862d3a8
AS
690/* Define to 1 if you have the <sys/socket.h> header file. */
691#undef HAVE_SYS_SOCKET_H
692
1c9952f8
AS
693/* Define to 1 if you have the <sys/soundcard.h> header file. */
694#undef HAVE_SYS_SOUNDCARD_H
695
696/* Define to 1 if you have the <sys/stat.h> header file. */
697#undef HAVE_SYS_STAT_H
698
699/* Define to 1 if you have the <sys/systeminfo.h> header file. */
700#undef HAVE_SYS_SYSTEMINFO_H
701
1c9952f8
AS
702/* Define to 1 if you have the <sys/time.h> header file. */
703#undef HAVE_SYS_TIME_H
704
705/* Define to 1 if you have the <sys/types.h> header file. */
706#undef HAVE_SYS_TYPES_H
707
708/* Define to 1 if you have the <sys/un.h> header file. */
709#undef HAVE_SYS_UN_H
710
3bb9abc8
ST
711/* Define to 1 if you have the <sys/utsname.h> header file. */
712#undef HAVE_SYS_UTSNAME_H
713
22044edf
DL
714/* Define to 1 if you have the <sys/vlimit.h> header file. */
715#undef HAVE_SYS_VLIMIT_H
716
1c9952f8
AS
717/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
718#undef HAVE_SYS_WAIT_H
719
d54ae3d8
JD
720/* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
721#undef HAVE_SYS__MBSTATE_T_H
722
1c9952f8
AS
723/* Define to 1 if you have the <term.h> header file. */
724#undef HAVE_TERM_H
725
726/* Define to 1 if you have the tiff library (-ltiff). */
727#undef HAVE_TIFF
728
729/* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
730#undef HAVE_TIMEVAL
731
732/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
733#undef HAVE_TM_GMTOFF
734
735/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
736 `HAVE_STRUCT_TM_TM_ZONE' instead. */
737#undef HAVE_TM_ZONE
738
739/* Define to 1 if you have the `touchlock' function. */
740#undef HAVE_TOUCHLOCK
741
742/* Define to 1 if you don't have `tm_zone' but do have the external array
743 `tzname'. */
744#undef HAVE_TZNAME
745
746/* Define to 1 if you have the `tzset' function. */
747#undef HAVE_TZSET
748
749/* Define to 1 if you have the `ualarm' function. */
750#undef HAVE_UALARM
751
752/* Define to 1 if you have the <unistd.h> header file. */
753#undef HAVE_UNISTD_H
754
3d608a86
J
755/* Define to 1 if you have the <util.h> header file. */
756#undef HAVE_UTIL_H
757
1c9952f8
AS
758/* Define to 1 if you have the `utimes' function. */
759#undef HAVE_UTIMES
760
761/* Define to 1 if you have the <utime.h> header file. */
762#undef HAVE_UTIME_H
763
5e4fe3f9
CY
764/* Define to 1 if you have the <utmp.h> header file. */
765#undef HAVE_UTMP_H
766
1c9952f8
AS
767/* Define to 1 if you have the `vfork' function. */
768#undef HAVE_VFORK
769
770/* Define to 1 if you have the <vfork.h> header file. */
771#undef HAVE_VFORK_H
772
1fd182f0
PE
773/* Define if you have the 'wchar_t' type. */
774#undef HAVE_WCHAR_T
775
372b4090
GM
776/* Define if you have a window system. */
777#undef HAVE_WINDOW_SYSTEM
778
1c9952f8
AS
779/* Define to 1 if `fork' works. */
780#undef HAVE_WORKING_FORK
781
782/* Define to 1 if `vfork' works. */
783#undef HAVE_WORKING_VFORK
784
785/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
786 expects to use version 10. */
787#undef HAVE_X11
788
1c9952f8
AS
789/* Define to 1 if you have the X11R6 or newer version of Xlib. */
790#undef HAVE_X11R6
791
a46007e9
GM
792/* Define if you have usable X11R6-style XIM support. */
793#undef HAVE_X11R6_XIM
794
1c9952f8
AS
795/* Define to 1 if you have the X11R6 or newer version of Xt. */
796#undef HAVE_X11XTR6
797
798/* Define to 1 if you have the Xaw3d library (-lXaw3d). */
799#undef HAVE_XAW3D
800
9d89ffd0
JD
801/* Define to 1 if you have the Xft library. */
802#undef HAVE_XFT
803
18542f1a
RS
804/* Define to 1 if XIM is available */
805#undef HAVE_XIM
806
1c9952f8
AS
807/* Define to 1 if you have the XkbGetKeyboard function. */
808#undef HAVE_XKBGETKEYBOARD
809
810/* Define to 1 if you have the Xpm libary (-lXpm). */
811#undef HAVE_XPM
812
813/* Define to 1 if you have the `XrmSetDatabase' function. */
814#undef HAVE_XRMSETDATABASE
815
816/* Define to 1 if you have the `XScreenNumberOfScreen' function. */
817#undef HAVE_XSCREENNUMBEROFSCREEN
818
819/* Define to 1 if you have the `XScreenResourceString' function. */
820#undef HAVE_XSCREENRESOURCESTRING
821
822/* Define to 1 if you have the `XSetWMProtocols' function. */
823#undef HAVE_XSETWMPROTOCOLS
824
a46007e9
GM
825/* Define if you have usable i18n support. */
826#undef HAVE_X_I18N
827
1c9952f8
AS
828/* Define to 1 if you have the SM library (-lSM). */
829#undef HAVE_X_SM
830
831/* Define to 1 if you want to use the X window system. */
832#undef HAVE_X_WINDOWS
833
2018939f
AS
834/* Define to 1 if you have the `__builtin_unwind_init' function. */
835#undef HAVE___BUILTIN_UNWIND_INIT
836
dcc19aac
AS
837/* Define to 1 if you have the `__executable_start' function. */
838#undef HAVE___EXECUTABLE_START
839
1c9952f8
AS
840/* Define to 1 if you have the `__fpending' function. */
841#undef HAVE___FPENDING
842
843/* Define to support using a Hesiod database to find the POP server. */
844#undef HESIOD
845
846/* Define to support Kerberos-authenticated POP mail retrieval. */
847#undef KERBEROS
848
849/* Define to use Kerberos 5 instead of Kerberos 4. */
850#undef KERBEROS5
851
1c9952f8
AS
852/* Define to 1 if localtime caches TZ. */
853#undef LOCALTIME_CACHE
854
f70b938a
GM
855/* String giving fallback POP mail host. */
856#undef MAILHOST
857
858/* Define to unlink, rather than empty, mail spool after reading. */
859#undef MAIL_UNLINK_SPOOL
860
4e569696
GM
861/* Define if the mailer uses flock to interlock the mail spool. */
862#undef MAIL_USE_FLOCK
863
864/* Define if the mailer uses lockf to interlock the mail spool. */
865#undef MAIL_USE_LOCKF
866
f70b938a
GM
867/* Define to support MMDF mailboxes in movemail. */
868#undef MAIL_USE_MMDF
869
1c9952f8
AS
870/* Define to support POP mail retrieval. */
871#undef MAIL_USE_POP
872
873/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
874 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
875#undef NLIST_NAME_UNION
876
1c9952f8
AS
877/* Define to 1 if you don't have struct exception in math.h. */
878#undef NO_MATHERR
879
743c80a7
PE
880/* Define to 1 if your C compiler doesn't accept -c and -o together. */
881#undef NO_MINUS_C_MINUS_O
882
a53cfbe5
JD
883/* Define to 1 if `NSInteger' is defined. */
884#undef NS_HAVE_NSINTEGER
885
edfda783
AR
886/* Define to 1 if you are using NS windowing under MacOS X. */
887#undef NS_IMPL_COCOA
888
889/* Define to 1 if you are using NS windowing under GNUstep. */
890#undef NS_IMPL_GNUSTEP
891
ebbc2619
GM
892/* Define if the C compiler is the linker. */
893#undef ORDINARY_LINK
894
743c80a7
PE
895/* Name of package */
896#undef PACKAGE
897
1c9952f8
AS
898/* Define to the address where bug reports for this package should be sent. */
899#undef PACKAGE_BUGREPORT
900
901/* Define to the full name of this package. */
902#undef PACKAGE_NAME
903
904/* Define to the full name and version of this package. */
905#undef PACKAGE_STRING
906
907/* Define to the one symbol short name of this package. */
908#undef PACKAGE_TARNAME
909
3085237c
DN
910/* Define to the home page for this package. */
911#undef PACKAGE_URL
912
1c9952f8
AS
913/* Define to the version of this package. */
914#undef PACKAGE_VERSION
915
916/* Define as `void' if your compiler accepts `void *'; otherwise define as
917 `char'. */
918#undef POINTER_TYPE
919
920/* Define to 1 if the C compiler supports function prototypes. */
921#undef PROTOTYPES
922
923/* Define REL_ALLOC if you want to use the relocating allocator for buffer
924 space. */
925#undef REL_ALLOC
926
927/* Define as the return type of signal handlers (`int' or `void'). */
928#undef RETSIGTYPE
6c4f352f 929
1c9952f8
AS
930/* If using the C implementation of alloca, define if you know the
931 direction of stack growth for your system; otherwise it will be
ed1281ec 932 automatically deduced at runtime.
52dbaac8
PE
933 STACK_DIRECTION > 0 => grows toward higher addresses
934 STACK_DIRECTION < 0 => grows toward lower addresses
935 STACK_DIRECTION = 0 => direction of growth unknown */
1c9952f8 936#undef STACK_DIRECTION
6c4f352f 937
1c9952f8
AS
938/* Define to 1 if you have the ANSI C header files. */
939#undef STDC_HEADERS
7e1fc708 940
1c9952f8
AS
941/* Define to 1 on System V Release 4. */
942#undef SVR4
cf91f754 943
a51f4969
SM
944/* Process async input synchronously. */
945#undef SYNC_INPUT
946
e7586c7a
GM
947/* Define to use system malloc. */
948#undef SYSTEM_MALLOC
949
ca63fca5
GM
950/* Define to 1 if you use terminfo instead of termcap. */
951#undef TERMINFO
952
1c9952f8
AS
953/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
954#undef TIME_WITH_SYS_TIME
3689ff14 955
1c9952f8
AS
956/* Define to 1 if your <sys/time.h> declares `struct tm'. */
957#undef TM_IN_SYS_TIME
6b910f7d 958
9292328f
GM
959/* Define to 1 for Encore UMAX. */
960#undef UMAX
961
962/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
963 <sys/cpustats.h>. */
964#undef UMAX4_3
965
a51f4969
SM
966/* Define to 1 if using GTK. */
967#undef USE_GTK
968
d9170db5
DN
969/* Define this to use a lisp union for the Lisp_Object data type. */
970#undef USE_LISP_UNION_TYPE
971
8a7d9183
SM
972/* Define to 1 if using the Lucid X toolkit. */
973#undef USE_LUCID
974
e7586c7a
GM
975/* Define to use mmap to allocate buffer text. */
976#undef USE_MMAP_FOR_BUFFERS
977
8a7d9183
SM
978/* Define to 1 if using the Motif X toolkit. */
979#undef USE_MOTIF
980
1c9952f8
AS
981/* Define to 1 if we should use toolkit scroll bars. */
982#undef USE_TOOLKIT_SCROLL_BARS
cf91f754 983
1c9952f8
AS
984/* Define to 1 if we should use XIM, if it is available. */
985#undef USE_XIM
46266d2b 986
1c9952f8
AS
987/* Define to 1 if using an X toolkit. */
988#undef USE_X_TOOLKIT
6c4f352f 989
743c80a7
PE
990/* Version number of package */
991#undef VERSION
992
671d409f
AS
993/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
994 significant byte first (like Motorola and SPARC, unlike Intel). */
995#if defined AC_APPLE_UNIVERSAL_BUILD
996# if defined __BIG_ENDIAN__
997# define WORDS_BIGENDIAN 1
998# endif
999#else
1000# ifndef WORDS_BIGENDIAN
1001# undef WORDS_BIGENDIAN
1002# endif
1003#endif
1004
29771094
DN
1005/* Define this to check for malloc buffer overrun. */
1006#undef XMALLOC_OVERRUN_CHECK
1007
d54ae3d8
JD
1008/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1009 XPointer or XPointer*. */
1010#undef XRegisterIMInstantiateCallback_arg6
1011
1c9952f8
AS
1012/* Number of bits in a file offset, on hosts where this is settable. */
1013#undef _FILE_OFFSET_BITS
c91b3402 1014
1c9952f8
AS
1015/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1016#undef _LARGEFILE_SOURCE
07ba43a2 1017
1c9952f8
AS
1018/* Define for large files, on AIX-style hosts. */
1019#undef _LARGE_FILES
43c70fcf 1020
a51f4969
SM
1021/* Define to 1 if on MINIX. */
1022#undef _MINIX
1023
1024/* Define to 2 if the system does not provide POSIX.1 features except with
1025 this defined. */
1026#undef _POSIX_1_SOURCE
1027
1028/* Define to 1 if you need to in order for `stat' and other things to work. */
1029#undef _POSIX_SOURCE
1030
1fd182f0
PE
1031/* Define to 500 only on HP-UX. */
1032#undef _XOPEN_SOURCE
1033
1034/* Enable extensions on AIX 3, Interix. */
1035#ifndef _ALL_SOURCE
1036# undef _ALL_SOURCE
1037#endif
1038/* Enable GNU extensions on systems that have them. */
1039#ifndef _GNU_SOURCE
1040# undef _GNU_SOURCE
1041#endif
1042/* Enable threading extensions on Solaris. */
1043#ifndef _POSIX_PTHREAD_SEMANTICS
1044# undef _POSIX_PTHREAD_SEMANTICS
1045#endif
1046/* Enable extensions on HP NonStop. */
1047#ifndef _TANDEM_SOURCE
1048# undef _TANDEM_SOURCE
1049#endif
1050/* Enable general extensions on Solaris. */
1051#ifndef __EXTENSIONS__
1052# undef __EXTENSIONS__
1053#endif
1054
1055
52dbaac8
PE
1056/* Define to rpl_ if the getopt replacement functions and variables should be
1057 used. */
1058#undef __GETOPT_PREFIX
1059
1c9952f8
AS
1060/* Define like PROTOTYPES; this can be used by system headers. */
1061#undef __PROTOTYPES
43c70fcf 1062
22044edf
DL
1063/* Define to compiler's equivalent of C99 restrict keyword in array
1064 declarations. Define as empty for no equivalent. */
1065#undef __restrict_arr
1066
1c9952f8
AS
1067/* Define to the used machine dependent file. */
1068#undef config_machfile
43c70fcf 1069
1c9952f8
AS
1070/* Define to the used os dependent file. */
1071#undef config_opsysfile
43c70fcf 1072
1c9952f8
AS
1073/* Define to empty if `const' does not conform to ANSI C. */
1074#undef const
43c70fcf 1075
1fd182f0
PE
1076/* Define to `__inline__' or `__inline' if that's what the C compiler
1077 calls it, or to nothing if 'inline' is not supported under any name. */
1078#ifndef __cplusplus
1079#undef inline
1080#endif
1081
a451f14b
PE
1082/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1083 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1084 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1085 __APPLE__ && __MACH__ test for MacOS X.
1086 __APPLE_CC__ tests for the Apple compiler and its version.
1087 __STDC_VERSION__ tests for the C99 mode. */
1088#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1089# define __GNUC_STDC_INLINE__ 1
1090#endif
1091
973a76b1
DL
1092/* Define to a type if <wchar.h> does not define. */
1093#undef mbstate_t
1094
1c9952f8
AS
1095/* Define to `int' if <sys/types.h> does not define. */
1096#undef pid_t
43c70fcf 1097
1fd182f0
PE
1098/* Define to the equivalent of the C99 'restrict' keyword, or to
1099 nothing if this is not supported. Do not define if restrict is
1100 supported directly. */
1101#undef restrict
1102/* Work around a bug in Sun C++: it does not support _Restrict or
1103 __restrict__, even though the corresponding Sun C compiler ends up with
1104 "#define restrict _Restrict" or "#define restrict __restrict__" in the
1105 previous line. Perhaps some future version of Sun C++ will work with
1106 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1107#if defined __SUNPRO_CC && !defined __RESTRICT
1108# define _Restrict
1109# define __restrict__
1110#endif
1111
2018939f
AS
1112/* Define to `unsigned int' if <sys/types.h> does not define. */
1113#undef size_t
1114
44f75c4f
MB
1115/* Define to any substitute for sys_siglist. */
1116#undef sys_siglist
1117
a451f14b
PE
1118/* Define as a marker that can be attached to declarations that might not
1119 be used. This helps to reduce warnings, such as from
1120 GCC -Wunused-parameter. */
1121#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1122# define _GL_UNUSED __attribute__ ((__unused__))
1123#else
1124# define _GL_UNUSED
1125#endif
1126/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
1127 is a misnomer outside of parameter lists. */
1128#define _UNUSED_PARAMETER_ _GL_UNUSED
1129
1130
1c9952f8
AS
1131/* Define as `fork' if `vfork' does not work. */
1132#undef vfork
5b01f1a9 1133
1c9952f8
AS
1134/* Define to empty if the keyword `volatile' does not work. Warning: valid
1135 code using `volatile' can become incorrect without. Disable with care. */
1136#undef volatile
9b3bf387 1137
0f0ed96e 1138
6c4f352f
JB
1139/* Define AMPERSAND_FULL_NAME if you use the convention
1140 that & in the full name stands for the login id. */
0b292416
RS
1141/* Turned on June 1996 supposing nobody will mind it. */
1142#define AMPERSAND_FULL_NAME
783f85c7 1143
372b4090 1144/* If using GNU, then support inline function declarations. */
308a4793
DL
1145/* Don't try to switch on inline handling as detected by AC_C_INLINE
1146 generally, because even if non-gcc compilers accept `inline', they
1147 may reject `extern inline'. */
33726611 1148#if defined (__GNUC__)
b8145012
JA
1149#define INLINE __inline__
1150#else
1151#define INLINE
1152#endif
1153
67931678
EZ
1154/* `subprocesses' should be defined if you want to
1155 have code for asynchronous subprocesses
1156 (as used in M-x compile and M-x shell).
1157 Only MSDOS does not support this (it overrides
1158 this in its config_opsysfile below). */
1159
1160#define subprocesses
1161
1c9952f8 1162/* Include the os and machine dependent files. */
783f85c7 1163#include config_opsysfile
d6a003a8
AS
1164#ifdef config_machfile
1165# include config_machfile
1166#endif
5e1ad1f7 1167
3f2d84c7 1168/* GNUstep needs a bit more pure memory. Of the existing knobs,
4abfb753
AS
1169 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
1170 (There is probably a better place to do this, but right now the
1171 Cocoa side does this in s/darwin.h and we cannot parallel this
1172 exactly since GNUstep is multi-OS. */
1173#if defined HAVE_NS && defined NS_IMPL_GNUSTEP
c5e2611e 1174# define SYSTEM_PURESIZE_EXTRA 30000
4abfb753 1175#endif
edfda783 1176
cf91f754
JB
1177/* SIGTYPE is the macro we actually use. */
1178#ifndef SIGTYPE
1179#define SIGTYPE RETSIGTYPE
1dc4f30a
JB
1180#endif
1181
d26a6872
RS
1182#ifdef emacs /* Don't do this for lib-src. */
1183/* Tell regex.c to use a type compatible with Emacs. */
11257d61 1184#define RE_TRANSLATE_TYPE Lisp_Object
44eba967 1185#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
19b1f29a
SM
1186#ifdef make_number
1187/* If make_number is a macro, use it. */
1188#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1189#else
1190/* If make_number is a function, avoid it. */
1191#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
1192#endif
d26a6872
RS
1193#endif
1194
d54ae3d8
JD
1195#define my_strftime nstrftime /* for strftime.c */
1196
2017bc3d 1197/* These default definitions are good for almost all machines.
f11c1c14 1198 The exceptions override them in m/MACHINE.h. */
2017bc3d
RS
1199
1200#ifndef BITS_PER_CHAR
1201#define BITS_PER_CHAR 8
1202#endif
1203
1204#ifndef BITS_PER_SHORT
1205#define BITS_PER_SHORT 16
1206#endif
1207
1208/* Note that lisp.h uses this in a preprocessor conditional, so it
1209 would not work to use sizeof. That being so, we do all of them
1210 without sizeof, for uniformity's sake. */
1211#ifndef BITS_PER_INT
1212#define BITS_PER_INT 32
1213#endif
1214
1215#ifndef BITS_PER_LONG
68c45bf0
PE
1216#ifdef _LP64
1217#define BITS_PER_LONG 64
1218#else
2017bc3d
RS
1219#define BITS_PER_LONG 32
1220#endif
68c45bf0 1221#endif
d2e9bfae 1222
a46007e9
GM
1223/* Define if the compiler supports function prototypes. It may do so but
1224 not define __STDC__ (e.g. DEC C by default) or may define it as zero. */
308a4793 1225#undef PROTOTYPES
308a4793 1226
78a7a068 1227#include <string.h>
68c45bf0 1228#include <stdlib.h>
b282c2e7 1229
8923d617
DN
1230#ifdef HAVE_ALLOCA_H
1231# include <alloca.h>
1232#elif defined __GNUC__
1233# define alloca __builtin_alloca
1234#elif defined _AIX
1235# define alloca __alloca
1236#else
1237# include <stddef.h>
1238# ifdef __cplusplus
1239extern "C"
1240# endif
1241void *alloca (size_t);
1242#endif
b282c2e7 1243
6bae0ccf 1244#ifndef HAVE_SIZE_T
11e8c205 1245typedef unsigned size_t;
6bae0ccf 1246#endif
25e9f929 1247
8966b757
AS
1248#ifndef HAVE_STRCHR
1249#define strchr(a, b) index (a, b)
25e9f929
GM
1250#endif
1251
8966b757
AS
1252#ifndef HAVE_STRRCHR
1253#define strrchr(a, b) rindex (a, b)
25e9f929 1254#endif
e0b8c689 1255
0813074c
GM
1256#if defined __GNUC__ && (__GNUC__ > 2 \
1257 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
86014a26
GM
1258#define NO_RETURN __attribute__ ((__noreturn__))
1259#else
1260#define NO_RETURN /* nothing */
1261#endif
1c9952f8 1262
4777478a
DN
1263#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
1264#define NO_INLINE __attribute__((noinline))
1265#else
1266#define NO_INLINE
1267#endif
1268
42c8bc9b
DN
1269#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
1270#define EXTERNALLY_VISIBLE __attribute__((externally_visible))
1271#else
1272#define EXTERNALLY_VISIBLE
1273#endif
1274
4777478a
DN
1275/* Some versions of GNU/Linux define noinline in their headers. */
1276#ifdef noinline
1277#undef noinline
1278#endif
1279
22044edf
DL
1280/* These won't be used automatically yet. We also need to know, at least,
1281 that the stack is continuous. */
1282#ifdef __GNUC__
1283# ifndef GC_SETJMP_WORKS
35a20d6c 1284 /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */
22044edf
DL
1285# define GC_SETJMP_WORKS 1
1286# endif
1287# ifndef GC_LISP_OBJECT_ALIGNMENT
1288# define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
1289# endif
1290#endif
1291
22044edf
DL
1292#endif /* EMACS_CONFIG_H */
1293
177c0ea7 1294/*
22044edf 1295Local Variables:
6bae0ccf
DL
1296mode: c
1297End:
1298*/
1299