config.in 33.6 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

138 139 140
/* Define to 1 if you have the `copysign' function. */
#undef HAVE_COPYSIGN

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 (or ungif) library. */
Andreas Schwab's avatar
Andreas Schwab committed
268 269
#undef HAVE_GIF

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

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

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

279 280 281 282 283 284 285 286 287
/* 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
288 289 290
/* Define to 1 if you have the `gtk_main' function. */
#undef HAVE_GTK_MAIN

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

Andreas Schwab's avatar
Andreas Schwab committed
294 295 296 297 298 299 300 301 302 303 304 305
/* 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

306 307 308
/* Define to 1 if you have the `isnan' function. */
#undef HAVE_ISNAN

Andreas Schwab's avatar
Andreas Schwab committed
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
/* 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

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

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

Andreas Schwab's avatar
Andreas Schwab committed
330 331 332 333 334 335
/* 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
336 337 338
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET

Andreas Schwab's avatar
Andreas Schwab committed
339 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
/* 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
390
/* Define to 1 if using libotf. */
Kenichi Handa's avatar
Kenichi Handa committed
391 392
#undef HAVE_LIBOTF

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

Andreas Schwab's avatar
Andreas Schwab committed
396 397 398 399 400 401
/* 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

402 403 404
/* Define to 1 if using SELinux. */
#undef HAVE_LIBSELINUX

Andreas Schwab's avatar
Andreas Schwab committed
405 406 407 408 409 410 411 412 413 414 415 416
/* 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 <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
417 418 419
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H

Andreas Schwab's avatar
Andreas Schwab committed
420 421 422 423 424 425 426 427 428
/* 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
429
/* Define to 1 if using libm17n-flt. */
Kenichi Handa's avatar
Kenichi Handa committed
430 431
#undef HAVE_M17N_FLT

Andreas Schwab's avatar
Andreas Schwab committed
432 433 434 435 436 437 438 439 440
/* 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

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

Andreas Schwab's avatar
Andreas Schwab committed
444 445 446 447 448 449 450 451 452
/* 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
453 454 455
/* Define to 1 if <wchar.h> declares mbstate_t. */
#undef HAVE_MBSTATE_T

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

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

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

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

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

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

Andreas Schwab's avatar
Andreas Schwab committed
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
/* 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

Dave Love's avatar
Dave Love committed
491 492 493
/* Define to 1 if you have the `mremap' function. */
#undef HAVE_MREMAP

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

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

500 501 502 503
/* 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
504 505 506
/* Define to 1 if libotf has OTF_get_variation_glyphs. */
#undef HAVE_OTF_GET_VARIATION_GLYPHS

507 508 509
/* Define to 1 if personality LINUX32 can be set. */
#undef HAVE_PERSONALITY_LINUX32

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

Dave Love's avatar
Dave Love committed
513 514 515 516 517 518
/* 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
519 520 521
/* Define to 1 if you have the `pstat_getdynamic' function. */
#undef HAVE_PSTAT_GETDYNAMIC

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

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

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

Andreas Schwab's avatar
Andreas Schwab committed
531 532 533 534 535 536 537 538 539
/* 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
540
/* Define to 1 if res_init is available. */
Andreas Schwab's avatar
Andreas Schwab committed
541 542 543 544 545 546 547 548 549 550 551
#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
552 553 554
/* Define to 1 if using librsvg. */
#undef HAVE_RSVG

Andreas Schwab's avatar
Andreas Schwab committed
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581
/* 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
582 583 584
/* Define to 1 if the system has the type `size_t'. */
#undef HAVE_SIZE_T

Andreas Schwab's avatar
Andreas Schwab committed
585 586 587 588 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
/* 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

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

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

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

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

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

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

633
/* Define to 1 if `tm_zone' is a member of `struct tm'. */
Andreas Schwab's avatar
Andreas Schwab committed
634 635 636 637 638
#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
639 640 641
/* Define to 1 if you have the `sync' function. */
#undef HAVE_SYNC

Andreas Schwab's avatar
Andreas Schwab committed
642 643 644
/* Define to 1 if you have the `sysinfo' function. */
#undef HAVE_SYSINFO

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

Dave Love's avatar
Dave Love committed
648 649 650 651 652 653
/* 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
654 655 656
/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H

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

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

Andreas Schwab's avatar
Andreas Schwab committed
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
/* 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

684 685 686
/* Define to 1 if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H

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

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

693 694 695
/* 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
696 697 698 699 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
/* 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
737 738 739
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H

Andreas Schwab's avatar
Andreas Schwab committed
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764
/* 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
765 766 767
/* Define to 1 if you have the Xft library. */
#undef HAVE_XFT

Richard M. Stallman's avatar
Richard M. Stallman committed
768 769 770
/* Define to 1 if XIM is available */
#undef HAVE_XIM

Andreas Schwab's avatar
Andreas Schwab committed
771 772 773 774 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
/* 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 to 1 if localtime caches TZ. */
#undef LOCALTIME_CACHE

Glenn Morris's avatar
Glenn Morris committed
816 817 818 819 820 821 822 823 824
/* String giving fallback POP mail host. */
#undef MAILHOST

/* Define to unlink, rather than empty, mail spool after reading. */
#undef MAIL_UNLINK_SPOOL

/* Define to support MMDF mailboxes in movemail. */
#undef MAIL_USE_MMDF

Andreas Schwab's avatar
Andreas Schwab committed
825 826 827 828 829 830 831 832 833 834
/* 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

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

838 839 840 841 842 843
/* 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
844 845 846 847 848 849 850 851 852 853 854 855
/* 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

856 857 858
/* Define to the home page for this package. */
#undef PACKAGE_URL

Andreas Schwab's avatar
Andreas Schwab committed
859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874
/* 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
875

Andreas Schwab's avatar
Andreas Schwab committed
876 877
/* 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
878
   automatically deduced at runtime.
Paul Eggert's avatar
Paul Eggert committed
879 880 881
	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
882
#undef STACK_DIRECTION
Jim Blandy's avatar
Jim Blandy committed
883

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

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

890 891 892
/* Process async input synchronously. */
#undef SYNC_INPUT

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

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

899 900 901 902 903 904 905
/* 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

906 907 908
/* Define to 1 if using GTK. */
#undef USE_GTK

Stefan Monnier's avatar
Stefan Monnier committed
909 910 911 912 913 914
/* Define to 1 if using the Lucid X toolkit. */
#undef USE_LUCID

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

915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
/* 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
937 938
/* Define to 1 if we should use toolkit scroll bars. */
#undef USE_TOOLKIT_SCROLL_BARS
Jim Blandy's avatar
Jim Blandy committed
939

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

Andreas Schwab's avatar
Andreas Schwab committed
943 944
/* Define to 1 if using an X toolkit. */
#undef USE_X_TOOLKIT
Jim Blandy's avatar
Jim Blandy committed
945

946 947 948
/* Define this to check for malloc buffer overrun. */
#undef XMALLOC_OVERRUN_CHECK

949 950 951 952
/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
   XPointer or XPointer*. */
#undef XRegisterIMInstantiateCallback_arg6

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

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

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

962 963 964 965 966 967 968 969 970 971
/* 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
972 973 974 975
/* Define to rpl_ if the getopt replacement functions and variables should be
   used. */
#undef __GETOPT_PREFIX

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

Dave Love's avatar
Dave Love committed
979 980 981 982 983 984 985 986
/* 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
987 988
/* Define to the used machine dependent file. */
#undef config_machfile
Gerd Moellmann's avatar
Gerd Moellmann committed
989

Andreas Schwab's avatar
Andreas Schwab committed
990 991
/* Define to the used os dependent file. */
#undef config_opsysfile
Gerd Moellmann's avatar
Gerd Moellmann committed
992

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

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

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

Miles Bader's avatar
Miles Bader committed
1002 1003 1004
/* Define to any substitute for sys_siglist. */
#undef sys_siglist

Andreas Schwab's avatar
Andreas Schwab committed
1005 1006
/* Define as `fork' if `vfork' does not work. */
#undef vfork
Gerd Moellmann's avatar
Gerd Moellmann committed
1007

Andreas Schwab's avatar
Andreas Schwab committed
1008 1009 1010
/* 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
1011

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

1013
/* If we're using X11/Carbon/GNUstep, define some consequences.  */
1014
#if defined(HAVE_X_WINDOWS) || defined(HAVE_NS)
1015
#define HAVE_WINDOW_SYSTEM
Morten Welinder's avatar
Morten Welinder committed
1016
#define HAVE_MOUSE
Jim Blandy's avatar
Jim Blandy committed
1017 1018 1019 1020
#endif

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

1024 1025 1026 1027 1028
/* 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
1029 1030 1031 1032
#ifdef HAVE_MACHINE_SOUNDCARD_H
#define HAVE_SOUND 1
#endif
#ifdef HAVE_SYS_SOUNDCARD_H
1033 1034 1035
#define HAVE_SOUND 1
#endif
#ifdef HAVE_SOUNDCARD_H
Gerd Moellmann's avatar
Gerd Moellmann committed
1036 1037
#define HAVE_SOUND 1
#endif
1038 1039 1040
#ifdef HAVE_ALSA
#define HAVE_SOUND 1
#endif
1041
#endif /* __FreeBSD__ || __NetBSD__ || __linux__  */
Gerd Moellmann's avatar
Gerd Moellmann committed
1042

1043
/* If using GNU, then support inline function declarations. */
1044 1045 1046
/* 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
1047
#if defined (__GNUC__) && defined (OPTIMIZE)
1048 1049 1050 1051 1052
#define INLINE __inline__
#else
#define INLINE
#endif

1053 1054 1055 1056 1057 1058 1059 1060
/* `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
1061
/* Include the os and machine dependent files.  */
1062 1063
#include config_opsysfile
#include config_machfile
Joseph Arceneaux's avatar
Joseph Arceneaux committed
1064

1065 1066
/* 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
1067
   side does this in s/darwin.h and we cannot
1068 1069 1070
   parallel this exactly since GNUstep is multi-OS. */
#ifdef HAVE_NS
# ifdef NS_IMPL_GNUSTEP
Chong Yidong's avatar
Chong Yidong committed
1071
/* GNUstep needs a bit more pure memory.  Of the existing knobs,
1072 1073
SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.  */
#  define SYSTEM_PURESIZE_EXTRA 30000
1074
# endif /* NS_IMPL_GNUSTEP */
1075 1076
#endif /* HAVE_NS */

Jim Blandy's avatar
Jim Blandy committed
1077 1078 1079
/* SIGTYPE is the macro we actually use.  */
#ifndef SIGTYPE
#define SIGTYPE RETSIGTYPE
1080 1081
#endif

1082 1083
#ifdef emacs /* Don't do this for lib-src.  */
/* Tell regex.c to use a type compatible with Emacs.  */
1084
#define RE_TRANSLATE_TYPE Lisp_Object
1085
#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
Stefan Monnier's avatar
Stefan Monnier committed
1086 1087 1088 1089 1090 1091 1092
#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
1093 1094
#endif

Paul Eggert's avatar
Paul Eggert committed
1095 1096 1097 1098 1099
/* Avoid link-time collision with system mktime if we will use our own.  */
#if ! HAVE_MKTIME || BROKEN_MKTIME
#define mktime emacs_mktime
#endif

1100 1101
#define my_strftime nstrftime	/* for strftime.c */

1102
/* The rest of the code currently tests the CPP symbol BSTRING.
Richard M. Stallman's avatar
Richard M. Stallman committed
1103 1104
   Override any claims made by the system-description files.
   Note that on some SCO version it is possible to have bcopy and not bcmp.  */
1105
#undef BSTRING
Richard M. Stallman's avatar
Richard M. Stallman committed
1106
#if defined (HAVE_BCOPY) && defined (HAVE_BCMP)
1107 1108 1109
#define BSTRING
#endif

1110 1111
/* 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
1112 1113
   the type of getenv.

1114
   This declaration shouldn't appear when alloca.s or Makefile.in
1115 1116
   includes config.h.  */
#ifndef NOT_C_CODE
1117 1118 1119
extern char *getenv ();
#endif

1120
/* These default definitions are good for almost all machines.
Karl Heuer's avatar
Karl Heuer committed
1121
   The exceptions override them in m/MACHINE.h.  */
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138

#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
1139 1140 1141
#ifdef _LP64
#define BITS_PER_LONG 64
#else
1142 1143
#define BITS_PER_LONG 32
#endif
1144
#endif
1145

1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158
/* 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 */

1159
/* Don't include "string.h" or <stdlib.h> in non-C code.  */
1160
#ifndef NOT_C_CODE
1161 1162 1163
#ifdef HAVE_STRING_H
#include "string.h"
#endif
Dave Love's avatar
Dave Love committed
1164 1165 1166
#ifdef HAVE_STRINGS_H
#include "strings.h"  /* May be needed for bcopy & al. */
#endif
1167 1168 1169
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
Dave Love's avatar
Dave Love committed
1170 1171 1172 1173 1174 1175 1176 1177 1178
#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
1179
#ifndef HAVE_SIZE_T
1180
typedef unsigned size_t;
Dave Love's avatar
Dave Love committed
1181
#endif
Dave Love's avatar
Dave Love committed
1182
#endif /* NOT_C_CODE */
1183 1184 1185 1186 1187

/* 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
1188
#elif !defined X11R5_INHIBIT_I18N
1189 1190 1191 1192 1193 1194 1195 1196
#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
1197

Gerd Moellmann's avatar
Gerd Moellmann committed
1198 1199
#if defined __GNUC__ && (__GNUC__ > 2 \
                         || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
1200 1201 1202 1203
#define NO_RETURN	__attribute__ ((__noreturn__))
#else
#define NO_RETURN	/* nothing */
#endif
Andreas Schwab's avatar
Andreas Schwab committed
1204

Dave Love's avatar
Dave Love committed
1205 1206 1207 1208 1209
/* 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 --
1210
     see NON_SAVING_SETJMP in the target descriptions.  */
Glenn Morris's avatar
Glenn Morris committed
1211
  /* Exceptions (see NON_SAVING_SETJMP in target description) are
Dave Love's avatar
Dave Love committed
1212
     SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
Glenn Morris's avatar
Glenn Morris committed
1213
     Fixme: Deal with SVR3.  */
Dave Love's avatar
Dave Love committed
1214 1215 1216 1217 1218 1219 1220
#    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
1221 1222 1223 1224 1225 1226 1227 1228 1229
#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
1230 1231 1232

#endif /* EMACS_CONFIG_H */

1233
/*
Dave Love's avatar
Dave Love committed
1234
Local Variables:
Dave Love's avatar
Dave Love committed
1235 1236 1237 1238
mode: c
End:
*/