| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 1 | /* Leave this blank line here -- autoheader needs it! */ | 
 | 2 |  | 
 | 3 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 4 | /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r | 
 | 5 |    and you want support for AIX C++ shared extension modules. */ | 
 | 6 | #undef AIX_GENUINE_CPLUSPLUS | 
 | 7 |  | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 8 | /* Define if your <unistd.h> contains bad prototypes for exec*() | 
 | 9 |    (as it does on SGI IRIX 4.x) */ | 
 | 10 | #undef BAD_EXEC_PROTOTYPES | 
 | 11 |  | 
| Guido van Rossum | 2712c16 | 1994-01-11 12:00:38 +0000 | [diff] [blame] | 12 | /* Define if your compiler botches static forward declarations | 
 | 13 |    (as it does on SCI ODT 3.0) */ | 
 | 14 | #undef BAD_STATIC_FORWARD | 
 | 15 |  | 
| Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 16 | /* Define this if you have BeOS threads */ | 
 | 17 | #undef BEOS_THREADS | 
 | 18 |  | 
| Guido van Rossum | 94d46d5 | 1996-07-30 18:05:21 +0000 | [diff] [blame] | 19 | /* Define if you have the Mach cthreads package */ | 
 | 20 | #undef C_THREADS | 
 | 21 |  | 
| Guido van Rossum | 32d8ba4 | 1994-07-01 15:28:52 +0000 | [diff] [blame] | 22 | /* Define to `long' if <time.h> doesn't define.  */ | 
 | 23 | #undef clock_t | 
 | 24 |  | 
| Martin v. Löwis | e8964d4 | 2001-03-06 12:09:07 +0000 | [diff] [blame] | 25 | /* Defined on Solaris to see additional function prototypes. */ | 
 | 26 | #undef __EXTENSIONS__ | 
 | 27 |  | 
| Guido van Rossum | b855216 | 2001-09-05 14:58:11 +0000 | [diff] [blame] | 28 | /* This must be set to 64 on some systems to enable large file support */ | 
 | 29 | #undef _FILE_OFFSET_BITS | 
 | 30 |  | 
| Guido van Rossum | 2bcafeb | 1994-10-20 22:06:56 +0000 | [diff] [blame] | 31 | /* Define if getpgrp() must be called as getpgrp(0). */ | 
| Guido van Rossum | 0039f51 | 1994-06-23 12:17:51 +0000 | [diff] [blame] | 32 | #undef GETPGRP_HAVE_ARG | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 33 |  | 
| Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 34 | /* Define if gettimeofday() does not have second (timezone) argument | 
 | 35 |    This is the case on Motorola V4 (R40V4.2) */ | 
 | 36 | #undef GETTIMEOFDAY_NO_TZ | 
| Guido van Rossum | 2bcafeb | 1994-10-20 22:06:56 +0000 | [diff] [blame] | 37 |  | 
| Guido van Rossum | 4c627be | 1994-01-13 15:47:04 +0000 | [diff] [blame] | 38 | /* Define this if your time.h defines altzone */ | 
 | 39 | #undef HAVE_ALTZONE | 
 | 40 |  | 
| Martin v. Löwis | 01dfdb3 | 2001-06-23 16:30:13 +0000 | [diff] [blame] | 41 | /* Define if --enable-ipv6 is specified */ | 
 | 42 | #undef ENABLE_IPV6 | 
 | 43 |  | 
 | 44 | /* Define if sockaddr has sa_len member */ | 
 | 45 | #undef HAVE_SOCKADDR_SA_LEN | 
 | 46 |  | 
 | 47 | /* struct addrinfo (netdb.h) */ | 
 | 48 | #undef HAVE_ADDRINFO | 
 | 49 |  | 
 | 50 | /* struct sockaddr_storage (sys/socket.h) */ | 
 | 51 | #undef HAVE_SOCKADDR_STORAGE | 
 | 52 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 53 | /* Defined when any dynamic module loading is enabled */ | 
 | 54 | #undef HAVE_DYNAMIC_LOADING | 
 | 55 |  | 
| Guido van Rossum | cadfaec | 2001-01-05 14:45:49 +0000 | [diff] [blame] | 56 | /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */ | 
 | 57 | #undef HAVE_GETC_UNLOCKED | 
 | 58 |  | 
| Guido van Rossum | 7152e9b | 1999-03-22 21:46:06 +0000 | [diff] [blame] | 59 | /* Define this if you have gethostbyname() */ | 
| Guido van Rossum | c6f6df3 | 1999-12-16 17:49:02 +0000 | [diff] [blame] | 60 | #undef HAVE_GETHOSTBYNAME | 
| Guido van Rossum | 7152e9b | 1999-03-22 21:46:06 +0000 | [diff] [blame] | 61 |  | 
 | 62 | /* Define this if you have some version of gethostbyname_r() */ | 
 | 63 | #undef HAVE_GETHOSTBYNAME_R | 
 | 64 |  | 
 | 65 | /* Define this if you have the 3-arg version of gethostbyname_r() */ | 
 | 66 | #undef HAVE_GETHOSTBYNAME_R_3_ARG | 
 | 67 |  | 
 | 68 | /* Define this if you have the 5-arg version of gethostbyname_r() */ | 
 | 69 | #undef HAVE_GETHOSTBYNAME_R_5_ARG | 
 | 70 |  | 
 | 71 | /* Define this if you have the 6-arg version of gethostbyname_r() */ | 
 | 72 | #undef HAVE_GETHOSTBYNAME_R_6_ARG | 
 | 73 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 74 | /* Defined to enable large file support when an off_t is bigger than a long | 
 | 75 |    and long long is available and at least as big as an off_t. You may need | 
 | 76 |    to add some flags for configuration and compilation to enable this mode. | 
| Guido van Rossum | 810cc51 | 2001-09-09 23:51:39 +0000 | [diff] [blame] | 77 |    (For Solaris and Linux, the necessary defines are already defined.) | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 78 | */ | 
 | 79 | #undef HAVE_LARGEFILE_SUPPORT | 
 | 80 |  | 
| Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 81 | /* Define this if you have the type long long */ | 
 | 82 | #undef HAVE_LONG_LONG | 
 | 83 |  | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 84 | /* Define if your compiler supports function prototypes */ | 
 | 85 | #undef HAVE_PROTOTYPES | 
 | 86 |  | 
| Guido van Rossum | 9e8181b | 2000-09-19 00:46:46 +0000 | [diff] [blame] | 87 | /* Define if you have GNU PTH threads */ | 
 | 88 | #undef HAVE_PTH | 
 | 89 |  | 
| Guido van Rossum | 353ae58 | 2001-07-10 16:45:32 +0000 | [diff] [blame] | 90 | /* Define if you have readline 4.2 */ | 
 | 91 | #undef HAVE_RL_COMPLETION_MATCHES | 
 | 92 |  | 
| Guido van Rossum | aff6906 | 1994-02-15 15:52:14 +0000 | [diff] [blame] | 93 | /* Define if your compiler supports variable length function prototypes | 
 | 94 |    (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ | 
 | 95 | #undef HAVE_STDARG_PROTOTYPES | 
 | 96 |  | 
| Eric S. Raymond | 1360359 | 2001-01-16 15:01:26 +0000 | [diff] [blame] | 97 | /* Define if you have termios available */ | 
 | 98 | #undef HAVE_TERMIOS_H | 
 | 99 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 100 | /* Define this if you have the type uintptr_t */ | 
 | 101 | #undef HAVE_UINTPTR_T | 
 | 102 |  | 
 | 103 | /* Define if you have a useable wchar_t type defined in wchar.h; useable | 
 | 104 |    means wchar_t must be 16-bit unsigned type. (see | 
 | 105 |    Include/unicodeobject.h). */ | 
 | 106 | #undef HAVE_USABLE_WCHAR_T | 
 | 107 |  | 
 | 108 | /* Define if the compiler provides a wchar.h header file. */ | 
 | 109 | #undef HAVE_WCHAR_H | 
 | 110 |  | 
| Guido van Rossum | b855216 | 2001-09-05 14:58:11 +0000 | [diff] [blame] | 111 | /* This must be defined on some systems to enable large file support */ | 
 | 112 | #undef _LARGEFILE_SOURCE | 
 | 113 |  | 
| Martin v. Löwis | 0ba70cc | 2001-06-26 22:22:37 +0000 | [diff] [blame] | 114 | /* Define if you want to have a Unicode type. */ | 
 | 115 | #undef Py_USING_UNICODE | 
 | 116 |  | 
 | 117 | /* Define as the integral type used for Unicode representation. */ | 
 | 118 | #undef PY_UNICODE_TYPE | 
 | 119 |  | 
 | 120 | /* Define as the size of the unicode type. */ | 
 | 121 | #undef Py_UNICODE_SIZE | 
 | 122 |  | 
| Thomas Wouters | e38b2f1 | 2001-07-11 22:35:31 +0000 | [diff] [blame] | 123 | /* Define if nice() returns success/failure instead of the new priority. */ | 
 | 124 | #undef HAVE_BROKEN_NICE | 
 | 125 |  | 
| Guido van Rossum | 443389f | 1997-07-10 22:43:05 +0000 | [diff] [blame] | 126 | /* Define if malloc(0) returns a NULL pointer */ | 
 | 127 | #undef MALLOC_ZERO_RETURNS_NULL | 
 | 128 |  | 
| Guido van Rossum | c5832ff | 1994-05-09 15:10:49 +0000 | [diff] [blame] | 129 | /* Define if you have POSIX threads */ | 
 | 130 | #undef _POSIX_THREADS | 
 | 131 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 132 | /* Define if you want to build an interpreter with many run-time checks  */ | 
 | 133 | #undef Py_DEBUG | 
 | 134 |  | 
| Guido van Rossum | 93ee6e0 | 1996-07-31 17:35:30 +0000 | [diff] [blame] | 135 | /* Define to force use of thread-safe errno, h_errno, and other functions */ | 
 | 136 | #undef _REENTRANT | 
 | 137 |  | 
| Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 138 | /* Define if setpgrp() must be called as setpgrp(0, 0). */ | 
 | 139 | #undef SETPGRP_HAVE_ARG | 
 | 140 |  | 
| Guido van Rossum | aff6906 | 1994-02-15 15:52:14 +0000 | [diff] [blame] | 141 | /* Define to empty if the keyword does not work.  */ | 
 | 142 | #undef signed | 
 | 143 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 144 | /* Define if i>>j for signed int i does not extend the sign bit | 
 | 145 |    when i < 0 | 
 | 146 | */ | 
 | 147 | #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS | 
 | 148 |  | 
 | 149 | /* The number of bytes in an off_t. */ | 
 | 150 | #undef SIZEOF_OFF_T | 
 | 151 |  | 
 | 152 | /* The number of bytes in a time_t. */ | 
 | 153 | #undef SIZEOF_TIME_T | 
 | 154 |  | 
 | 155 | /* The number of bytes in a pthread_t. */ | 
 | 156 | #undef SIZEOF_PTHREAD_T | 
 | 157 |  | 
| Guido van Rossum | d0b69ec | 2001-09-10 14:10:54 +0000 | [diff] [blame] | 158 | /* Defined if PTHREAD_SCOPE_SYSTEM supported. */ | 
 | 159 | #undef PTHREAD_SYSTEM_SCHED_SUPPORTED | 
 | 160 |  | 
| Guido van Rossum | 2522136 | 1998-10-02 14:41:38 +0000 | [diff] [blame] | 161 | /* sizeof(void *) */ | 
 | 162 | #undef SIZEOF_VOID_P | 
 | 163 |  | 
| Guido van Rossum | 59903fe | 2000-04-24 15:12:04 +0000 | [diff] [blame] | 164 | /* Define to `int' if <sys/types.h> doesn't define.  */ | 
 | 165 | #undef socklen_t | 
 | 166 |  | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 167 | /* Define for SOLARIS 2.x */ | 
 | 168 | #undef SOLARIS | 
 | 169 |  | 
| Guido van Rossum | f1009e8 | 1994-01-04 23:29:10 +0000 | [diff] [blame] | 170 | /* Define if  you can safely include both <sys/select.h> and <sys/time.h> | 
 | 171 |    (which you can't on SCO ODT 3.0). */ | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 172 | #undef SYS_SELECT_WITH_SYS_TIME | 
 | 173 |  | 
| Guido van Rossum | 76be6ed | 1995-01-02 18:33:54 +0000 | [diff] [blame] | 174 | /* Define if a va_list is an array of some kind */ | 
 | 175 | #undef VA_LIST_IS_ARRAY | 
 | 176 |  | 
 | 177 | /* Define to empty if the keyword does not work.  */ | 
 | 178 | #undef volatile | 
 | 179 |  | 
| Guido van Rossum | 7a24c37 | 1997-05-09 02:41:10 +0000 | [diff] [blame] | 180 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ | 
 | 181 | #undef WANT_SIGFPE_HANDLER | 
 | 182 |  | 
| Guido van Rossum | ef2255b | 2000-03-10 22:30:29 +0000 | [diff] [blame] | 183 | /* Define if you want wctype.h functions to be used instead of the | 
 | 184 |    one supplied by Python itself. (see Include/unicodectype.h). */ | 
 | 185 | #undef WANT_WCTYPE_FUNCTIONS | 
 | 186 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 187 | /* Define if you want to compile in cycle garbage collection */ | 
 | 188 | #undef WITH_CYCLE_GC | 
| Guido van Rossum | 2712c16 | 1994-01-11 12:00:38 +0000 | [diff] [blame] | 189 |  | 
 | 190 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. | 
 | 191 |    This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), | 
 | 192 |    Sequent Symmetry (Dynix), and Atari ST. | 
 | 193 |    This requires the "dl-dld" library, | 
 | 194 |    ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, | 
 | 195 |    as well as the "GNU dld" library, | 
 | 196 |    ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. | 
 | 197 |    Don't bother on SunOS 4 or 5, they already have dynamic linking using | 
 | 198 |    shared libraries */  | 
 | 199 | #undef WITH_DL_DLD | 
 | 200 |  | 
| Guido van Rossum | 54ecc3d | 1999-01-27 17:53:11 +0000 | [diff] [blame] | 201 | /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) | 
 | 202 |    dynamic linker (dyld) instead of the old-style (NextStep) dynamic | 
 | 203 |    linker (rld). Dyld is necessary to support frameworks. */ | 
 | 204 | #undef WITH_DYLD | 
 | 205 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 206 | /* Define if you want to use BSD db. */ | 
 | 207 | #undef WITH_LIBDB | 
| Barry Warsaw | cf053b1 | 2000-06-30 16:02:58 +0000 | [diff] [blame] | 208 |  | 
| Eric S. Raymond | 1360359 | 2001-01-16 15:01:26 +0000 | [diff] [blame] | 209 | /* Define if you want to use ndbm. */ | 
 | 210 | #undef WITH_LIBNDBM | 
 | 211 |  | 
| Neil Schemenauer | a35c688 | 2001-02-27 04:45:05 +0000 | [diff] [blame] | 212 | /* Define if you want to compile in Python-specific mallocs */ | 
 | 213 | #undef WITH_PYMALLOC | 
 | 214 |  | 
| Guido van Rossum | 54ecc3d | 1999-01-27 17:53:11 +0000 | [diff] [blame] | 215 | /* Define if you want to produce an OpenStep/Rhapsody framework | 
 | 216 |    (shared library plus accessory files). */ | 
 | 217 | #undef WITH_NEXT_FRAMEWORK | 
 | 218 |  | 
| Martin v. Löwis | 530f990 | 2001-06-24 20:59:45 +0000 | [diff] [blame] | 219 | /* Define if you want to use MacPython modules on MacOSX in unix-Python */ | 
 | 220 | #undef USE_TOOLBOX_OBJECT_GLUE | 
 | 221 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 222 | /* Define if you want to use SGI (IRIX 4) dynamic linking. | 
 | 223 |    This requires the "dl" library by Jack Jansen, | 
 | 224 |    ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. | 
 | 225 |    Don't bother on IRIX 5, it already has dynamic linking using SunOS | 
 | 226 |    style shared libraries */  | 
 | 227 | #undef WITH_SGI_DL | 
| Fred Drake | c9cb847 | 2000-08-31 16:11:07 +0000 | [diff] [blame] | 228 |  | 
| Guido van Rossum | 4c3f57c | 2001-01-10 20:40:46 +0000 | [diff] [blame] | 229 | /* Define if you want to compile in rudimentary thread support */ | 
 | 230 | #undef WITH_THREAD | 
| Tim Peters | 7d3a511 | 2000-07-08 04:17:21 +0000 | [diff] [blame] | 231 |  | 
| Guido van Rossum | 79556aa | 1994-01-04 22:02:27 +0000 | [diff] [blame] | 232 |  | 
 | 233 | /* Leave that blank line there-- autoheader needs it! */ | 
| Guido van Rossum | aef734b | 2001-01-10 21:09:12 +0000 | [diff] [blame] | 234 |  | 
 | 235 | @BOTTOM@ | 
 | 236 |  | 
 | 237 | #ifdef __CYGWIN__ | 
 | 238 | #ifdef USE_DL_IMPORT | 
 | 239 | #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE | 
 | 240 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE | 
 | 241 | #else | 
 | 242 | #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE | 
 | 243 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE | 
 | 244 | #endif | 
 | 245 | #endif | 
| Martin v. Löwis | 28341ce | 2001-09-05 15:18:00 +0000 | [diff] [blame] | 246 |  | 
 | 247 | /* Define the macros needed if on a UnixWare 7.x system. */ | 
 | 248 | #if defined(__USLC__) && defined(__SCO_VERSION__) | 
| Martin v. Löwis | 28341ce | 2001-09-05 15:18:00 +0000 | [diff] [blame] | 249 | #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ | 
 | 250 | #endif | 
 | 251 |  |