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