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 | 021da55 | 2000-06-04 21:56:05 +0000 | [diff] [blame] | 34 | /* Define if on Macintosh (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 | #if defined(USE_GUSI1) || defined(USE_GUSI2) |
| 40 | #define USE_GUSI |
Guido van Rossum | e71d853 | 1995-02-19 15:49:39 +0000 | [diff] [blame] | 41 | #endif |
| 42 | |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 43 | #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 Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 49 | /* 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 Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 53 | #undef _ALL_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 54 | #endif |
| 55 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 56 | /* Define if type char is unsigned and you are not using gcc. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 57 | #ifndef __CHAR_UNSIGNED__ |
| 58 | #undef __CHAR_UNSIGNED__ |
| 59 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 60 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 61 | /* Define to empty if the keyword does not work. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 62 | #undef const |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 63 | |
| 64 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 65 | #undef gid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 66 | |
| 67 | /* Define if your struct tm has tm_zone. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 68 | #undef HAVE_TM_ZONE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 69 | |
| 70 | /* Define if you don't have tm_zone but do have the external array |
| 71 | tzname. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 72 | #undef HAVE_TZNAME |
| 73 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 74 | /* Define if on MINIX. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 75 | #undef _MINIX |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 76 | |
| 77 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 78 | #undef mode_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 79 | |
| 80 | /* Define to `long' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 81 | #undef off_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 82 | |
| 83 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 84 | #undef pid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 85 | |
| 86 | /* Define if the system does not provide POSIX.1 features except |
| 87 | with this defined. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 88 | #undef _POSIX_1_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 89 | |
| 90 | /* 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] | 91 | #undef _POSIX_SOURCE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 92 | |
| 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 Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 97 | #undef size_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 98 | |
| 99 | /* Define if you have the ANSI C header files. */ |
Jack Jansen | 6a474c5 | 1998-08-20 14:49:33 +0000 | [diff] [blame] | 100 | #define STDC_HEADERS 1 |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 101 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 102 | /* 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] | 103 | #undef TIME_WITH_SYS_TIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 104 | |
| 105 | /* Define if your <sys/time.h> declares struct tm. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 106 | #undef TM_IN_SYS_TIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 107 | |
| 108 | /* Define to `int' if <sys/types.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 109 | #undef uid_t |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 110 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 111 | /* 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 Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 114 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 115 | /* 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 Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 119 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
| 120 | (as it does on SGI IRIX 4.x) */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 121 | #undef BAD_EXEC_PROTOTYPES |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 122 | |
Guido van Rossum | eabdbff | 1995-02-18 14:56:51 +0000 | [diff] [blame] | 123 | /* Define if your compiler botches static forward declarations */ |
Jack Jansen | fea7533 | 1994-12-14 13:38:13 +0000 | [diff] [blame] | 124 | #define BAD_STATIC_FORWARD |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 125 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 126 | /* 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 Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 131 | |
| 132 | /* Define to `long' if <time.h> doesn't define. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 133 | #undef clock_t |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 134 | |
Jack Jansen | 0e2d6bf | 2001-05-23 08:55:50 +0000 | [diff] [blame] | 135 | /* Defined on Solaris to see additional function prototypes. */ |
| 136 | #undef __EXTENSIONS__ |
| 137 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 138 | /* 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 Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 144 | |
| 145 | /* Define this if your time.h defines altzone */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 146 | #undef HAVE_ALTZONE |
| 147 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 148 | /* Define if --enable-ipv6 is specified */ |
| 149 | #undef ENABLE_IPV6 |
| 150 | |
| 151 | /* Define if sockaddr has sa_len member */ |
| 152 | #undef HAVE_SOCKADDR_SA_LEN |
| 153 | |
| 154 | /* struct addrinfo (netdb.h) */ |
| 155 | #undef HAVE_ADDRINFO |
| 156 | |
| 157 | /* struct sockaddr_storage (sys/socket.h) */ |
| 158 | #undef HAVE_SOCKADDR_STORAGE |
| 159 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 160 | /* Defined when any dynamic module loading is enabled */ |
| 161 | /* #undef HAVE_DYNAMIC_LOADING */ |
| 162 | |
| 163 | /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */ |
| 164 | #undef HAVE_GETC_UNLOCKED |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 165 | |
| 166 | /* Define this if you have some version of gethostbyname_r() */ |
| 167 | #undef HAVE_GETHOSTBYNAME_R |
| 168 | |
| 169 | /* Define this if you have the 3-arg version of gethostbyname_r() */ |
| 170 | #undef HAVE_GETHOSTBYNAME_R_3_ARG |
| 171 | |
| 172 | /* Define this if you have the 5-arg version of gethostbyname_r() */ |
| 173 | #undef HAVE_GETHOSTBYNAME_R_5_ARG |
| 174 | |
| 175 | /* Define this if you have the 6-arg version of gethostbyname_r() */ |
| 176 | #undef HAVE_GETHOSTBYNAME_R_6_ARG |
| 177 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 178 | /* Defined to enable large file support when an off_t is bigger than a long |
| 179 | and long long is available and at least as big as an off_t. You may need |
| 180 | to add some flags for configuration and compilation to enable this mode. |
| 181 | E.g, for Solaris 2.7: |
| 182 | CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \ |
| 183 | configure |
| 184 | */ |
| 185 | #undef HAVE_LARGEFILE_SUPPORT |
| 186 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 187 | /* Define this if you have the type long long */ |
Jack Jansen | f122d36 | 2001-11-06 12:11:05 +0000 | [diff] [blame] | 188 | #define HAVE_LONG_LONG |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 189 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 190 | /* Define if your compiler supports function prototypes */ |
Jack Jansen | 6a474c5 | 1998-08-20 14:49:33 +0000 | [diff] [blame] | 191 | #define HAVE_PROTOTYPES 1 |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 192 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 193 | /* Define if you have GNU PTH threads */ |
| 194 | #undef HAVE_PTH |
| 195 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 196 | /* Define if you have readline 4.2 */ |
| 197 | #undef HAVE_RL_COMPLETION_MATCHES |
| 198 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 199 | /* Define if your compiler supports variable length function prototypes |
| 200 | (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
| 201 | #define HAVE_STDARG_PROTOTYPES |
| 202 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 203 | /* Define this if you have the type uintptr_t */ |
| 204 | #undef HAVE_UINTPTR_T |
| 205 | |
| 206 | /* Define if you have a useable wchar_t type defined in wchar.h; useable |
| 207 | means wchar_t must be 16-bit unsigned type. (see |
| 208 | Include/unicodeobject.h). */ |
| 209 | #define HAVE_USABLE_WCHAR_T 1 |
| 210 | |
| 211 | /* Define if the compiler provides a wchar.h header file. */ |
| 212 | #define HAVE_WCHAR_H 1 |
| 213 | |
Jack Jansen | 4542897 | 2001-07-02 15:34:57 +0000 | [diff] [blame] | 214 | /* Define if you want to have a Unicode type. */ |
| 215 | #define Py_USING_UNICODE 1 |
| 216 | |
| 217 | /* Define as the integral type used for Unicode representation. */ |
| 218 | #define PY_UNICODE_TYPE wchar_t |
| 219 | |
| 220 | /* Define as the size of the unicode type. */ |
| 221 | #define Py_UNICODE_SIZE 2 |
| 222 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 223 | /* Define if nice() returns success/failure instead of the new priority. */ |
| 224 | #undef HAVE_BROKEN_NICE |
| 225 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 226 | /* Define if malloc(0) returns a NULL pointer */ |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 227 | #ifdef USE_MSL_MALLOC |
| 228 | #define MALLOC_ZERO_RETURNS_NULL |
| 229 | #else |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 230 | #undef MALLOC_ZERO_RETURNS_NULL |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 231 | #endif |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 232 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 233 | /* Define if you have POSIX threads */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 234 | #ifdef USE_GUSI2 |
| 235 | #define _POSIX_THREADS |
| 236 | #endif |
| 237 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 238 | /* Define if you want to build an interpreter with many run-time checks */ |
| 239 | #undef Py_DEBUG |
| 240 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 241 | /* Define to force use of thread-safe errno, h_errno, and other functions */ |
| 242 | #undef _REENTRANT |
| 243 | |
| 244 | /* Define if setpgrp() must be called as setpgrp(0, 0). */ |
| 245 | #undef SETPGRP_HAVE_ARG |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 246 | |
| 247 | /* Define to empty if the keyword does not work. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 248 | #undef signed |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 249 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 250 | /* Define if i>>j for signed int i does not extend the sign bit |
| 251 | when i < 0 |
| 252 | */ |
| 253 | #define SIGNED_RIGHT_SHIFT_ZERO_FILLS |
| 254 | |
| 255 | /* The number of bytes in an off_t. */ |
| 256 | #define SIZEOF_OFF_T 4 |
| 257 | |
| 258 | /* The number of bytes in a time_t. */ |
| 259 | #define SIZEOF_TIME_T 4 |
| 260 | |
| 261 | /* The number of bytes in a pthread_t. */ |
| 262 | #ifdef USE_GUSI2 |
| 263 | #define SIZEOF_PTHREAD_T 4 |
| 264 | #endif |
| 265 | |
| 266 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 267 | #undef socklen_t |
| 268 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 269 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 270 | (which you can't on SCO ODT 3.0). */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 271 | #undef SYS_SELECT_WITH_SYS_TIME |
| 272 | |
| 273 | /* Define if a va_list is an array of some kind */ |
| 274 | #undef VA_LIST_IS_ARRAY |
| 275 | |
| 276 | /* Define to empty if the keyword does not work. */ |
| 277 | #undef volatile |
| 278 | |
| 279 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ |
| 280 | #undef WANT_SIGFPE_HANDLER |
| 281 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 282 | /* Define if you want wctype.h functions to be used instead of the |
| 283 | one supplied by Python itself. (see Include/unicodectype.h). */ |
| 284 | #undef WANT_WCTYPE_FUNCTIONS |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 285 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 286 | /* Define if you want to compile in cycle garbage collection */ |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 287 | #define WITH_CYCLE_GC 1 |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 288 | |
| 289 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 290 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 291 | Sequent Symmetry (Dynix), and Atari ST. |
| 292 | This requires the "dl-dld" library, |
| 293 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 294 | as well as the "GNU dld" library, |
| 295 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 296 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
| 297 | shared libraries */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 298 | #undef WITH_DL_DLD |
| 299 | |
| 300 | /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) |
| 301 | dynamic linker (dyld) instead of the old-style (NextStep) dynamic |
| 302 | linker (rld). Dyld is necessary to support frameworks. */ |
| 303 | #undef WITH_DYLD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 304 | |
Jack Jansen | 0e2d6bf | 2001-05-23 08:55:50 +0000 | [diff] [blame] | 305 | /* Define if you want to compile in Python-specific mallocs */ |
| 306 | #undef WITH_PYMALLOC |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 307 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 308 | /* Define if you want to produce an OpenStep/Rhapsody framework |
| 309 | (shared library plus accessory files). */ |
| 310 | #undef WITH_NEXT_FRAMEWORK |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 311 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 312 | /* Define if you want to use MacPython modules on MacOSX in unix-Python */ |
| 313 | #define USE_TOOLBOX_OBJECT_GLUE |
| 314 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 315 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 316 | This requires the "dl" library by Jack Jansen, |
| 317 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 318 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 319 | style shared libraries */ |
| 320 | #undef WITH_SGI_DL |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 321 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 322 | /* Define if you want to compile in rudimentary thread support */ |
| 323 | /* #undef WITH_THREAD */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 324 | |
| 325 | /* The number of bytes in a char. */ |
| 326 | #define SIZEOF_CHAR 1 |
| 327 | |
| 328 | /* The number of bytes in a double. */ |
| 329 | #define SIZEOF_DOUBLE 8 |
| 330 | |
| 331 | /* The number of bytes in a float. */ |
| 332 | #define SIZEOF_FLOAT 4 |
| 333 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 334 | /* The number of bytes in a fpos_t. */ |
| 335 | #define SIZEOF_FPOS_T 4 |
| 336 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 337 | /* The number of bytes in a int. */ |
| 338 | #define SIZEOF_INT 4 |
| 339 | |
| 340 | /* The number of bytes in a long. */ |
| 341 | #define SIZEOF_LONG 4 |
| 342 | |
| 343 | /* The number of bytes in a long long. */ |
Jack Jansen | f122d36 | 2001-11-06 12:11:05 +0000 | [diff] [blame] | 344 | #define SIZEOF_LONG_LONG 8 |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 345 | |
| 346 | /* The number of bytes in a short. */ |
| 347 | #define SIZEOF_SHORT 2 |
| 348 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 349 | /* The number of bytes in a uintptr_t. */ |
| 350 | #define SIZEOF_UINTPTR_T 4 |
| 351 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 352 | /* The number of bytes in a void *. */ |
| 353 | #define SIZEOF_VOID_P 4 |
| 354 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 355 | /* Define if you have the _getpty function. */ |
| 356 | #undef HAVE__GETPTY |
| 357 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 358 | /* Define if you have the alarm function. */ |
| 359 | #undef HAVE_ALARM |
| 360 | |
| 361 | /* Define if you have the chown function. */ |
| 362 | #undef HAVE_CHOWN |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 363 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 364 | /* Define if you have clock. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 365 | #define HAVE_CLOCK |
| 366 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 367 | /* Define if you have the confstr function. */ |
| 368 | #undef HAVE_CONFSTR |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 369 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 370 | /* Define if you have the ctermid function. */ |
| 371 | #undef HAVE_CTERMID |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 372 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 373 | /* Define if you have the ctermid_r function. */ |
| 374 | #undef HAVE_CTERMID_R |
| 375 | |
| 376 | /* Define if you have the dlopen function. */ |
| 377 | #undef HAVE_DLOPEN |
| 378 | |
| 379 | /* Define if you have the dup2 function. */ |
| 380 | #undef HAVE_DUP2 |
| 381 | |
| 382 | /* Define if you have the execv function. */ |
| 383 | #undef HAVE_EXECV |
| 384 | |
| 385 | /* Define if you have the fdatasync function. */ |
| 386 | #undef HAVE_FDATASYNC |
| 387 | |
| 388 | /* Define if you have the flock function. */ |
| 389 | #undef HAVE_FLOCK |
| 390 | |
| 391 | /* Define if you have the fork function. */ |
| 392 | #undef HAVE_FORK |
| 393 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 394 | /* Define if you have the forkpty function. */ |
| 395 | #undef HAVE_FORKPTY |
| 396 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 397 | /* Define if you have the fpathconf function. */ |
| 398 | #undef HAVE_FPATHCONF |
| 399 | |
| 400 | /* Define if you have the fseek64 function. */ |
| 401 | #undef HAVE_FSEEK64 |
| 402 | |
| 403 | /* Define if you have the fseeko function. */ |
| 404 | #undef HAVE_FSEEKO |
| 405 | |
| 406 | /* Define if you have the fstatvfs function. */ |
| 407 | #undef HAVE_FSTATVFS |
| 408 | |
| 409 | /* Define if you have the fsync function. */ |
| 410 | #define HAVE_FSYNC |
| 411 | |
| 412 | /* Define if you have the ftell64 function. */ |
| 413 | #undef HAVE_FTELL64 |
| 414 | |
| 415 | /* Define if you have the ftello function. */ |
| 416 | #undef HAVE_FTELLO |
| 417 | |
| 418 | /* Define if you have the ftime function. */ |
| 419 | #undef HAVE_FTIME |
| 420 | |
| 421 | /* Define if you have the ftruncate function. */ |
| 422 | #ifdef USE_GUSI |
| 423 | #define HAVE_FTRUNCATE |
| 424 | #endif |
| 425 | |
| 426 | /* Define if you have the getcwd function. */ |
| 427 | #define HAVE_GETCWD |
| 428 | |
| 429 | /* Define if you have the getgroups function. */ |
| 430 | #undef HAVE_GETGROUPS |
| 431 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 432 | /* Define if you have the gethostbyname function. */ |
| 433 | #ifdef USE_GUSI |
| 434 | #define HAVE_GETHOSTBYNAME 1 |
| 435 | #endif |
| 436 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 437 | /* Define if you have the getlogin function. */ |
| 438 | #undef HAVE_GETLOGIN |
| 439 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 440 | /* Define if you have the getnameinfo function. */ |
| 441 | #undef HAVE_GETNAMEINFO |
| 442 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 443 | /* Define if you have the getpeername function. */ |
| 444 | #ifdef USE_GUSI |
| 445 | #define HAVE_GETPEERNAME |
| 446 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 447 | |
Jack Jansen | 0e2d6bf | 2001-05-23 08:55:50 +0000 | [diff] [blame] | 448 | /* Define if you have the getpgrp function. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 449 | #undef HAVE_GETPGRP |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 450 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 451 | /* Define if you have the getpid function. */ |
| 452 | #undef HAVE_GETPID |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 453 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 454 | /* Define if you have the getpriority function. */ |
| 455 | #undef HAVE_GETPRIORITY |
| 456 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 457 | /* Define if you have the getpwent function. */ |
| 458 | #undef HAVE_GETPWENT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 459 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 460 | /* Define if you have the gettimeofday function. */ |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 461 | #ifdef USE_GUSI |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 462 | #define HAVE_GETTIMEOFDAY |
Jack Jansen | 7bfc2eb | 2000-05-12 21:37:10 +0000 | [diff] [blame] | 463 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 464 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 465 | /* Define if you have the getwd function. */ |
| 466 | #undef HAVE_GETWD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 467 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 468 | /* Define if you have the hstrerror function. */ |
| 469 | #undef HAVE_HSTRERROR |
| 470 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 471 | /* Define if you have the hypot function. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 472 | #define HAVE_HYPOT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 473 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 474 | /* Define if you have the inet_pton function. */ |
| 475 | #undef HAVE_INET_PTON |
| 476 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 477 | /* Define if you have the kill function. */ |
| 478 | #undef HAVE_KILL |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 479 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 480 | /* Define if you have the link function. */ |
| 481 | #undef HAVE_LINK |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 482 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 483 | /* Define if you have the lstat function. */ |
| 484 | #undef HAVE_LSTAT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 485 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 486 | /* Define if you have the memmove function. */ |
| 487 | #define HAVE_MEMMOVE |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 488 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 489 | /* Define if you have the mkfifo function. */ |
| 490 | #undef HAVE_MKFIFO |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 491 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 492 | /* Define if you have the mktime function. */ |
| 493 | #define HAVE_MKTIME |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 494 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 495 | /* Define if you have the mremap function. */ |
| 496 | #undef HAVE_MREMAP |
| 497 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 498 | /* Define if you have the nice function. */ |
| 499 | #undef HAVE_NICE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 500 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 501 | /* Define if you have the openpty function. */ |
| 502 | #undef HAVE_OPENPTY |
| 503 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 504 | /* Define if you have the pathconf function. */ |
| 505 | #undef HAVE_PATHCONF |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 506 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 507 | /* Define if you have the pause function. */ |
| 508 | #undef HAVE_PAUSE |
| 509 | |
| 510 | /* Define if you have the plock function. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 511 | #undef HAVE_PLOCK |
| 512 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 513 | /* Define if you have the poll function. */ |
| 514 | #undef HAVE_POLL |
| 515 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 516 | /* Define if you have the pthread_init function. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 517 | #undef HAVE_PTHREAD_INIT |
| 518 | |
| 519 | /* Define if you have the putenv function. */ |
| 520 | #undef HAVE_PUTENV |
| 521 | |
| 522 | /* Define if you have the readlink function. */ |
| 523 | #undef HAVE_READLINK |
| 524 | |
| 525 | /* Define if you have the select function. */ |
| 526 | #ifdef USE_GUSI |
| 527 | #define HAVE_SELECT |
| 528 | #endif |
| 529 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 530 | /* Define if you have the setegid function. */ |
| 531 | #undef HAVE_SETEGID |
| 532 | |
| 533 | /* Define if you have the seteuid function. */ |
| 534 | #undef HAVE_SETEUID |
| 535 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 536 | /* Define if you have the setgid function. */ |
| 537 | #undef HAVE_SETGID |
| 538 | |
| 539 | /* Define if you have the setlocale function. */ |
| 540 | #undef HAVE_SETLOCALE |
| 541 | |
| 542 | /* Define if you have the setpgid function. */ |
| 543 | #undef HAVE_SETPGID |
| 544 | |
| 545 | /* Define if you have the setpgrp function. */ |
| 546 | #undef HAVE_SETPGRP |
| 547 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 548 | /* Define if you have the setregid function. */ |
| 549 | #undef HAVE_SETREGID |
| 550 | |
| 551 | /* Define if you have the setreuid function. */ |
| 552 | #undef HAVE_SETREUID |
| 553 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 554 | /* Define if you have the setsid function. */ |
| 555 | #undef HAVE_SETSID |
| 556 | |
| 557 | /* Define if you have the setuid function. */ |
| 558 | #undef HAVE_SETUID |
| 559 | |
| 560 | /* Define if you have the setvbuf function. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 561 | #define HAVE_SETVBUF |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 562 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 563 | /* Define if you have the sigaction function. */ |
| 564 | #undef HAVE_SIGACTION |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 565 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 566 | /* Define if you have the siginterrupt function. */ |
| 567 | #undef HAVE_SIGINTERRUPT |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 568 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 569 | /* Define if you have the sigrelse function. */ |
| 570 | #undef HAVE_SIGRELSE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 571 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 572 | /* Define if you have the snprintf function. */ |
| 573 | #define HAVE_SNPRINTF |
| 574 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 575 | /* Define if you have the statvfs function. */ |
| 576 | #undef HAVE_STATVFS |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 577 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 578 | /* Define if you have the strdup function. */ |
| 579 | #undef HAVE_STRDUP |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 580 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 581 | /* Define if you have the strerror function. */ |
| 582 | #define HAVE_STRERROR |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 583 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 584 | /* Define if you have the strftime function. */ |
| 585 | #define HAVE_STRFTIME |
| 586 | |
| 587 | /* Define if you have the strptime function. */ |
| 588 | #undef HAVE_STRPTIME |
| 589 | |
| 590 | /* Define if you have the symlink function. */ |
| 591 | #undef HAVE_SYMLINK |
| 592 | |
| 593 | /* Define if you have the sysconf function. */ |
| 594 | #undef HAVE_SYSCONF |
| 595 | |
| 596 | /* Define if you have the tcgetpgrp function. */ |
| 597 | #undef HAVE_TCGETPGRP |
| 598 | |
| 599 | /* Define if you have the tcsetpgrp function. */ |
| 600 | #undef HAVE_TCSETPGRP |
| 601 | |
| 602 | /* Define if you have the tempnam function. */ |
| 603 | #undef HAVE_TEMPNAM |
| 604 | |
| 605 | /* Define if you have the timegm function. */ |
| 606 | #undef HAVE_TIMEGM |
| 607 | |
| 608 | /* Define if you have the times function. */ |
| 609 | #undef HAVE_TIMES |
| 610 | |
| 611 | /* Define if you have the tmpfile function. */ |
| 612 | #define HAVE_TMPFILE |
| 613 | |
| 614 | /* Define if you have the tmpnam function. */ |
| 615 | #define HAVE_TMPNAM |
| 616 | |
| 617 | /* Define if you have the tmpnam_r function. */ |
| 618 | #undef HAVE_TMPNAM_R |
| 619 | |
| 620 | /* Define if you have the truncate function. */ |
| 621 | #define HAVE_TRUNCATE |
| 622 | |
| 623 | /* Define if you have the uname function. */ |
| 624 | #undef HAVE_UNAME |
| 625 | |
| 626 | /* Define if you have the waitpid function. */ |
| 627 | #undef HAVE_WAITPID |
| 628 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 629 | /* Define if you have the <db.h> header file. */ |
| 630 | #undef HAVE_DB_H |
| 631 | |
| 632 | /* Define if you have the <db1/ndbm.h> header file. */ |
| 633 | #undef HAVE_DB1_NDBM_H |
| 634 | |
| 635 | /* Define if you have the <db_185.h> header file. */ |
| 636 | #undef HAVE_DB_185_H |
| 637 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 638 | /* Define if you have the <dirent.h> header file. */ |
| 639 | #ifdef USE_GUSI |
| 640 | #define HAVE_DIRENT_H |
| 641 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 642 | |
| 643 | /* Define if you have the <dlfcn.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 644 | #undef HAVE_DLFCN_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 645 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 646 | /* Define if you have the <fcntl.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 647 | #define HAVE_FCNTL_H |
| 648 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 649 | /* Define if you have the <gdbm/ndbm.h> header file. */ |
| 650 | #undef HAVE_GDBM_NDBM_H |
| 651 | |
| 652 | /* Define if you have the <libutil.h> header file. */ |
| 653 | #undef HAVE_LIBUTIL_H |
| 654 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 655 | /* Define if you have the <limits.h> header file. */ |
| 656 | #define HAVE_LIMITS_H |
| 657 | |
| 658 | /* Define if you have the <locale.h> header file. */ |
| 659 | #define HAVE_LOCALE_H |
| 660 | |
| 661 | /* Define if you have the <ncurses.h> header file. */ |
| 662 | #undef HAVE_NCURSES_H |
| 663 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 664 | /* Define if you have the <ndbm.h> header file. */ |
| 665 | #undef HAVE_NDBM_H |
| 666 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 667 | /* Define if you have the <ndir.h> header file. */ |
| 668 | #undef HAVE_NDIR_H |
| 669 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 670 | /* Define if you have the <poll.h> header file. */ |
| 671 | #undef HAVE_POLL_H |
| 672 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 673 | /* Define if you have the <pthread.h> header file. */ |
| 674 | #ifdef USE_GUSI2 |
| 675 | #define HAVE_PTHREAD_H |
| 676 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 677 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 678 | /* Define if you have the <pty.h> header file. */ |
| 679 | #undef HAVE_PTY_H |
| 680 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 681 | /* Define if you have the <signal.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 682 | #define HAVE_SIGNAL_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 683 | |
| 684 | /* Define if you have the <stdarg.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 685 | #define HAVE_STDARG_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 686 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 687 | /* Define if you have the <stddef.h> header file. */ |
| 688 | #define HAVE_STDDEF_H |
| 689 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 690 | /* Define if you have the <stdlib.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 691 | #define HAVE_STDLIB_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 692 | |
| 693 | /* Define if you have the <sys/audioio.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 694 | #undef HAVE_SYS_AUDIOIO_H |
| 695 | |
| 696 | /* Define if you have the <sys/dir.h> header file. */ |
| 697 | #undef HAVE_SYS_DIR_H |
| 698 | |
| 699 | /* Define if you have the <sys/file.h> header file. */ |
| 700 | #undef HAVE_SYS_FILE_H |
| 701 | |
| 702 | /* Define if you have the <sys/lock.h> header file. */ |
| 703 | #undef HAVE_SYS_LOCK_H |
| 704 | |
Jack Jansen | 0e2d6bf | 2001-05-23 08:55:50 +0000 | [diff] [blame] | 705 | /* Define if you have the <sys/modem.h> header file. */ |
| 706 | #undef HAVE_SYS_MODEM_H |
| 707 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 708 | /* Define if you have the <sys/ndir.h> header file. */ |
| 709 | #undef HAVE_SYS_NDIR_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 710 | |
| 711 | /* Define if you have the <sys/param.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 712 | #undef HAVE_SYS_PARAM_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 713 | |
Jack Jansen | 59c14e2 | 2001-08-07 12:33:32 +0000 | [diff] [blame] | 714 | /* Define if you have the <sys/poll.h> header file. */ |
| 715 | #undef HAVE_SYS_POLL_H |
| 716 | |
| 717 | /* Define if you have the <sys/resource.h> header file. */ |
| 718 | #undef HAVE_SYS_RESOURCE_H |
| 719 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 720 | /* Define if you have the <sys/select.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 721 | #undef HAVE_SYS_SELECT_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 722 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 723 | /* Define if you have the <sys/socket.h> header file. */ |
| 724 | #ifdef USE_GUSI |
| 725 | #define HAVE_SYS_SOCKET_H |
| 726 | #endif |
| 727 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 728 | /* Define if you have the <sys/time.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 729 | #ifdef USE_GUSI |
| 730 | #define HAVE_SYS_TIME_H |
| 731 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 732 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 733 | /* Define if you have the <sys/times.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 734 | #undef HAVE_SYS_TIMES_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 735 | |
| 736 | /* Define if you have the <sys/un.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 737 | #undef HAVE_SYS_UN_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 738 | |
| 739 | /* Define if you have the <sys/utsname.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 740 | #undef HAVE_SYS_UTSNAME_H |
| 741 | |
| 742 | /* Define if you have the <sys/wait.h> header file. */ |
| 743 | #undef HAVE_SYS_WAIT_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 744 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 745 | /* Define if you have the <termios.h> header file. */ |
| 746 | #undef HAVE_TERMIOS_H |
| 747 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 748 | /* Define if you have the <thread.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 749 | #undef HAVE_THREAD_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 750 | |
| 751 | /* Define if you have the <unistd.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 752 | #define HAVE_UNISTD_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 753 | |
| 754 | /* Define if you have the <utime.h> header file. */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 755 | #define HAVE_UTIME_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 756 | |
| 757 | /* Define if you have the dl library (-ldl). */ |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 758 | #undef HAVE_LIBDL |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 759 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 760 | /* Define if you have the dld library (-ldld). */ |
| 761 | #undef HAVE_LIBDLD |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 762 | |
Jack Jansen | 5c21420 | 2000-04-07 09:10:35 +0000 | [diff] [blame] | 763 | /* Define if you have the ieee library (-lieee). */ |
| 764 | #undef HAVE_LIBIEEE |
Jack Jansen | 0e2d6bf | 2001-05-23 08:55:50 +0000 | [diff] [blame] | 765 | |
Jack Jansen | 90f22fe | 2001-02-12 14:59:13 +0000 | [diff] [blame] | 766 | #ifdef __CYGWIN__ |
| 767 | #ifdef USE_DL_IMPORT |
| 768 | #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE |
| 769 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 770 | #else |
| 771 | #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE |
| 772 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 773 | #endif |
| 774 | #endif |