1 /* src/config.in. Generated from configure.in by autoheader. */
3 /* GNU Emacs site configuration template file.
4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
5 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
7 This file is part of GNU Emacs.
9 GNU Emacs is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 GNU Emacs is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 /* No code in Emacs #includes config.h twice, but some bits of code
24 intended to work with other packages as well (like gmalloc.c)
25 think they can include it as many times as they like. */
26 #ifndef EMACS_CONFIG_H
27 #define EMACS_CONFIG_H
30 /* Define if the compiler is building for multiple architectures of Apple
32 #undef AA_APPLE_UNIVERSAL_BUILD
34 /* Define if building universal (internal helper macro) */
35 #undef AC_APPLE_UNIVERSAL_BUILD
37 /* Define if Emacs cannot be dumped on your system. */
40 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
41 systems. This function is required for `alloca.c' support on those systems.
43 #undef CRAY_STACKSEG_END
45 /* Define to 1 if using `alloca.c'. */
48 /* Define to 1 if using `getloadavg.c'. */
51 /* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
54 /* Define to 1 if you are using the GNU C Library. */
55 #undef DOUG_LEA_MALLOC
57 /* Define to the canonical Emacs configuration name. */
58 #undef EMACS_CONFIGURATION
60 /* Define to the options passed to configure. */
61 #undef EMACS_CONFIG_OPTIONS
63 /* Enable expensive run-time checking of data types? */
64 #undef ENABLE_CHECKING
66 /* Define this to check for errors in cons list. */
67 #undef GC_CHECK_CONS_LIST
69 /* Define this temporarily to hunt a bug. If defined, the size of strings is
70 redundantly recorded in sdata structures so that it can be compared to the
71 sizes recorded in Lisp strings. */
72 #undef GC_CHECK_STRING_BYTES
74 /* Define this to check the string free list. */
75 #undef GC_CHECK_STRING_FREE_LIST
77 /* Define this to check for short string overrun. */
78 #undef GC_CHECK_STRING_OVERRUN
80 /* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
82 #undef GETLOADAVG_PRIVILEGED
84 /* Define to 1 if the `getpgrp' function requires zero arguments. */
87 /* Define to 1 if gettimeofday accepts only one argument. */
88 #undef GETTIMEOFDAY_ONE_ARGUMENT
90 /* Define to 1 when the gnulib module mktime should be tested. */
91 #undef GNULIB_TEST_MKTIME
93 /* Define to 1 when the gnulib module time_r should be tested. */
94 #undef GNULIB_TEST_TIME_R
96 /* Define to 1 if you want to use the GNU memory allocator. */
99 /* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
100 #undef HAVE_AIX_SMT_EXP
102 /* Define to 1 if you have the `alarm' function. */
105 /* Define to 1 if you have `alloca', as a function or macro. */
108 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
112 /* Define to 1 if ALSA is available. */
115 /* Define to 1 if strtold conforms to C99. */
116 #undef HAVE_C99_STRTOLD
118 /* Define to 1 if you have the `cbrt' function. */
121 /* Define to 1 if you have the `cfmakeraw' function. */
122 #undef HAVE_CFMAKERAW
124 /* Define to 1 if you have the `cfsetspeed' function. */
125 #undef HAVE_CFSETSPEED
127 /* Define to 1 if you have the `closedir' function. */
130 /* Define to 1 if you have the <coff.h> header file. */
133 /* Define to 1 if you have the <com_err.h> header file. */
134 #undef HAVE_COM_ERR_H
136 /* Define to 1 if you have the `copysign' function. */
139 /* Define to 1 if using D-Bus. */
142 /* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */
143 #undef HAVE_DBUS_WATCH_GET_UNIX_FD
145 /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
147 #undef HAVE_DECL_LOCALTIME_R
149 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
151 #undef HAVE_DECL_SYS_SIGLIST
153 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
155 #undef HAVE_DECL_TZNAME
157 /* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
159 #undef HAVE_DECL___SYS_SIGLIST
161 /* Define to 1 if you have the <des.h> header file. */
164 /* Define to 1 if dynamic ptys are supported. */
167 /* Define to 1 if you have the `difftime' function. */
170 /* Define to 1 if you have the <dirent.h> header file. */
173 /* Define to 1 if you have the `dup2' function. */
176 /* Define to 1 if you have the `euidaccess' function. */
177 #undef HAVE_EUIDACCESS
179 /* Define to 1 if you have the <fcntl.h> header file. */
182 /* Define to 1 if you have the `fmod' function. */
185 /* Define to 1 if you have the `fork' function. */
188 /* Define to 1 if you have the `fpathconf' function. */
189 #undef HAVE_FPATHCONF
191 /* Define to 1 if using the freetype and fontconfig libraries. */
194 /* Define to 1 if you have the `frexp' function. */
197 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
200 /* Define to 1 if you have the `fsync' function. */
203 /* Define to 1 if you have the `ftime' function. */
206 /* Define to 1 if you have the `gai_strerror' function. */
207 #undef HAVE_GAI_STRERROR
209 /* Define to 1 if using GConf. */
212 /* Define to 1 if you have the `getaddrinfo' function. */
213 #undef HAVE_GETADDRINFO
215 /* Define to 1 if you have the `getcwd' function. */
218 /* Define to 1 if you have the `getdelim' function. */
221 /* Define to 1 if you have the `getdomainname' function. */
222 #undef HAVE_GETDOMAINNAME
224 /* Define to 1 if you have the `gethostname' function. */
225 #undef HAVE_GETHOSTNAME
227 /* Define to 1 if you have the `getline' function. */
230 /* Define to 1 if you have the `getloadavg' function. */
231 #undef HAVE_GETLOADAVG
233 /* Define to 1 if you have the <getopt.h> header file. */
236 /* Define to 1 if you have the `getopt_long_only' function. */
237 #undef HAVE_GETOPT_LONG_ONLY
239 /* Define to 1 if you have the `getpagesize' function. */
240 #undef HAVE_GETPAGESIZE
242 /* Define to 1 if you have the `getpeername' function. */
243 #undef HAVE_GETPEERNAME
245 /* Define to 1 if you have the `getpt' function. */
248 /* Define to 1 if you have the `getrlimit' function. */
249 #undef HAVE_GETRLIMIT
251 /* Define to 1 if you have the `getrusage' function. */
252 #undef HAVE_GETRUSAGE
254 /* Define to 1 if you have the `getsockname' function. */
255 #undef HAVE_GETSOCKNAME
257 /* Define to 1 if you have the `getsockopt' function. */
258 #undef HAVE_GETSOCKOPT
260 /* Define to 1 if you have the `gettimeofday' function. */
261 #undef HAVE_GETTIMEOFDAY
263 /* Define to 1 if you have the `getwd' function. */
266 /* Define to 1 if you have the `get_current_dir_name' function. */
267 #undef HAVE_GET_CURRENT_DIR_NAME
269 /* Define to 1 if you have a gif (or ungif) library. */
272 /* Define if using GnuTLS. */
275 /* Define to 1 if you have the gpm library (-lgpm). */
278 /* Define to 1 if you have the `grantpt' function. */
281 /* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */
282 #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE
284 /* Define to 1 if you have GTK and pthread (-lpthread). */
285 #undef HAVE_GTK_AND_PTHREAD
287 /* Define to 1 if you have the `gtk_dialog_get_action_area' function. */
288 #undef HAVE_GTK_DIALOG_GET_ACTION_AREA
290 /* Define to 1 if you have the `gtk_file_selection_new' function. */
291 #undef HAVE_GTK_FILE_SELECTION_NEW
293 /* Define to 1 if you have the `gtk_main' function. */
296 /* Define to 1 if you have the `gtk_orientable_set_orientation' function. */
297 #undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION
299 /* Define to 1 if you have the `gtk_widget_get_mapped' function. */
300 #undef HAVE_GTK_WIDGET_GET_MAPPED
302 /* Define to 1 if you have the `gtk_widget_get_sensitive' function. */
303 #undef HAVE_GTK_WIDGET_GET_SENSITIVE
305 /* Define to 1 if you have the `gtk_widget_get_window' function. */
306 #undef HAVE_GTK_WIDGET_GET_WINDOW
308 /* Define to 1 if you have the `gtk_widget_set_has_window' function. */
309 #undef HAVE_GTK_WIDGET_SET_HAS_WINDOW
311 /* Define to 1 if you have the `g_type_init' function. */
312 #undef HAVE_G_TYPE_INIT
314 /* Define to 1 if netdb.h declares h_errno. */
317 /* Define to 1 if using imagemagick. */
318 #undef HAVE_IMAGEMAGICK
320 /* Define to 1 if you have inet sockets. */
321 #undef HAVE_INET_SOCKETS
323 /* Define to 1 if you have the <inttypes.h> header file. */
324 #undef HAVE_INTTYPES_H
326 /* Define to 1 if you have the `isnan' function. */
329 /* Define to 1 if you have the jpeg library (-ljpeg). */
332 /* Define to 1 if you have the <kerberosIV/des.h> header file. */
333 #undef HAVE_KERBEROSIV_DES_H
335 /* Define to 1 if you have the <kerberosIV/krb.h> header file. */
336 #undef HAVE_KERBEROSIV_KRB_H
338 /* Define to 1 if you have the <kerberos/des.h> header file. */
339 #undef HAVE_KERBEROS_DES_H
341 /* Define to 1 if you have the <kerberos/krb.h> header file. */
342 #undef HAVE_KERBEROS_KRB_H
344 /* Define to 1 if `e_text' is a member of `krb5_error'. */
345 #undef HAVE_KRB5_ERROR_E_TEXT
347 /* Define to 1 if `text' is a member of `krb5_error'. */
348 #undef HAVE_KRB5_ERROR_TEXT
350 /* Define to 1 if you have the <krb5.h> header file. */
353 /* Define to 1 if you have the <krb.h> header file. */
356 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
357 #undef HAVE_LANGINFO_CODESET
359 /* Define to 1 if you have the `com_err' library (-lcom_err). */
360 #undef HAVE_LIBCOM_ERR
362 /* Define to 1 if you have the `crypto' library (-lcrypto). */
363 #undef HAVE_LIBCRYPTO
365 /* Define to 1 if you have the `des' library (-ldes). */
368 /* Define to 1 if you have the `des425' library (-ldes425). */
369 #undef HAVE_LIBDES425
371 /* Define to 1 if you have the `dgc' library (-ldgc). */
374 /* Define to 1 if you have the `dnet' library (-ldnet). */
377 /* Define to 1 if you have the hesiod library (-lhesiod). */
378 #undef HAVE_LIBHESIOD
380 /* Define to 1 if you have the `intl' library (-lintl). */
383 /* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
384 #undef HAVE_LIBK5CRYPTO
386 /* Define to 1 if you have the `krb' library (-lkrb). */
389 /* Define to 1 if you have the `krb4' library (-lkrb4). */
392 /* Define to 1 if you have the `krb5' library (-lkrb5). */
395 /* Define to 1 if you have the `kstat' library (-lkstat). */
398 /* Define to 1 if you have the `lockfile' library (-llockfile). */
399 #undef HAVE_LIBLOCKFILE
401 /* Define to 1 if you have the `m' library (-lm). */
404 /* Define to 1 if you have the `mail' library (-lmail). */
407 /* Define to 1 if you have the `ncurses' library (-lncurses). */
408 #undef HAVE_LIBNCURSES
410 /* Define to 1 if using libotf. */
413 /* Define to 1 if you have the <libpng/png.h> header file. */
414 #undef HAVE_LIBPNG_PNG_H
416 /* Define to 1 if you have the `pthreads' library (-lpthreads). */
417 #undef HAVE_LIBPTHREADS
419 /* Define to 1 if you have the resolv library (-lresolv). */
420 #undef HAVE_LIBRESOLV
422 /* Define to 1 if using SELinux. */
423 #undef HAVE_LIBSELINUX
425 /* Define to 1 if you have the `Xext' library (-lXext). */
428 /* Define to 1 if you have the libxml library (-lxml2). */
431 /* Define to 1 if you have the `Xmu' library (-lXmu). */
434 /* Define to 1 if you have the <limits.h> header file. */
437 /* Define to 1 if you have the <linux/version.h> header file. */
438 #undef HAVE_LINUX_VERSION_H
440 /* Define to 1 if you have the <locale.h> header file. */
443 /* Define to 1 if you have the `localtime_r' function. */
444 #undef HAVE_LOCALTIME_R
446 /* Define to 1 if you have the `logb' function. */
449 /* Define to 1 if you support file names longer than 14 characters. */
450 #undef HAVE_LONG_FILE_NAMES
452 /* Define to 1 if you have the `lrand48' function. */
455 /* Define to 1 if using libm17n-flt. */
458 /* Define to 1 if you have the <machine/soundcard.h> header file. */
459 #undef HAVE_MACHINE_SOUNDCARD_H
461 /* Define to 1 if you have the <mach/mach.h> header file. */
462 #undef HAVE_MACH_MACH_H
464 /* Define to 1 if you have the `MagickExportImagePixels' function. */
465 #undef HAVE_MAGICKEXPORTIMAGEPIXELS
467 /* Define to 1 if you have the <maillock.h> header file. */
468 #undef HAVE_MAILLOCK_H
470 /* Define to 1 if you have the <malloc/malloc.h> header file. */
471 #undef HAVE_MALLOC_MALLOC_H
473 /* Define to 1 if you have the `mblen' function. */
476 /* Define to 1 if you have the `mbrlen' function. */
479 /* Define to 1 if you have the `mbsinit' function. */
482 /* Define to 1 if <wchar.h> declares mbstate_t. */
483 #undef HAVE_MBSTATE_T
485 /* Define to 1 if you have the `memcmp' function. */
488 /* Define to 1 if you have the `memcpy' function. */
491 /* Define to 1 if you have the `memmove' function. */
494 /* Define to 1 if you have the <memory.h> header file. */
497 /* Define to 1 if you have the `mempcpy' function. */
500 /* Define to 1 if you have the `memset' function. */
503 /* Define to 1 if you have mouse menus. (This is automatic if you use X, but
504 the option to specify it remains.) It is also defined with other window
505 systems that support xmenu.c. */
508 /* Define to 1 if you have the `mkdir' function. */
511 /* Define to 1 if you have the `mkstemp' function. */
514 /* Define to 1 if you have a working `mmap' system call. */
517 /* Define if you have mouse support. */
520 /* Define to 1 if you have the `mremap' function. */
523 /* Define to 1 if you have the <net/if.h> header file. */
526 /* Define to 1 if you have the <nlist.h> header file. */
529 /* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on
533 /* Define to 1 if libotf has OTF_get_variation_glyphs. */
534 #undef HAVE_OTF_GET_VARIATION_GLYPHS
536 /* Define to 1 if personality LINUX32 can be set. */
537 #undef HAVE_PERSONALITY_LINUX32
539 /* Define to 1 if you have the png library (-lpng). */
542 /* Define to 1 if you have the <png.h> header file. */
545 /* Define to 1 if you have the `posix_memalign' function. */
546 #undef HAVE_POSIX_MEMALIGN
548 /* Define to 1 if you have the `pstat_getdynamic' function. */
549 #undef HAVE_PSTAT_GETDYNAMIC
551 /* Define to 1 if you have the <pthread.h> header file. */
552 #undef HAVE_PTHREAD_H
554 /* Define to 1 if you have the <pty.h> header file. */
557 /* Define to 1 if you have the <pwd.h> header file. */
560 /* Define to 1 if you have the `random' function. */
563 /* Define to 1 if you have the `recvfrom' function. */
566 /* Define to 1 if you have the `rename' function. */
569 /* Define to 1 if res_init is available. */
572 /* Define to 1 if you have the `rint' function. */
575 /* Define to 1 if you have the `rmdir' function. */
578 /* Define to 1 if using librsvg. */
581 /* Define to 1 if you have the `select' function. */
584 /* Define to 1 if you have the `sendto' function. */
587 /* Define to 1 if you have the `setitimer' function. */
588 #undef HAVE_SETITIMER
590 /* Define to 1 if you have the `setlocale' function. */
591 #undef HAVE_SETLOCALE
593 /* Define to 1 if you have the `setpgid' function. */
596 /* Define to 1 if you have the `setrlimit' function. */
597 #undef HAVE_SETRLIMIT
599 /* Define to 1 if you have the `setsid' function. */
602 /* Define to 1 if you have the `setsockopt' function. */
603 #undef HAVE_SETSOCKOPT
605 /* Define to 1 if you have the `shutdown' function. */
608 /* Define to 1 if the system has the type `size_t'. */
611 /* Define to 1 if you have sound support. */
614 /* Define to 1 if you have the <soundcard.h> header file. */
615 #undef HAVE_SOUNDCARD_H
617 /* Define to 1 if `speed_t' is declared by <termios.h>. */
620 /* Define to 1 if you have the <stddef.h> header file. */
623 /* Define to 1 if you have the <stdint.h> header file. */
626 /* Define to 1 if you have the <stdio_ext.h> header file. */
627 #undef HAVE_STDIO_EXT_H
629 /* Define to 1 if you have the <stdlib.h> header file. */
632 /* Define to 1 if you have the `strchr' function. */
635 /* Define to 1 if you have the `strerror' function. */
638 /* Define to 1 if you have the `strftime' function. */
641 /* Define to 1 if you have the <strings.h> header file. */
642 #undef HAVE_STRINGS_H
644 /* Define to 1 if you have the <string.h> header file. */
647 /* Define to 1 if you have the `strrchr' function. */
650 /* Define to 1 if you have the `strsignal' function. */
651 #undef HAVE_STRSIGNAL
653 /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
654 #undef HAVE_STRUCT_IFREQ_IFR_ADDR
656 /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
657 #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
659 /* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
660 #undef HAVE_STRUCT_IFREQ_IFR_FLAGS
662 /* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
663 #undef HAVE_STRUCT_IFREQ_IFR_HWADDR
665 /* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
666 #undef HAVE_STRUCT_IFREQ_IFR_NETMASK
668 /* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
669 #undef HAVE_STRUCT_NLIST_N_UN_N_NAME
671 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
672 #undef HAVE_STRUCT_TM_TM_ZONE
674 /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
675 #undef HAVE_STRUCT_UTIMBUF
677 /* Define to 1 if you have the `sync' function. */
680 /* Define to 1 if you have the `sysinfo' function. */
683 /* Define to 1 if you have the <sys/mman.h> header file. */
684 #undef HAVE_SYS_MMAN_H
686 /* Define to 1 if you have the <sys/param.h> header file. */
687 #undef HAVE_SYS_PARAM_H
689 /* Define to 1 if you have the <sys/resource.h> header file. */
690 #undef HAVE_SYS_RESOURCE_H
692 /* Define to 1 if you have the <sys/select.h> header file. */
693 #undef HAVE_SYS_SELECT_H
695 /* Define to 1 if you have the <sys/socket.h> header file. */
696 #undef HAVE_SYS_SOCKET_H
698 /* Define to 1 if you have the <sys/soundcard.h> header file. */
699 #undef HAVE_SYS_SOUNDCARD_H
701 /* Define to 1 if you have the <sys/stat.h> header file. */
702 #undef HAVE_SYS_STAT_H
704 /* Define to 1 if you have the <sys/systeminfo.h> header file. */
705 #undef HAVE_SYS_SYSTEMINFO_H
707 /* Define to 1 if you have the <sys/time.h> header file. */
708 #undef HAVE_SYS_TIME_H
710 /* Define to 1 if you have the <sys/types.h> header file. */
711 #undef HAVE_SYS_TYPES_H
713 /* Define to 1 if you have the <sys/un.h> header file. */
716 /* Define to 1 if you have the <sys/utsname.h> header file. */
717 #undef HAVE_SYS_UTSNAME_H
719 /* Define to 1 if you have the <sys/vlimit.h> header file. */
720 #undef HAVE_SYS_VLIMIT_H
722 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
723 #undef HAVE_SYS_WAIT_H
725 /* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
726 #undef HAVE_SYS__MBSTATE_T_H
728 /* Define to 1 if you have the <term.h> header file. */
731 /* Define to 1 if you have the tiff library (-ltiff). */
734 /* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
737 /* Define to 1 if you have the <time.h> header file. */
740 /* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
741 #undef HAVE_TM_GMTOFF
743 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
744 `HAVE_STRUCT_TM_TM_ZONE' instead. */
747 /* Define to 1 if you have the `touchlock' function. */
748 #undef HAVE_TOUCHLOCK
750 /* Define to 1 if you don't have `tm_zone' but do have the external array
754 /* Define to 1 if you have the `tzset' function. */
757 /* Define to 1 if you have the `ualarm' function. */
760 /* Define to 1 if you have the <unistd.h> header file. */
763 /* Define to 1 if you have the <util.h> header file. */
766 /* Define to 1 if you have the `utimes' function. */
769 /* Define to 1 if you have the <utime.h> header file. */
772 /* Define to 1 if you have the <utmp.h> header file. */
775 /* Define to 1 if you have the `vfork' function. */
778 /* Define to 1 if you have the <vfork.h> header file. */
781 /* Define if you have the 'wchar_t' type. */
784 /* Define if you have a window system. */
785 #undef HAVE_WINDOW_SYSTEM
787 /* Define to 1 if `fork' works. */
788 #undef HAVE_WORKING_FORK
790 /* Define to 1 if `vfork' works. */
791 #undef HAVE_WORKING_VFORK
793 /* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
794 expects to use version 10. */
797 /* Define to 1 if you have the X11R6 or newer version of Xlib. */
800 /* Define if you have usable X11R6-style XIM support. */
801 #undef HAVE_X11R6_XIM
803 /* Define to 1 if you have the X11R6 or newer version of Xt. */
806 /* Define to 1 if you have the Xaw3d library (-lXaw3d). */
809 /* Define to 1 if you have the Xft library. */
812 /* Define to 1 if XIM is available */
815 /* Define to 1 if you have the XkbGetKeyboard function. */
816 #undef HAVE_XKBGETKEYBOARD
818 /* Define to 1 if you have the Xpm libary (-lXpm). */
821 /* Define to 1 if you have the `XrmSetDatabase' function. */
822 #undef HAVE_XRMSETDATABASE
824 /* Define to 1 if you have the `XScreenNumberOfScreen' function. */
825 #undef HAVE_XSCREENNUMBEROFSCREEN
827 /* Define to 1 if you have the `XScreenResourceString' function. */
828 #undef HAVE_XSCREENRESOURCESTRING
830 /* Define to 1 if you have the `XSetWMProtocols' function. */
831 #undef HAVE_XSETWMPROTOCOLS
833 /* Define if you have usable i18n support. */
836 /* Define to 1 if you have the SM library (-lSM). */
839 /* Define to 1 if you want to use the X window system. */
840 #undef HAVE_X_WINDOWS
842 /* Define to 1 if you have the `__builtin_unwind_init' function. */
843 #undef HAVE___BUILTIN_UNWIND_INIT
845 /* Define to 1 if you have the `__executable_start' function. */
846 #undef HAVE___EXECUTABLE_START
848 /* Define to 1 if you have the `__fpending' function. */
849 #undef HAVE___FPENDING
851 /* Define to support using a Hesiod database to find the POP server. */
854 /* Define to support Kerberos-authenticated POP mail retrieval. */
857 /* Define to use Kerberos 5 instead of Kerberos 4. */
860 /* Define to 1 if localtime caches TZ. */
861 #undef LOCALTIME_CACHE
863 /* String giving fallback POP mail host. */
866 /* Define to unlink, rather than empty, mail spool after reading. */
867 #undef MAIL_UNLINK_SPOOL
869 /* Define if the mailer uses flock to interlock the mail spool. */
870 #undef MAIL_USE_FLOCK
872 /* Define if the mailer uses lockf to interlock the mail spool. */
873 #undef MAIL_USE_LOCKF
875 /* Define to support MMDF mailboxes in movemail. */
878 /* Define to support POP mail retrieval. */
881 /* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
882 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
883 #undef NLIST_NAME_UNION
885 /* Define to 1 if you don't have struct exception in math.h. */
888 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
889 #undef NO_MINUS_C_MINUS_O
891 /* Define to 1 if `NSInteger' is defined. */
892 #undef NS_HAVE_NSINTEGER
894 /* Define to 1 if you are using NS windowing under MacOS X. */
897 /* Define to 1 if you are using NS windowing under GNUstep. */
898 #undef NS_IMPL_GNUSTEP
900 /* Define if the C compiler is the linker. */
903 /* Name of package */
906 /* Define to the address where bug reports for this package should be sent. */
907 #undef PACKAGE_BUGREPORT
909 /* Define to the full name of this package. */
912 /* Define to the full name and version of this package. */
913 #undef PACKAGE_STRING
915 /* Define to the one symbol short name of this package. */
916 #undef PACKAGE_TARNAME
918 /* Define to the home page for this package. */
921 /* Define to the version of this package. */
922 #undef PACKAGE_VERSION
924 /* Define as `void' if your compiler accepts `void *'; otherwise define as
928 /* Define to 1 if the C compiler supports function prototypes. */
931 /* Define REL_ALLOC if you want to use the relocating allocator for buffer
935 /* Define as the return type of signal handlers (`int' or `void'). */
938 /* If using the C implementation of alloca, define if you know the
939 direction of stack growth for your system; otherwise it will be
940 automatically deduced at runtime.
941 STACK_DIRECTION > 0 => grows toward higher addresses
942 STACK_DIRECTION < 0 => grows toward lower addresses
943 STACK_DIRECTION = 0 => direction of growth unknown */
944 #undef STACK_DIRECTION
946 /* Define to 1 if you have the ANSI C header files. */
949 /* Define to 1 on System V Release 4. */
952 /* Process async input synchronously. */
955 /* Define to use system malloc. */
958 /* Define to 1 if you use terminfo instead of termcap. */
961 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
962 #undef TIME_WITH_SYS_TIME
964 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
965 #undef TM_IN_SYS_TIME
967 /* Define to 1 for Encore UMAX. */
970 /* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
974 /* Define to 1 if using GTK. */
977 /* Define this to use a lisp union for the Lisp_Object data type. */
978 #undef USE_LISP_UNION_TYPE
980 /* Define to 1 if using the Lucid X toolkit. */
983 /* Define to use mmap to allocate buffer text. */
984 #undef USE_MMAP_FOR_BUFFERS
986 /* Define to 1 if using the Motif X toolkit. */
989 /* Define to 1 if we should use toolkit scroll bars. */
990 #undef USE_TOOLKIT_SCROLL_BARS
992 /* Define to 1 if we should use XIM, if it is available. */
995 /* Define to 1 if using an X toolkit. */
998 /* Version number of package */
1001 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1002 significant byte first (like Motorola and SPARC, unlike Intel). */
1003 #if defined AC_APPLE_UNIVERSAL_BUILD
1004 # if defined __BIG_ENDIAN__
1005 # define WORDS_BIGENDIAN 1
1008 # ifndef WORDS_BIGENDIAN
1009 # undef WORDS_BIGENDIAN
1013 /* Define this to check for malloc buffer overrun. */
1014 #undef XMALLOC_OVERRUN_CHECK
1016 /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1017 XPointer or XPointer*. */
1018 #undef XRegisterIMInstantiateCallback_arg6
1020 /* Number of bits in a file offset, on hosts where this is settable. */
1021 #undef _FILE_OFFSET_BITS
1023 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1024 #undef _LARGEFILE_SOURCE
1026 /* Define for large files, on AIX-style hosts. */
1029 /* Define to 1 if on MINIX. */
1032 /* Define to 2 if the system does not provide POSIX.1 features except with
1034 #undef _POSIX_1_SOURCE
1036 /* Define to 1 if you need to in order for `stat' and other things to work. */
1037 #undef _POSIX_SOURCE
1039 /* Define to 500 only on HP-UX. */
1040 #undef _XOPEN_SOURCE
1042 /* Enable extensions on AIX 3, Interix. */
1046 /* Enable GNU extensions on systems that have them. */
1050 /* Enable threading extensions on Solaris. */
1051 #ifndef _POSIX_PTHREAD_SEMANTICS
1052 # undef _POSIX_PTHREAD_SEMANTICS
1054 /* Enable extensions on HP NonStop. */
1055 #ifndef _TANDEM_SOURCE
1056 # undef _TANDEM_SOURCE
1058 /* Enable general extensions on Solaris. */
1059 #ifndef __EXTENSIONS__
1060 # undef __EXTENSIONS__
1064 /* Define to rpl_ if the getopt replacement functions and variables should be
1066 #undef __GETOPT_PREFIX
1068 /* Define like PROTOTYPES; this can be used by system headers. */
1071 /* Define to compiler's equivalent of C99 restrict keyword in array
1072 declarations. Define as empty for no equivalent. */
1073 #undef __restrict_arr
1075 /* Define to the used machine dependent file. */
1076 #undef config_machfile
1078 /* Define to the used os dependent file. */
1079 #undef config_opsysfile
1081 /* Define to empty if `const' does not conform to ANSI C. */
1084 /* Define to `__inline__' or `__inline' if that's what the C compiler
1085 calls it, or to nothing if 'inline' is not supported under any name. */
1090 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1091 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1092 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1093 __APPLE__ && __MACH__ test for MacOS X.
1094 __APPLE_CC__ tests for the Apple compiler and its version.
1095 __STDC_VERSION__ tests for the C99 mode. */
1096 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1097 # define __GNUC_STDC_INLINE__ 1
1100 /* Define to a type if <wchar.h> does not define. */
1103 /* Define to `int' if <sys/types.h> does not define. */
1106 /* Define to the equivalent of the C99 'restrict' keyword, or to
1107 nothing if this is not supported. Do not define if restrict is
1108 supported directly. */
1110 /* Work around a bug in Sun C++: it does not support _Restrict or
1111 __restrict__, even though the corresponding Sun C compiler ends up with
1112 "#define restrict _Restrict" or "#define restrict __restrict__" in the
1113 previous line. Perhaps some future version of Sun C++ will work with
1114 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
1115 #if defined __SUNPRO_CC && !defined __RESTRICT
1117 # define __restrict__
1120 /* Define to `unsigned int' if <sys/types.h> does not define. */
1123 /* Define to any substitute for sys_siglist. */
1126 /* Define as a marker that can be attached to declarations that might not
1127 be used. This helps to reduce warnings, such as from
1128 GCC -Wunused-parameter. */
1129 #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
1130 # define _GL_UNUSED __attribute__ ((__unused__))
1134 /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
1135 is a misnomer outside of parameter lists. */
1136 #define _UNUSED_PARAMETER_ _GL_UNUSED
1139 /* Define as `fork' if `vfork' does not work. */
1142 /* Define to empty if the keyword `volatile' does not work. Warning: valid
1143 code using `volatile' can become incorrect without. Disable with care. */
1147 /* Define AMPERSAND_FULL_NAME if you use the convention
1148 that & in the full name stands for the login id. */
1149 /* Turned on June 1996 supposing nobody will mind it. */
1150 #define AMPERSAND_FULL_NAME
1152 /* If using GNU, then support inline function declarations. */
1153 /* Don't try to switch on inline handling as detected by AC_C_INLINE
1154 generally, because even if non-gcc compilers accept `inline', they
1155 may reject `extern inline'. */
1156 #if defined (__GNUC__)
1157 #define INLINE __inline__
1162 /* `subprocesses' should be defined if you want to
1163 have code for asynchronous subprocesses
1164 (as used in M-x compile and M-x shell).
1165 Only MSDOS does not support this (it overrides
1166 this in its config_opsysfile below). */
1168 #define subprocesses
1170 /* Include the os and machine dependent files. */
1171 #include config_opsysfile
1172 #ifdef config_machfile
1173 # include config_machfile
1176 /* GNUstep needs a bit more pure memory. Of the existing knobs,
1177 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
1178 (There is probably a better place to do this, but right now the
1179 Cocoa side does this in s/darwin.h and we cannot parallel this
1180 exactly since GNUstep is multi-OS. */
1181 #if defined HAVE_NS && defined NS_IMPL_GNUSTEP
1182 # define SYSTEM_PURESIZE_EXTRA 30000
1185 /* SIGTYPE is the macro we actually use. */
1187 #define SIGTYPE RETSIGTYPE
1190 #ifdef emacs /* Don't do this for lib-src. */
1191 /* Tell regex.c to use a type compatible with Emacs. */
1192 #define RE_TRANSLATE_TYPE Lisp_Object
1193 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
1195 /* If make_number is a macro, use it. */
1196 #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
1198 /* If make_number is a function, avoid it. */
1199 #define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
1203 #define my_strftime nstrftime /* for strftime.c */
1205 /* These default definitions are good for almost all machines.
1206 The exceptions override them in m/MACHINE.h. */
1208 #ifndef BITS_PER_CHAR
1209 #define BITS_PER_CHAR 8
1212 #ifndef BITS_PER_SHORT
1213 #define BITS_PER_SHORT 16
1216 /* Note that lisp.h uses this in a preprocessor conditional, so it
1217 would not work to use sizeof. That being so, we do all of them
1218 without sizeof, for uniformity's sake. */
1219 #ifndef BITS_PER_INT
1220 #define BITS_PER_INT 32
1223 #ifndef BITS_PER_LONG
1225 #define BITS_PER_LONG 64
1227 #define BITS_PER_LONG 32
1231 /* Define if the compiler supports function prototypes. It may do so but
1232 not define __STDC__ (e.g. DEC C by default) or may define it as zero. */
1238 #ifdef HAVE_ALLOCA_H
1239 # include <alloca.h>
1240 #elif defined __GNUC__
1241 # define alloca __builtin_alloca
1243 # define alloca __alloca
1245 # include <stddef.h>
1249 void *alloca (size_t);
1253 typedef unsigned size_t;
1257 #define strchr(a, b) index (a, b)
1260 #ifndef HAVE_STRRCHR
1261 #define strrchr(a, b) rindex (a, b)
1264 #if defined __GNUC__ && (__GNUC__ > 2 \
1265 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1266 #define NO_RETURN __attribute__ ((__noreturn__))
1268 #define NO_RETURN /* nothing */
1271 #if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
1272 #define NO_INLINE __attribute__((noinline))
1277 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
1278 #define EXTERNALLY_VISIBLE __attribute__((externally_visible))
1280 #define EXTERNALLY_VISIBLE
1283 /* Some versions of GNU/Linux define noinline in their headers. */
1288 /* These won't be used automatically yet. We also need to know, at least,
1289 that the stack is continuous. */
1291 # ifndef GC_SETJMP_WORKS
1292 /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */
1293 # define GC_SETJMP_WORKS 1
1295 # ifndef GC_LISP_OBJECT_ALIGNMENT
1296 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
1300 #endif /* EMACS_CONFIG_H */