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