blob: 15b347c337d82d1fe4f0ca8b0e76059f4fb296ad [file] [log] [blame]
Jack Jansen42218ce1997-01-31 16:15:11 +00001/***********************************************************
2Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam,
3The Netherlands.
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the names of Stichting Mathematisch
12Centrum or CWI not be used in advertising or publicity pertaining to
13distribution of the software without specific, written prior permission.
14
15STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
16THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
18FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
21OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22
23******************************************************************/
24
Jack Jansen7e124ea1996-08-19 11:38:54 +000025/* config.h for Macintosh.
Jack Jansen5c214202000-04-07 09:10:35 +000026 Valid only for CodeWarrior.
Jack Jansen7e124ea1996-08-19 11:38:54 +000027 There's no point in giving exact version numbers of the compilers
28 since we don't update this file as each compiler comes out;
29 with CodeWarrior, we generally use the most recent version.
30*/
31
32#define USE_STACKCHECK
Guido van Rossum739267b1994-08-29 08:42:37 +000033
Jack Jansen021da552000-06-04 21:56:05 +000034/* Define if on Macintosh (MPW or __MWERKS__ should also be defined) */
Guido van Rossumeabdbff1995-02-18 14:56:51 +000035#ifndef macintosh
Guido van Rossumce9739b1994-01-05 16:17:15 +000036#define macintosh
Guido van Rossumeabdbff1995-02-18 14:56:51 +000037#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +000038
Jack Jansen8ab04b42002-04-11 20:46:23 +000039#if defined(USE_GUSI2)
Jack Jansen5c214202000-04-07 09:10:35 +000040#define USE_GUSI
Guido van Rossume71d8531995-02-19 15:49:39 +000041#endif
42
Jack Jansen7bfc2eb2000-05-12 21:37:10 +000043#ifndef USE_GUSI
44#define DONT_HAVE_SYS_TYPES_H
45#define DONT_HAVE_SYS_STAT_H
46#define HAVE_STAT_H
47#endif
48
Guido van Rossumce9739b1994-01-05 16:17:15 +000049/* Define if on AIX 3.
50 System headers sometimes define this.
51 We just want to avoid a redefinition error message. */
52#ifndef _ALL_SOURCE
Jack Jansen5c214202000-04-07 09:10:35 +000053#undef _ALL_SOURCE
Guido van Rossumce9739b1994-01-05 16:17:15 +000054#endif
55
Guido van Rossumd4d77281994-08-19 10:51:31 +000056/* Define if type char is unsigned and you are not using gcc. */
Jack Jansen5c214202000-04-07 09:10:35 +000057#ifndef __CHAR_UNSIGNED__
58#undef __CHAR_UNSIGNED__
59#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +000060
Guido van Rossumce9739b1994-01-05 16:17:15 +000061/* Define to empty if the keyword does not work. */
Jack Jansen5c214202000-04-07 09:10:35 +000062#undef const
Guido van Rossumce9739b1994-01-05 16:17:15 +000063
64/* Define to `int' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +000065#undef gid_t
Guido van Rossumce9739b1994-01-05 16:17:15 +000066
67/* Define if your struct tm has tm_zone. */
Jack Jansen5c214202000-04-07 09:10:35 +000068#undef HAVE_TM_ZONE
Guido van Rossumce9739b1994-01-05 16:17:15 +000069
70/* Define if you don't have tm_zone but do have the external array
71 tzname. */
Jack Jansen5c214202000-04-07 09:10:35 +000072#undef HAVE_TZNAME
73
Guido van Rossumce9739b1994-01-05 16:17:15 +000074/* Define if on MINIX. */
Jack Jansen5c214202000-04-07 09:10:35 +000075#undef _MINIX
Guido van Rossumce9739b1994-01-05 16:17:15 +000076
77/* Define to `int' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +000078#undef mode_t
Guido van Rossumce9739b1994-01-05 16:17:15 +000079
80/* Define to `long' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +000081#undef off_t
Guido van Rossumce9739b1994-01-05 16:17:15 +000082
83/* Define to `int' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +000084#undef pid_t
Guido van Rossumce9739b1994-01-05 16:17:15 +000085
86/* Define if the system does not provide POSIX.1 features except
87 with this defined. */
Jack Jansen5c214202000-04-07 09:10:35 +000088#undef _POSIX_1_SOURCE
Guido van Rossumce9739b1994-01-05 16:17:15 +000089
90/* Define if you need to in order for stat and other things to work. */
Jack Jansen5c214202000-04-07 09:10:35 +000091#undef _POSIX_SOURCE
Guido van Rossumce9739b1994-01-05 16:17:15 +000092
93/* Define as the return type of signal handlers (int or void). */
94#define RETSIGTYPE void
95
96/* Define to `unsigned' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +000097#undef size_t
Guido van Rossumce9739b1994-01-05 16:17:15 +000098
99/* Define if you have the ANSI C header files. */
Jack Jansen6a474c51998-08-20 14:49:33 +0000100#define STDC_HEADERS 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000101
Guido van Rossumce9739b1994-01-05 16:17:15 +0000102/* Define if you can safely include both <sys/time.h> and <time.h>. */
Jack Jansen5c214202000-04-07 09:10:35 +0000103#undef TIME_WITH_SYS_TIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000104
105/* Define if your <sys/time.h> declares struct tm. */
Jack Jansen5c214202000-04-07 09:10:35 +0000106#undef TM_IN_SYS_TIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000107
108/* Define to `int' if <sys/types.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +0000109#undef uid_t
Guido van Rossumce9739b1994-01-05 16:17:15 +0000110
Jack Jansen5c214202000-04-07 09:10:35 +0000111/* Define if your processor stores words with the most significant
112 byte first (like Motorola and SPARC, unlike Intel and VAX). */
113#define WORDS_BIGENDIAN 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000114
Jack Jansen90f22fe2001-02-12 14:59:13 +0000115/* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
116 and you want support for AIX C++ shared extension modules. */
117#undef AIX_GENUINE_CPLUSPLUS
118
Guido van Rossumce9739b1994-01-05 16:17:15 +0000119/* Define if your <unistd.h> contains bad prototypes for exec*()
120 (as it does on SGI IRIX 4.x) */
Jack Jansen5c214202000-04-07 09:10:35 +0000121#undef BAD_EXEC_PROTOTYPES
Guido van Rossumce9739b1994-01-05 16:17:15 +0000122
Guido van Rossumeabdbff1995-02-18 14:56:51 +0000123/* Define if your compiler botches static forward declarations */
Jack Jansenfea75331994-12-14 13:38:13 +0000124#define BAD_STATIC_FORWARD
Jack Jansen5c214202000-04-07 09:10:35 +0000125
Jack Jansen5c214202000-04-07 09:10:35 +0000126/* Define this if you have BeOS threads */
127#undef BEOS_THREADS
128
129/* Define if you have the Mach cthreads package */
130#undef C_THREADS
Guido van Rossumd4d77281994-08-19 10:51:31 +0000131
132/* Define to `long' if <time.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +0000133#undef clock_t
Guido van Rossumd4d77281994-08-19 10:51:31 +0000134
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000135/* Defined on Solaris to see additional function prototypes. */
136#undef __EXTENSIONS__
137
Jack Jansen5c214202000-04-07 09:10:35 +0000138/* Define if getpgrp() must be called as getpgrp(0). */
139#undef GETPGRP_HAVE_ARG
140
141/* Define if gettimeofday() does not have second (timezone) argument
142 This is the case on Motorola V4 (R40V4.2) */
143#undef GETTIMEOFDAY_NO_TZ
Guido van Rossumd4d77281994-08-19 10:51:31 +0000144
145/* Define this if your time.h defines altzone */
Jack Jansen5c214202000-04-07 09:10:35 +0000146#undef HAVE_ALTZONE
147
Jack Jansen59c14e22001-08-07 12:33:32 +0000148/* Define if --enable-ipv6 is specified */
149#undef ENABLE_IPV6
150
151/* Define if sockaddr has sa_len member */
152#undef HAVE_SOCKADDR_SA_LEN
153
154/* struct addrinfo (netdb.h) */
155#undef HAVE_ADDRINFO
156
157/* struct sockaddr_storage (sys/socket.h) */
158#undef HAVE_SOCKADDR_STORAGE
159
Jack Jansen90f22fe2001-02-12 14:59:13 +0000160/* Defined when any dynamic module loading is enabled */
161/* #undef HAVE_DYNAMIC_LOADING */
162
163/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
164#undef HAVE_GETC_UNLOCKED
Jack Jansen5c214202000-04-07 09:10:35 +0000165
166/* Define this if you have some version of gethostbyname_r() */
167#undef HAVE_GETHOSTBYNAME_R
168
169/* Define this if you have the 3-arg version of gethostbyname_r() */
170#undef HAVE_GETHOSTBYNAME_R_3_ARG
171
172/* Define this if you have the 5-arg version of gethostbyname_r() */
173#undef HAVE_GETHOSTBYNAME_R_5_ARG
174
175/* Define this if you have the 6-arg version of gethostbyname_r() */
176#undef HAVE_GETHOSTBYNAME_R_6_ARG
177
Jack Jansen90f22fe2001-02-12 14:59:13 +0000178/* Defined to enable large file support when an off_t is bigger than a long
179 and long long is available and at least as big as an off_t. You may need
180 to add some flags for configuration and compilation to enable this mode.
181 E.g, for Solaris 2.7:
182 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
183 configure
184*/
185#undef HAVE_LARGEFILE_SUPPORT
186
Jack Jansen5c214202000-04-07 09:10:35 +0000187/* Define this if you have the type long long */
Jack Jansenf122d362001-11-06 12:11:05 +0000188#define HAVE_LONG_LONG
Jack Jansen5c214202000-04-07 09:10:35 +0000189
Guido van Rossumce9739b1994-01-05 16:17:15 +0000190/* Define if your compiler supports function prototypes */
Jack Jansen6a474c51998-08-20 14:49:33 +0000191#define HAVE_PROTOTYPES 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000192
Jack Jansen90f22fe2001-02-12 14:59:13 +0000193/* Define if you have GNU PTH threads */
194#undef HAVE_PTH
195
Jack Jansen59c14e22001-08-07 12:33:32 +0000196/* Define if you have readline 4.2 */
197#undef HAVE_RL_COMPLETION_MATCHES
198
Guido van Rossumd4d77281994-08-19 10:51:31 +0000199/* Define if your compiler supports variable length function prototypes
200 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
201#define HAVE_STDARG_PROTOTYPES
202
Jack Jansen90f22fe2001-02-12 14:59:13 +0000203/* Define this if you have the type uintptr_t */
204#undef HAVE_UINTPTR_T
205
206/* Define if you have a useable wchar_t type defined in wchar.h; useable
207 means wchar_t must be 16-bit unsigned type. (see
208 Include/unicodeobject.h). */
209#define HAVE_USABLE_WCHAR_T 1
210
211/* Define if the compiler provides a wchar.h header file. */
212#define HAVE_WCHAR_H 1
213
Jack Jansen45428972001-07-02 15:34:57 +0000214/* Define if you want to have a Unicode type. */
215#define Py_USING_UNICODE 1
216
217/* Define as the integral type used for Unicode representation. */
218#define PY_UNICODE_TYPE wchar_t
219
220/* Define as the size of the unicode type. */
221#define Py_UNICODE_SIZE 2
222
Jack Jansen59c14e22001-08-07 12:33:32 +0000223/* Define if nice() returns success/failure instead of the new priority. */
224#undef HAVE_BROKEN_NICE
225
Jack Jansen5c214202000-04-07 09:10:35 +0000226/* Define if malloc(0) returns a NULL pointer */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000227#ifdef USE_MSL_MALLOC
228#define MALLOC_ZERO_RETURNS_NULL
229#else
Jack Jansen5c214202000-04-07 09:10:35 +0000230#undef MALLOC_ZERO_RETURNS_NULL
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000231#endif
Jack Jansen5c214202000-04-07 09:10:35 +0000232
Guido van Rossumd4d77281994-08-19 10:51:31 +0000233/* Define if you have POSIX threads */
Jack Jansen5c214202000-04-07 09:10:35 +0000234#ifdef USE_GUSI2
235#define _POSIX_THREADS
236#endif
237
Jack Jansen90f22fe2001-02-12 14:59:13 +0000238/* Define if you want to build an interpreter with many run-time checks */
239#undef Py_DEBUG
240
Jack Jansen5c214202000-04-07 09:10:35 +0000241/* Define to force use of thread-safe errno, h_errno, and other functions */
242#undef _REENTRANT
243
244/* Define if setpgrp() must be called as setpgrp(0, 0). */
245#undef SETPGRP_HAVE_ARG
Guido van Rossumd4d77281994-08-19 10:51:31 +0000246
247/* Define to empty if the keyword does not work. */
Jack Jansen5c214202000-04-07 09:10:35 +0000248#undef signed
Guido van Rossumd4d77281994-08-19 10:51:31 +0000249
Jack Jansen90f22fe2001-02-12 14:59:13 +0000250/* Define if i>>j for signed int i does not extend the sign bit
251 when i < 0
252*/
253#define SIGNED_RIGHT_SHIFT_ZERO_FILLS
254
255/* The number of bytes in an off_t. */
256#define SIZEOF_OFF_T 4
257
258/* The number of bytes in a time_t. */
259#define SIZEOF_TIME_T 4
260
261/* The number of bytes in a pthread_t. */
262#ifdef USE_GUSI2
263#define SIZEOF_PTHREAD_T 4
264#endif
265
266/* Define to `int' if <sys/types.h> doesn't define. */
267#undef socklen_t
268
Guido van Rossumce9739b1994-01-05 16:17:15 +0000269/* Define if you can safely include both <sys/select.h> and <sys/time.h>
270 (which you can't on SCO ODT 3.0). */
Jack Jansen5c214202000-04-07 09:10:35 +0000271#undef SYS_SELECT_WITH_SYS_TIME
272
273/* Define if a va_list is an array of some kind */
274#undef VA_LIST_IS_ARRAY
275
276/* Define to empty if the keyword does not work. */
277#undef volatile
278
279/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
280#undef WANT_SIGFPE_HANDLER
281
Jack Jansen5c214202000-04-07 09:10:35 +0000282/* Define if you want wctype.h functions to be used instead of the
283 one supplied by Python itself. (see Include/unicodectype.h). */
284#undef WANT_WCTYPE_FUNCTIONS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000285
Jack Jansena2583242002-04-14 22:13:35 +0000286/* Define if you want cross-platform newline support for reading */
287#define WITH_UNIVERSAL_NEWLINES
288
Guido van Rossumd4d77281994-08-19 10:51:31 +0000289/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
290 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
291 Sequent Symmetry (Dynix), and Atari ST.
292 This requires the "dl-dld" library,
293 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
294 as well as the "GNU dld" library,
295 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
296 Don't bother on SunOS 4 or 5, they already have dynamic linking using
297 shared libraries */
Jack Jansen5c214202000-04-07 09:10:35 +0000298#undef WITH_DL_DLD
299
Martin v. Löwis2befa482002-06-09 13:41:37 +0000300/* Define if you want documentation strings in extension modules */
301#define WITH_DOC_STRINGS 1
302
Jack Jansen5c214202000-04-07 09:10:35 +0000303/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
304 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
305 linker (rld). Dyld is necessary to support frameworks. */
306#undef WITH_DYLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000307
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000308/* Define if you want to compile in Python-specific mallocs */
Jack Jansen77d07172002-07-08 10:05:23 +0000309#define WITH_PYMALLOC 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000310
Jack Jansen5c214202000-04-07 09:10:35 +0000311/* Define if you want to produce an OpenStep/Rhapsody framework
312 (shared library plus accessory files). */
313#undef WITH_NEXT_FRAMEWORK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000314
Jack Jansen59c14e22001-08-07 12:33:32 +0000315/* Define if you want to use MacPython modules on MacOSX in unix-Python */
316#define USE_TOOLBOX_OBJECT_GLUE
317
Jack Jansen90f22fe2001-02-12 14:59:13 +0000318/* Define if you want to use SGI (IRIX 4) dynamic linking.
319 This requires the "dl" library by Jack Jansen,
320 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
321 Don't bother on IRIX 5, it already has dynamic linking using SunOS
322 style shared libraries */
323#undef WITH_SGI_DL
Jack Jansen5c214202000-04-07 09:10:35 +0000324
Jack Jansen90f22fe2001-02-12 14:59:13 +0000325/* Define if you want to compile in rudimentary thread support */
326/* #undef WITH_THREAD */
Jack Jansen5c214202000-04-07 09:10:35 +0000327
328/* The number of bytes in a char. */
329#define SIZEOF_CHAR 1
330
331/* The number of bytes in a double. */
332#define SIZEOF_DOUBLE 8
333
334/* The number of bytes in a float. */
335#define SIZEOF_FLOAT 4
336
Jack Jansen90f22fe2001-02-12 14:59:13 +0000337/* The number of bytes in a fpos_t. */
338#define SIZEOF_FPOS_T 4
339
Jack Jansen5c214202000-04-07 09:10:35 +0000340/* The number of bytes in a int. */
341#define SIZEOF_INT 4
342
343/* The number of bytes in a long. */
344#define SIZEOF_LONG 4
345
346/* The number of bytes in a long long. */
Jack Jansenf122d362001-11-06 12:11:05 +0000347#define SIZEOF_LONG_LONG 8
Jack Jansen5c214202000-04-07 09:10:35 +0000348
349/* The number of bytes in a short. */
350#define SIZEOF_SHORT 2
351
Jack Jansen90f22fe2001-02-12 14:59:13 +0000352/* The number of bytes in a uintptr_t. */
353#define SIZEOF_UINTPTR_T 4
354
Jack Jansen5c214202000-04-07 09:10:35 +0000355/* The number of bytes in a void *. */
356#define SIZEOF_VOID_P 4
357
Jack Jansen90f22fe2001-02-12 14:59:13 +0000358/* Define if you have the _getpty function. */
359#undef HAVE__GETPTY
360
Jack Jansen5c214202000-04-07 09:10:35 +0000361/* Define if you have the alarm function. */
362#undef HAVE_ALARM
363
364/* Define if you have the chown function. */
365#undef HAVE_CHOWN
Guido van Rossumd4d77281994-08-19 10:51:31 +0000366
Guido van Rossumce9739b1994-01-05 16:17:15 +0000367/* Define if you have clock. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000368#define HAVE_CLOCK
369
Jack Jansen5c214202000-04-07 09:10:35 +0000370/* Define if you have the confstr function. */
371#undef HAVE_CONFSTR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000372
Jack Jansen5c214202000-04-07 09:10:35 +0000373/* Define if you have the ctermid function. */
374#undef HAVE_CTERMID
Guido van Rossumce9739b1994-01-05 16:17:15 +0000375
Jack Jansen5c214202000-04-07 09:10:35 +0000376/* Define if you have the ctermid_r function. */
377#undef HAVE_CTERMID_R
378
379/* Define if you have the dlopen function. */
380#undef HAVE_DLOPEN
381
382/* Define if you have the dup2 function. */
383#undef HAVE_DUP2
384
385/* Define if you have the execv function. */
386#undef HAVE_EXECV
387
388/* Define if you have the fdatasync function. */
389#undef HAVE_FDATASYNC
390
391/* Define if you have the flock function. */
392#undef HAVE_FLOCK
393
394/* Define if you have the fork function. */
395#undef HAVE_FORK
396
Jack Jansen90f22fe2001-02-12 14:59:13 +0000397/* Define if you have the forkpty function. */
398#undef HAVE_FORKPTY
399
Jack Jansen5c214202000-04-07 09:10:35 +0000400/* Define if you have the fpathconf function. */
401#undef HAVE_FPATHCONF
402
403/* Define if you have the fseek64 function. */
404#undef HAVE_FSEEK64
405
406/* Define if you have the fseeko function. */
407#undef HAVE_FSEEKO
408
409/* Define if you have the fstatvfs function. */
410#undef HAVE_FSTATVFS
411
412/* Define if you have the fsync function. */
413#define HAVE_FSYNC
414
415/* Define if you have the ftell64 function. */
416#undef HAVE_FTELL64
417
418/* Define if you have the ftello function. */
419#undef HAVE_FTELLO
420
421/* Define if you have the ftime function. */
422#undef HAVE_FTIME
423
424/* Define if you have the ftruncate function. */
425#ifdef USE_GUSI
426#define HAVE_FTRUNCATE
427#endif
428
429/* Define if you have the getcwd function. */
430#define HAVE_GETCWD
431
432/* Define if you have the getgroups function. */
433#undef HAVE_GETGROUPS
434
Jack Jansen90f22fe2001-02-12 14:59:13 +0000435/* Define if you have the gethostbyname function. */
436#ifdef USE_GUSI
437#define HAVE_GETHOSTBYNAME 1
438#endif
439
Jack Jansen5c214202000-04-07 09:10:35 +0000440/* Define if you have the getlogin function. */
441#undef HAVE_GETLOGIN
442
Jack Jansen59c14e22001-08-07 12:33:32 +0000443/* Define if you have the getnameinfo function. */
444#undef HAVE_GETNAMEINFO
445
Jack Jansen5c214202000-04-07 09:10:35 +0000446/* Define if you have the getpeername function. */
447#ifdef USE_GUSI
448#define HAVE_GETPEERNAME
449#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000450
Martin v. Löwis606edc12002-06-13 21:09:11 +0000451/* Define if you have the getpgid function. */
452#undef HAVE_GETPGID
453
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000454/* Define if you have the getpgrp function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000455#undef HAVE_GETPGRP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000456
Jack Jansen5c214202000-04-07 09:10:35 +0000457/* Define if you have the getpid function. */
458#undef HAVE_GETPID
Guido van Rossumd4d77281994-08-19 10:51:31 +0000459
Jack Jansen59c14e22001-08-07 12:33:32 +0000460/* Define if you have the getpriority function. */
461#undef HAVE_GETPRIORITY
462
Jack Jansen5c214202000-04-07 09:10:35 +0000463/* Define if you have the getpwent function. */
464#undef HAVE_GETPWENT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000465
Jack Jansen5c214202000-04-07 09:10:35 +0000466/* Define if you have the gettimeofday function. */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000467#ifdef USE_GUSI
Jack Jansen5c214202000-04-07 09:10:35 +0000468#define HAVE_GETTIMEOFDAY
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000469#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000470
Jack Jansen5c214202000-04-07 09:10:35 +0000471/* Define if you have the getwd function. */
472#undef HAVE_GETWD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000473
Jack Jansen59c14e22001-08-07 12:33:32 +0000474/* Define if you have the hstrerror function. */
475#undef HAVE_HSTRERROR
476
Jack Jansen5c214202000-04-07 09:10:35 +0000477/* Define if you have the hypot function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000478#define HAVE_HYPOT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000479
Jack Jansen59c14e22001-08-07 12:33:32 +0000480/* Define if you have the inet_pton function. */
481#undef HAVE_INET_PTON
482
Jack Jansen5c214202000-04-07 09:10:35 +0000483/* Define if you have the kill function. */
484#undef HAVE_KILL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000485
Jack Jansen5c214202000-04-07 09:10:35 +0000486/* Define if you have the link function. */
487#undef HAVE_LINK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000488
Jack Jansen5c214202000-04-07 09:10:35 +0000489/* Define if you have the lstat function. */
490#undef HAVE_LSTAT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000491
Jack Jansen5c214202000-04-07 09:10:35 +0000492/* Define if you have the memmove function. */
493#define HAVE_MEMMOVE
Guido van Rossumd4d77281994-08-19 10:51:31 +0000494
Jack Jansen5c214202000-04-07 09:10:35 +0000495/* Define if you have the mkfifo function. */
496#undef HAVE_MKFIFO
Guido van Rossumce9739b1994-01-05 16:17:15 +0000497
Jack Jansen5c214202000-04-07 09:10:35 +0000498/* Define if you have the mktime function. */
499#define HAVE_MKTIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000500
Jack Jansen90f22fe2001-02-12 14:59:13 +0000501/* Define if you have the mremap function. */
502#undef HAVE_MREMAP
503
Jack Jansen5c214202000-04-07 09:10:35 +0000504/* Define if you have the nice function. */
505#undef HAVE_NICE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000506
Jack Jansen90f22fe2001-02-12 14:59:13 +0000507/* Define if you have the openpty function. */
508#undef HAVE_OPENPTY
509
Jack Jansen5c214202000-04-07 09:10:35 +0000510/* Define if you have the pathconf function. */
511#undef HAVE_PATHCONF
Guido van Rossumd4d77281994-08-19 10:51:31 +0000512
Jack Jansen5c214202000-04-07 09:10:35 +0000513/* Define if you have the pause function. */
514#undef HAVE_PAUSE
515
516/* Define if you have the plock function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000517#undef HAVE_PLOCK
518
Jack Jansen90f22fe2001-02-12 14:59:13 +0000519/* Define if you have the poll function. */
520#undef HAVE_POLL
521
Jack Jansen5c214202000-04-07 09:10:35 +0000522/* Define if you have the pthread_init function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000523#undef HAVE_PTHREAD_INIT
524
525/* Define if you have the putenv function. */
526#undef HAVE_PUTENV
527
528/* Define if you have the readlink function. */
529#undef HAVE_READLINK
530
531/* Define if you have the select function. */
532#ifdef USE_GUSI
533#define HAVE_SELECT
534#endif
535
Jack Jansen90f22fe2001-02-12 14:59:13 +0000536/* Define if you have the setegid function. */
537#undef HAVE_SETEGID
538
539/* Define if you have the seteuid function. */
540#undef HAVE_SETEUID
541
Jack Jansen5c214202000-04-07 09:10:35 +0000542/* Define if you have the setgid function. */
543#undef HAVE_SETGID
544
545/* Define if you have the setlocale function. */
546#undef HAVE_SETLOCALE
547
548/* Define if you have the setpgid function. */
549#undef HAVE_SETPGID
550
551/* Define if you have the setpgrp function. */
552#undef HAVE_SETPGRP
553
Jack Jansen90f22fe2001-02-12 14:59:13 +0000554/* Define if you have the setregid function. */
555#undef HAVE_SETREGID
556
557/* Define if you have the setreuid function. */
558#undef HAVE_SETREUID
559
Jack Jansen5c214202000-04-07 09:10:35 +0000560/* Define if you have the setsid function. */
561#undef HAVE_SETSID
562
563/* Define if you have the setuid function. */
564#undef HAVE_SETUID
565
566/* Define if you have the setvbuf function. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000567#define HAVE_SETVBUF
Guido van Rossumfe16cc01994-05-06 14:16:30 +0000568
Jack Jansen5c214202000-04-07 09:10:35 +0000569/* Define if you have the sigaction function. */
570#undef HAVE_SIGACTION
Guido van Rossumce9739b1994-01-05 16:17:15 +0000571
Jack Jansen5c214202000-04-07 09:10:35 +0000572/* Define if you have the siginterrupt function. */
573#undef HAVE_SIGINTERRUPT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000574
Jack Jansen5c214202000-04-07 09:10:35 +0000575/* Define if you have the sigrelse function. */
576#undef HAVE_SIGRELSE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000577
Jack Jansen59c14e22001-08-07 12:33:32 +0000578/* Define if you have the snprintf function. */
579#define HAVE_SNPRINTF
580
Jack Jansen5c214202000-04-07 09:10:35 +0000581/* Define if you have the statvfs function. */
582#undef HAVE_STATVFS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000583
Jack Jansen5c214202000-04-07 09:10:35 +0000584/* Define if you have the strdup function. */
Jack Jansen28f14012001-12-14 22:58:11 +0000585#define HAVE_STRDUP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000586
Jack Jansen5c214202000-04-07 09:10:35 +0000587/* Define if you have the strerror function. */
588#define HAVE_STRERROR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000589
Jack Jansen5c214202000-04-07 09:10:35 +0000590/* Define if you have the strftime function. */
591#define HAVE_STRFTIME
592
593/* Define if you have the strptime function. */
594#undef HAVE_STRPTIME
595
596/* Define if you have the symlink function. */
597#undef HAVE_SYMLINK
598
599/* Define if you have the sysconf function. */
600#undef HAVE_SYSCONF
601
602/* Define if you have the tcgetpgrp function. */
603#undef HAVE_TCGETPGRP
604
605/* Define if you have the tcsetpgrp function. */
606#undef HAVE_TCSETPGRP
607
608/* Define if you have the tempnam function. */
609#undef HAVE_TEMPNAM
610
611/* Define if you have the timegm function. */
612#undef HAVE_TIMEGM
613
614/* Define if you have the times function. */
615#undef HAVE_TIMES
616
617/* Define if you have the tmpfile function. */
618#define HAVE_TMPFILE
619
620/* Define if you have the tmpnam function. */
621#define HAVE_TMPNAM
622
623/* Define if you have the tmpnam_r function. */
624#undef HAVE_TMPNAM_R
625
626/* Define if you have the truncate function. */
627#define HAVE_TRUNCATE
628
629/* Define if you have the uname function. */
630#undef HAVE_UNAME
631
632/* Define if you have the waitpid function. */
633#undef HAVE_WAITPID
634
Jack Jansen90f22fe2001-02-12 14:59:13 +0000635/* Define if you have the <db.h> header file. */
636#undef HAVE_DB_H
637
638/* Define if you have the <db1/ndbm.h> header file. */
639#undef HAVE_DB1_NDBM_H
640
641/* Define if you have the <db_185.h> header file. */
642#undef HAVE_DB_185_H
643
Jack Jansen5c214202000-04-07 09:10:35 +0000644/* Define if you have the <dirent.h> header file. */
645#ifdef USE_GUSI
646#define HAVE_DIRENT_H
647#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000648
649/* Define if you have the <dlfcn.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000650#undef HAVE_DLFCN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000651
Guido van Rossumd4d77281994-08-19 10:51:31 +0000652/* Define if you have the <fcntl.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000653#define HAVE_FCNTL_H
654
Jack Jansen90f22fe2001-02-12 14:59:13 +0000655/* Define if you have the <gdbm/ndbm.h> header file. */
656#undef HAVE_GDBM_NDBM_H
657
658/* Define if you have the <libutil.h> header file. */
659#undef HAVE_LIBUTIL_H
660
Jack Jansen5c214202000-04-07 09:10:35 +0000661/* Define if you have the <limits.h> header file. */
662#define HAVE_LIMITS_H
663
664/* Define if you have the <locale.h> header file. */
665#define HAVE_LOCALE_H
666
667/* Define if you have the <ncurses.h> header file. */
668#undef HAVE_NCURSES_H
669
Jack Jansen90f22fe2001-02-12 14:59:13 +0000670/* Define if you have the <ndbm.h> header file. */
671#undef HAVE_NDBM_H
672
Jack Jansen5c214202000-04-07 09:10:35 +0000673/* Define if you have the <ndir.h> header file. */
674#undef HAVE_NDIR_H
675
Jack Jansen90f22fe2001-02-12 14:59:13 +0000676/* Define if you have the <poll.h> header file. */
677#undef HAVE_POLL_H
678
Jack Jansen5c214202000-04-07 09:10:35 +0000679/* Define if you have the <pthread.h> header file. */
680#ifdef USE_GUSI2
681#define HAVE_PTHREAD_H
682#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000683
Jack Jansen90f22fe2001-02-12 14:59:13 +0000684/* Define if you have the <pty.h> header file. */
685#undef HAVE_PTY_H
686
Guido van Rossumce9739b1994-01-05 16:17:15 +0000687/* Define if you have the <signal.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000688#define HAVE_SIGNAL_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000689
690/* Define if you have the <stdarg.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000691#define HAVE_STDARG_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000692
Jack Jansen5c214202000-04-07 09:10:35 +0000693/* Define if you have the <stddef.h> header file. */
694#define HAVE_STDDEF_H
695
Guido van Rossumce9739b1994-01-05 16:17:15 +0000696/* Define if you have the <stdlib.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000697#define HAVE_STDLIB_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000698
699/* Define if you have the <sys/audioio.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000700#undef HAVE_SYS_AUDIOIO_H
701
702/* Define if you have the <sys/dir.h> header file. */
703#undef HAVE_SYS_DIR_H
704
705/* Define if you have the <sys/file.h> header file. */
706#undef HAVE_SYS_FILE_H
707
708/* Define if you have the <sys/lock.h> header file. */
709#undef HAVE_SYS_LOCK_H
710
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000711/* Define if you have the <sys/modem.h> header file. */
712#undef HAVE_SYS_MODEM_H
713
Jack Jansen5c214202000-04-07 09:10:35 +0000714/* Define if you have the <sys/ndir.h> header file. */
715#undef HAVE_SYS_NDIR_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000716
717/* Define if you have the <sys/param.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000718#undef HAVE_SYS_PARAM_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000719
Jack Jansen59c14e22001-08-07 12:33:32 +0000720/* Define if you have the <sys/poll.h> header file. */
721#undef HAVE_SYS_POLL_H
722
723/* Define if you have the <sys/resource.h> header file. */
724#undef HAVE_SYS_RESOURCE_H
725
Guido van Rossumce9739b1994-01-05 16:17:15 +0000726/* Define if you have the <sys/select.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000727#undef HAVE_SYS_SELECT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000728
Jack Jansen90f22fe2001-02-12 14:59:13 +0000729/* Define if you have the <sys/socket.h> header file. */
730#ifdef USE_GUSI
731#define HAVE_SYS_SOCKET_H
732#endif
733
Guido van Rossumd4d77281994-08-19 10:51:31 +0000734/* Define if you have the <sys/time.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000735#ifdef USE_GUSI
736#define HAVE_SYS_TIME_H
737#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000738
Guido van Rossumce9739b1994-01-05 16:17:15 +0000739/* Define if you have the <sys/times.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000740#undef HAVE_SYS_TIMES_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000741
742/* Define if you have the <sys/un.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000743#undef HAVE_SYS_UN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000744
745/* Define if you have the <sys/utsname.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000746#undef HAVE_SYS_UTSNAME_H
747
748/* Define if you have the <sys/wait.h> header file. */
749#undef HAVE_SYS_WAIT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000750
Jack Jansen90f22fe2001-02-12 14:59:13 +0000751/* Define if you have the <termios.h> header file. */
752#undef HAVE_TERMIOS_H
753
Guido van Rossumce9739b1994-01-05 16:17:15 +0000754/* Define if you have the <thread.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000755#undef HAVE_THREAD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000756
757/* Define if you have the <unistd.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000758#define HAVE_UNISTD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000759
760/* Define if you have the <utime.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000761#define HAVE_UTIME_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000762
763/* Define if you have the dl library (-ldl). */
Jack Jansen5c214202000-04-07 09:10:35 +0000764#undef HAVE_LIBDL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000765
Jack Jansen5c214202000-04-07 09:10:35 +0000766/* Define if you have the dld library (-ldld). */
767#undef HAVE_LIBDLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000768
Jack Jansen5c214202000-04-07 09:10:35 +0000769/* Define if you have the ieee library (-lieee). */
770#undef HAVE_LIBIEEE
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000771
Jack Jansen90f22fe2001-02-12 14:59:13 +0000772#ifdef __CYGWIN__
773#ifdef USE_DL_IMPORT
774#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
775#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
776#else
777#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
778#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
779#endif
780#endif