blob: 012929d8727e65cb9c653dea8a7080dbd97c4f12 [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
Jack Jansen90f22fe2001-02-12 14:59:13 +0000132/* Defined when case of imported modules are checked against case of file. */
133#define CHECK_IMPORT_CASE
134
Guido van Rossumd4d77281994-08-19 10:51:31 +0000135/* Define to `long' if <time.h> doesn't define. */
Jack Jansen5c214202000-04-07 09:10:35 +0000136#undef clock_t
Guido van Rossumd4d77281994-08-19 10:51:31 +0000137
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000138/* Defined on Solaris to see additional function prototypes. */
139#undef __EXTENSIONS__
140
Jack Jansen5c214202000-04-07 09:10:35 +0000141/* Define if getpgrp() must be called as getpgrp(0). */
142#undef GETPGRP_HAVE_ARG
143
144/* Define if gettimeofday() does not have second (timezone) argument
145 This is the case on Motorola V4 (R40V4.2) */
146#undef GETTIMEOFDAY_NO_TZ
Guido van Rossumd4d77281994-08-19 10:51:31 +0000147
148/* Define this if your time.h defines altzone */
Jack Jansen5c214202000-04-07 09:10:35 +0000149#undef HAVE_ALTZONE
150
Jack Jansen90f22fe2001-02-12 14:59:13 +0000151/* Defined when any dynamic module loading is enabled */
152/* #undef HAVE_DYNAMIC_LOADING */
153
154/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
155#undef HAVE_GETC_UNLOCKED
Jack Jansen5c214202000-04-07 09:10:35 +0000156
157/* Define this if you have some version of gethostbyname_r() */
158#undef HAVE_GETHOSTBYNAME_R
159
160/* Define this if you have the 3-arg version of gethostbyname_r() */
161#undef HAVE_GETHOSTBYNAME_R_3_ARG
162
163/* Define this if you have the 5-arg version of gethostbyname_r() */
164#undef HAVE_GETHOSTBYNAME_R_5_ARG
165
166/* Define this if you have the 6-arg version of gethostbyname_r() */
167#undef HAVE_GETHOSTBYNAME_R_6_ARG
168
Jack Jansen90f22fe2001-02-12 14:59:13 +0000169/* Defined to enable large file support when an off_t is bigger than a long
170 and long long is available and at least as big as an off_t. You may need
171 to add some flags for configuration and compilation to enable this mode.
172 E.g, for Solaris 2.7:
173 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
174 configure
175*/
176#undef HAVE_LARGEFILE_SUPPORT
177
Jack Jansen5c214202000-04-07 09:10:35 +0000178/* Define this if you have the type long long */
179#undef HAVE_LONG_LONG
180
Guido van Rossumce9739b1994-01-05 16:17:15 +0000181/* Define if your compiler supports function prototypes */
Jack Jansen6a474c51998-08-20 14:49:33 +0000182#define HAVE_PROTOTYPES 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000183
Jack Jansen90f22fe2001-02-12 14:59:13 +0000184/* Define if you have GNU PTH threads */
185#undef HAVE_PTH
186
Guido van Rossumd4d77281994-08-19 10:51:31 +0000187/* Define if your compiler supports variable length function prototypes
188 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
189#define HAVE_STDARG_PROTOTYPES
190
Jack Jansen90f22fe2001-02-12 14:59:13 +0000191/* Define this if you have the type uintptr_t */
192#undef HAVE_UINTPTR_T
193
194/* Define if you have a useable wchar_t type defined in wchar.h; useable
195 means wchar_t must be 16-bit unsigned type. (see
196 Include/unicodeobject.h). */
197#define HAVE_USABLE_WCHAR_T 1
198
199/* Define if the compiler provides a wchar.h header file. */
200#define HAVE_WCHAR_H 1
201
Jack Jansen5c214202000-04-07 09:10:35 +0000202/* Define if malloc(0) returns a NULL pointer */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000203#ifdef USE_MSL_MALLOC
204#define MALLOC_ZERO_RETURNS_NULL
205#else
Jack Jansen5c214202000-04-07 09:10:35 +0000206#undef MALLOC_ZERO_RETURNS_NULL
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000207#endif
Jack Jansen5c214202000-04-07 09:10:35 +0000208
Guido van Rossumd4d77281994-08-19 10:51:31 +0000209/* Define if you have POSIX threads */
Jack Jansen5c214202000-04-07 09:10:35 +0000210#ifdef USE_GUSI2
211#define _POSIX_THREADS
212#endif
213
Jack Jansen90f22fe2001-02-12 14:59:13 +0000214/* Define if you want to build an interpreter with many run-time checks */
215#undef Py_DEBUG
216
Jack Jansen5c214202000-04-07 09:10:35 +0000217/* Define to force use of thread-safe errno, h_errno, and other functions */
218#undef _REENTRANT
219
220/* Define if setpgrp() must be called as setpgrp(0, 0). */
221#undef SETPGRP_HAVE_ARG
Guido van Rossumd4d77281994-08-19 10:51:31 +0000222
223/* Define to empty if the keyword does not work. */
Jack Jansen5c214202000-04-07 09:10:35 +0000224#undef signed
Guido van Rossumd4d77281994-08-19 10:51:31 +0000225
Jack Jansen90f22fe2001-02-12 14:59:13 +0000226/* Define if i>>j for signed int i does not extend the sign bit
227 when i < 0
228*/
229#define SIGNED_RIGHT_SHIFT_ZERO_FILLS
230
231/* The number of bytes in an off_t. */
232#define SIZEOF_OFF_T 4
233
234/* The number of bytes in a time_t. */
235#define SIZEOF_TIME_T 4
236
237/* The number of bytes in a pthread_t. */
238#ifdef USE_GUSI2
239#define SIZEOF_PTHREAD_T 4
240#endif
241
242/* Define to `int' if <sys/types.h> doesn't define. */
243#undef socklen_t
244
Guido van Rossumce9739b1994-01-05 16:17:15 +0000245/* Define if you can safely include both <sys/select.h> and <sys/time.h>
246 (which you can't on SCO ODT 3.0). */
Jack Jansen5c214202000-04-07 09:10:35 +0000247#undef SYS_SELECT_WITH_SYS_TIME
248
249/* Define if a va_list is an array of some kind */
250#undef VA_LIST_IS_ARRAY
251
252/* Define to empty if the keyword does not work. */
253#undef volatile
254
255/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
256#undef WANT_SIGFPE_HANDLER
257
Jack Jansen5c214202000-04-07 09:10:35 +0000258/* Define if you want wctype.h functions to be used instead of the
259 one supplied by Python itself. (see Include/unicodectype.h). */
260#undef WANT_WCTYPE_FUNCTIONS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000261
Jack Jansen90f22fe2001-02-12 14:59:13 +0000262/* Define if you want to compile in cycle garbage collection */
263#undef WITH_CYCLE_GC
Guido van Rossumd4d77281994-08-19 10:51:31 +0000264
265/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
266 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
267 Sequent Symmetry (Dynix), and Atari ST.
268 This requires the "dl-dld" library,
269 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
270 as well as the "GNU dld" library,
271 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
272 Don't bother on SunOS 4 or 5, they already have dynamic linking using
273 shared libraries */
Jack Jansen5c214202000-04-07 09:10:35 +0000274#undef WITH_DL_DLD
275
276/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
277 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
278 linker (rld). Dyld is necessary to support frameworks. */
279#undef WITH_DYLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000280
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000281/* Define if you want to compile in Python-specific mallocs */
282#undef WITH_PYMALLOC
Guido van Rossumce9739b1994-01-05 16:17:15 +0000283
Jack Jansen5c214202000-04-07 09:10:35 +0000284/* Define if you want to produce an OpenStep/Rhapsody framework
285 (shared library plus accessory files). */
286#undef WITH_NEXT_FRAMEWORK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000287
Jack Jansen90f22fe2001-02-12 14:59:13 +0000288/* Define if you want to use SGI (IRIX 4) dynamic linking.
289 This requires the "dl" library by Jack Jansen,
290 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
291 Don't bother on IRIX 5, it already has dynamic linking using SunOS
292 style shared libraries */
293#undef WITH_SGI_DL
Jack Jansen5c214202000-04-07 09:10:35 +0000294
Jack Jansen90f22fe2001-02-12 14:59:13 +0000295/* Define if you want to compile in rudimentary thread support */
296/* #undef WITH_THREAD */
Jack Jansen5c214202000-04-07 09:10:35 +0000297
298/* The number of bytes in a char. */
299#define SIZEOF_CHAR 1
300
301/* The number of bytes in a double. */
302#define SIZEOF_DOUBLE 8
303
304/* The number of bytes in a float. */
305#define SIZEOF_FLOAT 4
306
Jack Jansen90f22fe2001-02-12 14:59:13 +0000307/* The number of bytes in a fpos_t. */
308#define SIZEOF_FPOS_T 4
309
Jack Jansen5c214202000-04-07 09:10:35 +0000310/* The number of bytes in a int. */
311#define SIZEOF_INT 4
312
313/* The number of bytes in a long. */
314#define SIZEOF_LONG 4
315
316/* The number of bytes in a long long. */
317#undef SIZEOF_LONG_LONG
318
319/* The number of bytes in a short. */
320#define SIZEOF_SHORT 2
321
Jack Jansen90f22fe2001-02-12 14:59:13 +0000322/* The number of bytes in a uintptr_t. */
323#define SIZEOF_UINTPTR_T 4
324
Jack Jansen5c214202000-04-07 09:10:35 +0000325/* The number of bytes in a void *. */
326#define SIZEOF_VOID_P 4
327
Jack Jansen90f22fe2001-02-12 14:59:13 +0000328/* Define if you have the _getpty function. */
329#undef HAVE__GETPTY
330
Jack Jansen5c214202000-04-07 09:10:35 +0000331/* Define if you have the alarm function. */
332#undef HAVE_ALARM
333
334/* Define if you have the chown function. */
335#undef HAVE_CHOWN
Guido van Rossumd4d77281994-08-19 10:51:31 +0000336
Guido van Rossumce9739b1994-01-05 16:17:15 +0000337/* Define if you have clock. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000338#define HAVE_CLOCK
339
Jack Jansen5c214202000-04-07 09:10:35 +0000340/* Define if you have the confstr function. */
341#undef HAVE_CONFSTR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000342
Jack Jansen5c214202000-04-07 09:10:35 +0000343/* Define if you have the ctermid function. */
344#undef HAVE_CTERMID
Guido van Rossumce9739b1994-01-05 16:17:15 +0000345
Jack Jansen5c214202000-04-07 09:10:35 +0000346/* Define if you have the ctermid_r function. */
347#undef HAVE_CTERMID_R
348
349/* Define if you have the dlopen function. */
350#undef HAVE_DLOPEN
351
352/* Define if you have the dup2 function. */
353#undef HAVE_DUP2
354
355/* Define if you have the execv function. */
356#undef HAVE_EXECV
357
358/* Define if you have the fdatasync function. */
359#undef HAVE_FDATASYNC
360
361/* Define if you have the flock function. */
362#undef HAVE_FLOCK
363
364/* Define if you have the fork function. */
365#undef HAVE_FORK
366
Jack Jansen90f22fe2001-02-12 14:59:13 +0000367/* Define if you have the forkpty function. */
368#undef HAVE_FORKPTY
369
Jack Jansen5c214202000-04-07 09:10:35 +0000370/* Define if you have the fpathconf function. */
371#undef HAVE_FPATHCONF
372
373/* Define if you have the fseek64 function. */
374#undef HAVE_FSEEK64
375
376/* Define if you have the fseeko function. */
377#undef HAVE_FSEEKO
378
379/* Define if you have the fstatvfs function. */
380#undef HAVE_FSTATVFS
381
382/* Define if you have the fsync function. */
383#define HAVE_FSYNC
384
385/* Define if you have the ftell64 function. */
386#undef HAVE_FTELL64
387
388/* Define if you have the ftello function. */
389#undef HAVE_FTELLO
390
391/* Define if you have the ftime function. */
392#undef HAVE_FTIME
393
394/* Define if you have the ftruncate function. */
395#ifdef USE_GUSI
396#define HAVE_FTRUNCATE
397#endif
398
399/* Define if you have the getcwd function. */
400#define HAVE_GETCWD
401
402/* Define if you have the getgroups function. */
403#undef HAVE_GETGROUPS
404
Jack Jansen90f22fe2001-02-12 14:59:13 +0000405/* Define if you have the gethostbyname function. */
406#ifdef USE_GUSI
407#define HAVE_GETHOSTBYNAME 1
408#endif
409
Jack Jansen5c214202000-04-07 09:10:35 +0000410/* Define if you have the getlogin function. */
411#undef HAVE_GETLOGIN
412
413/* Define if you have the getpeername function. */
414#ifdef USE_GUSI
415#define HAVE_GETPEERNAME
416#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000417
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000418/* Define if you have the getpgrp function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000419#undef HAVE_GETPGRP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000420
Jack Jansen5c214202000-04-07 09:10:35 +0000421/* Define if you have the getpid function. */
422#undef HAVE_GETPID
Guido van Rossumd4d77281994-08-19 10:51:31 +0000423
Jack Jansen5c214202000-04-07 09:10:35 +0000424/* Define if you have the getpwent function. */
425#undef HAVE_GETPWENT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000426
Jack Jansen5c214202000-04-07 09:10:35 +0000427/* Define if you have the gettimeofday function. */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000428#ifdef USE_GUSI
Jack Jansen5c214202000-04-07 09:10:35 +0000429#define HAVE_GETTIMEOFDAY
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000430#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000431
Jack Jansen5c214202000-04-07 09:10:35 +0000432/* Define if you have the getwd function. */
433#undef HAVE_GETWD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000434
Jack Jansen5c214202000-04-07 09:10:35 +0000435/* Define if you have the hypot function. */
436#ifndef __MC68K__
437/* 68K hypot definition (and implementation) are unuseable
438** because they use 10-byte floats.
439*/
440#define HAVE_HYPOT
441#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000442
Jack Jansen5c214202000-04-07 09:10:35 +0000443/* Define if you have the kill function. */
444#undef HAVE_KILL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000445
Jack Jansen5c214202000-04-07 09:10:35 +0000446/* Define if you have the link function. */
447#undef HAVE_LINK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000448
Jack Jansen5c214202000-04-07 09:10:35 +0000449/* Define if you have the lstat function. */
450#undef HAVE_LSTAT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000451
Jack Jansen5c214202000-04-07 09:10:35 +0000452/* Define if you have the memmove function. */
453#define HAVE_MEMMOVE
Guido van Rossumd4d77281994-08-19 10:51:31 +0000454
Jack Jansen5c214202000-04-07 09:10:35 +0000455/* Define if you have the mkfifo function. */
456#undef HAVE_MKFIFO
Guido van Rossumce9739b1994-01-05 16:17:15 +0000457
Jack Jansen5c214202000-04-07 09:10:35 +0000458/* Define if you have the mktime function. */
459#define HAVE_MKTIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000460
Jack Jansen90f22fe2001-02-12 14:59:13 +0000461/* Define if you have the mremap function. */
462#undef HAVE_MREMAP
463
Jack Jansen5c214202000-04-07 09:10:35 +0000464/* Define if you have the nice function. */
465#undef HAVE_NICE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000466
Jack Jansen90f22fe2001-02-12 14:59:13 +0000467/* Define if you have the openpty function. */
468#undef HAVE_OPENPTY
469
Jack Jansen5c214202000-04-07 09:10:35 +0000470/* Define if you have the pathconf function. */
471#undef HAVE_PATHCONF
Guido van Rossumd4d77281994-08-19 10:51:31 +0000472
Jack Jansen5c214202000-04-07 09:10:35 +0000473/* Define if you have the pause function. */
474#undef HAVE_PAUSE
475
476/* Define if you have the plock function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000477#undef HAVE_PLOCK
478
Jack Jansen90f22fe2001-02-12 14:59:13 +0000479/* Define if you have the poll function. */
480#undef HAVE_POLL
481
Jack Jansen5c214202000-04-07 09:10:35 +0000482/* Define if you have the pthread_init function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000483#undef HAVE_PTHREAD_INIT
484
485/* Define if you have the putenv function. */
486#undef HAVE_PUTENV
487
488/* Define if you have the readlink function. */
489#undef HAVE_READLINK
490
491/* Define if you have the select function. */
492#ifdef USE_GUSI
493#define HAVE_SELECT
494#endif
495
Jack Jansen90f22fe2001-02-12 14:59:13 +0000496/* Define if you have the setegid function. */
497#undef HAVE_SETEGID
498
499/* Define if you have the seteuid function. */
500#undef HAVE_SETEUID
501
Jack Jansen5c214202000-04-07 09:10:35 +0000502/* Define if you have the setgid function. */
503#undef HAVE_SETGID
504
505/* Define if you have the setlocale function. */
506#undef HAVE_SETLOCALE
507
508/* Define if you have the setpgid function. */
509#undef HAVE_SETPGID
510
511/* Define if you have the setpgrp function. */
512#undef HAVE_SETPGRP
513
Jack Jansen90f22fe2001-02-12 14:59:13 +0000514/* Define if you have the setregid function. */
515#undef HAVE_SETREGID
516
517/* Define if you have the setreuid function. */
518#undef HAVE_SETREUID
519
Jack Jansen5c214202000-04-07 09:10:35 +0000520/* Define if you have the setsid function. */
521#undef HAVE_SETSID
522
523/* Define if you have the setuid function. */
524#undef HAVE_SETUID
525
526/* Define if you have the setvbuf function. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000527#define HAVE_SETVBUF
Guido van Rossumfe16cc01994-05-06 14:16:30 +0000528
Jack Jansen5c214202000-04-07 09:10:35 +0000529/* Define if you have the sigaction function. */
530#undef HAVE_SIGACTION
Guido van Rossumce9739b1994-01-05 16:17:15 +0000531
Jack Jansen5c214202000-04-07 09:10:35 +0000532/* Define if you have the siginterrupt function. */
533#undef HAVE_SIGINTERRUPT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000534
Jack Jansen5c214202000-04-07 09:10:35 +0000535/* Define if you have the sigrelse function. */
536#undef HAVE_SIGRELSE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000537
Jack Jansen5c214202000-04-07 09:10:35 +0000538/* Define if you have the statvfs function. */
539#undef HAVE_STATVFS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000540
Jack Jansen5c214202000-04-07 09:10:35 +0000541/* Define if you have the strdup function. */
542#undef HAVE_STRDUP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000543
Jack Jansen5c214202000-04-07 09:10:35 +0000544/* Define if you have the strerror function. */
545#define HAVE_STRERROR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000546
Jack Jansen5c214202000-04-07 09:10:35 +0000547/* Define if you have the strftime function. */
548#define HAVE_STRFTIME
549
550/* Define if you have the strptime function. */
551#undef HAVE_STRPTIME
552
553/* Define if you have the symlink function. */
554#undef HAVE_SYMLINK
555
556/* Define if you have the sysconf function. */
557#undef HAVE_SYSCONF
558
559/* Define if you have the tcgetpgrp function. */
560#undef HAVE_TCGETPGRP
561
562/* Define if you have the tcsetpgrp function. */
563#undef HAVE_TCSETPGRP
564
565/* Define if you have the tempnam function. */
566#undef HAVE_TEMPNAM
567
568/* Define if you have the timegm function. */
569#undef HAVE_TIMEGM
570
571/* Define if you have the times function. */
572#undef HAVE_TIMES
573
574/* Define if you have the tmpfile function. */
575#define HAVE_TMPFILE
576
577/* Define if you have the tmpnam function. */
578#define HAVE_TMPNAM
579
580/* Define if you have the tmpnam_r function. */
581#undef HAVE_TMPNAM_R
582
583/* Define if you have the truncate function. */
584#define HAVE_TRUNCATE
585
586/* Define if you have the uname function. */
587#undef HAVE_UNAME
588
589/* Define if you have the waitpid function. */
590#undef HAVE_WAITPID
591
Jack Jansen90f22fe2001-02-12 14:59:13 +0000592/* Define if you have the <db.h> header file. */
593#undef HAVE_DB_H
594
595/* Define if you have the <db1/ndbm.h> header file. */
596#undef HAVE_DB1_NDBM_H
597
598/* Define if you have the <db_185.h> header file. */
599#undef HAVE_DB_185_H
600
Jack Jansen5c214202000-04-07 09:10:35 +0000601/* Define if you have the <dirent.h> header file. */
602#ifdef USE_GUSI
603#define HAVE_DIRENT_H
604#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000605
606/* Define if you have the <dlfcn.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000607#undef HAVE_DLFCN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000608
Guido van Rossumd4d77281994-08-19 10:51:31 +0000609/* Define if you have the <fcntl.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000610#define HAVE_FCNTL_H
611
Jack Jansen90f22fe2001-02-12 14:59:13 +0000612/* Define if you have the <gdbm/ndbm.h> header file. */
613#undef HAVE_GDBM_NDBM_H
614
615/* Define if you have the <libutil.h> header file. */
616#undef HAVE_LIBUTIL_H
617
Jack Jansen5c214202000-04-07 09:10:35 +0000618/* Define if you have the <limits.h> header file. */
619#define HAVE_LIMITS_H
620
621/* Define if you have the <locale.h> header file. */
622#define HAVE_LOCALE_H
623
624/* Define if you have the <ncurses.h> header file. */
625#undef HAVE_NCURSES_H
626
Jack Jansen90f22fe2001-02-12 14:59:13 +0000627/* Define if you have the <ndbm.h> header file. */
628#undef HAVE_NDBM_H
629
Jack Jansen5c214202000-04-07 09:10:35 +0000630/* Define if you have the <ndir.h> header file. */
631#undef HAVE_NDIR_H
632
Jack Jansen90f22fe2001-02-12 14:59:13 +0000633/* Define if you have the <poll.h> header file. */
634#undef HAVE_POLL_H
635
Jack Jansen5c214202000-04-07 09:10:35 +0000636/* Define if you have the <pthread.h> header file. */
637#ifdef USE_GUSI2
638#define HAVE_PTHREAD_H
639#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000640
Jack Jansen90f22fe2001-02-12 14:59:13 +0000641/* Define if you have the <pty.h> header file. */
642#undef HAVE_PTY_H
643
Guido van Rossumce9739b1994-01-05 16:17:15 +0000644/* Define if you have the <signal.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000645#define HAVE_SIGNAL_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000646
647/* Define if you have the <stdarg.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000648#define HAVE_STDARG_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000649
Jack Jansen5c214202000-04-07 09:10:35 +0000650/* Define if you have the <stddef.h> header file. */
651#define HAVE_STDDEF_H
652
Guido van Rossumce9739b1994-01-05 16:17:15 +0000653/* Define if you have the <stdlib.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000654#define HAVE_STDLIB_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000655
656/* Define if you have the <sys/audioio.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000657#undef HAVE_SYS_AUDIOIO_H
658
659/* Define if you have the <sys/dir.h> header file. */
660#undef HAVE_SYS_DIR_H
661
662/* Define if you have the <sys/file.h> header file. */
663#undef HAVE_SYS_FILE_H
664
665/* Define if you have the <sys/lock.h> header file. */
666#undef HAVE_SYS_LOCK_H
667
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000668/* Define if you have the <sys/modem.h> header file. */
669#undef HAVE_SYS_MODEM_H
670
Jack Jansen5c214202000-04-07 09:10:35 +0000671/* Define if you have the <sys/ndir.h> header file. */
672#undef HAVE_SYS_NDIR_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000673
674/* Define if you have the <sys/param.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000675#undef HAVE_SYS_PARAM_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000676
677/* Define if you have the <sys/select.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000678#undef HAVE_SYS_SELECT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000679
Jack Jansen90f22fe2001-02-12 14:59:13 +0000680/* Define if you have the <sys/socket.h> header file. */
681#ifdef USE_GUSI
682#define HAVE_SYS_SOCKET_H
683#endif
684
Guido van Rossumd4d77281994-08-19 10:51:31 +0000685/* Define if you have the <sys/time.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000686#ifdef USE_GUSI
687#define HAVE_SYS_TIME_H
688#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000689
Guido van Rossumce9739b1994-01-05 16:17:15 +0000690/* Define if you have the <sys/times.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000691#undef HAVE_SYS_TIMES_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000692
693/* Define if you have the <sys/un.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000694#undef HAVE_SYS_UN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000695
696/* Define if you have the <sys/utsname.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000697#undef HAVE_SYS_UTSNAME_H
698
699/* Define if you have the <sys/wait.h> header file. */
700#undef HAVE_SYS_WAIT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000701
Jack Jansen90f22fe2001-02-12 14:59:13 +0000702/* Define if you have the <termios.h> header file. */
703#undef HAVE_TERMIOS_H
704
Guido van Rossumce9739b1994-01-05 16:17:15 +0000705/* Define if you have the <thread.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000706#undef HAVE_THREAD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000707
708/* Define if you have the <unistd.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000709#define HAVE_UNISTD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000710
711/* Define if you have the <utime.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000712#define HAVE_UTIME_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000713
714/* Define if you have the dl library (-ldl). */
Jack Jansen5c214202000-04-07 09:10:35 +0000715#undef HAVE_LIBDL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000716
Jack Jansen5c214202000-04-07 09:10:35 +0000717/* Define if you have the dld library (-ldld). */
718#undef HAVE_LIBDLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000719
Jack Jansen5c214202000-04-07 09:10:35 +0000720/* Define if you have the ieee library (-lieee). */
721#undef HAVE_LIBIEEE
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000722
Jack Jansen90f22fe2001-02-12 14:59:13 +0000723#ifdef __CYGWIN__
724#ifdef USE_DL_IMPORT
725#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
726#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
727#else
728#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
729#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
730#endif
731#endif