config.in 33.9 KB
Newer Older
Andreas Schwab's avatar
Andreas Schwab committed
1 2
/* src/config.in.  Generated from configure.in by autoheader.  */

Dave Love's avatar
Dave Love committed
3
/* GNU Emacs site configuration template file.
Glenn Morris's avatar
Glenn Morris committed
4
   Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
Glenn Morris's avatar
Glenn Morris committed
5
     2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
Jim Blandy's avatar
Jim Blandy committed
6 7 8

This file is part of GNU Emacs.

Glenn Morris's avatar
Glenn Morris committed
9
GNU Emacs is free software: you can redistribute it and/or modify
Richard M. Stallman's avatar
Richard M. Stallman committed
10
it under the terms of the GNU General Public License as published by
Glenn Morris's avatar
Glenn Morris committed
11 12
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Richard M. Stallman's avatar
Richard M. Stallman committed
13

Jim Blandy's avatar
Jim Blandy committed
14
GNU Emacs is distributed in the hope that it will be useful,
Richard M. Stallman's avatar
Richard M. Stallman committed
15 16 17 18
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Andreas Schwab's avatar
Andreas Schwab committed
19
You should have received a copy of the GNU General Public License
Glenn Morris's avatar
Glenn Morris committed
20
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
Andreas Schwab's avatar
Andreas Schwab committed
21 22


Dave Love's avatar
Dave Love committed
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)
Andreas Schwab's avatar
Andreas Schwab committed
25 26 27 28 29
   think they can include it as many times as they like.  */
#ifndef EMACS_CONFIG_H
#define EMACS_CONFIG_H


30 31 32
/* Generate dependencies with gcc. */
#undef AUTO_DEPEND

Andreas Schwab's avatar
Andreas Schwab committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
/* Define to 1 if the mktime function is broken. */
#undef BROKEN_MKTIME

/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
#undef CRAY_STACKSEG_END

/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA

/* Define to 1 if using `getloadavg.c'. */
#undef C_GETLOADAVG

/* Define C_SWITCH_X_SITE to contain any special flags your compiler may need
   to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
   above and your X include files aren't in a place that your compiler can
   find on its own, you might want to add "-I/..." or something similar. */
#undef C_SWITCH_X_SITE

/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
#undef DGUX

/* Define to 1 if you are using the GNU C Library. */
#undef DOUG_LEA_MALLOC

/* Define to the canonical Emacs configuration name. */
#undef EMACS_CONFIGURATION

/* Define to the options passed to configure. */
#undef EMACS_CONFIG_OPTIONS

65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
/* Enable expensive run-time checking of data types? */
#undef ENABLE_CHECKING

/* Define this to check for errors in cons list. */
#undef GC_CHECK_CONS_LIST

/* Define this temporarily to hunt a bug. If defined, the size of strings is
   redundantly recorded in sdata structures so that it can be compared to the
   sizes recorded in Lisp strings. */
#undef GC_CHECK_STRING_BYTES

/* Define this to check the string free list. */
#undef GC_CHECK_STRING_FREE_LIST

/* Define this to check for short string overrun. */
#undef GC_CHECK_STRING_OVERRUN

Andreas Schwab's avatar
Andreas Schwab committed
82 83 84 85
/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
   */
#undef GETLOADAVG_PRIVILEGED

Miles Bader's avatar
Miles Bader committed
86 87 88
/* Define to 1 if the `getpgrp' function requires zero arguments. */
#undef GETPGRP_VOID

Andreas Schwab's avatar
Andreas Schwab committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
/* Define to 1 if gettimeofday accepts only one argument. */
#undef GETTIMEOFDAY_ONE_ARGUMENT

/* Define to 1 if you want to use the GNU memory allocator. */
#undef GNU_MALLOC

/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
#undef HAVE_AIX_SMT_EXP

/* Define to 1 if you have the `alarm' function. */
#undef HAVE_ALARM

/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA

/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
   */
#undef HAVE_ALLOCA_H

108 109 110
/* Define to 1 if ALSA is available. */
#undef HAVE_ALSA

Andreas Schwab's avatar
Andreas Schwab committed
111 112 113 114 115 116
/* Define to 1 if you have the `bcmp' function. */
#undef HAVE_BCMP

/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY

Dave Love's avatar
Dave Love committed
117 118 119
/* Define to 1 if you have the `bzero' function. */
#undef HAVE_BZERO

Andreas Schwab's avatar
Andreas Schwab committed
120 121 122
/* Define to 1 if you have the `cbrt' function. */
#undef HAVE_CBRT

Stefan Monnier's avatar
Update.  
Stefan Monnier committed
123 124 125 126 127 128
/* Define to 1 if you have the `cfmakeraw' function. */
#undef HAVE_CFMAKERAW

/* Define to 1 if you have the `cfsetspeed' function. */
#undef HAVE_CFSETSPEED

Andreas Schwab's avatar
Andreas Schwab committed
129 130 131 132 133 134 135 136 137
/* Define to 1 if you have the `closedir' function. */
#undef HAVE_CLOSEDIR

/* Define to 1 if you have the <coff.h> header file. */
#undef HAVE_COFF_H

/* Define to 1 if you have the <com_err.h> header file. */
#undef HAVE_COM_ERR_H

Dave Love's avatar
Dave Love committed
138 139 140
/* Define to 1 if you have /usr/lib/crti.o. */
#undef HAVE_CRTIN

Glenn Morris's avatar
Glenn Morris committed
141 142 143
/* Define to 1 if using D-Bus. */
#undef HAVE_DBUS

144 145 146
/* Define to 1 if you have the `dbus_watch_get_unix_fd' function. */
#undef HAVE_DBUS_WATCH_GET_UNIX_FD

Miles Bader's avatar
Miles Bader committed
147 148 149 150
/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
   don't. */
#undef HAVE_DECL_SYS_SIGLIST

Eli Zaretskii's avatar
Eli Zaretskii committed
151 152 153 154
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
   */
#undef HAVE_DECL_TZNAME

Miles Bader's avatar
Miles Bader committed
155 156 157 158
/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
   don't. */
#undef HAVE_DECL___SYS_SIGLIST

Andreas Schwab's avatar
Andreas Schwab committed
159 160 161 162 163 164
/* Define to 1 if you have the <des.h> header file. */
#undef HAVE_DES_H

/* Define to 1 if dynamic ptys are supported. */
#undef HAVE_DEV_PTMX

Andreas Schwab's avatar
Andreas Schwab committed
165 166 167
/* Define to 1 if you have the `difftime' function. */
#undef HAVE_DIFFTIME

Andreas Schwab's avatar
Andreas Schwab committed
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
/* Define to 1 if you have the `dup2' function. */
#undef HAVE_DUP2

/* Define to 1 if you have the `euidaccess' function. */
#undef HAVE_EUIDACCESS

/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H

/* Define to 1 if you have the `fmod' function. */
#undef HAVE_FMOD

/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK

/* Define to 1 if you have the `fpathconf' function. */
#undef HAVE_FPATHCONF

Glenn Morris's avatar
Glenn Morris committed
186
/* Define to 1 if using the freetype and fontconfig libraries. */
Kenichi Handa's avatar
Kenichi Handa committed
187 188
#undef HAVE_FREETYPE

Andreas Schwab's avatar
Andreas Schwab committed
189 190 191 192 193 194
/* Define to 1 if you have the `frexp' function. */
#undef HAVE_FREXP

/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#undef HAVE_FSEEKO

Dave Love's avatar
Dave Love committed
195 196 197
/* Define to 1 if you have the `fsync' function. */
#undef HAVE_FSYNC

Andreas Schwab's avatar
Andreas Schwab committed
198 199 200 201 202 203
/* Define to 1 if you have the `ftime' function. */
#undef HAVE_FTIME

/* Define to 1 if you have the `gai_strerror' function. */
#undef HAVE_GAI_STRERROR

204 205 206
/* Define to 1 if using GConf. */
#undef HAVE_GCONF

Jan Djärv's avatar
Jan Djärv committed
207 208 209
/* Define to 1 if you have the `gdk_display_open' function. */
#undef HAVE_GDK_DISPLAY_OPEN

Andreas Schwab's avatar
Andreas Schwab committed
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
/* Define to 1 if you have the `getaddrinfo' function. */
#undef HAVE_GETADDRINFO

/* Define to 1 if you have the `getcwd' function. */
#undef HAVE_GETCWD

/* Define to 1 if you have the `getdelim' function. */
#undef HAVE_GETDELIM

/* Define to 1 if you have the `getdomainname' function. */
#undef HAVE_GETDOMAINNAME

/* Define to 1 if you have the `gethostname' function. */
#undef HAVE_GETHOSTNAME

/* Define to 1 if you have the `getline' function. */
#undef HAVE_GETLINE

/* Define to 1 if you have the `getloadavg' function. */
#undef HAVE_GETLOADAVG

Paul Eggert's avatar
Paul Eggert committed
231 232 233 234 235 236
/* Define to 1 if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H

/* Define to 1 if you have the `getopt_long_only' function. */
#undef HAVE_GETOPT_LONG_ONLY

Andreas Schwab's avatar
Andreas Schwab committed
237 238 239 240 241 242 243 244 245
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE

/* Define to 1 if you have the `getpeername' function. */
#undef HAVE_GETPEERNAME

/* Define to 1 if you have the `getpt' function. */
#undef HAVE_GETPT

246 247 248
/* Define to 1 if you have the `getrlimit' function. */
#undef HAVE_GETRLIMIT

Eli Zaretskii's avatar
Eli Zaretskii committed
249 250 251
/* Define to 1 if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE

Andreas Schwab's avatar
Andreas Schwab committed
252 253 254 255 256 257 258 259 260 261 262 263
/* Define to 1 if you have the `getsockname' function. */
#undef HAVE_GETSOCKNAME

/* Define to 1 if you have the `getsockopt' function. */
#undef HAVE_GETSOCKOPT

/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY

/* Define to 1 if you have the `getwd' function. */
#undef HAVE_GETWD

264 265 266
/* Define to 1 if you have the `get_current_dir_name' function. */
#undef HAVE_GET_CURRENT_DIR_NAME

Glenn Morris's avatar
Glenn Morris committed
267
/* Define to 1 if you have a gif library (default -lgif; otherwise specify
268
   with LIBGIF). */
Andreas Schwab's avatar
Andreas Schwab committed
269 270
#undef HAVE_GIF

271 272
/* Define to 1 if you have the gpm library (-lgpm). */
#undef HAVE_GPM
273

Andreas Schwab's avatar
Andreas Schwab committed
274 275 276
/* Define to 1 if you have the `grantpt' function. */
#undef HAVE_GRANTPT

Jan Djärv's avatar
Jan Djärv committed
277 278 279
/* Define to 1 if you have GTK and pthread (-lpthread). */
#undef HAVE_GTK_AND_PTHREAD

280 281 282 283 284 285 286 287 288
/* Define to 1 if GTK has both file selection and chooser dialog. */
#undef HAVE_GTK_FILE_BOTH

/* Define to 1 if you have the `gtk_file_chooser_dialog_new' function. */
#undef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW

/* Define to 1 if you have the `gtk_file_selection_new' function. */
#undef HAVE_GTK_FILE_SELECTION_NEW

Chong Yidong's avatar
Chong Yidong committed
289 290 291
/* Define to 1 if you have the `gtk_main' function. */
#undef HAVE_GTK_MAIN

Jan Djärv's avatar
Jan Djärv committed
292 293 294
/* Define to 1 if GTK can handle more than one display. */
#undef HAVE_GTK_MULTIDISPLAY

Andreas Schwab's avatar
Andreas Schwab committed
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
/* Define to 1 if netdb.h declares h_errno. */
#undef HAVE_H_ERRNO

/* Define to 1 if you have the `index' function. */
#undef HAVE_INDEX

/* Define to 1 if you have inet sockets. */
#undef HAVE_INET_SOCKETS

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the jpeg library (-ljpeg). */
#undef HAVE_JPEG

/* Define to 1 if you have the <kerberosIV/des.h> header file. */
#undef HAVE_KERBEROSIV_DES_H

/* Define to 1 if you have the <kerberosIV/krb.h> header file. */
#undef HAVE_KERBEROSIV_KRB_H

/* Define to 1 if you have the <kerberos/des.h> header file. */
#undef HAVE_KERBEROS_DES_H

/* Define to 1 if you have the <kerberos/krb.h> header file. */
#undef HAVE_KERBEROS_KRB_H

322
/* Define to 1 if `krb5_error' is a member of `e_text'. */
Andreas Schwab's avatar
Andreas Schwab committed
323 324
#undef HAVE_KRB5_ERROR_E_TEXT

325
/* Define to 1 if `krb5_error' is a member of `text'. */
Andreas Schwab's avatar
Andreas Schwab committed
326 327
#undef HAVE_KRB5_ERROR_TEXT

Andreas Schwab's avatar
Andreas Schwab committed
328 329 330 331 332 333
/* Define to 1 if you have the <krb5.h> header file. */
#undef HAVE_KRB5_H

/* Define to 1 if you have the <krb.h> header file. */
#undef HAVE_KRB_H

Andreas Schwab's avatar
Andreas Schwab committed
334 335 336
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET

Andreas Schwab's avatar
Andreas Schwab committed
337 338 339
/* Define to 1 if the directory /usr/lib64 exists. */
#undef HAVE_LIB64_DIR

Andreas Schwab's avatar
Andreas Schwab committed
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
/* Define to 1 if you have the `com_err' library (-lcom_err). */
#undef HAVE_LIBCOM_ERR

/* Define to 1 if you have the `crypto' library (-lcrypto). */
#undef HAVE_LIBCRYPTO

/* Define to 1 if you have the `des' library (-ldes). */
#undef HAVE_LIBDES

/* Define to 1 if you have the `des425' library (-ldes425). */
#undef HAVE_LIBDES425

/* Define to 1 if you have the `dgc' library (-ldgc). */
#undef HAVE_LIBDGC

/* Define to 1 if you have the `dnet' library (-ldnet). */
#undef HAVE_LIBDNET

/* Define to 1 if you have the hesiod library (-lhesiod). */
#undef HAVE_LIBHESIOD

/* Define to 1 if you have the `intl' library (-lintl). */
#undef HAVE_LIBINTL

/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */
#undef HAVE_LIBK5CRYPTO

/* Define to 1 if you have the `krb' library (-lkrb). */
#undef HAVE_LIBKRB

/* Define to 1 if you have the `krb4' library (-lkrb4). */
#undef HAVE_LIBKRB4

/* Define to 1 if you have the `krb5' library (-lkrb5). */
#undef HAVE_LIBKRB5

/* Define to 1 if you have the `kstat' library (-lkstat). */
#undef HAVE_LIBKSTAT

/* Define to 1 if you have the `lockfile' library (-llockfile). */
#undef HAVE_LIBLOCKFILE

/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM

/* Define to 1 if you have the `mail' library (-lmail). */
#undef HAVE_LIBMAIL

/* Define to 1 if you have the `ncurses' library (-lncurses). */
#undef HAVE_LIBNCURSES

Glenn Morris's avatar
Glenn Morris committed
391
/* Define to 1 if using libotf. */
Kenichi Handa's avatar
Kenichi Handa committed
392 393
#undef HAVE_LIBOTF

Dave Love's avatar
Dave Love committed
394 395 396
/* Define to 1 if you have the <libpng/png.h> header file. */
#undef HAVE_LIBPNG_PNG_H

Andreas Schwab's avatar
Andreas Schwab committed
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
/* Define to 1 if you have the `pthreads' library (-lpthreads). */
#undef HAVE_LIBPTHREADS

/* Define to 1 if you have the resolv library (-lresolv). */
#undef HAVE_LIBRESOLV

/* Define to 1 if you have the `Xext' library (-lXext). */
#undef HAVE_LIBXEXT

/* Define to 1 if you have the `Xmu' library (-lXmu). */
#undef HAVE_LIBXMU

/* Define to 1 if you have the Xp library (-lXp). */
#undef HAVE_LIBXP

/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H

/* Define to 1 if you have the <linux/version.h> header file. */
#undef HAVE_LINUX_VERSION_H

Dave Love's avatar
Dave Love committed
418 419 420
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H

Andreas Schwab's avatar
Andreas Schwab committed
421 422 423 424 425 426 427 428 429
/* Define to 1 if you have the `logb' function. */
#undef HAVE_LOGB

/* Define to 1 if you support file names longer than 14 characters. */
#undef HAVE_LONG_FILE_NAMES

/* Define to 1 if you have the `lrand48' function. */
#undef HAVE_LRAND48

Glenn Morris's avatar
Glenn Morris committed
430
/* Define to 1 if using libm17n-flt. */
Kenichi Handa's avatar
Kenichi Handa committed
431 432
#undef HAVE_M17N_FLT

Andreas Schwab's avatar
Andreas Schwab committed
433 434 435 436 437 438 439 440 441
/* Define to 1 if you have the <machine/soundcard.h> header file. */
#undef HAVE_MACHINE_SOUNDCARD_H

/* Define to 1 if you have the <mach/mach.h> header file. */
#undef HAVE_MACH_MACH_H

/* Define to 1 if you have the <maillock.h> header file. */
#undef HAVE_MAILLOCK_H

442 443 444
/* Define to 1 if you have the <malloc/malloc.h> header file. */
#undef HAVE_MALLOC_MALLOC_H

Andreas Schwab's avatar
Andreas Schwab committed
445 446 447 448 449 450 451 452 453
/* Define to 1 if you have the `mblen' function. */
#undef HAVE_MBLEN

/* Define to 1 if you have the `mbrlen' function. */
#undef HAVE_MBRLEN

/* Define to 1 if you have the `mbsinit' function. */
#undef HAVE_MBSINIT

Dave Love's avatar
Dave Love committed
454 455 456
/* Define to 1 if <wchar.h> declares mbstate_t. */
#undef HAVE_MBSTATE_T

Rob Browning's avatar
Rob Browning committed
457 458 459
/* Define to 1 if you have the `memcmp' function. */
#undef HAVE_MEMCMP

Dave Love's avatar
Dave Love committed
460 461 462
/* Define to 1 if you have the `memcpy' function. */
#undef HAVE_MEMCPY

Dave Love's avatar
Dave Love committed
463 464 465
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE

Andreas Schwab's avatar
Andreas Schwab committed
466 467 468
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

Dave Love's avatar
Dave Love committed
469 470 471
/* Define to 1 if you have the `mempcpy' function. */
#undef HAVE_MEMPCPY

Miles Bader's avatar
Miles Bader committed
472 473 474
/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET

Andreas Schwab's avatar
Andreas Schwab committed
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
/* Define to 1 if you have mouse menus. (This is automatic if you use X, but
   the option to specify it remains.) It is also defined with other window
   systems that support xmenu.c. */
#undef HAVE_MENUS

/* Define to 1 if you have the `mkdir' function. */
#undef HAVE_MKDIR

/* Define to 1 if you have the `mkstemp' function. */
#undef HAVE_MKSTEMP

/* Define to 1 if you have the `mktime' function. */
#undef HAVE_MKTIME

/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP

/* Define to 1 if you have Motif 2.1 or newer. */
#undef HAVE_MOTIF_2_1

Dave Love's avatar
Dave Love committed
495 496 497
/* Define to 1 if you have the `mremap' function. */
#undef HAVE_MREMAP

Kim F. Storm's avatar
Kim F. Storm committed
498 499 500
/* Define to 1 if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H

Andreas Schwab's avatar
Andreas Schwab committed
501 502 503
/* Define to 1 if you have the <nlist.h> header file. */
#undef HAVE_NLIST_H

504 505 506 507
/* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on
   Mac OS X. */
#undef HAVE_NS

Chong Yidong's avatar
Chong Yidong committed
508 509 510
/* Define to 1 if libotf has OTF_get_variation_glyphs. */
#undef HAVE_OTF_GET_VARIATION_GLYPHS

511 512 513
/* Define to 1 if personality LINUX32 can be set. */
#undef HAVE_PERSONALITY_LINUX32

Andreas Schwab's avatar
Andreas Schwab committed
514 515 516
/* Define to 1 if you have the png library (-lpng). */
#undef HAVE_PNG

Dave Love's avatar
Dave Love committed
517 518 519 520 521 522
/* Define to 1 if you have the <png.h> header file. */
#undef HAVE_PNG_H

/* Define to 1 if you have the `posix_memalign' function. */
#undef HAVE_POSIX_MEMALIGN

Andreas Schwab's avatar
Andreas Schwab committed
523 524 525
/* Define to 1 if you have the `pstat_getdynamic' function. */
#undef HAVE_PSTAT_GETDYNAMIC

Jan Djärv's avatar
Jan Djärv committed
526 527 528
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H

Dave Love's avatar
Dave Love committed
529 530 531
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
532 533 534
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H

Andreas Schwab's avatar
Andreas Schwab committed
535 536 537 538 539 540 541 542 543
/* Define to 1 if you have the `random' function. */
#undef HAVE_RANDOM

/* Define to 1 if you have the `recvfrom' function. */
#undef HAVE_RECVFROM

/* Define to 1 if you have the `rename' function. */
#undef HAVE_RENAME

Glenn Morris's avatar
Glenn Morris committed
544
/* Define to 1 if res_init is available. */
Andreas Schwab's avatar
Andreas Schwab committed
545 546 547 548 549 550 551 552 553 554 555
#undef HAVE_RES_INIT

/* Define to 1 if you have the `rindex' function. */
#undef HAVE_RINDEX

/* Define to 1 if you have the `rint' function. */
#undef HAVE_RINT

/* Define to 1 if you have the `rmdir' function. */
#undef HAVE_RMDIR

Glenn Morris's avatar
Glenn Morris committed
556 557 558
/* Define to 1 if using librsvg. */
#undef HAVE_RSVG

Andreas Schwab's avatar
Andreas Schwab committed
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT

/* Define to 1 if you have the `sendto' function. */
#undef HAVE_SENDTO

/* Define to 1 if you have the `setitimer' function. */
#undef HAVE_SETITIMER

/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE

/* Define to 1 if you have the `setpgid' function. */
#undef HAVE_SETPGID

/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT

/* Define to 1 if you have the `setsid' function. */
#undef HAVE_SETSID

/* Define to 1 if you have the `setsockopt' function. */
#undef HAVE_SETSOCKOPT

/* Define to 1 if you have the `shutdown' function. */
#undef HAVE_SHUTDOWN

Dave Love's avatar
Dave Love committed
586 587 588
/* Define to 1 if the system has the type `size_t'. */
#undef HAVE_SIZE_T

Andreas Schwab's avatar
Andreas Schwab committed
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618
/* Define to 1 if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H

/* Define to 1 if `speed_t' is declared by <termios.h>. */
#undef HAVE_SPEED_T

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdio_ext.h> header file. */
#undef HAVE_STDIO_EXT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR

/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the `strsignal' function. */
#undef HAVE_STRSIGNAL

619
/* Define to 1 if `struct ifreq' is a member of `ifr_addr'. */
Dave Love's avatar
#  
Dave Love committed
620 621
#undef HAVE_STRUCT_IFREQ_IFR_ADDR

622
/* Define to 1 if `struct ifreq' is a member of `ifr_broadaddr'. */
Dave Love's avatar
#  
Dave Love committed
623 624
#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR

625
/* Define to 1 if `struct ifreq' is a member of `ifr_flags'. */
Dave Love's avatar
#  
Dave Love committed
626 627
#undef HAVE_STRUCT_IFREQ_IFR_FLAGS

628
/* Define to 1 if `struct ifreq' is a member of `ifr_hwaddr'. */
Dave Love's avatar
#  
Dave Love committed
629 630
#undef HAVE_STRUCT_IFREQ_IFR_HWADDR

631
/* Define to 1 if `struct ifreq' is a member of `ifr_netmask'. */
Dave Love's avatar
#  
Dave Love committed
632 633
#undef HAVE_STRUCT_IFREQ_IFR_NETMASK

634
/* Define to 1 if `struct nlist' is a member of `n_un.n_name'. */
Andreas Schwab's avatar
Andreas Schwab committed
635 636
#undef HAVE_STRUCT_NLIST_N_UN_N_NAME

637
/* Define to 1 if `struct tm' is a member of `tm_zone'. */
Andreas Schwab's avatar
Andreas Schwab committed
638 639 640 641 642
#undef HAVE_STRUCT_TM_TM_ZONE

/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
#undef HAVE_STRUCT_UTIMBUF

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
643 644 645
/* Define to 1 if you have the `sync' function. */
#undef HAVE_SYNC

Andreas Schwab's avatar
Andreas Schwab committed
646 647 648
/* Define to 1 if you have the `sysinfo' function. */
#undef HAVE_SYSINFO

Kim F. Storm's avatar
Kim F. Storm committed
649 650 651
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H

Dave Love's avatar
Dave Love committed
652 653 654 655 656 657
/* Define to 1 if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H

/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H

Dave Love's avatar
Dave Love committed
658 659 660
/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H

Andreas Schwab's avatar
Andreas Schwab committed
661 662 663
/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H

Andreas Schwab's avatar
Andreas Schwab committed
664 665 666
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H

Andreas Schwab's avatar
Andreas Schwab committed
667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687
/* Define to 1 if you have the <sys/soundcard.h> header file. */
#undef HAVE_SYS_SOUNDCARD_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/systeminfo.h> header file. */
#undef HAVE_SYS_SYSTEMINFO_H

/* Define to 1 if you have the <sys/timeb.h> header file. */
#undef HAVE_SYS_TIMEB_H

/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H

/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H

688 689 690
/* Define to 1 if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H

Dave Love's avatar
Dave Love committed
691 692 693
/* Define to 1 if you have the <sys/vlimit.h> header file. */
#undef HAVE_SYS_VLIMIT_H

Andreas Schwab's avatar
Andreas Schwab committed
694 695 696
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H

697 698 699
/* Define to 1 if you have the <sys/_mbstate_t.h> header file. */
#undef HAVE_SYS__MBSTATE_T_H

Andreas Schwab's avatar
Andreas Schwab committed
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H

/* Define to 1 if you have the <term.h> header file. */
#undef HAVE_TERM_H

/* Define to 1 if you have the tiff library (-ltiff). */
#undef HAVE_TIFF

/* Define to 1 if `struct timeval' is declared by <sys/time.h>. */
#undef HAVE_TIMEVAL

/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
#undef HAVE_TM_GMTOFF

/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
   `HAVE_STRUCT_TM_TM_ZONE' instead. */
#undef HAVE_TM_ZONE

/* Define to 1 if you have the `touchlock' function. */
#undef HAVE_TOUCHLOCK

/* Define to 1 if you don't have `tm_zone' but do have the external array
   `tzname'. */
#undef HAVE_TZNAME

/* Define to 1 if you have the `tzset' function. */
#undef HAVE_TZSET

/* Define to 1 if you have the `ualarm' function. */
#undef HAVE_UALARM

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `utimes' function. */
#undef HAVE_UTIMES

/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H

Chong Yidong's avatar
Chong Yidong committed
741 742 743
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H

Andreas Schwab's avatar
Andreas Schwab committed
744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768
/* Define to 1 if you have the `vfork' function. */
#undef HAVE_VFORK

/* Define to 1 if you have the <vfork.h> header file. */
#undef HAVE_VFORK_H

/* Define to 1 if `fork' works. */
#undef HAVE_WORKING_FORK

/* Define to 1 if `vfork' works. */
#undef HAVE_WORKING_VFORK

/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs
   expects to use version 10. */
#undef HAVE_X11

/* Define to 1 if you have the X11R6 or newer version of Xlib. */
#undef HAVE_X11R6

/* Define to 1 if you have the X11R6 or newer version of Xt. */
#undef HAVE_X11XTR6

/* Define to 1 if you have the Xaw3d library (-lXaw3d). */
#undef HAVE_XAW3D

Jan Djärv's avatar
Jan Djärv committed
769 770 771
/* Define to 1 if you have the Xft library. */
#undef HAVE_XFT

Richard M. Stallman's avatar
Richard M. Stallman committed
772 773 774
/* Define to 1 if XIM is available */
#undef HAVE_XIM

Andreas Schwab's avatar
Andreas Schwab committed
775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820
/* Define to 1 if you have the XkbGetKeyboard function. */
#undef HAVE_XKBGETKEYBOARD

/* Define to 1 if you have the Xpm libary (-lXpm). */
#undef HAVE_XPM

/* Define to 1 if you have the `XrmSetDatabase' function. */
#undef HAVE_XRMSETDATABASE

/* Define to 1 if you have the `XScreenNumberOfScreen' function. */
#undef HAVE_XSCREENNUMBEROFSCREEN

/* Define to 1 if you have the `XScreenResourceString' function. */
#undef HAVE_XSCREENRESOURCESTRING

/* Define to 1 if you have the `XSetWMProtocols' function. */
#undef HAVE_XSETWMPROTOCOLS

/* Define to 1 if you have the SM library (-lSM). */
#undef HAVE_X_SM

/* Define to 1 if you want to use the X window system. */
#undef HAVE_X_WINDOWS

/* Define to 1 if you have the `__fpending' function. */
#undef HAVE___FPENDING

/* Define to support using a Hesiod database to find the POP server. */
#undef HESIOD

/* Define to support Kerberos-authenticated POP mail retrieval. */
#undef KERBEROS

/* Define to use Kerberos 5 instead of Kerberos 4. */
#undef KERBEROS5

/* Define LD_SWITCH_X_SITE to contain any special flags your loader may need
   to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS
   above and your X libraries aren't in a place that your loader can find on
   its own, you might want to add "-L/..." or something similar. */
#undef LD_SWITCH_X_SITE

/* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for
   Solaris, for example). */
#undef LD_SWITCH_X_SITE_AUX

Glenn Morris's avatar
Glenn Morris committed
821
/* Compiler option to link with the gif library (if not -lgif). */
Glenn Morris's avatar
Glenn Morris committed
822 823
#undef LIBGIF

Andreas Schwab's avatar
Andreas Schwab committed
824 825 826 827 828 829 830 831 832 833 834 835 836
/* Define to 1 if localtime caches TZ. */
#undef LOCALTIME_CACHE

/* Define to support POP mail retrieval. */
#undef MAIL_USE_POP

/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
   on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
#undef NLIST_NAME_UNION

/* Define to 1 if you don't have struct exception in math.h. */
#undef NO_MATHERR

837 838 839
/* Define to 1 if `NSInteger' is defined. */
#undef NS_HAVE_NSINTEGER

840 841 842 843 844 845
/* Define to 1 if you are using NS windowing under MacOS X. */
#undef NS_IMPL_COCOA

/* Define to 1 if you are using NS windowing under GNUstep. */
#undef NS_IMPL_GNUSTEP

Andreas Schwab's avatar
Andreas Schwab committed
846 847 848 849 850 851 852 853 854 855 856 857
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

858 859 860
/* Define to the home page for this package. */
#undef PACKAGE_URL

Andreas Schwab's avatar
Andreas Schwab committed
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876
/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* Define as `void' if your compiler accepts `void *'; otherwise define as
   `char'. */
#undef POINTER_TYPE

/* Define to 1 if the C compiler supports function prototypes. */
#undef PROTOTYPES

/* Define REL_ALLOC if you want to use the relocating allocator for buffer
   space. */
#undef REL_ALLOC

/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
Jim Blandy's avatar
Jim Blandy committed
877

Andreas Schwab's avatar
Andreas Schwab committed
878 879
/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
Eli Zaretskii's avatar
Eli Zaretskii committed
880
   automatically deduced at runtime.
Paul Eggert's avatar
Paul Eggert committed
881 882 883
	STACK_DIRECTION > 0 => grows toward higher addresses
	STACK_DIRECTION < 0 => grows toward lower addresses
	STACK_DIRECTION = 0 => direction of growth unknown */
Andreas Schwab's avatar
Andreas Schwab committed
884
#undef STACK_DIRECTION
Jim Blandy's avatar
Jim Blandy committed
885

Andreas Schwab's avatar
Andreas Schwab committed
886 887
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
888

Andreas Schwab's avatar
Andreas Schwab committed
889 890
/* Define to 1 on System V Release 4. */
#undef SVR4
Jim Blandy's avatar
Jim Blandy committed
891

892 893 894
/* Process async input synchronously. */
#undef SYNC_INPUT

Andreas Schwab's avatar
Andreas Schwab committed
895 896
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
897

Andreas Schwab's avatar
Andreas Schwab committed
898 899
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
Colin Walters's avatar
Colin Walters committed
900

901 902 903 904 905 906 907
/* Define to 1 for Encore UMAX. */
#undef UMAX

/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
   <sys/cpustats.h>. */
#undef UMAX4_3

Andreas Schwab's avatar
Andreas Schwab committed
908 909
/* Define to the unexec source file name. */
#undef UNEXEC_SRC
910

911 912 913
/* Define to 1 if using GTK. */
#undef USE_GTK

Stefan Monnier's avatar
Stefan Monnier committed
914 915 916 917 918 919
/* Define to 1 if using the Lucid X toolkit. */
#undef USE_LUCID

/* Define to 1 if using the Motif X toolkit. */
#undef USE_MOTIF

920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941
/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif


Andreas Schwab's avatar
Andreas Schwab committed
942 943
/* Define to 1 if we should use toolkit scroll bars. */
#undef USE_TOOLKIT_SCROLL_BARS
Jim Blandy's avatar
Jim Blandy committed
944

Andreas Schwab's avatar
Andreas Schwab committed
945 946
/* Define to 1 if we should use XIM, if it is available. */
#undef USE_XIM
947

Andreas Schwab's avatar
Andreas Schwab committed
948 949
/* Define to 1 if using an X toolkit. */
#undef USE_X_TOOLKIT
Jim Blandy's avatar
Jim Blandy committed
950

951 952 953
/* Define this to check for malloc buffer overrun. */
#undef XMALLOC_OVERRUN_CHECK

954 955 956 957
/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
   XPointer or XPointer*. */
#undef XRegisterIMInstantiateCallback_arg6

Andreas Schwab's avatar
Andreas Schwab committed
958 959
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
960

Andreas Schwab's avatar
Andreas Schwab committed
961 962
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
#undef _LARGEFILE_SOURCE
963

Andreas Schwab's avatar
Andreas Schwab committed
964 965
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
Gerd Moellmann's avatar
Gerd Moellmann committed
966

967 968 969 970 971 972 973 974 975 976
/* Define to 1 if on MINIX. */
#undef _MINIX

/* Define to 2 if the system does not provide POSIX.1 features except with
   this defined. */
#undef _POSIX_1_SOURCE

/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE

Paul Eggert's avatar
Paul Eggert committed
977 978 979 980
/* Define to rpl_ if the getopt replacement functions and variables should be
   used. */
#undef __GETOPT_PREFIX

Andreas Schwab's avatar
Andreas Schwab committed
981 982
/* Define like PROTOTYPES; this can be used by system headers. */
#undef __PROTOTYPES
Gerd Moellmann's avatar
Gerd Moellmann committed
983

Dave Love's avatar
Dave Love committed
984 985 986 987 988 989 990 991
/* Define to compiler's equivalent of C99 restrict keyword. Don't define if
   equivalent is `__restrict'. */
#undef __restrict

/* Define to compiler's equivalent of C99 restrict keyword in array
   declarations. Define as empty for no equivalent. */
#undef __restrict_arr

Andreas Schwab's avatar
Andreas Schwab committed
992 993
/* Define to the used machine dependent file. */
#undef config_machfile
Gerd Moellmann's avatar
Gerd Moellmann committed
994

Andreas Schwab's avatar
Andreas Schwab committed
995 996
/* Define to the used os dependent file. */
#undef config_opsysfile
Gerd Moellmann's avatar
Gerd Moellmann committed
997

Andreas Schwab's avatar
Andreas Schwab committed
998 999
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
Gerd Moellmann's avatar
Gerd Moellmann committed
1000

Dave Love's avatar
Dave Love committed
1001 1002 1003
/* Define to a type if <wchar.h> does not define. */
#undef mbstate_t

Andreas Schwab's avatar
Andreas Schwab committed
1004 1005
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
Gerd Moellmann's avatar
Gerd Moellmann committed
1006

Miles Bader's avatar
Miles Bader committed
1007 1008 1009
/* Define to any substitute for sys_siglist. */
#undef sys_siglist

Andreas Schwab's avatar
Andreas Schwab committed
1010 1011
/* Define as `fork' if `vfork' does not work. */
#undef vfork
Gerd Moellmann's avatar
Gerd Moellmann committed
1012

Andreas Schwab's avatar
Andreas Schwab committed
1013 1014 1015
/* Define to empty if the keyword `volatile' does not work. Warning: valid
   code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
Jan Djärv's avatar
Jan Djärv committed
1016

Richard M. Stallman's avatar
Richard M. Stallman committed
1017

1018
/* If we're using X11/Carbon/GNUstep, define some consequences.  */
1019
#if defined(HAVE_X_WINDOWS) || defined(HAVE_NS)
1020
#define HAVE_WINDOW_SYSTEM
Morten Welinder's avatar
Morten Welinder committed
1021
#define HAVE_MOUSE
Jim Blandy's avatar
Jim Blandy committed
1022 1023 1024 1025
#endif

/* Define AMPERSAND_FULL_NAME if you use the convention
   that & in the full name stands for the login id.  */
1026 1027
/* Turned on June 1996 supposing nobody will mind it.  */
#define AMPERSAND_FULL_NAME
1028

1029 1030 1031 1032 1033
/* Define HAVE_SOUND if we have sound support.  We know it works
   and compiles only on the specified platforms.   For others,
   it probably doesn't make sense to try.  */

#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
Gerd Moellmann's avatar
Gerd Moellmann committed
1034 1035 1036 1037
#ifdef HAVE_MACHINE_SOUNDCARD_H
#define HAVE_SOUND 1
#endif
#ifdef HAVE_SYS_SOUNDCARD_H
1038 1039 1040
#define HAVE_SOUND 1
#endif
#ifdef HAVE_SOUNDCARD_H
Gerd Moellmann's avatar
Gerd Moellmann committed
1041 1042
#define HAVE_SOUND 1
#endif
1043 1044 1045
#ifdef HAVE_ALSA
#define HAVE_SOUND 1
#endif
1046
#endif /* __FreeBSD__ || __NetBSD__ || __linux__  */
Gerd Moellmann's avatar
Gerd Moellmann committed
1047

1048
/* If using GNU, then support inline function declarations. */
1049 1050 1051
/* Don't try to switch on inline handling as detected by AC_C_INLINE
   generally, because even if non-gcc compilers accept `inline', they
   may reject `extern inline'.  */
Stefan Monnier's avatar
Stefan Monnier committed
1052
#if defined (__GNUC__) && defined (OPTIMIZE)
1053 1054 1055 1056 1057
#define INLINE __inline__
#else
#define INLINE
#endif

1058 1059 1060 1061 1062 1063 1064 1065
/* `subprocesses' should be defined if you want to
   have code for asynchronous subprocesses
   (as used in M-x compile and M-x shell).
   Only MSDOS does not support this (it overrides
   this in its config_opsysfile below).  */

#define subprocesses

Andreas Schwab's avatar
Andreas Schwab committed
1066
/* Include the os and machine dependent files.  */
1067 1068
#include config_opsysfile
#include config_machfile
Joseph Arceneaux's avatar
Joseph Arceneaux committed
1069

1070 1071
/* Set up some defines, C and LD flags for NeXTstep interface on GNUstep.
  (There is probably a better place to do this, but right now the Cocoa
1072
   side does this in s/darwin.h and we cannot
1073 1074 1075 1076
   parallel this exactly since GNUstep is multi-OS. */
#ifdef HAVE_NS
# ifdef NS_IMPL_GNUSTEP
/* See also .m.o rule in Makefile.in */
1077
/* FIXME: are all these flags really needed?  Document here why.  */
1078
#  define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing
Chong Yidong's avatar
Chong Yidong committed
1079
/* GNUstep needs a bit more pure memory.  Of the existing knobs,
1080 1081
SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.  */
#  define SYSTEM_PURESIZE_EXTRA 30000
1082
# endif /* NS_IMPL_GNUSTEP */
1083 1084
#endif /* HAVE_NS */

Jim Blandy's avatar
Jim Blandy committed
1085 1086 1087
/* SIGTYPE is the macro we actually use.  */
#ifndef SIGTYPE
#define SIGTYPE RETSIGTYPE
1088 1089
#endif

1090 1091
#ifdef emacs /* Don't do this for lib-src.  */
/* Tell regex.c to use a type compatible with Emacs.  */
1092
#define RE_TRANSLATE_TYPE Lisp_Object
1093
#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
Stefan Monnier's avatar
Stefan Monnier committed
1094 1095 1096 1097 1098 1099 1100
#ifdef make_number
/* If make_number is a macro, use it.  */
#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
#else
/* If make_number is a function, avoid it.  */
#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
#endif
1101 1102
#endif

Paul Eggert's avatar
Paul Eggert committed
1103 1104 1105 1106 1107
/* Avoid link-time collision with system mktime if we will use our own.  */
#if ! HAVE_MKTIME || BROKEN_MKTIME
#define mktime emacs_mktime
#endif

1108 1109
#define my_strftime nstrftime	/* for strftime.c */

1110
/* The rest of the code currently tests the CPP symbol BSTRING.
Richard M. Stallman's avatar
Richard M. Stallman committed
1111 1112
   Override any claims made by the system-description files.
   Note that on some SCO version it is possible to have bcopy and not bcmp.  */
1113
#undef BSTRING
Richard M. Stallman's avatar
Richard M. Stallman committed
1114
#if defined (HAVE_BCOPY) && defined (HAVE_BCMP)
1115 1116 1117
#define BSTRING
#endif

1118 1119
/* Some of the files of Emacs which are intended for use with other
   programs assume that if you have a config.h file, you must declare
1120 1121
   the type of getenv.

1122
   This declaration shouldn't appear when alloca.s or Makefile.in
1123 1124
   includes config.h.  */
#ifndef NOT_C_CODE
1125 1126 1127
extern char *getenv ();
#endif

1128
/* These default definitions are good for almost all machines.
Karl Heuer's avatar
Karl Heuer committed
1129
   The exceptions override them in m/MACHINE.h.  */
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146

#ifndef BITS_PER_CHAR
#define BITS_PER_CHAR 8
#endif

#ifndef BITS_PER_SHORT
#define BITS_PER_SHORT 16
#endif

/* Note that lisp.h uses this in a preprocessor conditional, so it
   would not work to use sizeof.  That being so, we do all of them
   without sizeof, for uniformity's sake.  */
#ifndef BITS_PER_INT
#define BITS_PER_INT 32
#endif

#ifndef BITS_PER_LONG
1147 1148 1149
#ifdef _LP64
#define BITS_PER_LONG 64
#else
1150 1151
#define BITS_PER_LONG 32
#endif
1152
#endif
1153

1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
/* Define if the compiler supports function prototypes.  It may do so
   but not define __STDC__ (e.g. DEC C by default) or may define it as
   zero.  */
#undef PROTOTYPES
/* For mktime.c:  */
#ifndef __P
# if defined PROTOTYPES
#  define __P(args) args
# else
#  define __P(args) ()
# endif  /* GCC.  */
#endif /* __P */

1167
/* Don't include "string.h" or <stdlib.h> in non-C code.  */
1168
#ifndef NOT_C_CODE
1169 1170 1171
#ifdef HAVE_STRING_H
#include "string.h"
#endif
Dave Love's avatar
Dave Love committed
1172 1173 1174
#ifdef HAVE_STRINGS_H
#include "strings.h"  /* May be needed for bcopy & al. */
#endif
1175 1176 1177
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
Dave Love's avatar
Dave Love committed
1178 1179 1180 1181 1182 1183 1184 1185 1186
#ifndef __GNUC__
# ifdef HAVE_ALLOCA_H
#  include <alloca.h>
# else /* AIX files deal with #pragma.  */
#  ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
#  endif
# endif /* HAVE_ALLOCA_H */
#endif /* __GNUC__ */
Dave Love's avatar
Dave Love committed
1187
#ifndef HAVE_SIZE_T
1188
typedef unsigned size_t;
Dave Love's avatar
Dave Love committed
1189
#endif
Dave Love's avatar
Dave Love committed
1190
#endif /* NOT_C_CODE */
1191 1192 1193 1194 1195

/* Define HAVE_X_I18N if we have usable i18n support.  */

#ifdef HAVE_X11R6
#define HAVE_X_I18N
Jan Djärv's avatar
Jan Djärv committed
1196
#elif !defined X11R5_INHIBIT_I18N
1197 1198 1199 1200 1201 1202 1203 1204
#define HAVE_X_I18N
#endif

/* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support.  */

#if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM
#define HAVE_X11R6_XIM
#endif
1205

Gerd Moellmann's avatar
Gerd Moellmann committed
1206 1207
#if defined __GNUC__ && (__GNUC__ > 2 \
                         || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1208 1209 1210 1211
#define NO_RETURN	__attribute__ ((__noreturn__))
#else
#define NO_RETURN	/* nothing */
#endif
Andreas Schwab's avatar
Andreas Schwab committed
1212

Dave Love's avatar
Dave Love committed
1213 1214 1215 1216 1217
/* These won't be used automatically yet.  We also need to know, at least,
   that the stack is continuous.  */
#ifdef __GNUC__
#  ifndef GC_SETJMP_WORKS
  /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
1218
     see NON_SAVING_SETJMP in the target descriptions.  */
Glenn Morris's avatar
Glenn Morris committed
1219
  /* Exceptions (see NON_SAVING_SETJMP in target description) are
Dave Love's avatar
Dave Love committed
1220
     SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
Glenn Morris's avatar
Glenn Morris committed
1221
     Fixme: Deal with SVR3.  */
Dave Love's avatar
Dave Love committed
1222 1223 1224 1225 1226 1227 1228
#    define GC_SETJMP_WORKS 1
#  endif
#  ifndef GC_LISP_OBJECT_ALIGNMENT
#    define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
#  endif
#endif

Dave Love's avatar
Dave Love committed
1229 1230 1231 1232 1233 1234 1235 1236 1237
#ifndef HAVE_BCOPY
#define bcopy(a,b,s) memcpy (b,a,s)
#endif
#ifndef HAVE_BZERO
#define bzero(a,s) memset (a,0,s)
#endif
#ifndef HAVE_BCMP
#define BCMP memcmp
#endif
Dave Love's avatar
Dave Love committed
1238 1239 1240

#endif /* EMACS_CONFIG_H */

1241
/*
Dave Love's avatar
Dave Love committed
1242
Local Variables:
Dave Love's avatar
Dave Love committed
1243 1244 1245 1246
mode: c
End:
*/