Jack Jansen | 42218ce | 1997-01-31 16:15:11 +0000 | [diff] [blame] | 1 | /*********************************************************** |
| 2 | Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam, |
| 3 | The Netherlands. |
| 4 | |
| 5 | All Rights Reserved |
| 6 | |
| 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. |
| 14 | |
| 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. |
| 22 | |
| 23 | ******************************************************************/ |
| 24 | |
Jack Jansen | 7e124ea | 1996-08-19 11:38:54 +0000 | [diff] [blame] | 25 | /* config.h for Macintosh. |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 26 | Valid only for CodeWarrior. |
Jack Jansen | 7e124ea | 1996-08-19 11:38:54 +0000 | [diff] [blame] | 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. |
| 30 | */ |
| 31 | |
| 32 | #define USE_STACKCHECK |
Guido van Rossum | 739267b | 1994-08-29 08:42:37 +0000 | [diff] [blame] | 33 | |
Jack Jansen | 48d071d | 1995-01-18 13:56:20 +0000 | [diff] [blame] | 34 | /* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */ |
Guido van Rossum | eabdbff | 1995-02-18 14:56:51 +0000 | [diff] [blame] | 35 | #ifndef macintosh |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 36 | #define macintosh |
Guido van Rossum | eabdbff | 1995-02-18 14:56:51 +0000 | [diff] [blame] | 37 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 38 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 39 | /* Define if you have the fopenRF function. */ |
Guido van Rossum | 6a5df90 | 1995-01-18 23:59:06 +0000 | [diff] [blame] | 40 | #ifdef THINK_C |
| 41 | #define HAVE_FOPENRF |
| 42 | #endif |
Jack Jansen | c743c8d | 1996-02-14 16:02:30 +0000 | [diff] [blame] | 43 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 44 | /* Define to case-check imported modules (why is this here?) */ |
Jack Jansen | 64da169 | 1998-02-20 15:50:23 +0000 | [diff] [blame] | 45 | #define CHECK_IMPORT_CASE |
Jack Jansen | ae178ea | 1996-10-23 15:42:01 +0000 | [diff] [blame] | 46 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 47 | #if defined(USE_GUSI1) || defined(USE_GUSI2) |
| 48 | #define USE_GUSI |
Guido van Rossum | e71d853 | 1995-02-19 15:49:39 +0000 | [diff] [blame] | 49 | #endif |
| 50 | |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 51 | #ifndef USE_GUSI |
| 52 | #define DONT_HAVE_SYS_TYPES_H |
| 53 | #define DONT_HAVE_SYS_STAT_H |
| 54 | #define HAVE_STAT_H |
| 55 | #endif |
| 56 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 57 | /* Define if on AIX 3. |
| 58 | System headers sometimes define this. |
| 59 | We just want to avoid a redefinition error message. */ |
| 60 | #ifndef _ALL_SOURCE |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 61 | #undef _ALL_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 62 | #endif |
| 63 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 64 | /* Define if type char is unsigned and you are not using gcc. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 65 | #ifndef __CHAR_UNSIGNED__ |
| 66 | #undef __CHAR_UNSIGNED__ |
| 67 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 68 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 69 | /* Define to empty if the keyword does not work. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 70 | #undef const |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 71 | |
| 72 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 73 | #undef gid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 74 | |
| 75 | /* Define if your struct tm has tm_zone. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 76 | #undef HAVE_TM_ZONE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 77 | |
| 78 | /* Define if you don't have tm_zone but do have the external array |
| 79 | tzname. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 80 | #undef HAVE_TZNAME |
| 81 | |
| 82 | /* Define as __inline if that's what the C compiler calls it. */ |
| 83 | #undef inline |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 84 | |
| 85 | /* Define if on MINIX. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 86 | #undef _MINIX |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 87 | |
| 88 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 89 | #undef mode_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 90 | |
| 91 | /* Define to `long' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 92 | #undef off_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 93 | |
| 94 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 95 | #undef pid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 96 | |
| 97 | /* Define if the system does not provide POSIX.1 features except |
| 98 | with this defined. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 99 | #undef _POSIX_1_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 100 | |
| 101 | /* Define if you need to in order for stat and other things to work. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 102 | #undef _POSIX_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 103 | |
| 104 | /* Define as the return type of signal handlers (int or void). */ |
| 105 | #define RETSIGTYPE void |
| 106 | |
| 107 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 108 | #undef size_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 109 | |
| 110 | /* Define if you have the ANSI C header files. */ |
Jack Jansen | 6a474c5 | 1998-08-20 14:49:33 +0000 | [diff] [blame] | 111 | #define STDC_HEADERS 1 |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 112 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 113 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 114 | #undef TIME_WITH_SYS_TIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 115 | |
| 116 | /* Define if your <sys/time.h> declares struct tm. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 117 | #undef TM_IN_SYS_TIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 118 | |
| 119 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 120 | #undef uid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 121 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 122 | /* Define if your processor stores words with the most significant |
| 123 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
| 124 | #define WORDS_BIGENDIAN 1 |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 125 | |
| 126 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
| 127 | (as it does on SGI IRIX 4.x) */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 128 | #undef BAD_EXEC_PROTOTYPES |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 129 | |
Guido van Rossum | eabdbff | 1995-02-18 14:56:51 +0000 | [diff] [blame] | 130 | /* Define if your compiler botches static forward declarations */ |
Jack Jansen | fea7533 | 1994-12-14 13:38:13 +0000 | [diff] [blame] | 131 | #define BAD_STATIC_FORWARD |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 132 | |
| 133 | /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r |
| 134 | and you want support for AIX C++ shared extension modules. */ |
| 135 | #undef AIX_GENUINE_CPLUSPLUS |
| 136 | |
| 137 | /* Define this if you have BeOS threads */ |
| 138 | #undef BEOS_THREADS |
| 139 | |
| 140 | /* Define if you have the Mach cthreads package */ |
| 141 | #undef C_THREADS |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 142 | |
| 143 | /* Define to `long' if <time.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 144 | #undef clock_t |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 145 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 146 | /* Used for BeOS configuration */ |
| 147 | #undef DL_EXPORT_HEADER |
| 148 | #ifdef DL_EXPORT_HEADER |
| 149 | #include DL_EXPORT_HEADER |
| 150 | #endif |
| 151 | |
| 152 | /* Define if getpgrp() must be called as getpgrp(0). */ |
| 153 | #undef GETPGRP_HAVE_ARG |
| 154 | |
| 155 | /* Define if gettimeofday() does not have second (timezone) argument |
| 156 | This is the case on Motorola V4 (R40V4.2) */ |
| 157 | #undef GETTIMEOFDAY_NO_TZ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 158 | |
| 159 | /* Define this if your time.h defines altzone */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 160 | #undef HAVE_ALTZONE |
| 161 | |
| 162 | /* Define this if you have gethostbyname() */ |
| 163 | #undef HAVE_GETHOSTBYNAME |
| 164 | |
| 165 | /* Define this if you have some version of gethostbyname_r() */ |
| 166 | #undef HAVE_GETHOSTBYNAME_R |
| 167 | |
| 168 | /* Define this if you have the 3-arg version of gethostbyname_r() */ |
| 169 | #undef HAVE_GETHOSTBYNAME_R_3_ARG |
| 170 | |
| 171 | /* Define this if you have the 5-arg version of gethostbyname_r() */ |
| 172 | #undef HAVE_GETHOSTBYNAME_R_5_ARG |
| 173 | |
| 174 | /* Define this if you have the 6-arg version of gethostbyname_r() */ |
| 175 | #undef HAVE_GETHOSTBYNAME_R_6_ARG |
| 176 | |
| 177 | /* Define this if you have the type long long */ |
| 178 | #undef HAVE_LONG_LONG |
| 179 | |
| 180 | /* Define this if you have a K&R style C preprocessor */ |
| 181 | #undef HAVE_OLD_CPP |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 182 | |
| 183 | /* Define if your compiler supports function prototypes */ |
Jack Jansen | 6a474c5 | 1998-08-20 14:49:33 +0000 | [diff] [blame] | 184 | #define HAVE_PROTOTYPES 1 |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 185 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 186 | /* Define if your compiler supports variable length function prototypes |
| 187 | (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
| 188 | #define HAVE_STDARG_PROTOTYPES |
| 189 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 190 | /* Define if malloc(0) returns a NULL pointer */ |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 191 | #ifdef USE_MSL_MALLOC |
| 192 | #define MALLOC_ZERO_RETURNS_NULL |
| 193 | #else |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 194 | #undef MALLOC_ZERO_RETURNS_NULL |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 195 | #endif |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 196 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 197 | /* Define if you have POSIX threads */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 198 | #ifdef USE_GUSI2 |
| 199 | #define _POSIX_THREADS |
| 200 | #endif |
| 201 | |
| 202 | /* Define to force use of thread-safe errno, h_errno, and other functions */ |
| 203 | #undef _REENTRANT |
| 204 | |
| 205 | /* Define if setpgrp() must be called as setpgrp(0, 0). */ |
| 206 | #undef SETPGRP_HAVE_ARG |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 207 | |
| 208 | /* Define to empty if the keyword does not work. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 209 | #undef signed |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 210 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 211 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 212 | (which you can't on SCO ODT 3.0). */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 213 | #undef SYS_SELECT_WITH_SYS_TIME |
| 214 | |
| 215 | /* Define if a va_list is an array of some kind */ |
| 216 | #undef VA_LIST_IS_ARRAY |
| 217 | |
| 218 | /* Define to empty if the keyword does not work. */ |
| 219 | #undef volatile |
| 220 | |
| 221 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ |
| 222 | #undef WANT_SIGFPE_HANDLER |
| 223 | |
| 224 | /* Define if the compiler provides a wchar.h header file. */ |
| 225 | #undef HAVE_WCHAR_H |
| 226 | |
| 227 | /* Define if you have a useable wchar_t type defined in wchar.h; useable |
| 228 | means wchar_t must be 16-bit unsigned type. (see |
| 229 | Include/unicodeobject.h). */ |
| 230 | #undef HAVE_USABLE_WCHAR_T |
| 231 | |
| 232 | /* Define if you want wctype.h functions to be used instead of the |
| 233 | one supplied by Python itself. (see Include/unicodectype.h). */ |
| 234 | #undef WANT_WCTYPE_FUNCTIONS |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 235 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 236 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 237 | This requires the "dl" library by Jack Jansen, |
| 238 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 239 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 240 | style shared libraries */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 241 | #undef WITH_SGI_DL |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 242 | |
| 243 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 244 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 245 | Sequent Symmetry (Dynix), and Atari ST. |
| 246 | This requires the "dl-dld" library, |
| 247 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 248 | as well as the "GNU dld" library, |
| 249 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 250 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
| 251 | shared libraries */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 252 | #undef WITH_DL_DLD |
| 253 | |
| 254 | /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) |
| 255 | dynamic linker (dyld) instead of the old-style (NextStep) dynamic |
| 256 | linker (rld). Dyld is necessary to support frameworks. */ |
| 257 | #undef WITH_DYLD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 258 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 259 | /* Define if you want to compile in rudimentary thread support */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 260 | /* On the Mac this is optionally defined the the mwerks_*_config.h file */ |
Guido van Rossum | eabdbff | 1995-02-18 14:56:51 +0000 | [diff] [blame] | 261 | /* #undef WITH_THREAD */ |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 262 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 263 | /* Define if you want to produce an OpenStep/Rhapsody framework |
| 264 | (shared library plus accessory files). */ |
| 265 | #undef WITH_NEXT_FRAMEWORK |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 266 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 267 | /* The number of bytes in an off_t. */ |
| 268 | #undef SIZEOF_OFF_T |
| 269 | |
| 270 | /* Defined to enable large file support when an off_t is bigger than a long |
| 271 | and long long is available and at least as big as an off_t. You may need |
| 272 | to add some flags for configuration and compilation to enable this mode. |
| 273 | E.g, for Solaris 2.7: |
| 274 | CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \ |
| 275 | configure |
| 276 | */ |
| 277 | #undef HAVE_LARGEFILE_SUPPORT |
| 278 | |
| 279 | /* Defined when any dynamic module loading is enabled */ |
| 280 | #ifndef HAVE_DYNAMIC_LOADING |
| 281 | #undef HAVE_DYNAMIC_LOADING |
| 282 | #endif |
| 283 | |
| 284 | /* The number of bytes in a char. */ |
| 285 | #define SIZEOF_CHAR 1 |
| 286 | |
| 287 | /* The number of bytes in a double. */ |
| 288 | #define SIZEOF_DOUBLE 8 |
| 289 | |
| 290 | /* The number of bytes in a float. */ |
| 291 | #define SIZEOF_FLOAT 4 |
| 292 | |
| 293 | /* The number of bytes in a int. */ |
| 294 | #define SIZEOF_INT 4 |
| 295 | |
| 296 | /* The number of bytes in a long. */ |
| 297 | #define SIZEOF_LONG 4 |
| 298 | |
| 299 | /* The number of bytes in a long long. */ |
| 300 | #undef SIZEOF_LONG_LONG |
| 301 | |
| 302 | /* The number of bytes in a short. */ |
| 303 | #define SIZEOF_SHORT 2 |
| 304 | |
| 305 | /* The number of bytes in a void *. */ |
| 306 | #define SIZEOF_VOID_P 4 |
| 307 | |
| 308 | /* Define if you have the alarm function. */ |
| 309 | #undef HAVE_ALARM |
| 310 | |
| 311 | /* Define if you have the chown function. */ |
| 312 | #undef HAVE_CHOWN |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 313 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 314 | /* Define if you have clock. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 315 | #define HAVE_CLOCK |
| 316 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 317 | /* Define if you have the confstr function. */ |
| 318 | #undef HAVE_CONFSTR |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 319 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 320 | /* Define if you have the ctermid function. */ |
| 321 | #undef HAVE_CTERMID |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 322 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 323 | /* Define if you have the ctermid_r function. */ |
| 324 | #undef HAVE_CTERMID_R |
| 325 | |
| 326 | /* Define if you have the dlopen function. */ |
| 327 | #undef HAVE_DLOPEN |
| 328 | |
| 329 | /* Define if you have the dup2 function. */ |
| 330 | #undef HAVE_DUP2 |
| 331 | |
| 332 | /* Define if you have the execv function. */ |
| 333 | #undef HAVE_EXECV |
| 334 | |
| 335 | /* Define if you have the fdatasync function. */ |
| 336 | #undef HAVE_FDATASYNC |
| 337 | |
| 338 | /* Define if you have the flock function. */ |
| 339 | #undef HAVE_FLOCK |
| 340 | |
| 341 | /* Define if you have the fork function. */ |
| 342 | #undef HAVE_FORK |
| 343 | |
| 344 | /* Define if you have the fpathconf function. */ |
| 345 | #undef HAVE_FPATHCONF |
| 346 | |
| 347 | /* Define if you have the fseek64 function. */ |
| 348 | #undef HAVE_FSEEK64 |
| 349 | |
| 350 | /* Define if you have the fseeko function. */ |
| 351 | #undef HAVE_FSEEKO |
| 352 | |
| 353 | /* Define if you have the fstatvfs function. */ |
| 354 | #undef HAVE_FSTATVFS |
| 355 | |
| 356 | /* Define if you have the fsync function. */ |
| 357 | #define HAVE_FSYNC |
| 358 | |
| 359 | /* Define if you have the ftell64 function. */ |
| 360 | #undef HAVE_FTELL64 |
| 361 | |
| 362 | /* Define if you have the ftello function. */ |
| 363 | #undef HAVE_FTELLO |
| 364 | |
| 365 | /* Define if you have the ftime function. */ |
| 366 | #undef HAVE_FTIME |
| 367 | |
| 368 | /* Define if you have the ftruncate function. */ |
| 369 | #ifdef USE_GUSI |
| 370 | #define HAVE_FTRUNCATE |
| 371 | #endif |
| 372 | |
| 373 | /* Define if you have the getcwd function. */ |
| 374 | #define HAVE_GETCWD |
| 375 | |
| 376 | /* Define if you have the getgroups function. */ |
| 377 | #undef HAVE_GETGROUPS |
| 378 | |
| 379 | /* Define if you have the getlogin function. */ |
| 380 | #undef HAVE_GETLOGIN |
| 381 | |
| 382 | /* Define if you have the getpeername function. */ |
| 383 | #ifdef USE_GUSI |
| 384 | #define HAVE_GETPEERNAME |
| 385 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 386 | |
| 387 | /* Define if you have getpgrp. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 388 | #undef HAVE_GETPGRP |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 389 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 390 | /* Define if you have the getpid function. */ |
| 391 | #undef HAVE_GETPID |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 392 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 393 | /* Define if you have the getpwent function. */ |
| 394 | #undef HAVE_GETPWENT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 395 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 396 | /* Define if you have the gettimeofday function. */ |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 397 | #ifdef USE_GUSI |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 398 | #define HAVE_GETTIMEOFDAY |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 399 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 400 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 401 | /* Define if you have the getwd function. */ |
| 402 | #undef HAVE_GETWD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 403 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 404 | /* Define if you have the hypot function. */ |
| 405 | #ifndef __MC68K__ |
| 406 | /* 68K hypot definition (and implementation) are unuseable |
| 407 | ** because they use 10-byte floats. |
| 408 | */ |
| 409 | #define HAVE_HYPOT |
| 410 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 411 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 412 | /* Define if you have the kill function. */ |
| 413 | #undef HAVE_KILL |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 414 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 415 | /* Define if you have the link function. */ |
| 416 | #undef HAVE_LINK |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 417 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 418 | /* Define if you have the lstat function. */ |
| 419 | #undef HAVE_LSTAT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 420 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 421 | /* Define if you have the memmove function. */ |
| 422 | #define HAVE_MEMMOVE |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 423 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 424 | /* Define if you have the mkfifo function. */ |
| 425 | #undef HAVE_MKFIFO |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 426 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 427 | /* Define if you have the mktime function. */ |
| 428 | #define HAVE_MKTIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 429 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 430 | /* Define if you have the nice function. */ |
| 431 | #undef HAVE_NICE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 432 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 433 | /* Define if you have the pathconf function. */ |
| 434 | #undef HAVE_PATHCONF |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 435 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 436 | /* Define if you have the pause function. */ |
| 437 | #undef HAVE_PAUSE |
| 438 | |
| 439 | /* Define if you have the plock function. */ |
| 440 | /* XXXX GUSI threads* */ |
| 441 | #undef HAVE_PLOCK |
| 442 | |
| 443 | /* Define if you have the pthread_init function. */ |
| 444 | /* XXXX GUSI threads* */ |
| 445 | #undef HAVE_PTHREAD_INIT |
| 446 | |
| 447 | /* Define if you have the putenv function. */ |
| 448 | #undef HAVE_PUTENV |
| 449 | |
| 450 | /* Define if you have the readlink function. */ |
| 451 | #undef HAVE_READLINK |
| 452 | |
| 453 | /* Define if you have the select function. */ |
| 454 | #ifdef USE_GUSI |
| 455 | #define HAVE_SELECT |
| 456 | #endif |
| 457 | |
| 458 | /* Define if you have the setgid function. */ |
| 459 | #undef HAVE_SETGID |
| 460 | |
| 461 | /* Define if you have the setlocale function. */ |
| 462 | #undef HAVE_SETLOCALE |
| 463 | |
| 464 | /* Define if you have the setpgid function. */ |
| 465 | #undef HAVE_SETPGID |
| 466 | |
| 467 | /* Define if you have the setpgrp function. */ |
| 468 | #undef HAVE_SETPGRP |
| 469 | |
| 470 | /* Define if you have the setsid function. */ |
| 471 | #undef HAVE_SETSID |
| 472 | |
| 473 | /* Define if you have the setuid function. */ |
| 474 | #undef HAVE_SETUID |
| 475 | |
| 476 | /* Define if you have the setvbuf function. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 477 | #define HAVE_SETVBUF |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 478 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 479 | /* Define if you have the sigaction function. */ |
| 480 | #undef HAVE_SIGACTION |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 481 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 482 | /* Define if you have the siginterrupt function. */ |
| 483 | #undef HAVE_SIGINTERRUPT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 484 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 485 | /* Define if you have the sigrelse function. */ |
| 486 | #undef HAVE_SIGRELSE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 487 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 488 | /* Define if you have the statvfs function. */ |
| 489 | #undef HAVE_STATVFS |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 490 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 491 | /* Define if you have the strdup function. */ |
| 492 | #undef HAVE_STRDUP |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 493 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 494 | /* Define if you have the strerror function. */ |
| 495 | #define HAVE_STRERROR |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 496 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 497 | /* Define if you have the strftime function. */ |
| 498 | #define HAVE_STRFTIME |
| 499 | |
| 500 | /* Define if you have the strptime function. */ |
| 501 | #undef HAVE_STRPTIME |
| 502 | |
| 503 | /* Define if you have the symlink function. */ |
| 504 | #undef HAVE_SYMLINK |
| 505 | |
| 506 | /* Define if you have the sysconf function. */ |
| 507 | #undef HAVE_SYSCONF |
| 508 | |
| 509 | /* Define if you have the tcgetpgrp function. */ |
| 510 | #undef HAVE_TCGETPGRP |
| 511 | |
| 512 | /* Define if you have the tcsetpgrp function. */ |
| 513 | #undef HAVE_TCSETPGRP |
| 514 | |
| 515 | /* Define if you have the tempnam function. */ |
| 516 | #undef HAVE_TEMPNAM |
| 517 | |
| 518 | /* Define if you have the timegm function. */ |
| 519 | #undef HAVE_TIMEGM |
| 520 | |
| 521 | /* Define if you have the times function. */ |
| 522 | #undef HAVE_TIMES |
| 523 | |
| 524 | /* Define if you have the tmpfile function. */ |
| 525 | #define HAVE_TMPFILE |
| 526 | |
| 527 | /* Define if you have the tmpnam function. */ |
| 528 | #define HAVE_TMPNAM |
| 529 | |
| 530 | /* Define if you have the tmpnam_r function. */ |
| 531 | #undef HAVE_TMPNAM_R |
| 532 | |
| 533 | /* Define if you have the truncate function. */ |
| 534 | #define HAVE_TRUNCATE |
| 535 | |
| 536 | /* Define if you have the uname function. */ |
| 537 | #undef HAVE_UNAME |
| 538 | |
| 539 | /* Define if you have the waitpid function. */ |
| 540 | #undef HAVE_WAITPID |
| 541 | |
| 542 | /* Define if you have the <dirent.h> header file. */ |
| 543 | #ifdef USE_GUSI |
| 544 | #define HAVE_DIRENT_H |
| 545 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 546 | |
| 547 | /* Define if you have the <dlfcn.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 548 | #undef HAVE_DLFCN_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 549 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 550 | /* Define if you have the <fcntl.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 551 | #define HAVE_FCNTL_H |
| 552 | |
| 553 | /* Define if you have the <limits.h> header file. */ |
| 554 | #define HAVE_LIMITS_H |
| 555 | |
| 556 | /* Define if you have the <locale.h> header file. */ |
| 557 | #define HAVE_LOCALE_H |
| 558 | |
| 559 | /* Define if you have the <ncurses.h> header file. */ |
| 560 | #undef HAVE_NCURSES_H |
| 561 | |
| 562 | /* Define if you have the <ndir.h> header file. */ |
| 563 | #undef HAVE_NDIR_H |
| 564 | |
| 565 | /* Define if you have the <pthread.h> header file. */ |
| 566 | #ifdef USE_GUSI2 |
| 567 | #define HAVE_PTHREAD_H |
| 568 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 569 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 570 | /* Define if you have the <signal.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 571 | #define HAVE_SIGNAL_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 572 | |
| 573 | /* Define if you have the <stdarg.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 574 | #define HAVE_STDARG_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 575 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 576 | /* Define if you have the <stddef.h> header file. */ |
| 577 | #define HAVE_STDDEF_H |
| 578 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 579 | /* Define if you have the <stdlib.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 580 | #define HAVE_STDLIB_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 581 | |
| 582 | /* Define if you have the <sys/audioio.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 583 | #undef HAVE_SYS_AUDIOIO_H |
| 584 | |
| 585 | /* Define if you have the <sys/dir.h> header file. */ |
| 586 | #undef HAVE_SYS_DIR_H |
| 587 | |
| 588 | /* Define if you have the <sys/file.h> header file. */ |
| 589 | #undef HAVE_SYS_FILE_H |
| 590 | |
| 591 | /* Define if you have the <sys/lock.h> header file. */ |
| 592 | #undef HAVE_SYS_LOCK_H |
| 593 | |
| 594 | /* Define if you have the <sys/ndir.h> header file. */ |
| 595 | #undef HAVE_SYS_NDIR_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 596 | |
| 597 | /* Define if you have the <sys/param.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 598 | #undef HAVE_SYS_PARAM_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 599 | |
| 600 | /* Define if you have the <sys/select.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 601 | #undef HAVE_SYS_SELECT_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 602 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 603 | /* Define if you have the <sys/time.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 604 | #ifdef USE_GUSI |
| 605 | #define HAVE_SYS_TIME_H |
| 606 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 607 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 608 | /* Define if you have the <sys/times.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 609 | #undef HAVE_SYS_TIMES_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 610 | |
| 611 | /* Define if you have the <sys/un.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 612 | #undef HAVE_SYS_UN_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 613 | |
| 614 | /* Define if you have the <sys/utsname.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 615 | #undef HAVE_SYS_UTSNAME_H |
| 616 | |
| 617 | /* Define if you have the <sys/wait.h> header file. */ |
| 618 | #undef HAVE_SYS_WAIT_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 619 | |
| 620 | /* Define if you have the <thread.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 621 | #undef HAVE_THREAD_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 622 | |
| 623 | /* Define if you have the <unistd.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 624 | #define HAVE_UNISTD_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 625 | |
| 626 | /* Define if you have the <utime.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 627 | #define HAVE_UTIME_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 628 | |
| 629 | /* Define if you have the dl library (-ldl). */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 630 | #undef HAVE_LIBDL |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 631 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 632 | /* Define if you have the dld library (-ldld). */ |
| 633 | #undef HAVE_LIBDLD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 634 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 635 | /* Define if you have the ieee library (-lieee). */ |
| 636 | #undef HAVE_LIBIEEE |