blob: 8def64a0818741c5b28ef5a6a2e3a008c33a500d [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 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 Jansen90f22fe2001-02-12 14:59:13 +0000148/* Defined when any dynamic module loading is enabled */
149/* #undef HAVE_DYNAMIC_LOADING */
150
151/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
152#undef HAVE_GETC_UNLOCKED
Jack Jansen5c214202000-04-07 09:10:35 +0000153
154/* Define this if you have some version of gethostbyname_r() */
155#undef HAVE_GETHOSTBYNAME_R
156
157/* Define this if you have the 3-arg version of gethostbyname_r() */
158#undef HAVE_GETHOSTBYNAME_R_3_ARG
159
160/* Define this if you have the 5-arg version of gethostbyname_r() */
161#undef HAVE_GETHOSTBYNAME_R_5_ARG
162
163/* Define this if you have the 6-arg version of gethostbyname_r() */
164#undef HAVE_GETHOSTBYNAME_R_6_ARG
165
Jack Jansen90f22fe2001-02-12 14:59:13 +0000166/* Defined to enable large file support when an off_t is bigger than a long
167 and long long is available and at least as big as an off_t. You may need
168 to add some flags for configuration and compilation to enable this mode.
169 E.g, for Solaris 2.7:
170 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
171 configure
172*/
173#undef HAVE_LARGEFILE_SUPPORT
174
Jack Jansen5c214202000-04-07 09:10:35 +0000175/* Define this if you have the type long long */
176#undef HAVE_LONG_LONG
177
Guido van Rossumce9739b1994-01-05 16:17:15 +0000178/* Define if your compiler supports function prototypes */
Jack Jansen6a474c51998-08-20 14:49:33 +0000179#define HAVE_PROTOTYPES 1
Guido van Rossumce9739b1994-01-05 16:17:15 +0000180
Jack Jansen90f22fe2001-02-12 14:59:13 +0000181/* Define if you have GNU PTH threads */
182#undef HAVE_PTH
183
Guido van Rossumd4d77281994-08-19 10:51:31 +0000184/* Define if your compiler supports variable length function prototypes
185 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
186#define HAVE_STDARG_PROTOTYPES
187
Jack Jansen90f22fe2001-02-12 14:59:13 +0000188/* Define this if you have the type uintptr_t */
189#undef HAVE_UINTPTR_T
190
191/* Define if you have a useable wchar_t type defined in wchar.h; useable
192 means wchar_t must be 16-bit unsigned type. (see
193 Include/unicodeobject.h). */
194#define HAVE_USABLE_WCHAR_T 1
195
196/* Define if the compiler provides a wchar.h header file. */
197#define HAVE_WCHAR_H 1
198
Jack Jansen5c214202000-04-07 09:10:35 +0000199/* Define if malloc(0) returns a NULL pointer */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000200#ifdef USE_MSL_MALLOC
201#define MALLOC_ZERO_RETURNS_NULL
202#else
Jack Jansen5c214202000-04-07 09:10:35 +0000203#undef MALLOC_ZERO_RETURNS_NULL
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000204#endif
Jack Jansen5c214202000-04-07 09:10:35 +0000205
Guido van Rossumd4d77281994-08-19 10:51:31 +0000206/* Define if you have POSIX threads */
Jack Jansen5c214202000-04-07 09:10:35 +0000207#ifdef USE_GUSI2
208#define _POSIX_THREADS
209#endif
210
Jack Jansen90f22fe2001-02-12 14:59:13 +0000211/* Define if you want to build an interpreter with many run-time checks */
212#undef Py_DEBUG
213
Jack Jansen5c214202000-04-07 09:10:35 +0000214/* Define to force use of thread-safe errno, h_errno, and other functions */
215#undef _REENTRANT
216
217/* Define if setpgrp() must be called as setpgrp(0, 0). */
218#undef SETPGRP_HAVE_ARG
Guido van Rossumd4d77281994-08-19 10:51:31 +0000219
220/* Define to empty if the keyword does not work. */
Jack Jansen5c214202000-04-07 09:10:35 +0000221#undef signed
Guido van Rossumd4d77281994-08-19 10:51:31 +0000222
Jack Jansen90f22fe2001-02-12 14:59:13 +0000223/* Define if i>>j for signed int i does not extend the sign bit
224 when i < 0
225*/
226#define SIGNED_RIGHT_SHIFT_ZERO_FILLS
227
228/* The number of bytes in an off_t. */
229#define SIZEOF_OFF_T 4
230
231/* The number of bytes in a time_t. */
232#define SIZEOF_TIME_T 4
233
234/* The number of bytes in a pthread_t. */
235#ifdef USE_GUSI2
236#define SIZEOF_PTHREAD_T 4
237#endif
238
239/* Define to `int' if <sys/types.h> doesn't define. */
240#undef socklen_t
241
Guido van Rossumce9739b1994-01-05 16:17:15 +0000242/* Define if you can safely include both <sys/select.h> and <sys/time.h>
243 (which you can't on SCO ODT 3.0). */
Jack Jansen5c214202000-04-07 09:10:35 +0000244#undef SYS_SELECT_WITH_SYS_TIME
245
246/* Define if a va_list is an array of some kind */
247#undef VA_LIST_IS_ARRAY
248
249/* Define to empty if the keyword does not work. */
250#undef volatile
251
252/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
253#undef WANT_SIGFPE_HANDLER
254
Jack Jansen5c214202000-04-07 09:10:35 +0000255/* Define if you want wctype.h functions to be used instead of the
256 one supplied by Python itself. (see Include/unicodectype.h). */
257#undef WANT_WCTYPE_FUNCTIONS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000258
Jack Jansen90f22fe2001-02-12 14:59:13 +0000259/* Define if you want to compile in cycle garbage collection */
260#undef WITH_CYCLE_GC
Guido van Rossumd4d77281994-08-19 10:51:31 +0000261
262/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
263 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
264 Sequent Symmetry (Dynix), and Atari ST.
265 This requires the "dl-dld" library,
266 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
267 as well as the "GNU dld" library,
268 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
269 Don't bother on SunOS 4 or 5, they already have dynamic linking using
270 shared libraries */
Jack Jansen5c214202000-04-07 09:10:35 +0000271#undef WITH_DL_DLD
272
273/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
274 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
275 linker (rld). Dyld is necessary to support frameworks. */
276#undef WITH_DYLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000277
Jack Jansen90f22fe2001-02-12 14:59:13 +0000278/* Define if you want to use BSD db. */
279#undef WITH_LIBDB
280
281/* Define if you want to use ndbm. */
282#undef WITH_LIBNDBM
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
418/* Define if you have getpgrp. */
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. */
483/* XXXX GUSI threads* */
484#undef HAVE_PTHREAD_INIT
485
486/* Define if you have the putenv function. */
487#undef HAVE_PUTENV
488
489/* Define if you have the readlink function. */
490#undef HAVE_READLINK
491
492/* Define if you have the select function. */
493#ifdef USE_GUSI
494#define HAVE_SELECT
495#endif
496
Jack Jansen90f22fe2001-02-12 14:59:13 +0000497/* Define if you have the setegid function. */
498#undef HAVE_SETEGID
499
500/* Define if you have the seteuid function. */
501#undef HAVE_SETEUID
502
Jack Jansen5c214202000-04-07 09:10:35 +0000503/* Define if you have the setgid function. */
504#undef HAVE_SETGID
505
506/* Define if you have the setlocale function. */
507#undef HAVE_SETLOCALE
508
509/* Define if you have the setpgid function. */
510#undef HAVE_SETPGID
511
512/* Define if you have the setpgrp function. */
513#undef HAVE_SETPGRP
514
Jack Jansen90f22fe2001-02-12 14:59:13 +0000515/* Define if you have the setregid function. */
516#undef HAVE_SETREGID
517
518/* Define if you have the setreuid function. */
519#undef HAVE_SETREUID
520
Jack Jansen5c214202000-04-07 09:10:35 +0000521/* Define if you have the setsid function. */
522#undef HAVE_SETSID
523
524/* Define if you have the setuid function. */
525#undef HAVE_SETUID
526
527/* Define if you have the setvbuf function. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000528#define HAVE_SETVBUF
Guido van Rossumfe16cc01994-05-06 14:16:30 +0000529
Jack Jansen5c214202000-04-07 09:10:35 +0000530/* Define if you have the sigaction function. */
531#undef HAVE_SIGACTION
Guido van Rossumce9739b1994-01-05 16:17:15 +0000532
Jack Jansen5c214202000-04-07 09:10:35 +0000533/* Define if you have the siginterrupt function. */
534#undef HAVE_SIGINTERRUPT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000535
Jack Jansen5c214202000-04-07 09:10:35 +0000536/* Define if you have the sigrelse function. */
537#undef HAVE_SIGRELSE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000538
Jack Jansen5c214202000-04-07 09:10:35 +0000539/* Define if you have the statvfs function. */
540#undef HAVE_STATVFS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000541
Jack Jansen5c214202000-04-07 09:10:35 +0000542/* Define if you have the strdup function. */
543#undef HAVE_STRDUP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000544
Jack Jansen5c214202000-04-07 09:10:35 +0000545/* Define if you have the strerror function. */
546#define HAVE_STRERROR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000547
Jack Jansen5c214202000-04-07 09:10:35 +0000548/* Define if you have the strftime function. */
549#define HAVE_STRFTIME
550
551/* Define if you have the strptime function. */
552#undef HAVE_STRPTIME
553
554/* Define if you have the symlink function. */
555#undef HAVE_SYMLINK
556
557/* Define if you have the sysconf function. */
558#undef HAVE_SYSCONF
559
560/* Define if you have the tcgetpgrp function. */
561#undef HAVE_TCGETPGRP
562
563/* Define if you have the tcsetpgrp function. */
564#undef HAVE_TCSETPGRP
565
566/* Define if you have the tempnam function. */
567#undef HAVE_TEMPNAM
568
569/* Define if you have the timegm function. */
570#undef HAVE_TIMEGM
571
572/* Define if you have the times function. */
573#undef HAVE_TIMES
574
575/* Define if you have the tmpfile function. */
576#define HAVE_TMPFILE
577
578/* Define if you have the tmpnam function. */
579#define HAVE_TMPNAM
580
581/* Define if you have the tmpnam_r function. */
582#undef HAVE_TMPNAM_R
583
584/* Define if you have the truncate function. */
585#define HAVE_TRUNCATE
586
587/* Define if you have the uname function. */
588#undef HAVE_UNAME
589
590/* Define if you have the waitpid function. */
591#undef HAVE_WAITPID
592
Jack Jansen90f22fe2001-02-12 14:59:13 +0000593/* Define if you have the <db.h> header file. */
594#undef HAVE_DB_H
595
596/* Define if you have the <db1/ndbm.h> header file. */
597#undef HAVE_DB1_NDBM_H
598
599/* Define if you have the <db_185.h> header file. */
600#undef HAVE_DB_185_H
601
Jack Jansen5c214202000-04-07 09:10:35 +0000602/* Define if you have the <dirent.h> header file. */
603#ifdef USE_GUSI
604#define HAVE_DIRENT_H
605#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000606
607/* Define if you have the <dlfcn.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000608#undef HAVE_DLFCN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000609
Guido van Rossumd4d77281994-08-19 10:51:31 +0000610/* Define if you have the <fcntl.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000611#define HAVE_FCNTL_H
612
Jack Jansen90f22fe2001-02-12 14:59:13 +0000613/* Define if you have the <gdbm/ndbm.h> header file. */
614#undef HAVE_GDBM_NDBM_H
615
616/* Define if you have the <libutil.h> header file. */
617#undef HAVE_LIBUTIL_H
618
Jack Jansen5c214202000-04-07 09:10:35 +0000619/* Define if you have the <limits.h> header file. */
620#define HAVE_LIMITS_H
621
622/* Define if you have the <locale.h> header file. */
623#define HAVE_LOCALE_H
624
625/* Define if you have the <ncurses.h> header file. */
626#undef HAVE_NCURSES_H
627
Jack Jansen90f22fe2001-02-12 14:59:13 +0000628/* Define if you have the <ndbm.h> header file. */
629#undef HAVE_NDBM_H
630
Jack Jansen5c214202000-04-07 09:10:35 +0000631/* Define if you have the <ndir.h> header file. */
632#undef HAVE_NDIR_H
633
Jack Jansen90f22fe2001-02-12 14:59:13 +0000634/* Define if you have the <poll.h> header file. */
635#undef HAVE_POLL_H
636
Jack Jansen5c214202000-04-07 09:10:35 +0000637/* Define if you have the <pthread.h> header file. */
638#ifdef USE_GUSI2
639#define HAVE_PTHREAD_H
640#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000641
Jack Jansen90f22fe2001-02-12 14:59:13 +0000642/* Define if you have the <pty.h> header file. */
643#undef HAVE_PTY_H
644
Guido van Rossumce9739b1994-01-05 16:17:15 +0000645/* Define if you have the <signal.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000646#define HAVE_SIGNAL_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000647
648/* Define if you have the <stdarg.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000649#define HAVE_STDARG_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000650
Jack Jansen5c214202000-04-07 09:10:35 +0000651/* Define if you have the <stddef.h> header file. */
652#define HAVE_STDDEF_H
653
Guido van Rossumce9739b1994-01-05 16:17:15 +0000654/* Define if you have the <stdlib.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000655#define HAVE_STDLIB_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000656
657/* Define if you have the <sys/audioio.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000658#undef HAVE_SYS_AUDIOIO_H
659
660/* Define if you have the <sys/dir.h> header file. */
661#undef HAVE_SYS_DIR_H
662
663/* Define if you have the <sys/file.h> header file. */
664#undef HAVE_SYS_FILE_H
665
666/* Define if you have the <sys/lock.h> header file. */
667#undef HAVE_SYS_LOCK_H
668
669/* Define if you have the <sys/ndir.h> header file. */
670#undef HAVE_SYS_NDIR_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000671
672/* Define if you have the <sys/param.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000673#undef HAVE_SYS_PARAM_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000674
675/* Define if you have the <sys/select.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000676#undef HAVE_SYS_SELECT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000677
Jack Jansen90f22fe2001-02-12 14:59:13 +0000678/* Define if you have the <sys/socket.h> header file. */
679#ifdef USE_GUSI
680#define HAVE_SYS_SOCKET_H
681#endif
682
Guido van Rossumd4d77281994-08-19 10:51:31 +0000683/* Define if you have the <sys/time.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000684#ifdef USE_GUSI
685#define HAVE_SYS_TIME_H
686#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000687
Guido van Rossumce9739b1994-01-05 16:17:15 +0000688/* Define if you have the <sys/times.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000689#undef HAVE_SYS_TIMES_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000690
691/* Define if you have the <sys/un.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000692#undef HAVE_SYS_UN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000693
694/* Define if you have the <sys/utsname.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000695#undef HAVE_SYS_UTSNAME_H
696
697/* Define if you have the <sys/wait.h> header file. */
698#undef HAVE_SYS_WAIT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000699
Jack Jansen90f22fe2001-02-12 14:59:13 +0000700/* Define if you have the <termios.h> header file. */
701#undef HAVE_TERMIOS_H
702
Guido van Rossumce9739b1994-01-05 16:17:15 +0000703/* Define if you have the <thread.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000704#undef HAVE_THREAD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000705
706/* Define if you have the <unistd.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000707#define HAVE_UNISTD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000708
709/* Define if you have the <utime.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000710#define HAVE_UTIME_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000711
712/* Define if you have the dl library (-ldl). */
Jack Jansen5c214202000-04-07 09:10:35 +0000713#undef HAVE_LIBDL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000714
Jack Jansen5c214202000-04-07 09:10:35 +0000715/* Define if you have the dld library (-ldld). */
716#undef HAVE_LIBDLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000717
Jack Jansen5c214202000-04-07 09:10:35 +0000718/* Define if you have the ieee library (-lieee). */
719#undef HAVE_LIBIEEE
Jack Jansen90f22fe2001-02-12 14:59:13 +0000720#ifdef __CYGWIN__
721#ifdef USE_DL_IMPORT
722#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
723#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
724#else
725#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
726#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
727#endif
728#endif