blob: dc79dcbea86eb520a1b7976d1feb8e1a89a8d05d [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 Jansen5c214202000-04-07 09:10:35 +000039#if defined(USE_GUSI1) || defined(USE_GUSI2)
40#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 Jansen90f22fe2001-02-12 14:59:13 +0000286/* Define if you want to compile in cycle garbage collection */
Jack Jansen59c14e22001-08-07 12:33:32 +0000287#define WITH_CYCLE_GC 1
Guido van Rossumd4d77281994-08-19 10:51:31 +0000288
289/* 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
300/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
301 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
302 linker (rld). Dyld is necessary to support frameworks. */
303#undef WITH_DYLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000304
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000305/* Define if you want to compile in Python-specific mallocs */
306#undef WITH_PYMALLOC
Guido van Rossumce9739b1994-01-05 16:17:15 +0000307
Jack Jansen5c214202000-04-07 09:10:35 +0000308/* Define if you want to produce an OpenStep/Rhapsody framework
309 (shared library plus accessory files). */
310#undef WITH_NEXT_FRAMEWORK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000311
Jack Jansen59c14e22001-08-07 12:33:32 +0000312/* Define if you want to use MacPython modules on MacOSX in unix-Python */
313#define USE_TOOLBOX_OBJECT_GLUE
314
Jack Jansen90f22fe2001-02-12 14:59:13 +0000315/* Define if you want to use SGI (IRIX 4) dynamic linking.
316 This requires the "dl" library by Jack Jansen,
317 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
318 Don't bother on IRIX 5, it already has dynamic linking using SunOS
319 style shared libraries */
320#undef WITH_SGI_DL
Jack Jansen5c214202000-04-07 09:10:35 +0000321
Jack Jansen90f22fe2001-02-12 14:59:13 +0000322/* Define if you want to compile in rudimentary thread support */
323/* #undef WITH_THREAD */
Jack Jansen5c214202000-04-07 09:10:35 +0000324
325/* The number of bytes in a char. */
326#define SIZEOF_CHAR 1
327
328/* The number of bytes in a double. */
329#define SIZEOF_DOUBLE 8
330
331/* The number of bytes in a float. */
332#define SIZEOF_FLOAT 4
333
Jack Jansen90f22fe2001-02-12 14:59:13 +0000334/* The number of bytes in a fpos_t. */
335#define SIZEOF_FPOS_T 4
336
Jack Jansen5c214202000-04-07 09:10:35 +0000337/* The number of bytes in a int. */
338#define SIZEOF_INT 4
339
340/* The number of bytes in a long. */
341#define SIZEOF_LONG 4
342
343/* The number of bytes in a long long. */
Jack Jansenf122d362001-11-06 12:11:05 +0000344#define SIZEOF_LONG_LONG 8
Jack Jansen5c214202000-04-07 09:10:35 +0000345
346/* The number of bytes in a short. */
347#define SIZEOF_SHORT 2
348
Jack Jansen90f22fe2001-02-12 14:59:13 +0000349/* The number of bytes in a uintptr_t. */
350#define SIZEOF_UINTPTR_T 4
351
Jack Jansen5c214202000-04-07 09:10:35 +0000352/* The number of bytes in a void *. */
353#define SIZEOF_VOID_P 4
354
Jack Jansen90f22fe2001-02-12 14:59:13 +0000355/* Define if you have the _getpty function. */
356#undef HAVE__GETPTY
357
Jack Jansen5c214202000-04-07 09:10:35 +0000358/* Define if you have the alarm function. */
359#undef HAVE_ALARM
360
361/* Define if you have the chown function. */
362#undef HAVE_CHOWN
Guido van Rossumd4d77281994-08-19 10:51:31 +0000363
Guido van Rossumce9739b1994-01-05 16:17:15 +0000364/* Define if you have clock. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000365#define HAVE_CLOCK
366
Jack Jansen5c214202000-04-07 09:10:35 +0000367/* Define if you have the confstr function. */
368#undef HAVE_CONFSTR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000369
Jack Jansen5c214202000-04-07 09:10:35 +0000370/* Define if you have the ctermid function. */
371#undef HAVE_CTERMID
Guido van Rossumce9739b1994-01-05 16:17:15 +0000372
Jack Jansen5c214202000-04-07 09:10:35 +0000373/* Define if you have the ctermid_r function. */
374#undef HAVE_CTERMID_R
375
376/* Define if you have the dlopen function. */
377#undef HAVE_DLOPEN
378
379/* Define if you have the dup2 function. */
380#undef HAVE_DUP2
381
382/* Define if you have the execv function. */
383#undef HAVE_EXECV
384
385/* Define if you have the fdatasync function. */
386#undef HAVE_FDATASYNC
387
388/* Define if you have the flock function. */
389#undef HAVE_FLOCK
390
391/* Define if you have the fork function. */
392#undef HAVE_FORK
393
Jack Jansen90f22fe2001-02-12 14:59:13 +0000394/* Define if you have the forkpty function. */
395#undef HAVE_FORKPTY
396
Jack Jansen5c214202000-04-07 09:10:35 +0000397/* Define if you have the fpathconf function. */
398#undef HAVE_FPATHCONF
399
400/* Define if you have the fseek64 function. */
401#undef HAVE_FSEEK64
402
403/* Define if you have the fseeko function. */
404#undef HAVE_FSEEKO
405
406/* Define if you have the fstatvfs function. */
407#undef HAVE_FSTATVFS
408
409/* Define if you have the fsync function. */
410#define HAVE_FSYNC
411
412/* Define if you have the ftell64 function. */
413#undef HAVE_FTELL64
414
415/* Define if you have the ftello function. */
416#undef HAVE_FTELLO
417
418/* Define if you have the ftime function. */
419#undef HAVE_FTIME
420
421/* Define if you have the ftruncate function. */
422#ifdef USE_GUSI
423#define HAVE_FTRUNCATE
424#endif
425
426/* Define if you have the getcwd function. */
427#define HAVE_GETCWD
428
429/* Define if you have the getgroups function. */
430#undef HAVE_GETGROUPS
431
Jack Jansen90f22fe2001-02-12 14:59:13 +0000432/* Define if you have the gethostbyname function. */
433#ifdef USE_GUSI
434#define HAVE_GETHOSTBYNAME 1
435#endif
436
Jack Jansen5c214202000-04-07 09:10:35 +0000437/* Define if you have the getlogin function. */
438#undef HAVE_GETLOGIN
439
Jack Jansen59c14e22001-08-07 12:33:32 +0000440/* Define if you have the getnameinfo function. */
441#undef HAVE_GETNAMEINFO
442
Jack Jansen5c214202000-04-07 09:10:35 +0000443/* Define if you have the getpeername function. */
444#ifdef USE_GUSI
445#define HAVE_GETPEERNAME
446#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000447
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000448/* Define if you have the getpgrp function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000449#undef HAVE_GETPGRP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000450
Jack Jansen5c214202000-04-07 09:10:35 +0000451/* Define if you have the getpid function. */
452#undef HAVE_GETPID
Guido van Rossumd4d77281994-08-19 10:51:31 +0000453
Jack Jansen59c14e22001-08-07 12:33:32 +0000454/* Define if you have the getpriority function. */
455#undef HAVE_GETPRIORITY
456
Jack Jansen5c214202000-04-07 09:10:35 +0000457/* Define if you have the getpwent function. */
458#undef HAVE_GETPWENT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000459
Jack Jansen5c214202000-04-07 09:10:35 +0000460/* Define if you have the gettimeofday function. */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000461#ifdef USE_GUSI
Jack Jansen5c214202000-04-07 09:10:35 +0000462#define HAVE_GETTIMEOFDAY
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000463#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000464
Jack Jansen5c214202000-04-07 09:10:35 +0000465/* Define if you have the getwd function. */
466#undef HAVE_GETWD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000467
Jack Jansen59c14e22001-08-07 12:33:32 +0000468/* Define if you have the hstrerror function. */
469#undef HAVE_HSTRERROR
470
Jack Jansen5c214202000-04-07 09:10:35 +0000471/* Define if you have the hypot function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000472#define HAVE_HYPOT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000473
Jack Jansen59c14e22001-08-07 12:33:32 +0000474/* Define if you have the inet_pton function. */
475#undef HAVE_INET_PTON
476
Jack Jansen5c214202000-04-07 09:10:35 +0000477/* Define if you have the kill function. */
478#undef HAVE_KILL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000479
Jack Jansen5c214202000-04-07 09:10:35 +0000480/* Define if you have the link function. */
481#undef HAVE_LINK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000482
Jack Jansen5c214202000-04-07 09:10:35 +0000483/* Define if you have the lstat function. */
484#undef HAVE_LSTAT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000485
Jack Jansen5c214202000-04-07 09:10:35 +0000486/* Define if you have the memmove function. */
487#define HAVE_MEMMOVE
Guido van Rossumd4d77281994-08-19 10:51:31 +0000488
Jack Jansen5c214202000-04-07 09:10:35 +0000489/* Define if you have the mkfifo function. */
490#undef HAVE_MKFIFO
Guido van Rossumce9739b1994-01-05 16:17:15 +0000491
Jack Jansen5c214202000-04-07 09:10:35 +0000492/* Define if you have the mktime function. */
493#define HAVE_MKTIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000494
Jack Jansen90f22fe2001-02-12 14:59:13 +0000495/* Define if you have the mremap function. */
496#undef HAVE_MREMAP
497
Jack Jansen5c214202000-04-07 09:10:35 +0000498/* Define if you have the nice function. */
499#undef HAVE_NICE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000500
Jack Jansen90f22fe2001-02-12 14:59:13 +0000501/* Define if you have the openpty function. */
502#undef HAVE_OPENPTY
503
Jack Jansen5c214202000-04-07 09:10:35 +0000504/* Define if you have the pathconf function. */
505#undef HAVE_PATHCONF
Guido van Rossumd4d77281994-08-19 10:51:31 +0000506
Jack Jansen5c214202000-04-07 09:10:35 +0000507/* Define if you have the pause function. */
508#undef HAVE_PAUSE
509
510/* Define if you have the plock function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000511#undef HAVE_PLOCK
512
Jack Jansen90f22fe2001-02-12 14:59:13 +0000513/* Define if you have the poll function. */
514#undef HAVE_POLL
515
Jack Jansen5c214202000-04-07 09:10:35 +0000516/* Define if you have the pthread_init function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000517#undef HAVE_PTHREAD_INIT
518
519/* Define if you have the putenv function. */
520#undef HAVE_PUTENV
521
522/* Define if you have the readlink function. */
523#undef HAVE_READLINK
524
525/* Define if you have the select function. */
526#ifdef USE_GUSI
527#define HAVE_SELECT
528#endif
529
Jack Jansen90f22fe2001-02-12 14:59:13 +0000530/* Define if you have the setegid function. */
531#undef HAVE_SETEGID
532
533/* Define if you have the seteuid function. */
534#undef HAVE_SETEUID
535
Jack Jansen5c214202000-04-07 09:10:35 +0000536/* Define if you have the setgid function. */
537#undef HAVE_SETGID
538
539/* Define if you have the setlocale function. */
540#undef HAVE_SETLOCALE
541
542/* Define if you have the setpgid function. */
543#undef HAVE_SETPGID
544
545/* Define if you have the setpgrp function. */
546#undef HAVE_SETPGRP
547
Jack Jansen90f22fe2001-02-12 14:59:13 +0000548/* Define if you have the setregid function. */
549#undef HAVE_SETREGID
550
551/* Define if you have the setreuid function. */
552#undef HAVE_SETREUID
553
Jack Jansen5c214202000-04-07 09:10:35 +0000554/* Define if you have the setsid function. */
555#undef HAVE_SETSID
556
557/* Define if you have the setuid function. */
558#undef HAVE_SETUID
559
560/* Define if you have the setvbuf function. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000561#define HAVE_SETVBUF
Guido van Rossumfe16cc01994-05-06 14:16:30 +0000562
Jack Jansen5c214202000-04-07 09:10:35 +0000563/* Define if you have the sigaction function. */
564#undef HAVE_SIGACTION
Guido van Rossumce9739b1994-01-05 16:17:15 +0000565
Jack Jansen5c214202000-04-07 09:10:35 +0000566/* Define if you have the siginterrupt function. */
567#undef HAVE_SIGINTERRUPT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000568
Jack Jansen5c214202000-04-07 09:10:35 +0000569/* Define if you have the sigrelse function. */
570#undef HAVE_SIGRELSE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000571
Jack Jansen59c14e22001-08-07 12:33:32 +0000572/* Define if you have the snprintf function. */
573#define HAVE_SNPRINTF
574
Jack Jansen5c214202000-04-07 09:10:35 +0000575/* Define if you have the statvfs function. */
576#undef HAVE_STATVFS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000577
Jack Jansen5c214202000-04-07 09:10:35 +0000578/* Define if you have the strdup function. */
579#undef HAVE_STRDUP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000580
Jack Jansen5c214202000-04-07 09:10:35 +0000581/* Define if you have the strerror function. */
582#define HAVE_STRERROR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000583
Jack Jansen5c214202000-04-07 09:10:35 +0000584/* Define if you have the strftime function. */
585#define HAVE_STRFTIME
586
587/* Define if you have the strptime function. */
588#undef HAVE_STRPTIME
589
590/* Define if you have the symlink function. */
591#undef HAVE_SYMLINK
592
593/* Define if you have the sysconf function. */
594#undef HAVE_SYSCONF
595
596/* Define if you have the tcgetpgrp function. */
597#undef HAVE_TCGETPGRP
598
599/* Define if you have the tcsetpgrp function. */
600#undef HAVE_TCSETPGRP
601
602/* Define if you have the tempnam function. */
603#undef HAVE_TEMPNAM
604
605/* Define if you have the timegm function. */
606#undef HAVE_TIMEGM
607
608/* Define if you have the times function. */
609#undef HAVE_TIMES
610
611/* Define if you have the tmpfile function. */
612#define HAVE_TMPFILE
613
614/* Define if you have the tmpnam function. */
615#define HAVE_TMPNAM
616
617/* Define if you have the tmpnam_r function. */
618#undef HAVE_TMPNAM_R
619
620/* Define if you have the truncate function. */
621#define HAVE_TRUNCATE
622
623/* Define if you have the uname function. */
624#undef HAVE_UNAME
625
626/* Define if you have the waitpid function. */
627#undef HAVE_WAITPID
628
Jack Jansen90f22fe2001-02-12 14:59:13 +0000629/* Define if you have the <db.h> header file. */
630#undef HAVE_DB_H
631
632/* Define if you have the <db1/ndbm.h> header file. */
633#undef HAVE_DB1_NDBM_H
634
635/* Define if you have the <db_185.h> header file. */
636#undef HAVE_DB_185_H
637
Jack Jansen5c214202000-04-07 09:10:35 +0000638/* Define if you have the <dirent.h> header file. */
639#ifdef USE_GUSI
640#define HAVE_DIRENT_H
641#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000642
643/* Define if you have the <dlfcn.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000644#undef HAVE_DLFCN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000645
Guido van Rossumd4d77281994-08-19 10:51:31 +0000646/* Define if you have the <fcntl.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000647#define HAVE_FCNTL_H
648
Jack Jansen90f22fe2001-02-12 14:59:13 +0000649/* Define if you have the <gdbm/ndbm.h> header file. */
650#undef HAVE_GDBM_NDBM_H
651
652/* Define if you have the <libutil.h> header file. */
653#undef HAVE_LIBUTIL_H
654
Jack Jansen5c214202000-04-07 09:10:35 +0000655/* Define if you have the <limits.h> header file. */
656#define HAVE_LIMITS_H
657
658/* Define if you have the <locale.h> header file. */
659#define HAVE_LOCALE_H
660
661/* Define if you have the <ncurses.h> header file. */
662#undef HAVE_NCURSES_H
663
Jack Jansen90f22fe2001-02-12 14:59:13 +0000664/* Define if you have the <ndbm.h> header file. */
665#undef HAVE_NDBM_H
666
Jack Jansen5c214202000-04-07 09:10:35 +0000667/* Define if you have the <ndir.h> header file. */
668#undef HAVE_NDIR_H
669
Jack Jansen90f22fe2001-02-12 14:59:13 +0000670/* Define if you have the <poll.h> header file. */
671#undef HAVE_POLL_H
672
Jack Jansen5c214202000-04-07 09:10:35 +0000673/* Define if you have the <pthread.h> header file. */
674#ifdef USE_GUSI2
675#define HAVE_PTHREAD_H
676#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000677
Jack Jansen90f22fe2001-02-12 14:59:13 +0000678/* Define if you have the <pty.h> header file. */
679#undef HAVE_PTY_H
680
Guido van Rossumce9739b1994-01-05 16:17:15 +0000681/* Define if you have the <signal.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000682#define HAVE_SIGNAL_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000683
684/* Define if you have the <stdarg.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000685#define HAVE_STDARG_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000686
Jack Jansen5c214202000-04-07 09:10:35 +0000687/* Define if you have the <stddef.h> header file. */
688#define HAVE_STDDEF_H
689
Guido van Rossumce9739b1994-01-05 16:17:15 +0000690/* Define if you have the <stdlib.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000691#define HAVE_STDLIB_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000692
693/* Define if you have the <sys/audioio.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000694#undef HAVE_SYS_AUDIOIO_H
695
696/* Define if you have the <sys/dir.h> header file. */
697#undef HAVE_SYS_DIR_H
698
699/* Define if you have the <sys/file.h> header file. */
700#undef HAVE_SYS_FILE_H
701
702/* Define if you have the <sys/lock.h> header file. */
703#undef HAVE_SYS_LOCK_H
704
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000705/* Define if you have the <sys/modem.h> header file. */
706#undef HAVE_SYS_MODEM_H
707
Jack Jansen5c214202000-04-07 09:10:35 +0000708/* Define if you have the <sys/ndir.h> header file. */
709#undef HAVE_SYS_NDIR_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000710
711/* Define if you have the <sys/param.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000712#undef HAVE_SYS_PARAM_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000713
Jack Jansen59c14e22001-08-07 12:33:32 +0000714/* Define if you have the <sys/poll.h> header file. */
715#undef HAVE_SYS_POLL_H
716
717/* Define if you have the <sys/resource.h> header file. */
718#undef HAVE_SYS_RESOURCE_H
719
Guido van Rossumce9739b1994-01-05 16:17:15 +0000720/* Define if you have the <sys/select.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000721#undef HAVE_SYS_SELECT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000722
Jack Jansen90f22fe2001-02-12 14:59:13 +0000723/* Define if you have the <sys/socket.h> header file. */
724#ifdef USE_GUSI
725#define HAVE_SYS_SOCKET_H
726#endif
727
Guido van Rossumd4d77281994-08-19 10:51:31 +0000728/* Define if you have the <sys/time.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000729#ifdef USE_GUSI
730#define HAVE_SYS_TIME_H
731#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000732
Guido van Rossumce9739b1994-01-05 16:17:15 +0000733/* Define if you have the <sys/times.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000734#undef HAVE_SYS_TIMES_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000735
736/* Define if you have the <sys/un.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000737#undef HAVE_SYS_UN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000738
739/* Define if you have the <sys/utsname.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000740#undef HAVE_SYS_UTSNAME_H
741
742/* Define if you have the <sys/wait.h> header file. */
743#undef HAVE_SYS_WAIT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000744
Jack Jansen90f22fe2001-02-12 14:59:13 +0000745/* Define if you have the <termios.h> header file. */
746#undef HAVE_TERMIOS_H
747
Guido van Rossumce9739b1994-01-05 16:17:15 +0000748/* Define if you have the <thread.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000749#undef HAVE_THREAD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000750
751/* Define if you have the <unistd.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000752#define HAVE_UNISTD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000753
754/* Define if you have the <utime.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000755#define HAVE_UTIME_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000756
757/* Define if you have the dl library (-ldl). */
Jack Jansen5c214202000-04-07 09:10:35 +0000758#undef HAVE_LIBDL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000759
Jack Jansen5c214202000-04-07 09:10:35 +0000760/* Define if you have the dld library (-ldld). */
761#undef HAVE_LIBDLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000762
Jack Jansen5c214202000-04-07 09:10:35 +0000763/* Define if you have the ieee library (-lieee). */
764#undef HAVE_LIBIEEE
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000765
Jack Jansen90f22fe2001-02-12 14:59:13 +0000766#ifdef __CYGWIN__
767#ifdef USE_DL_IMPORT
768#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
769#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
770#else
771#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
772#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
773#endif
774#endif