blob: 415887342e6856d8b45259e02b94cec9401cbb23 [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 Jansen45428972001-07-02 15:34:57 +0000202/* Define if you want to have a Unicode type. */
203#define Py_USING_UNICODE 1
204
205/* Define as the integral type used for Unicode representation. */
206#define PY_UNICODE_TYPE wchar_t
207
208/* Define as the size of the unicode type. */
209#define Py_UNICODE_SIZE 2
210
Jack Jansen5c214202000-04-07 09:10:35 +0000211/* Define if malloc(0) returns a NULL pointer */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000212#ifdef USE_MSL_MALLOC
213#define MALLOC_ZERO_RETURNS_NULL
214#else
Jack Jansen5c214202000-04-07 09:10:35 +0000215#undef MALLOC_ZERO_RETURNS_NULL
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000216#endif
Jack Jansen5c214202000-04-07 09:10:35 +0000217
Guido van Rossumd4d77281994-08-19 10:51:31 +0000218/* Define if you have POSIX threads */
Jack Jansen5c214202000-04-07 09:10:35 +0000219#ifdef USE_GUSI2
220#define _POSIX_THREADS
221#endif
222
Jack Jansen90f22fe2001-02-12 14:59:13 +0000223/* Define if you want to build an interpreter with many run-time checks */
224#undef Py_DEBUG
225
Jack Jansen5c214202000-04-07 09:10:35 +0000226/* Define to force use of thread-safe errno, h_errno, and other functions */
227#undef _REENTRANT
228
229/* Define if setpgrp() must be called as setpgrp(0, 0). */
230#undef SETPGRP_HAVE_ARG
Guido van Rossumd4d77281994-08-19 10:51:31 +0000231
232/* Define to empty if the keyword does not work. */
Jack Jansen5c214202000-04-07 09:10:35 +0000233#undef signed
Guido van Rossumd4d77281994-08-19 10:51:31 +0000234
Jack Jansen90f22fe2001-02-12 14:59:13 +0000235/* Define if i>>j for signed int i does not extend the sign bit
236 when i < 0
237*/
238#define SIGNED_RIGHT_SHIFT_ZERO_FILLS
239
240/* The number of bytes in an off_t. */
241#define SIZEOF_OFF_T 4
242
243/* The number of bytes in a time_t. */
244#define SIZEOF_TIME_T 4
245
246/* The number of bytes in a pthread_t. */
247#ifdef USE_GUSI2
248#define SIZEOF_PTHREAD_T 4
249#endif
250
251/* Define to `int' if <sys/types.h> doesn't define. */
252#undef socklen_t
253
Guido van Rossumce9739b1994-01-05 16:17:15 +0000254/* Define if you can safely include both <sys/select.h> and <sys/time.h>
255 (which you can't on SCO ODT 3.0). */
Jack Jansen5c214202000-04-07 09:10:35 +0000256#undef SYS_SELECT_WITH_SYS_TIME
257
258/* Define if a va_list is an array of some kind */
259#undef VA_LIST_IS_ARRAY
260
261/* Define to empty if the keyword does not work. */
262#undef volatile
263
264/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
265#undef WANT_SIGFPE_HANDLER
266
Jack Jansen5c214202000-04-07 09:10:35 +0000267/* Define if you want wctype.h functions to be used instead of the
268 one supplied by Python itself. (see Include/unicodectype.h). */
269#undef WANT_WCTYPE_FUNCTIONS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000270
Jack Jansen90f22fe2001-02-12 14:59:13 +0000271/* Define if you want to compile in cycle garbage collection */
272#undef WITH_CYCLE_GC
Guido van Rossumd4d77281994-08-19 10:51:31 +0000273
274/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
275 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
276 Sequent Symmetry (Dynix), and Atari ST.
277 This requires the "dl-dld" library,
278 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
279 as well as the "GNU dld" library,
280 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
281 Don't bother on SunOS 4 or 5, they already have dynamic linking using
282 shared libraries */
Jack Jansen5c214202000-04-07 09:10:35 +0000283#undef WITH_DL_DLD
284
285/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
286 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
287 linker (rld). Dyld is necessary to support frameworks. */
288#undef WITH_DYLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000289
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000290/* Define if you want to compile in Python-specific mallocs */
291#undef WITH_PYMALLOC
Guido van Rossumce9739b1994-01-05 16:17:15 +0000292
Jack Jansen5c214202000-04-07 09:10:35 +0000293/* Define if you want to produce an OpenStep/Rhapsody framework
294 (shared library plus accessory files). */
295#undef WITH_NEXT_FRAMEWORK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000296
Jack Jansen90f22fe2001-02-12 14:59:13 +0000297/* Define if you want to use SGI (IRIX 4) dynamic linking.
298 This requires the "dl" library by Jack Jansen,
299 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
300 Don't bother on IRIX 5, it already has dynamic linking using SunOS
301 style shared libraries */
302#undef WITH_SGI_DL
Jack Jansen5c214202000-04-07 09:10:35 +0000303
Jack Jansen90f22fe2001-02-12 14:59:13 +0000304/* Define if you want to compile in rudimentary thread support */
305/* #undef WITH_THREAD */
Jack Jansen5c214202000-04-07 09:10:35 +0000306
307/* The number of bytes in a char. */
308#define SIZEOF_CHAR 1
309
310/* The number of bytes in a double. */
311#define SIZEOF_DOUBLE 8
312
313/* The number of bytes in a float. */
314#define SIZEOF_FLOAT 4
315
Jack Jansen90f22fe2001-02-12 14:59:13 +0000316/* The number of bytes in a fpos_t. */
317#define SIZEOF_FPOS_T 4
318
Jack Jansen5c214202000-04-07 09:10:35 +0000319/* The number of bytes in a int. */
320#define SIZEOF_INT 4
321
322/* The number of bytes in a long. */
323#define SIZEOF_LONG 4
324
325/* The number of bytes in a long long. */
326#undef SIZEOF_LONG_LONG
327
328/* The number of bytes in a short. */
329#define SIZEOF_SHORT 2
330
Jack Jansen90f22fe2001-02-12 14:59:13 +0000331/* The number of bytes in a uintptr_t. */
332#define SIZEOF_UINTPTR_T 4
333
Jack Jansen5c214202000-04-07 09:10:35 +0000334/* The number of bytes in a void *. */
335#define SIZEOF_VOID_P 4
336
Jack Jansen90f22fe2001-02-12 14:59:13 +0000337/* Define if you have the _getpty function. */
338#undef HAVE__GETPTY
339
Jack Jansen5c214202000-04-07 09:10:35 +0000340/* Define if you have the alarm function. */
341#undef HAVE_ALARM
342
343/* Define if you have the chown function. */
344#undef HAVE_CHOWN
Guido van Rossumd4d77281994-08-19 10:51:31 +0000345
Guido van Rossumce9739b1994-01-05 16:17:15 +0000346/* Define if you have clock. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000347#define HAVE_CLOCK
348
Jack Jansen5c214202000-04-07 09:10:35 +0000349/* Define if you have the confstr function. */
350#undef HAVE_CONFSTR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000351
Jack Jansen5c214202000-04-07 09:10:35 +0000352/* Define if you have the ctermid function. */
353#undef HAVE_CTERMID
Guido van Rossumce9739b1994-01-05 16:17:15 +0000354
Jack Jansen5c214202000-04-07 09:10:35 +0000355/* Define if you have the ctermid_r function. */
356#undef HAVE_CTERMID_R
357
358/* Define if you have the dlopen function. */
359#undef HAVE_DLOPEN
360
361/* Define if you have the dup2 function. */
362#undef HAVE_DUP2
363
364/* Define if you have the execv function. */
365#undef HAVE_EXECV
366
367/* Define if you have the fdatasync function. */
368#undef HAVE_FDATASYNC
369
370/* Define if you have the flock function. */
371#undef HAVE_FLOCK
372
373/* Define if you have the fork function. */
374#undef HAVE_FORK
375
Jack Jansen90f22fe2001-02-12 14:59:13 +0000376/* Define if you have the forkpty function. */
377#undef HAVE_FORKPTY
378
Jack Jansen5c214202000-04-07 09:10:35 +0000379/* Define if you have the fpathconf function. */
380#undef HAVE_FPATHCONF
381
382/* Define if you have the fseek64 function. */
383#undef HAVE_FSEEK64
384
385/* Define if you have the fseeko function. */
386#undef HAVE_FSEEKO
387
388/* Define if you have the fstatvfs function. */
389#undef HAVE_FSTATVFS
390
391/* Define if you have the fsync function. */
392#define HAVE_FSYNC
393
394/* Define if you have the ftell64 function. */
395#undef HAVE_FTELL64
396
397/* Define if you have the ftello function. */
398#undef HAVE_FTELLO
399
400/* Define if you have the ftime function. */
401#undef HAVE_FTIME
402
403/* Define if you have the ftruncate function. */
404#ifdef USE_GUSI
405#define HAVE_FTRUNCATE
406#endif
407
408/* Define if you have the getcwd function. */
409#define HAVE_GETCWD
410
411/* Define if you have the getgroups function. */
412#undef HAVE_GETGROUPS
413
Jack Jansen90f22fe2001-02-12 14:59:13 +0000414/* Define if you have the gethostbyname function. */
415#ifdef USE_GUSI
416#define HAVE_GETHOSTBYNAME 1
417#endif
418
Jack Jansen5c214202000-04-07 09:10:35 +0000419/* Define if you have the getlogin function. */
420#undef HAVE_GETLOGIN
421
422/* Define if you have the getpeername function. */
423#ifdef USE_GUSI
424#define HAVE_GETPEERNAME
425#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000426
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000427/* Define if you have the getpgrp function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000428#undef HAVE_GETPGRP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000429
Jack Jansen5c214202000-04-07 09:10:35 +0000430/* Define if you have the getpid function. */
431#undef HAVE_GETPID
Guido van Rossumd4d77281994-08-19 10:51:31 +0000432
Jack Jansen5c214202000-04-07 09:10:35 +0000433/* Define if you have the getpwent function. */
434#undef HAVE_GETPWENT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000435
Jack Jansen5c214202000-04-07 09:10:35 +0000436/* Define if you have the gettimeofday function. */
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000437#ifdef USE_GUSI
Jack Jansen5c214202000-04-07 09:10:35 +0000438#define HAVE_GETTIMEOFDAY
Jack Jansen7bfc2eb2000-05-12 21:37:10 +0000439#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000440
Jack Jansen5c214202000-04-07 09:10:35 +0000441/* Define if you have the getwd function. */
442#undef HAVE_GETWD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000443
Jack Jansen5c214202000-04-07 09:10:35 +0000444/* Define if you have the hypot function. */
445#ifndef __MC68K__
446/* 68K hypot definition (and implementation) are unuseable
447** because they use 10-byte floats.
448*/
449#define HAVE_HYPOT
450#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000451
Jack Jansen5c214202000-04-07 09:10:35 +0000452/* Define if you have the kill function. */
453#undef HAVE_KILL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000454
Jack Jansen5c214202000-04-07 09:10:35 +0000455/* Define if you have the link function. */
456#undef HAVE_LINK
Guido van Rossumce9739b1994-01-05 16:17:15 +0000457
Jack Jansen5c214202000-04-07 09:10:35 +0000458/* Define if you have the lstat function. */
459#undef HAVE_LSTAT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000460
Jack Jansen5c214202000-04-07 09:10:35 +0000461/* Define if you have the memmove function. */
462#define HAVE_MEMMOVE
Guido van Rossumd4d77281994-08-19 10:51:31 +0000463
Jack Jansen5c214202000-04-07 09:10:35 +0000464/* Define if you have the mkfifo function. */
465#undef HAVE_MKFIFO
Guido van Rossumce9739b1994-01-05 16:17:15 +0000466
Jack Jansen5c214202000-04-07 09:10:35 +0000467/* Define if you have the mktime function. */
468#define HAVE_MKTIME
Guido van Rossumce9739b1994-01-05 16:17:15 +0000469
Jack Jansen90f22fe2001-02-12 14:59:13 +0000470/* Define if you have the mremap function. */
471#undef HAVE_MREMAP
472
Jack Jansen5c214202000-04-07 09:10:35 +0000473/* Define if you have the nice function. */
474#undef HAVE_NICE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000475
Jack Jansen90f22fe2001-02-12 14:59:13 +0000476/* Define if you have the openpty function. */
477#undef HAVE_OPENPTY
478
Jack Jansen5c214202000-04-07 09:10:35 +0000479/* Define if you have the pathconf function. */
480#undef HAVE_PATHCONF
Guido van Rossumd4d77281994-08-19 10:51:31 +0000481
Jack Jansen5c214202000-04-07 09:10:35 +0000482/* Define if you have the pause function. */
483#undef HAVE_PAUSE
484
485/* Define if you have the plock function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000486#undef HAVE_PLOCK
487
Jack Jansen90f22fe2001-02-12 14:59:13 +0000488/* Define if you have the poll function. */
489#undef HAVE_POLL
490
Jack Jansen5c214202000-04-07 09:10:35 +0000491/* Define if you have the pthread_init function. */
Jack Jansen5c214202000-04-07 09:10:35 +0000492#undef HAVE_PTHREAD_INIT
493
494/* Define if you have the putenv function. */
495#undef HAVE_PUTENV
496
497/* Define if you have the readlink function. */
498#undef HAVE_READLINK
499
500/* Define if you have the select function. */
501#ifdef USE_GUSI
502#define HAVE_SELECT
503#endif
504
Jack Jansen90f22fe2001-02-12 14:59:13 +0000505/* Define if you have the setegid function. */
506#undef HAVE_SETEGID
507
508/* Define if you have the seteuid function. */
509#undef HAVE_SETEUID
510
Jack Jansen5c214202000-04-07 09:10:35 +0000511/* Define if you have the setgid function. */
512#undef HAVE_SETGID
513
514/* Define if you have the setlocale function. */
515#undef HAVE_SETLOCALE
516
517/* Define if you have the setpgid function. */
518#undef HAVE_SETPGID
519
520/* Define if you have the setpgrp function. */
521#undef HAVE_SETPGRP
522
Jack Jansen90f22fe2001-02-12 14:59:13 +0000523/* Define if you have the setregid function. */
524#undef HAVE_SETREGID
525
526/* Define if you have the setreuid function. */
527#undef HAVE_SETREUID
528
Jack Jansen5c214202000-04-07 09:10:35 +0000529/* Define if you have the setsid function. */
530#undef HAVE_SETSID
531
532/* Define if you have the setuid function. */
533#undef HAVE_SETUID
534
535/* Define if you have the setvbuf function. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000536#define HAVE_SETVBUF
Guido van Rossumfe16cc01994-05-06 14:16:30 +0000537
Jack Jansen5c214202000-04-07 09:10:35 +0000538/* Define if you have the sigaction function. */
539#undef HAVE_SIGACTION
Guido van Rossumce9739b1994-01-05 16:17:15 +0000540
Jack Jansen5c214202000-04-07 09:10:35 +0000541/* Define if you have the siginterrupt function. */
542#undef HAVE_SIGINTERRUPT
Guido van Rossumce9739b1994-01-05 16:17:15 +0000543
Jack Jansen5c214202000-04-07 09:10:35 +0000544/* Define if you have the sigrelse function. */
545#undef HAVE_SIGRELSE
Guido van Rossumce9739b1994-01-05 16:17:15 +0000546
Jack Jansen5c214202000-04-07 09:10:35 +0000547/* Define if you have the statvfs function. */
548#undef HAVE_STATVFS
Guido van Rossumce9739b1994-01-05 16:17:15 +0000549
Jack Jansen5c214202000-04-07 09:10:35 +0000550/* Define if you have the strdup function. */
551#undef HAVE_STRDUP
Guido van Rossumce9739b1994-01-05 16:17:15 +0000552
Jack Jansen5c214202000-04-07 09:10:35 +0000553/* Define if you have the strerror function. */
554#define HAVE_STRERROR
Guido van Rossumce9739b1994-01-05 16:17:15 +0000555
Jack Jansen5c214202000-04-07 09:10:35 +0000556/* Define if you have the strftime function. */
557#define HAVE_STRFTIME
558
559/* Define if you have the strptime function. */
560#undef HAVE_STRPTIME
561
562/* Define if you have the symlink function. */
563#undef HAVE_SYMLINK
564
565/* Define if you have the sysconf function. */
566#undef HAVE_SYSCONF
567
568/* Define if you have the tcgetpgrp function. */
569#undef HAVE_TCGETPGRP
570
571/* Define if you have the tcsetpgrp function. */
572#undef HAVE_TCSETPGRP
573
574/* Define if you have the tempnam function. */
575#undef HAVE_TEMPNAM
576
577/* Define if you have the timegm function. */
578#undef HAVE_TIMEGM
579
580/* Define if you have the times function. */
581#undef HAVE_TIMES
582
583/* Define if you have the tmpfile function. */
584#define HAVE_TMPFILE
585
586/* Define if you have the tmpnam function. */
587#define HAVE_TMPNAM
588
589/* Define if you have the tmpnam_r function. */
590#undef HAVE_TMPNAM_R
591
592/* Define if you have the truncate function. */
593#define HAVE_TRUNCATE
594
595/* Define if you have the uname function. */
596#undef HAVE_UNAME
597
598/* Define if you have the waitpid function. */
599#undef HAVE_WAITPID
600
Jack Jansen90f22fe2001-02-12 14:59:13 +0000601/* Define if you have the <db.h> header file. */
602#undef HAVE_DB_H
603
604/* Define if you have the <db1/ndbm.h> header file. */
605#undef HAVE_DB1_NDBM_H
606
607/* Define if you have the <db_185.h> header file. */
608#undef HAVE_DB_185_H
609
Jack Jansen5c214202000-04-07 09:10:35 +0000610/* Define if you have the <dirent.h> header file. */
611#ifdef USE_GUSI
612#define HAVE_DIRENT_H
613#endif
Guido van Rossumce9739b1994-01-05 16:17:15 +0000614
615/* Define if you have the <dlfcn.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000616#undef HAVE_DLFCN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000617
Guido van Rossumd4d77281994-08-19 10:51:31 +0000618/* Define if you have the <fcntl.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000619#define HAVE_FCNTL_H
620
Jack Jansen90f22fe2001-02-12 14:59:13 +0000621/* Define if you have the <gdbm/ndbm.h> header file. */
622#undef HAVE_GDBM_NDBM_H
623
624/* Define if you have the <libutil.h> header file. */
625#undef HAVE_LIBUTIL_H
626
Jack Jansen5c214202000-04-07 09:10:35 +0000627/* Define if you have the <limits.h> header file. */
628#define HAVE_LIMITS_H
629
630/* Define if you have the <locale.h> header file. */
631#define HAVE_LOCALE_H
632
633/* Define if you have the <ncurses.h> header file. */
634#undef HAVE_NCURSES_H
635
Jack Jansen90f22fe2001-02-12 14:59:13 +0000636/* Define if you have the <ndbm.h> header file. */
637#undef HAVE_NDBM_H
638
Jack Jansen5c214202000-04-07 09:10:35 +0000639/* Define if you have the <ndir.h> header file. */
640#undef HAVE_NDIR_H
641
Jack Jansen90f22fe2001-02-12 14:59:13 +0000642/* Define if you have the <poll.h> header file. */
643#undef HAVE_POLL_H
644
Jack Jansen5c214202000-04-07 09:10:35 +0000645/* Define if you have the <pthread.h> header file. */
646#ifdef USE_GUSI2
647#define HAVE_PTHREAD_H
648#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000649
Jack Jansen90f22fe2001-02-12 14:59:13 +0000650/* Define if you have the <pty.h> header file. */
651#undef HAVE_PTY_H
652
Guido van Rossumce9739b1994-01-05 16:17:15 +0000653/* Define if you have the <signal.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000654#define HAVE_SIGNAL_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000655
656/* Define if you have the <stdarg.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000657#define HAVE_STDARG_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000658
Jack Jansen5c214202000-04-07 09:10:35 +0000659/* Define if you have the <stddef.h> header file. */
660#define HAVE_STDDEF_H
661
Guido van Rossumce9739b1994-01-05 16:17:15 +0000662/* Define if you have the <stdlib.h> header file. */
Guido van Rossumd4d77281994-08-19 10:51:31 +0000663#define HAVE_STDLIB_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000664
665/* Define if you have the <sys/audioio.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000666#undef HAVE_SYS_AUDIOIO_H
667
668/* Define if you have the <sys/dir.h> header file. */
669#undef HAVE_SYS_DIR_H
670
671/* Define if you have the <sys/file.h> header file. */
672#undef HAVE_SYS_FILE_H
673
674/* Define if you have the <sys/lock.h> header file. */
675#undef HAVE_SYS_LOCK_H
676
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000677/* Define if you have the <sys/modem.h> header file. */
678#undef HAVE_SYS_MODEM_H
679
Jack Jansen5c214202000-04-07 09:10:35 +0000680/* Define if you have the <sys/ndir.h> header file. */
681#undef HAVE_SYS_NDIR_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000682
683/* Define if you have the <sys/param.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000684#undef HAVE_SYS_PARAM_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000685
686/* Define if you have the <sys/select.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000687#undef HAVE_SYS_SELECT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000688
Jack Jansen90f22fe2001-02-12 14:59:13 +0000689/* Define if you have the <sys/socket.h> header file. */
690#ifdef USE_GUSI
691#define HAVE_SYS_SOCKET_H
692#endif
693
Guido van Rossumd4d77281994-08-19 10:51:31 +0000694/* Define if you have the <sys/time.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000695#ifdef USE_GUSI
696#define HAVE_SYS_TIME_H
697#endif
Guido van Rossumd4d77281994-08-19 10:51:31 +0000698
Guido van Rossumce9739b1994-01-05 16:17:15 +0000699/* Define if you have the <sys/times.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000700#undef HAVE_SYS_TIMES_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000701
702/* Define if you have the <sys/un.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000703#undef HAVE_SYS_UN_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000704
705/* Define if you have the <sys/utsname.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000706#undef HAVE_SYS_UTSNAME_H
707
708/* Define if you have the <sys/wait.h> header file. */
709#undef HAVE_SYS_WAIT_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000710
Jack Jansen90f22fe2001-02-12 14:59:13 +0000711/* Define if you have the <termios.h> header file. */
712#undef HAVE_TERMIOS_H
713
Guido van Rossumce9739b1994-01-05 16:17:15 +0000714/* Define if you have the <thread.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000715#undef HAVE_THREAD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000716
717/* Define if you have the <unistd.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000718#define HAVE_UNISTD_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000719
720/* Define if you have the <utime.h> header file. */
Jack Jansen5c214202000-04-07 09:10:35 +0000721#define HAVE_UTIME_H
Guido van Rossumce9739b1994-01-05 16:17:15 +0000722
723/* Define if you have the dl library (-ldl). */
Jack Jansen5c214202000-04-07 09:10:35 +0000724#undef HAVE_LIBDL
Guido van Rossumce9739b1994-01-05 16:17:15 +0000725
Jack Jansen5c214202000-04-07 09:10:35 +0000726/* Define if you have the dld library (-ldld). */
727#undef HAVE_LIBDLD
Guido van Rossumd4d77281994-08-19 10:51:31 +0000728
Jack Jansen5c214202000-04-07 09:10:35 +0000729/* Define if you have the ieee library (-lieee). */
730#undef HAVE_LIBIEEE
Jack Jansen0e2d6bf2001-05-23 08:55:50 +0000731
Jack Jansen90f22fe2001-02-12 14:59:13 +0000732#ifdef __CYGWIN__
733#ifdef USE_DL_IMPORT
734#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
735#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
736#else
737#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
738#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
739#endif
740#endif