1 /***********************************************************
2 Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam,
7 Permission to use, copy, modify, and distribute this software and its
8 documentation for any purpose and without fee is hereby granted,
9 provided that the above copyright notice appear in all copies and that
10 both that copyright notice and this permission notice appear in
11 supporting documentation, and that the names of Stichting Mathematisch
12 Centrum or CWI not be used in advertising or publicity pertaining to
13 distribution of the software without specific, written prior permission.
15 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
16 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
17 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
18 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
21 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 ******************************************************************/
25 /* config.h for Macintosh.
26 Valid only for CodeWarrior.
27 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.
32 #define USE_STACKCHECK
34 /* Define if on Macintosh (MPW or __MWERKS__ should also be defined) */
39 /* Define to case-check imported modules (why is this here?) */
40 #define CHECK_IMPORT_CASE
42 #if defined(USE_GUSI1) || defined(USE_GUSI2)
47 #define DONT_HAVE_SYS_TYPES_H
48 #define DONT_HAVE_SYS_STAT_H
52 /* Define if on AIX 3.
53 System headers sometimes define this.
54 We just want to avoid a redefinition error message. */
59 /* Define if type char is unsigned and you are not using gcc. */
60 #ifndef __CHAR_UNSIGNED__
61 #undef __CHAR_UNSIGNED__
64 /* Define to empty if the keyword does not work. */
67 /* Define to `int' if <sys/types.h> doesn't define. */
70 /* Define if your struct tm has tm_zone. */
73 /* Define if you don't have tm_zone but do have the external array
77 /* Define as __inline if that's what the C compiler calls it. */
80 /* Define if on MINIX. */
83 /* Define to `int' if <sys/types.h> doesn't define. */
86 /* Define to `long' if <sys/types.h> doesn't define. */
89 /* Define to `int' if <sys/types.h> doesn't define. */
92 /* Define if the system does not provide POSIX.1 features except
94 #undef _POSIX_1_SOURCE
96 /* Define if you need to in order for stat and other things to work. */
99 /* Define as the return type of signal handlers (int or void). */
100 #define RETSIGTYPE void
102 /* Define to `unsigned' if <sys/types.h> doesn't define. */
105 /* Define if you have the ANSI C header files. */
106 #define STDC_HEADERS 1
108 /* Define if you can safely include both <sys/time.h> and <time.h>. */
109 #undef TIME_WITH_SYS_TIME
111 /* Define if your <sys/time.h> declares struct tm. */
112 #undef TM_IN_SYS_TIME
114 /* Define to `int' if <sys/types.h> doesn't define. */
117 /* Define if your processor stores words with the most significant
118 byte first (like Motorola and SPARC, unlike Intel and VAX). */
119 #define WORDS_BIGENDIAN 1
121 /* Define if your <unistd.h> contains bad prototypes for exec*()
122 (as it does on SGI IRIX 4.x) */
123 #undef BAD_EXEC_PROTOTYPES
125 /* Define if your compiler botches static forward declarations */
126 #define BAD_STATIC_FORWARD
128 /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
129 and you want support for AIX C++ shared extension modules. */
130 #undef AIX_GENUINE_CPLUSPLUS
132 /* Define this if you have BeOS threads */
135 /* Define if you have the Mach cthreads package */
138 /* Define to `long' if <time.h> doesn't define. */
141 /* Used for BeOS configuration */
142 #undef DL_EXPORT_HEADER
143 #ifdef DL_EXPORT_HEADER
144 #include DL_EXPORT_HEADER
147 /* Define if getpgrp() must be called as getpgrp(0). */
148 #undef GETPGRP_HAVE_ARG
150 /* Define if gettimeofday() does not have second (timezone) argument
151 This is the case on Motorola V4 (R40V4.2) */
152 #undef GETTIMEOFDAY_NO_TZ
154 /* Define this if your time.h defines altzone */
157 /* Define this if you have gethostbyname() */
158 #undef HAVE_GETHOSTBYNAME
160 /* Define this if you have some version of gethostbyname_r() */
161 #undef HAVE_GETHOSTBYNAME_R
163 /* Define this if you have the 3-arg version of gethostbyname_r() */
164 #undef HAVE_GETHOSTBYNAME_R_3_ARG
166 /* Define this if you have the 5-arg version of gethostbyname_r() */
167 #undef HAVE_GETHOSTBYNAME_R_5_ARG
169 /* Define this if you have the 6-arg version of gethostbyname_r() */
170 #undef HAVE_GETHOSTBYNAME_R_6_ARG
172 /* Define this if you have the type long long */
173 #undef HAVE_LONG_LONG
175 /* Define this if you have a K&R style C preprocessor */
178 /* Define if your compiler supports function prototypes */
179 #define HAVE_PROTOTYPES 1
181 /* Define if your compiler supports variable length function prototypes
182 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
183 #define HAVE_STDARG_PROTOTYPES
185 /* Define if malloc(0) returns a NULL pointer */
186 #ifdef USE_MSL_MALLOC
187 #define MALLOC_ZERO_RETURNS_NULL
189 #undef MALLOC_ZERO_RETURNS_NULL
192 /* Define if you have POSIX threads */
194 #define _POSIX_THREADS
197 /* Define to force use of thread-safe errno, h_errno, and other functions */
200 /* Define if setpgrp() must be called as setpgrp(0, 0). */
201 #undef SETPGRP_HAVE_ARG
203 /* Define to empty if the keyword does not work. */
206 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
207 (which you can't on SCO ODT 3.0). */
208 #undef SYS_SELECT_WITH_SYS_TIME
210 /* Define if a va_list is an array of some kind */
211 #undef VA_LIST_IS_ARRAY
213 /* Define to empty if the keyword does not work. */
216 /* Define if you want SIGFPE handled (see Include/pyfpe.h). */
217 #undef WANT_SIGFPE_HANDLER
219 /* Define if the compiler provides a wchar.h header file. */
222 /* Define if you have a useable wchar_t type defined in wchar.h; useable
223 means wchar_t must be 16-bit unsigned type. (see
224 Include/unicodeobject.h). */
225 #undef HAVE_USABLE_WCHAR_T
227 /* Define if you want wctype.h functions to be used instead of the
228 one supplied by Python itself. (see Include/unicodectype.h). */
229 #undef WANT_WCTYPE_FUNCTIONS
231 /* Define if you want to use SGI (IRIX 4) dynamic linking.
232 This requires the "dl" library by Jack Jansen,
233 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
234 Don't bother on IRIX 5, it already has dynamic linking using SunOS
235 style shared libraries */
238 /* Define if you want to emulate SGI (IRIX 4) dynamic linking.
239 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
240 Sequent Symmetry (Dynix), and Atari ST.
241 This requires the "dl-dld" library,
242 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
243 as well as the "GNU dld" library,
244 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
245 Don't bother on SunOS 4 or 5, they already have dynamic linking using
249 /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
250 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
251 linker (rld). Dyld is necessary to support frameworks. */
254 /* Define if you want to compile in rudimentary thread support */
255 /* On the Mac this is optionally defined the the mwerks_*_config.h file */
256 /* #undef WITH_THREAD */
258 /* Define if you want to produce an OpenStep/Rhapsody framework
259 (shared library plus accessory files). */
260 #undef WITH_NEXT_FRAMEWORK
262 /* The number of bytes in an off_t. */
265 /* Defined to enable large file support when an off_t is bigger than a long
266 and long long is available and at least as big as an off_t. You may need
267 to add some flags for configuration and compilation to enable this mode.
268 E.g, for Solaris 2.7:
269 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
272 #undef HAVE_LARGEFILE_SUPPORT
274 /* Defined when any dynamic module loading is enabled */
275 #ifndef HAVE_DYNAMIC_LOADING
276 #undef HAVE_DYNAMIC_LOADING
279 /* The number of bytes in a char. */
280 #define SIZEOF_CHAR 1
282 /* The number of bytes in a double. */
283 #define SIZEOF_DOUBLE 8
285 /* The number of bytes in a float. */
286 #define SIZEOF_FLOAT 4
288 /* The number of bytes in a int. */
291 /* The number of bytes in a long. */
292 #define SIZEOF_LONG 4
294 /* The number of bytes in a long long. */
295 #undef SIZEOF_LONG_LONG
297 /* The number of bytes in a short. */
298 #define SIZEOF_SHORT 2
300 /* The number of bytes in a void *. */
301 #define SIZEOF_VOID_P 4
303 /* Define if you have the alarm function. */
306 /* Define if you have the chown function. */
309 /* Define if you have clock. */
312 /* Define if you have the confstr function. */
315 /* Define if you have the ctermid function. */
318 /* Define if you have the ctermid_r function. */
319 #undef HAVE_CTERMID_R
321 /* Define if you have the dlopen function. */
324 /* Define if you have the dup2 function. */
327 /* Define if you have the execv function. */
330 /* Define if you have the fdatasync function. */
331 #undef HAVE_FDATASYNC
333 /* Define if you have the flock function. */
336 /* Define if you have the fork function. */
339 /* Define if you have the fpathconf function. */
340 #undef HAVE_FPATHCONF
342 /* Define if you have the fseek64 function. */
345 /* Define if you have the fseeko function. */
348 /* Define if you have the fstatvfs function. */
351 /* Define if you have the fsync function. */
354 /* Define if you have the ftell64 function. */
357 /* Define if you have the ftello function. */
360 /* Define if you have the ftime function. */
363 /* Define if you have the ftruncate function. */
365 #define HAVE_FTRUNCATE
368 /* Define if you have the getcwd function. */
371 /* Define if you have the getgroups function. */
372 #undef HAVE_GETGROUPS
374 /* Define if you have the getlogin function. */
377 /* Define if you have the getpeername function. */
379 #define HAVE_GETPEERNAME
382 /* Define if you have getpgrp. */
385 /* Define if you have the getpid function. */
388 /* Define if you have the getpwent function. */
391 /* Define if you have the gettimeofday function. */
393 #define HAVE_GETTIMEOFDAY
396 /* Define if you have the getwd function. */
399 /* Define if you have the hypot function. */
401 /* 68K hypot definition (and implementation) are unuseable
402 ** because they use 10-byte floats.
407 /* Define if you have the kill function. */
410 /* Define if you have the link function. */
413 /* Define if you have the lstat function. */
416 /* Define if you have the memmove function. */
419 /* Define if you have the mkfifo function. */
422 /* Define if you have the mktime function. */
425 /* Define if you have the nice function. */
428 /* Define if you have the pathconf function. */
431 /* Define if you have the pause function. */
434 /* Define if you have the plock function. */
435 /* XXXX GUSI threads* */
438 /* Define if you have the pthread_init function. */
439 /* XXXX GUSI threads* */
440 #undef HAVE_PTHREAD_INIT
442 /* Define if you have the putenv function. */
445 /* Define if you have the readlink function. */
448 /* Define if you have the select function. */
453 /* Define if you have the setgid function. */
456 /* Define if you have the setlocale function. */
457 #undef HAVE_SETLOCALE
459 /* Define if you have the setpgid function. */
462 /* Define if you have the setpgrp function. */
465 /* Define if you have the setsid function. */
468 /* Define if you have the setuid function. */
471 /* Define if you have the setvbuf function. */
474 /* Define if you have the sigaction function. */
475 #undef HAVE_SIGACTION
477 /* Define if you have the siginterrupt function. */
478 #undef HAVE_SIGINTERRUPT
480 /* Define if you have the sigrelse function. */
483 /* Define if you have the statvfs function. */
486 /* Define if you have the strdup function. */
489 /* Define if you have the strerror function. */
490 #define HAVE_STRERROR
492 /* Define if you have the strftime function. */
493 #define HAVE_STRFTIME
495 /* Define if you have the strptime function. */
498 /* Define if you have the symlink function. */
501 /* Define if you have the sysconf function. */
504 /* Define if you have the tcgetpgrp function. */
505 #undef HAVE_TCGETPGRP
507 /* Define if you have the tcsetpgrp function. */
508 #undef HAVE_TCSETPGRP
510 /* Define if you have the tempnam function. */
513 /* Define if you have the timegm function. */
516 /* Define if you have the times function. */
519 /* Define if you have the tmpfile function. */
522 /* Define if you have the tmpnam function. */
525 /* Define if you have the tmpnam_r function. */
528 /* Define if you have the truncate function. */
529 #define HAVE_TRUNCATE
531 /* Define if you have the uname function. */
534 /* Define if you have the waitpid function. */
537 /* Define if you have the <dirent.h> header file. */
539 #define HAVE_DIRENT_H
542 /* Define if you have the <dlfcn.h> header file. */
545 /* Define if you have the <fcntl.h> header file. */
548 /* Define if you have the <limits.h> header file. */
549 #define HAVE_LIMITS_H
551 /* Define if you have the <locale.h> header file. */
552 #define HAVE_LOCALE_H
554 /* Define if you have the <ncurses.h> header file. */
555 #undef HAVE_NCURSES_H
557 /* Define if you have the <ndir.h> header file. */
560 /* Define if you have the <pthread.h> header file. */
562 #define HAVE_PTHREAD_H
565 /* Define if you have the <signal.h> header file. */
566 #define HAVE_SIGNAL_H
568 /* Define if you have the <stdarg.h> header file. */
569 #define HAVE_STDARG_H
571 /* Define if you have the <stddef.h> header file. */
572 #define HAVE_STDDEF_H
574 /* Define if you have the <stdlib.h> header file. */
575 #define HAVE_STDLIB_H
577 /* Define if you have the <sys/audioio.h> header file. */
578 #undef HAVE_SYS_AUDIOIO_H
580 /* Define if you have the <sys/dir.h> header file. */
581 #undef HAVE_SYS_DIR_H
583 /* Define if you have the <sys/file.h> header file. */
584 #undef HAVE_SYS_FILE_H
586 /* Define if you have the <sys/lock.h> header file. */
587 #undef HAVE_SYS_LOCK_H
589 /* Define if you have the <sys/ndir.h> header file. */
590 #undef HAVE_SYS_NDIR_H
592 /* Define if you have the <sys/param.h> header file. */
593 #undef HAVE_SYS_PARAM_H
595 /* Define if you have the <sys/select.h> header file. */
596 #undef HAVE_SYS_SELECT_H
598 /* Define if you have the <sys/time.h> header file. */
600 #define HAVE_SYS_TIME_H
603 /* Define if you have the <sys/times.h> header file. */
604 #undef HAVE_SYS_TIMES_H
606 /* Define if you have the <sys/un.h> header file. */
609 /* Define if you have the <sys/utsname.h> header file. */
610 #undef HAVE_SYS_UTSNAME_H
612 /* Define if you have the <sys/wait.h> header file. */
613 #undef HAVE_SYS_WAIT_H
615 /* Define if you have the <thread.h> header file. */
618 /* Define if you have the <unistd.h> header file. */
619 #define HAVE_UNISTD_H
621 /* Define if you have the <utime.h> header file. */
624 /* Define if you have the dl library (-ldl). */
627 /* Define if you have the dld library (-ldld). */
630 /* Define if you have the ieee library (-lieee). */