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