1 /* src/config.in. Generated from configure.in by autoheader. */
3 /* GNU Emacs site configuration template file.
5 Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2011
6 Free Software Foundation, Inc.
8 This file is part of GNU Emacs.
10 GNU Emacs is free software: you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
15 GNU Emacs is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24 /* No code in Emacs #includes config.h twice, but some bits of code
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
31 /* Define if building universal (internal helper macro) */
32 #undef AC_APPLE_UNIVERSAL_BUILD
34 /* Define to the number of bits in type 'ptrdiff_t'. */
35 #undef BITSIZEOF_PTRDIFF_T
37 /* Define to the number of bits in type 'sig_atomic_t'. */
38 #undef BITSIZEOF_SIG_ATOMIC_T
40 /* Define to the number of bits in type 'size_t'. */
41 #undef BITSIZEOF_SIZE_T
43 /* Define to the number of bits in type 'wchar_t'. */
44 #undef BITSIZEOF_WCHAR_T
46 /* Define to the number of bits in type 'wint_t'. */
47 #undef BITSIZEOF_WINT_T
49 /* Define if Emacs cannot be dumped on your system. */
52 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
53 systems. This function is required for `alloca.c' support on those systems.
55 #undef CRAY_STACKSEG_END
57 /* Define to 1 if using `alloca.c'. */
60 /* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
63 /* Define to 1 if you are using the GNU C Library. */
64 #undef DOUG_LEA_MALLOC
66 /* Define to the canonical Emacs configuration name. */
67 #undef EMACS_CONFIGURATION
69 /* Define to the options passed to configure. */
70 #undef EMACS_CONFIG_OPTIONS
72 /* Enable expensive run-time checking of data types? */
73 #undef ENABLE_CHECKING
75 /* Define this to check for errors in cons list. */
76 #undef GC_CHECK_CONS_LIST
78 /* Define this temporarily to hunt a bug. If defined, the size of strings is
79 redundantly recorded in sdata structures so that it can be compared to the
80 sizes recorded in Lisp strings. */
81 #undef GC_CHECK_STRING_BYTES
83 /* Define this to check the string free list. */
84 #undef GC_CHECK_STRING_FREE_LIST
86 /* Define this to check for short string overrun. */
87 #undef GC_CHECK_STRING_OVERRUN
89 /* Define to 1 if the `getpgrp' function requires zero arguments. */
92 /* Define to 1 if gettimeofday accepts only one argument. */
93 #undef GETTIMEOFDAY_ONE_ARGUMENT
95 /* Define to make the limit macros in <stdint.h> visible. */
96 #undef GL_TRIGGER_STDC_LIMIT_MACROS
98 /* Define to 1 if you want to use the GNU memory allocator. */
101 /* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
102 #undef HAVE_AIX_SMT_EXP
104 /* Define to 1 if you have the `alarm' function. */
107 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
108 may be supplied by this distribution. */
111 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
115 /* Define to 1 if ALSA is available. */
118 /* Define to 1 if GCC-style __attribute__ ((__aligned__ (expr))) works. */
119 #undef HAVE_ATTRIBUTE_ALIGNED
121 /* Define to 1 if strtold conforms to C99. */
122 #undef HAVE_C99_STRTOLD
124 /* Define to 1 if you have the `cbrt' function. */
127 /* Define to 1 if you have the `cfmakeraw' function. */
128 #undef HAVE_CFMAKERAW
130 /* Define to 1 if you have the `cfsetspeed' function. */
131 #undef HAVE_CFSETSPEED
133 /* Define to 1 if you have the `closedir' function. */
136 /* Define to 1 if you have the <coff.h> header file. */
139 /* Define to 1 if you have the <com_err.h> header file. */
140 #undef HAVE_COM_ERR_H
142 /* Define to 1 if you have the `copysign' function. */
145 /* Define to 1 if using D-Bus. */
148 /* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */
149 #undef HAVE_DBUS_WATCH_GET_UNIX_FD
151 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
153 #undef HAVE_DECL_GETENV
155 /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
157 #undef HAVE_DECL_LOCALTIME_R
159 /* Define to 1 if you have the declaration of `strmode', and to 0 if you
161 #undef HAVE_DECL_STRMODE
163 /* Define to 1 if you have the declaration of `strtoull', and to 0 if you
165 #undef HAVE_DECL_STRTOULL
167 /* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
169 #undef HAVE_DECL_STRTOUMAX
171 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
173 #undef HAVE_DECL_SYS_SIGLIST
175 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
177 #undef HAVE_DECL_TZNAME
179 /* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
181 #undef HAVE_DECL___SYS_SIGLIST
183 /* Define to 1 if you have the <des.h> header file. */
186 /* Define to 1 if dynamic ptys are supported. */
189 /* Define to 1 if you have the `difftime' function. */
192 /* Define to 1 if you have the <dirent.h> header file. */
195 /* Define to 1 if you have the `dup2' function. */
198 /* Define to 1 if you have the `euidaccess' function. */
199 #undef HAVE_EUIDACCESS
201 /* Define to 1 if you have the <fcntl.h> header file. */
204 /* Define to 1 if you have the `fmod' function. */
207 /* Define to 1 if you have the `fork' function. */
210 /* Define to 1 if you have the `fpathconf' function. */
211 #undef HAVE_FPATHCONF
213 /* Define to 1 if using the freetype and fontconfig libraries. */
216 /* Define to 1 if you have the `frexp' function. */
219 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
222 /* Define to 1 if you have the `fsync' function. */
225 /* Define to 1 if you have the `ftime' function. */
228 /* Define to 1 if you have the `gai_strerror' function. */
229 #undef HAVE_GAI_STRERROR
231 /* Define to 1 if using GConf. */
234 /* Define to 1 if you have the `getaddrinfo' function. */
235 #undef HAVE_GETADDRINFO
237 /* Define to 1 if you have the `getcwd' function. */
240 /* Define to 1 if you have the `getdelim' function. */
243 /* Define to 1 if you have the `getdomainname' function. */
244 #undef HAVE_GETDOMAINNAME
246 /* Define to 1 if you have the `gethostname' function. */
247 #undef HAVE_GETHOSTNAME
249 /* Define to 1 if you have the `getline' function. */
252 /* Define to 1 if you have the <getopt.h> header file. */
255 /* Define to 1 if you have the `getopt_long_only' function. */
256 #undef HAVE_GETOPT_LONG_ONLY
258 /* Define to 1 if you have the `getpagesize' function. */
259 #undef HAVE_GETPAGESIZE
261 /* Define to 1 if you have the `getpeername' function. */
262 #undef HAVE_GETPEERNAME
264 /* Define to 1 if you have the `getpt' function. */
267 /* Define to 1 if you have the `getrlimit' function. */
268 #undef HAVE_GETRLIMIT
270 /* Define to 1 if you have the `getrusage' function. */
271 #undef HAVE_GETRUSAGE
273 /* Define to 1 if you have the `getsockname' function. */
274 #undef HAVE_GETSOCKNAME
276 /* Define to 1 if you have the `getsockopt' function. */
277 #undef HAVE_GETSOCKOPT
279 /* Define to 1 if you have the `gettimeofday' function. */
280 #undef HAVE_GETTIMEOFDAY
282 /* Define to 1 if you have the `getwd' function. */
285 /* Define to 1 if you have the `get_current_dir_name' function. */
286 #undef HAVE_GET_CURRENT_DIR_NAME
288 /* Define to 1 if you have a gif (or ungif) library. */
291 /* Define if using GnuTLS. */
294 /* Define if using GnuTLS certificate verification callbacks. */
295 #undef HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY
297 /* Define to 1 if you have the `gnutls_certificate_set_verify_function'
299 #undef HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION
301 /* Define to 1 if you have the gpm library (-lgpm). */
304 /* Define to 1 if you have the `grantpt' function. */
307 /* Define to 1 if using GSettings. */
308 #undef HAVE_GSETTINGS
310 /* Define to 1 if using GTK 3 or later. */
313 /* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */
314 #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE
316 /* Define to 1 if you have GTK and pthread (-lpthread). */
317 #undef HAVE_GTK_AND_PTHREAD
319 /* Define to 1 if you have the `gtk_dialog_get_action_area' function. */
320 #undef HAVE_GTK_DIALOG_GET_ACTION_AREA
322 /* Define to 1 if you have the `gtk_file_selection_new' function. */
323 #undef HAVE_GTK_FILE_SELECTION_NEW
325 /* Define to 1 if you have the `gtk_main' function. */
328 /* Define to 1 if you have the `gtk_orientable_set_orientation' function. */
329 #undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION
331 /* Define to 1 if you have the `gtk_widget_get_mapped' function. */
332 #undef HAVE_GTK_WIDGET_GET_MAPPED
334 /* Define to 1 if you have the `gtk_widget_get_sensitive' function. */
335 #undef HAVE_GTK_WIDGET_GET_SENSITIVE
337 /* Define to 1 if you have the `gtk_widget_get_window' function. */
338 #undef HAVE_GTK_WIDGET_GET_WINDOW
340 /* Define to 1 if you have the `gtk_widget_set_has_window' function. */
341 #undef HAVE_GTK_WIDGET_SET_HAS_WINDOW
343 /* Define to 1 if you have the `g_type_init' function. */
344 #undef HAVE_G_TYPE_INIT
346 /* Define to 1 if netdb.h declares h_errno. */
349 /* Define to 1 if using imagemagick. */
350 #undef HAVE_IMAGEMAGICK
352 /* Define to 1 if you have inet sockets. */
353 #undef HAVE_INET_SOCKETS
355 /* Define to 1 if you have the <inttypes.h> header file. */
356 #undef HAVE_INTTYPES_H
358 /* Define to 1 if you have the `isnan' function. */
361 /* Define to 1 if you have the jpeg library (-ljpeg). */
364 /* Define to 1 if you have the <kerberosIV/des.h> header file. */
365 #undef HAVE_KERBEROSIV_DES_H
367 /* Define to 1 if you have the <kerberosIV/krb.h> header file. */
368 #undef HAVE_KERBEROSIV_KRB_H
370 /* Define to 1 if you have the <kerberos/des.h> header file. */
371 #undef HAVE_KERBEROS_DES_H
373 /* Define to 1 if you have the <kerberos/krb.h> header file. */
374 #undef HAVE_KERBEROS_KRB_H
376 /* Define to 1 if `e_text' is a member of `krb5_error'. */
377 #undef HAVE_KRB5_ERROR_E_TEXT
379 /* Define to 1 if `text' is a member of `krb5_error'. */
380 #undef HAVE_KRB5_ERROR_TEXT
382 /* Define to 1 if you have the <krb5.h> header file. */
385 /* Define to 1 if you have the <krb.h> header file. */
388 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
389 #undef HAVE_LANGINFO_CODESET
391 /* Define to 1 if you have the `com_err' library (-lcom_err). */
392 #undef HAVE_LIBCOM_ERR
394 /* Define to 1 if you have the `crypto' library (-lcrypto). */
395 #undef HAVE_LIBCRYPTO
397 /* Define to 1 if you have the `des' library (-ldes). */
400 /* Define to 1 if you have the `des425' library (-ldes425). */
401 #undef HAVE_LIBDES425
403 /* Define to 1 if you have the `dgc' library (-ldgc). */
406 /* Define to 1 if you have the `dnet' library (-ldnet). */
409 /* Define to 1 if you have the hesiod library (-lhesiod). */
410 #undef HAVE_LIBHESIOD
412 /* Define to 1 if you have the `intl' library (-lintl). */
415 /* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
416 #undef HAVE_LIBK5CRYPTO
418 /* Define to 1 if you have the `krb' library (-lkrb). */
421 /* Define to 1 if you have the `krb4' library (-lkrb4). */
424 /* Define to 1 if you have the `krb5' library (-lkrb5). */
427 /* Define to 1 if you have the `kstat' library (-lkstat). */
430 /* Define to 1 if you have the `lockfile' library (-llockfile). */
431 #undef HAVE_LIBLOCKFILE
433 /* Define to 1 if you have the `m' library (-lm). */
436 /* Define to 1 if you have the `mail' library (-lmail). */
439 /* Define to 1 if you have the `ncurses' library (-lncurses). */
440 #undef HAVE_LIBNCURSES
442 /* Define to 1 if using libotf. */
445 /* Define to 1 if you have the `perfstat' library (-lperfstat). */
446 #undef HAVE_LIBPERFSTAT
448 /* Define to 1 if you have the <libpng/png.h> header file. */
449 #undef HAVE_LIBPNG_PNG_H
451 /* Define to 1 if you have the `pthreads' library (-lpthreads). */
452 #undef HAVE_LIBPTHREADS
454 /* Define to 1 if you have the resolv library (-lresolv). */
455 #undef HAVE_LIBRESOLV
457 /* Define to 1 if using SELinux. */
458 #undef HAVE_LIBSELINUX
460 /* Define to 1 if you have the `Xext' library (-lXext). */
463 /* Define to 1 if you have the libxml library (-lxml2). */
466 /* Define to 1 if you have the `Xmu' library (-lXmu). */
469 /* Define to 1 if you have the <limits.h> header file. */
472 /* Define to 1 if you have the <linux/version.h> header file. */
473 #undef HAVE_LINUX_VERSION_H
475 /* Define to 1 if you have the <locale.h> header file. */
478 /* Define to 1 if you have the `localtime_r' function. */
479 #undef HAVE_LOCALTIME_R
481 /* Define to 1 if you have the `logb' function. */
484 /* Define to 1 if you support file names longer than 14 characters. */
485 #undef HAVE_LONG_FILE_NAMES
487 /* Define to 1 if the system has the type `long long int'. */
488 #undef HAVE_LONG_LONG_INT
490 /* Define to 1 if you have the `lrand48' function. */
493 /* Define to 1 if you have the `lstat' function. */
496 /* Define to 1 if using libm17n-flt. */
499 /* Define to 1 if you have the <machine/soundcard.h> header file. */
500 #undef HAVE_MACHINE_SOUNDCARD_H
502 /* Define to 1 if you have the <mach/mach.h> header file. */
503 #undef HAVE_MACH_MACH_H
505 /* Define to 1 if you have the `MagickExportImagePixels' function. */
506 #undef HAVE_MAGICKEXPORTIMAGEPIXELS
508 /* Define to 1 if you have the <maillock.h> header file. */
509 #undef HAVE_MAILLOCK_H
511 /* Define to 1 if you have the <malloc/malloc.h> header file. */
512 #undef HAVE_MALLOC_MALLOC_H
514 /* Define to 1 if you have the `mblen' function. */
517 /* Define to 1 if you have the `mbrlen' function. */
520 /* Define to 1 if you have the `mbsinit' function. */
523 /* Define to 1 if <wchar.h> declares mbstate_t. */
524 #undef HAVE_MBSTATE_T
526 /* Define to 1 if you have the `memcmp' function. */
529 /* Define to 1 if you have the `memcpy' function. */
532 /* Define to 1 if you have the `memmove' function. */
535 /* Define to 1 if you have the <memory.h> header file. */
538 /* Define to 1 if you have the `mempcpy' function. */
541 /* Define to 1 if you have the `memset' function. */
544 /* Define to 1 if you have mouse menus. (This is automatic if you use X, but
545 the option to specify it remains.) It is also defined with other window
546 systems that support xmenu.c. */
549 /* Define to 1 if you have the `mkdir' function. */
552 /* Define to 1 if you have the `mkstemp' function. */
555 /* Define to 1 if you have a working `mmap' system call. */
558 /* Define if you have mouse support. */
561 /* Define to 1 if you have the `mremap' function. */
564 /* Define to 1 if you have the <net/if.h> header file. */
567 /* Define to 1 if you have the <nlist.h> header file. */
570 /* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on
574 /* Define to 1 if libotf has OTF_get_variation_glyphs. */
575 #undef HAVE_OTF_GET_VARIATION_GLYPHS
577 /* Define to 1 if personality LINUX32 can be set. */
578 #undef HAVE_PERSONALITY_LINUX32
580 /* Define to 1 if you have the png library (-lpng). */
583 /* Define to 1 if you have the <png.h> header file. */
586 /* Define to 1 if you have the `posix_memalign' function. */
587 #undef HAVE_POSIX_MEMALIGN
589 /* Define to 1 if you have the `pstat_getdynamic' function. */
590 #undef HAVE_PSTAT_GETDYNAMIC
592 /* Define to 1 if you have the <pthread.h> header file. */
593 #undef HAVE_PTHREAD_H
595 /* Define to 1 if you have the <pty.h> header file. */
598 /* Define to 1 if you have the <pwd.h> header file. */
601 /* Define to 1 if you have the `random' function. */
604 /* Define to 1 if you have the `readlink' function. */
607 /* Define to 1 if you have the `readlinkat' function. */
608 #undef HAVE_READLINKAT
610 /* Define to 1 if you have the `recvfrom' function. */
613 /* Define to 1 if you have the `rename' function. */
616 /* Define to 1 if res_init is available. */
619 /* Define to 1 if you have the `rint' function. */
622 /* Define to 1 if you have the `rmdir' function. */
625 /* Define to 1 if using librsvg. */
628 /* Define to 1 if you have the `select' function. */
631 /* Define to 1 if you have the `sendto' function. */
634 /* Define to 1 if you have the `setitimer' function. */
635 #undef HAVE_SETITIMER
637 /* Define to 1 if you have the `setlocale' function. */
638 #undef HAVE_SETLOCALE
640 /* Define to 1 if you have the `setpgid' function. */
643 /* Define to 1 if you have the `setrlimit' function. */
644 #undef HAVE_SETRLIMIT
646 /* Define to 1 if you have the `setsid' function. */
649 /* Define to 1 if you have the `setsockopt' function. */
650 #undef HAVE_SETSOCKOPT
652 /* Define to 1 if you have the `shutdown' function. */
655 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
656 #undef HAVE_SIGNED_SIG_ATOMIC_T
658 /* Define to 1 if 'wchar_t' is a signed integer type. */
659 #undef HAVE_SIGNED_WCHAR_T
661 /* Define to 1 if 'wint_t' is a signed integer type. */
662 #undef HAVE_SIGNED_WINT_T
664 /* Define to 1 if you have sound support. */
667 /* Define to 1 if you have the <soundcard.h> header file. */
668 #undef HAVE_SOUNDCARD_H
670 /* Define to 1 if `speed_t' is declared by <termios.h>. */
673 /* Define to 1 if you have the <stdint.h> header file. */
676 /* Define to 1 if you have the <stdio_ext.h> header file. */
677 #undef HAVE_STDIO_EXT_H
679 /* Define to 1 if you have the <stdlib.h> header file. */
682 /* Define to 1 if you have the `strchr' function. */
685 /* Define to 1 if you have the `strerror' function. */
688 /* Define to 1 if you have the <strings.h> header file. */
689 #undef HAVE_STRINGS_H
691 /* Define to 1 if you have the <string.h> header file. */
694 /* Define to 1 if you have the `strrchr' function. */
697 /* Define to 1 if you have the `strsignal' function. */
698 #undef HAVE_STRSIGNAL
700 /* Define to 1 if you have the `strtoull' function. */
703 /* Define to 1 if you have the `strtoumax' function. */
704 #undef HAVE_STRTOUMAX
706 /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
707 #undef HAVE_STRUCT_IFREQ_IFR_ADDR
709 /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
710 #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
712 /* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
713 #undef HAVE_STRUCT_IFREQ_IFR_FLAGS
715 /* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
716 #undef HAVE_STRUCT_IFREQ_IFR_HWADDR
718 /* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
719 #undef HAVE_STRUCT_IFREQ_IFR_NETMASK
721 /* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
722 #undef HAVE_STRUCT_NLIST_N_UN_N_NAME
724 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
725 #undef HAVE_STRUCT_TM_TM_ZONE
727 /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
728 #undef HAVE_STRUCT_UTIMBUF
730 /* Define if struct stat has an st_dm_mode member. */
731 #undef HAVE_ST_DM_MODE
733 /* Define to 1 if you have the `symlink' function. */
736 /* Define to 1 if you have the `sync' function. */
739 /* Define to 1 if you have the `sysinfo' function. */
742 /* Define to 1 if you have the <sys/bitypes.h> header file. */
743 #undef HAVE_SYS_BITYPES_H
745 /* Define to 1 if you have the <sys/inttypes.h> header file. */
746 #undef HAVE_SYS_INTTYPES_H
748 /* Define to 1 if you have the <sys/loadavg.h> header file. */
749 #undef HAVE_SYS_LOADAVG_H
751 /* Define to 1 if you have the <sys/mman.h> header file. */
752 #undef HAVE_SYS_MMAN_H
754 /* Define to 1 if you have the <sys/param.h> header file. */
755 #undef HAVE_SYS_PARAM_H
757 /* Define to 1 if you have the <sys/resource.h> header file. */
758 #undef HAVE_SYS_RESOURCE_H
760 /* Define to 1 if you have the <sys/select.h> header file. */
761 #undef HAVE_SYS_SELECT_H
763 /* Define to 1 if you have the <sys/socket.h> header file. */
764 #undef HAVE_SYS_SOCKET_H
766 /* Define to 1 if you have the <sys/soundcard.h> header file. */
767 #undef HAVE_SYS_SOUNDCARD_H
769 /* Define to 1 if you have the <sys/stat.h> header file. */
770 #undef HAVE_SYS_STAT_H
772 /* Define to 1 if you have the <sys/systeminfo.h> header file. */
773 #undef HAVE_SYS_SYSTEMINFO_H
775 /* Define to 1 if you have the <sys/time.h> header file. */
776 #undef HAVE_SYS_TIME_H
778 /* Define to 1 if you have the <sys/types.h> header file. */
779 #undef HAVE_SYS_TYPES_H
781 /* Define to 1 if you have the <sys/un.h> header file. */
784 /* Define to 1 if you have the <sys/utsname.h> header file. */
785 #undef HAVE_SYS_UTSNAME_H
787 /* Define to 1 if you have the <sys/vlimit.h> header file. */
788 #undef HAVE_SYS_VLIMIT_H
790 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
791 #undef HAVE_SYS_WAIT_H
793 /* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
794 #undef HAVE_SYS__MBSTATE_T_H
796 /* Define to 1 if you have the <term.h> header file. */
799 /* Define to 1 if you have the tiff library (-ltiff). */
802 /* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
805 /* Define if struct tm has the tm_gmtoff member. */
806 #undef HAVE_TM_GMTOFF
808 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
809 `HAVE_STRUCT_TM_TM_ZONE' instead. */
812 /* Define to 1 if you have the `touchlock' function. */
813 #undef HAVE_TOUCHLOCK
815 /* Define to 1 if you don't have `tm_zone' but do have the external array
819 /* Define to 1 if you have the `tzset' function. */
822 /* Define to 1 if you have the `ualarm' function. */
825 /* Define to 1 if you have the <unistd.h> header file. */
828 /* Define to 1 if the system has the type `unsigned long long int'. */
829 #undef HAVE_UNSIGNED_LONG_LONG_INT
831 /* Define to 1 if you have the <util.h> header file. */
834 /* Define to 1 if you have the `utimes' function. */
837 /* Define to 1 if you have the <utime.h> header file. */
840 /* Define to 1 if you have the <utmp.h> header file. */
843 /* Define to 1 if you have the `vfork' function. */
846 /* Define to 1 if you have the <vfork.h> header file. */
849 /* Define to 1 if you have the <wchar.h> header file. */
852 /* Define if you have the 'wchar_t' type. */
855 /* Define if you have a window system. */
856 #undef HAVE_WINDOW_SYSTEM
858 /* Define to 1 if `fork' works. */
859 #undef HAVE_WORKING_FORK
861 /* Define to 1 if `vfork' works. */
862 #undef HAVE_WORKING_VFORK
864 /* Define to 1 if you have the <ws2tcpip.h> header file. */
865 #undef HAVE_WS2TCPIP_H
867 /* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
868 expects to use version 10. */
871 /* Define to 1 if you have the X11R6 or newer version of Xlib. */
874 /* Define if you have usable X11R6-style XIM support. */
875 #undef HAVE_X11R6_XIM
877 /* Define to 1 if you have the X11R6 or newer version of Xt. */
880 /* Define to 1 if you have the Xaw3d library (-lXaw3d). */
883 /* Define to 1 if you have the Xft library. */
886 /* Define to 1 if XIM is available */
889 /* Define to 1 if you have the XkbGetKeyboard function. */
890 #undef HAVE_XKBGETKEYBOARD
892 /* Define to 1 if you have the Xpm libary (-lXpm). */
895 /* Define to 1 if you have the `XrmSetDatabase' function. */
896 #undef HAVE_XRMSETDATABASE
898 /* Define to 1 if you have the `XScreenNumberOfScreen' function. */
899 #undef HAVE_XSCREENNUMBEROFSCREEN
901 /* Define to 1 if you have the `XScreenResourceString' function. */
902 #undef HAVE_XSCREENRESOURCESTRING
904 /* Define to 1 if you have the `XSetWMProtocols' function. */
905 #undef HAVE_XSETWMPROTOCOLS
907 /* Define if you have usable i18n support. */
910 /* Define to 1 if you have the SM library (-lSM). */
913 /* Define to 1 if you want to use the X window system. */
914 #undef HAVE_X_WINDOWS
916 /* Define to 1 if the system has the type `_Bool'. */
919 /* Define to 1 if you have the `__builtin_unwind_init' function. */
920 #undef HAVE___BUILTIN_UNWIND_INIT
922 /* Define to 1 if you have the `__executable_start' function. */
923 #undef HAVE___EXECUTABLE_START
925 /* Define to 1 if you have the `__fpending' function. */
926 #undef HAVE___FPENDING
928 /* Define to support using a Hesiod database to find the POP server. */
931 /* Define to support Kerberos-authenticated POP mail retrieval. */
934 /* Define to use Kerberos 5 instead of Kerberos 4. */
937 /* Define to 1 if localtime caches TZ. */
938 #undef LOCALTIME_CACHE
940 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
942 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
944 /* String giving fallback POP mail host. */
947 /* Define to unlink, rather than empty, mail spool after reading. */
948 #undef MAIL_UNLINK_SPOOL
950 /* Define if the mailer uses flock to interlock the mail spool. */
951 #undef MAIL_USE_FLOCK
953 /* Define if the mailer uses lockf to interlock the mail spool. */
954 #undef MAIL_USE_LOCKF
956 /* Define to support MMDF mailboxes in movemail. */
959 /* Define to support POP mail retrieval. */
962 /* Define to 1 if you don't have struct exception in math.h. */
965 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
966 #undef NO_MINUS_C_MINUS_O
968 /* Define to 1 if `NSInteger' is defined. */
969 #undef NS_HAVE_NSINTEGER
971 /* Define to 1 if you are using NS windowing under MacOS X. */
974 /* Define to 1 if you are using NS windowing under GNUstep. */
975 #undef NS_IMPL_GNUSTEP
977 /* Define to 1 if the nlist n_name member is a pointer */
978 #undef N_NAME_POINTER
980 /* Define if the C compiler is the linker. */
983 /* Name of package */
986 /* Define to the address where bug reports for this package should be sent. */
987 #undef PACKAGE_BUGREPORT
989 /* Define to the full name of this package. */
992 /* Define to the full name and version of this package. */
993 #undef PACKAGE_STRING
995 /* Define to the one symbol short name of this package. */
996 #undef PACKAGE_TARNAME
998 /* Define to the home page for this package. */
1001 /* Define to the version of this package. */
1002 #undef PACKAGE_VERSION
1004 /* Define as `void' if your compiler accepts `void *'; otherwise define as
1008 /* Define to 1 if the C compiler supports function prototypes. */
1011 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1013 #undef PTRDIFF_T_SUFFIX
1015 /* Define to 1 if readlink fails to recognize a trailing slash. */
1016 #undef READLINK_TRAILING_SLASH_BUG
1018 /* Define REL_ALLOC if you want to use the relocating allocator for buffer
1022 /* Define to 1 if stat needs help when passed a directory name with a trailing
1024 #undef REPLACE_FUNC_STAT_DIR
1026 /* Define to 1 if stat needs help when passed a file name with a trailing
1028 #undef REPLACE_FUNC_STAT_FILE
1030 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1032 #undef SIG_ATOMIC_T_SUFFIX
1034 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1036 #undef SIZE_T_SUFFIX
1038 /* If using the C implementation of alloca, define if you know the
1039 direction of stack growth for your system; otherwise it will be
1040 automatically deduced at runtime.
1041 STACK_DIRECTION > 0 => grows toward higher addresses
1042 STACK_DIRECTION < 0 => grows toward lower addresses
1043 STACK_DIRECTION = 0 => direction of growth unknown */
1044 #undef STACK_DIRECTION
1046 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1047 #undef STAT_MACROS_BROKEN
1049 /* Define to 1 if you have the ANSI C header files. */
1052 /* Define to 1 on System V Release 4. */
1055 /* Process async input synchronously. */
1058 /* Define to use system malloc. */
1059 #undef SYSTEM_MALLOC
1061 /* Define to 1 if you use terminfo instead of termcap. */
1064 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1065 #undef TIME_WITH_SYS_TIME
1067 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
1068 #undef TM_IN_SYS_TIME
1070 /* Define to 1 for Encore UMAX. */
1073 /* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
1074 <sys/cpustats.h>. */
1077 /* Define to 1 if using GTK. */
1080 /* Define this to use a lisp union for the Lisp_Object data type. */
1081 #undef USE_LISP_UNION_TYPE
1083 /* Define to 1 if using the Lucid X toolkit. */
1086 /* Define to use mmap to allocate buffer text. */
1087 #undef USE_MMAP_FOR_BUFFERS
1089 /* Define to 1 if using the Motif X toolkit. */
1092 /* Define to 1 if we should use toolkit scroll bars. */
1093 #undef USE_TOOLKIT_SCROLL_BARS
1095 /* Define to 1 if we should use XIM, if it is available. */
1098 /* Define to 1 if using an X toolkit. */
1099 #undef USE_X_TOOLKIT
1101 /* Version number of package */
1104 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1106 #undef WCHAR_T_SUFFIX
1108 /* Use long long for EMACS_INT if available. */
1109 #undef WIDE_EMACS_INT
1111 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1113 #undef WINT_T_SUFFIX
1115 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1116 significant byte first (like Motorola and SPARC, unlike Intel). */
1117 #if defined AC_APPLE_UNIVERSAL_BUILD
1118 # if defined __BIG_ENDIAN__
1119 # define WORDS_BIGENDIAN 1
1122 # ifndef WORDS_BIGENDIAN
1123 # undef WORDS_BIGENDIAN
1127 /* Define this to check for malloc buffer overrun. */
1128 #undef XMALLOC_OVERRUN_CHECK
1130 /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1131 XPointer or XPointer*. */
1132 #undef XRegisterIMInstantiateCallback_arg6
1134 /* Number of bits in a file offset, on hosts where this is settable. */
1135 #undef _FILE_OFFSET_BITS
1137 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1138 #undef _LARGEFILE_SOURCE
1140 /* Define for large files, on AIX-style hosts. */
1143 /* Define to 1 if on MINIX. */
1146 /* Define to 2 if the system does not provide POSIX.1 features except with
1148 #undef _POSIX_1_SOURCE
1150 /* Define to 1 if you need to in order for `stat' and other things to work. */
1151 #undef _POSIX_SOURCE
1153 /* Define to 500 only on HP-UX. */
1154 #undef _XOPEN_SOURCE
1156 /* Enable extensions on AIX 3, Interix. */
1160 /* Enable GNU extensions on systems that have them. */
1164 /* Enable threading extensions on Solaris. */
1165 #ifndef _POSIX_PTHREAD_SEMANTICS
1166 # undef _POSIX_PTHREAD_SEMANTICS
1168 /* Enable extensions on HP NonStop. */
1169 #ifndef _TANDEM_SOURCE
1170 # undef _TANDEM_SOURCE
1172 /* Enable general extensions on Solaris. */
1173 #ifndef __EXTENSIONS__
1174 # undef __EXTENSIONS__
1178 /* Define to rpl_ if the getopt replacement functions and variables should be
1180 #undef __GETOPT_PREFIX
1182 /* Define like PROTOTYPES; this can be used by system headers. */
1185 /* Ensure that <stdint.h> defines the limit macros, since gnulib's
1186 <inttypes.h> relies on them. */
1187 #if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS
1188 # define __STDC_LIMIT_MACROS 1
1192 /* Define to compiler's equivalent of C99 restrict keyword in array
1193 declarations. Define as empty for no equivalent. */
1194 #undef __restrict_arr
1196 /* Define to the used machine dependent file. */
1197 #undef config_machfile
1199 /* Define to the used os dependent file. */
1200 #undef config_opsysfile
1202 /* Define to empty if `const' does not conform to ANSI C. */
1205 /* A replacement for va_copy, if needed. */
1206 #define gl_va_copy(a,b) ((a) = (b))
1208 /* Define to `__inline__' or `__inline' if that's what the C compiler
1209 calls it, or to nothing if 'inline' is not supported under any name. */
1214 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1215 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1216 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1217 __APPLE__ && __MACH__ test for MacOS X.
1218 __APPLE_CC__ tests for the Apple compiler and its version.
1219 __STDC_VERSION__ tests for the C99 mode. */
1220 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1221 # define __GNUC_STDC_INLINE__ 1
1224 /* Define to a type if <wchar.h> does not define. */
1227 /* Define to the name of the strftime replacement function. */
1230 /* Define to the type of st_nlink in struct stat, or a supertype. */
1233 /* Define to `int' if <sys/types.h> does not define. */
1236 /* Define to the equivalent of the C99 'restrict' keyword, or to
1237 nothing if this is not supported. Do not define if restrict is
1238 supported directly. */
1240 /* Work around a bug in Sun C++: it does not support _Restrict or
1241 __restrict__, even though the corresponding Sun C compiler ends up with
1242 "#define restrict _Restrict" or "#define restrict __restrict__" in the
1243 previous line. Perhaps some future version of Sun C++ will work with
1244 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1245 #if defined __SUNPRO_CC && !defined __RESTRICT
1247 # define __restrict__
1250 /* type to use in place of socklen_t if not defined */
1253 /* Define as a signed type of the same size as size_t. */
1256 /* Define to any substitute for sys_siglist. */
1259 /* Define as a marker that can be attached to declarations that might not
1260 be used. This helps to reduce warnings, such as from
1261 GCC -Wunused-parameter. */
1262 #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1263 # define _GL_UNUSED __attribute__ ((__unused__))
1267 /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
1268 is a misnomer outside of parameter lists. */
1269 #define _UNUSED_PARAMETER_ _GL_UNUSED
1271 /* The __pure__ attribute was added in gcc 2.96. */
1272 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
1273 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1275 # define _GL_ATTRIBUTE_PURE /* empty */
1278 /* The __const__ attribute was added in gcc 2.95. */
1279 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
1280 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1282 # define _GL_ATTRIBUTE_CONST /* empty */
1286 /* Define as a macro for copying va_list variables. */
1289 /* Define as `fork' if `vfork' does not work. */
1292 /* Define to empty if the keyword `volatile' does not work. Warning: valid
1293 code using `volatile' can become incorrect without. Disable with care. */
1297 /* On AIX 3 this must be included before any other include file. */
1300 # error "alloca not available on this machine"
1303 /* Define AMPERSAND_FULL_NAME if you use the convention
1304 that & in the full name stands for the login id. */
1305 /* Turned on June 1996 supposing nobody will mind it. */
1306 #define AMPERSAND_FULL_NAME
1308 /* `subprocesses' should be defined if you want to
1309 have code for asynchronous subprocesses
1310 (as used in M-x compile and M-x shell).
1311 Only MSDOS does not support this (it overrides
1312 this in its config_opsysfile below). */
1314 #define subprocesses
1316 /* Include the os and machine dependent files. */
1317 #include config_opsysfile
1318 #ifdef config_machfile
1319 # include config_machfile
1322 /* GNUstep needs a bit more pure memory. Of the existing knobs,
1323 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
1324 (There is probably a better place to do this, but right now the
1325 Cocoa side does this in s/darwin.h and we cannot parallel this
1326 exactly since GNUstep is multi-OS. */
1327 #if defined HAVE_NS && defined NS_IMPL_GNUSTEP
1328 # define SYSTEM_PURESIZE_EXTRA 30000
1331 #ifdef emacs /* Don't do this for lib-src. */
1332 /* Tell regex.c to use a type compatible with Emacs. */
1333 #define RE_TRANSLATE_TYPE Lisp_Object
1334 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
1336 /* If make_number is a macro, use it. */
1337 #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1339 /* If make_number is a function, avoid it. */
1340 #define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
1344 /* These default definitions are good for almost all machines.
1345 Any exceptions should override them in m/MACHINE.h.
1346 They must be usable in preprocessor conditionals. */
1348 #ifndef BITS_PER_CHAR
1349 #define BITS_PER_CHAR 8
1352 #ifndef BITS_PER_SHORT
1353 #define BITS_PER_SHORT 16
1356 #ifndef BITS_PER_INT
1357 #define BITS_PER_INT 32
1360 #ifndef BITS_PER_LONG
1362 #define BITS_PER_LONG 64
1364 #define BITS_PER_LONG 32
1368 #if !defined BITS_PER_LONG_LONG && HAVE_LONG_LONG_INT
1369 #define BITS_PER_LONG_LONG 64
1372 /* Define if the compiler supports function prototypes. It may do so but
1373 not define __STDC__ (e.g. DEC C by default) or may define it as zero. */
1380 #define strchr(a, b) index (a, b)
1383 #ifndef HAVE_STRRCHR
1384 #define strrchr(a, b) rindex (a, b)
1387 #if defined __GNUC__ && (__GNUC__ > 2 \
1388 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1389 #define NO_RETURN __attribute__ ((__noreturn__))
1391 #define NO_RETURN /* nothing */
1394 #if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
1395 #define NO_INLINE __attribute__((noinline))
1400 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
1401 #define EXTERNALLY_VISIBLE __attribute__((externally_visible))
1403 #define EXTERNALLY_VISIBLE
1406 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1407 # define ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1409 # define ATTRIBUTE_FORMAT(spec) /* empty */
1412 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
1413 # define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
1414 ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument))
1416 # define ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \
1417 ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
1420 /* Some versions of GNU/Linux define noinline in their headers. */
1425 /* These won't be used automatically yet. We also need to know, at least,
1426 that the stack is continuous. */
1428 # ifndef GC_SETJMP_WORKS
1429 /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */
1430 # define GC_SETJMP_WORKS 1
1432 # ifndef GC_LISP_OBJECT_ALIGNMENT
1433 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
1437 #endif /* EMACS_CONFIG_H */