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 malloc(0) returns a NULL pointer */ |
| 188 | #undef MALLOC_ZERO_RETURNS_NULL |
| 189 | |
| 190 | /* Define if you have POSIX threads */ |
| 191 | #undef _POSIX_THREADS |
| 192 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 193 | /* Define if you want to build an interpreter with many run-time checks */ |
| 194 | #undef Py_DEBUG |
| 195 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 196 | /* Define to force use of thread-safe errno, h_errno, and other functions */ |
| 197 | #undef _REENTRANT |
| 198 | |
| 199 | /* Define if setpgrp() must be called as setpgrp(0, 0). */ |
| 200 | #undef SETPGRP_HAVE_ARG |
| 201 | |
| 202 | /* Define to empty if the keyword does not work. */ |
| 203 | #undef signed |
| 204 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 205 | /* Define if i>>j for signed int i does not extend the sign bit |
| 206 | when i < 0 |
| 207 | */ |
| 208 | #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS |
| 209 | |
| 210 | /* The number of bytes in an off_t. */ |
| 211 | #define SIZEOF_OFF_T 4 |
| 212 | |
| 213 | /* The number of bytes in a time_t. */ |
| 214 | #define SIZEOF_TIME_T 4 |
| 215 | |
| 216 | /* The number of bytes in a pthread_t. */ |
| 217 | #undef SIZEOF_PTHREAD_T |
| 218 | |
| 219 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 220 | #define socklen_t int |
| 221 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 222 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 223 | (which you can't on SCO ODT 3.0). */ |
| 224 | #undef SYS_SELECT_WITH_SYS_TIME |
| 225 | |
| 226 | /* Define if a va_list is an array of some kind */ |
| 227 | #define VA_LIST_IS_ARRAY 1 |
| 228 | |
| 229 | /* Define to empty if the keyword does not work. */ |
| 230 | #undef volatile |
| 231 | |
| 232 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ |
| 233 | #undef WANT_SIGFPE_HANDLER |
| 234 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 235 | /* Define if you want wctype.h functions to be used instead of the |
| 236 | one supplied by Python itself. (see Include/unicodectype.h). */ |
| 237 | #undef WANT_WCTYPE_FUNCTIONS |
| 238 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 239 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 240 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 241 | Sequent Symmetry (Dynix), and Atari ST. |
| 242 | This requires the "dl-dld" library, |
| 243 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 244 | as well as the "GNU dld" library, |
| 245 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 246 | 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] | 247 | shared libraries */ |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 248 | #undef WITH_DL_DLD |
| 249 | |
Martin v. Löwis | 2befa48 | 2002-06-09 13:41:37 +0000 | [diff] [blame] | 250 | /* Define if you want documentation strings in extension modules */ |
| 251 | #define WITH_DOC_STRINGS 1 |
| 252 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 253 | /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) |
| 254 | dynamic linker (dyld) instead of the old-style (NextStep) dynamic |
| 255 | linker (rld). Dyld is necessary to support frameworks. */ |
| 256 | #undef WITH_DYLD |
| 257 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 258 | /* Define if you want to compile in Python-specific mallocs */ |
| 259 | #undef WITH_PYMALLOC |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 260 | |
| 261 | /* Define if you want to produce an OpenStep/Rhapsody framework |
| 262 | (shared library plus accessory files). */ |
| 263 | #undef WITH_NEXT_FRAMEWORK |
| 264 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 265 | /* Define if you want to use MacPython modules on MacOSX in unix-Python */ |
| 266 | #undef USE_TOOLBOX_OBJECT_GLUE |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 267 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 268 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 269 | This requires the "dl" library by Jack Jansen, |
| 270 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 271 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 272 | style shared libraries */ |
| 273 | #undef WITH_SGI_DL |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 274 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 275 | /* Define if you want to compile in rudimentary thread support */ |
| 276 | #undef WITH_THREAD |
| 277 | |
| 278 | /* The number of bytes in a char. */ |
| 279 | #define SIZEOF_CHAR 1 |
| 280 | |
| 281 | /* The number of bytes in a double. */ |
| 282 | #define SIZEOF_DOUBLE 8 |
| 283 | |
| 284 | /* The number of bytes in a float. */ |
| 285 | #define SIZEOF_FLOAT 4 |
| 286 | |
| 287 | /* The number of bytes in a fpos_t. */ |
| 288 | #undef SIZEOF_FPOS_T |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 289 | |
| 290 | /* The number of bytes in a int. */ |
| 291 | #define SIZEOF_INT 4 |
| 292 | |
| 293 | /* The number of bytes in a long. */ |
| 294 | #define SIZEOF_LONG 4 |
| 295 | |
| 296 | /* The number of bytes in a long long. */ |
| 297 | #undef SIZEOF_LONG_LONG |
| 298 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 299 | /* The number of bytes in a short. */ |
| 300 | #define SIZEOF_SHORT 2 |
| 301 | |
| 302 | /* The number of bytes in a uintptr_t. */ |
| 303 | #undef SIZEOF_UINTPTR_T |
| 304 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 305 | /* The number of bytes in a void *. */ |
| 306 | #define SIZEOF_VOID_P 4 |
| 307 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 308 | /* The number of bytes in a wchar_t. */ |
| 309 | #undef SIZEOF_WCHAR_T |
| 310 | |
| 311 | /* Define if you have the _getpty function. */ |
| 312 | #undef HAVE__GETPTY |
| 313 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 314 | /* Define if you have the alarm function. */ |
| 315 | #undef HAVE_ALARM |
| 316 | |
| 317 | /* Define if you have the chown function. */ |
| 318 | #undef HAVE_CHOWN |
| 319 | |
| 320 | /* Define if you have the clock function. */ |
| 321 | #define HAVE_CLOCK 1 |
| 322 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 323 | /* Define if you have the confstr function. */ |
| 324 | #undef HAVE_CONFSTR |
| 325 | |
| 326 | /* Define if you have the ctermid function. */ |
| 327 | #undef HAVE_CTERMID |
| 328 | |
| 329 | /* Define if you have the ctermid_r function. */ |
| 330 | #undef HAVE_CTERMID_R |
| 331 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 332 | /* Define if you have the dlopen function. */ |
| 333 | #undef HAVE_DLOPEN |
| 334 | |
| 335 | /* Define if you have the dup2 function. */ |
| 336 | #undef HAVE_DUP2 |
| 337 | |
| 338 | /* Define if you have the execv function. */ |
| 339 | #undef HAVE_EXECV |
| 340 | |
| 341 | /* Define if you have the fdatasync function. */ |
| 342 | #undef HAVE_FDATASYNC |
| 343 | |
| 344 | /* Define if you have the flock function. */ |
| 345 | #undef HAVE_FLOCK |
| 346 | |
| 347 | /* Define if you have the fork function. */ |
| 348 | #undef HAVE_FORK |
| 349 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 350 | /* Define if you have the forkpty function. */ |
| 351 | #undef HAVE_FORKPTY |
| 352 | |
| 353 | /* Define if you have the fpathconf function. */ |
| 354 | #undef HAVE_FPATHCONF |
| 355 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 356 | /* Define if you have the fseek64 function. */ |
| 357 | #undef HAVE_FSEEK64 |
| 358 | |
| 359 | /* Define if you have the fseeko function. */ |
| 360 | #undef HAVE_FSEEKO |
| 361 | |
| 362 | /* Define if you have the fstatvfs function. */ |
| 363 | #undef HAVE_FSTATVFS |
| 364 | |
| 365 | /* Define if you have the fsync function. */ |
| 366 | #undef HAVE_FSYNC |
| 367 | |
| 368 | /* Define if you have the ftell64 function. */ |
| 369 | #undef HAVE_FTELL64 |
| 370 | |
| 371 | /* Define if you have the ftello function. */ |
| 372 | #undef HAVE_FTELLO |
| 373 | |
| 374 | /* Define if you have the ftime function. */ |
| 375 | #undef HAVE_FTIME |
| 376 | |
| 377 | /* Define if you have the ftruncate function. */ |
| 378 | #undef HAVE_FTRUNCATE |
| 379 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 380 | /* Define if you have the gai_strerror function. */ |
| 381 | #undef HAVE_GAI_STRERROR |
| 382 | |
| 383 | /* Define if you have the getaddrinfo function. */ |
| 384 | #undef HAVE_GETADDRINFO |
| 385 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 386 | /* Define if you have the getcwd function. */ |
| 387 | #undef HAVE_GETCWD |
| 388 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 389 | /* Define if you have the getgroups function. */ |
| 390 | #undef HAVE_GETGROUPS |
| 391 | |
| 392 | /* Define if you have the gethostbyname function. */ |
| 393 | #undef HAVE_GETHOSTBYNAME |
| 394 | |
| 395 | /* Define if you have the getlogin function. */ |
| 396 | #undef HAVE_GETLOGIN |
| 397 | |
| 398 | /* Define if you have the getnameinfo function. */ |
| 399 | #undef HAVE_GETNAMEINFO |
| 400 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 401 | /* Define if you have the getpeername function. */ |
| 402 | #undef HAVE_GETPEERNAME |
| 403 | |
Martin v. Löwis | 606edc1 | 2002-06-13 21:09:11 +0000 | [diff] [blame] | 404 | /* Define if you have the getpgid function. */ |
| 405 | #undef HAVE_GETPGID |
| 406 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 407 | /* Define if you have the getpgrp function. */ |
| 408 | #undef HAVE_GETPGRP |
| 409 | |
| 410 | /* Define if you have the getpid function. */ |
| 411 | #undef HAVE_GETPID |
| 412 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 413 | /* Define if you have the getpriority function. */ |
| 414 | #undef HAVE_GETPRIORITY |
| 415 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 416 | /* Define if you have the getpwent function. */ |
| 417 | #undef HAVE_GETPWENT |
| 418 | |
| 419 | /* Define if you have the gettimeofday function. */ |
| 420 | #undef HAVE_GETTIMEOFDAY |
| 421 | |
| 422 | /* Define if you have the getwd function. */ |
| 423 | #undef HAVE_GETWD |
| 424 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 425 | /* Define if you have the hstrerror function. */ |
| 426 | #undef HAVE_HSTRERROR |
| 427 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 428 | /* Define if you have the hypot function. */ |
| 429 | #undef HAVE_HYPOT |
| 430 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 431 | /* Define if you have the inet_pton function. */ |
| 432 | #define HAVE_INET_PTON 1 |
| 433 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 434 | /* Define if you have the kill function. */ |
| 435 | #undef HAVE_KILL |
| 436 | |
| 437 | /* Define if you have the link function. */ |
| 438 | #undef HAVE_LINK |
| 439 | |
| 440 | /* Define if you have the lstat function. */ |
| 441 | #undef HAVE_LSTAT |
| 442 | |
| 443 | /* Define if you have the memmove function. */ |
| 444 | #define HAVE_MEMMOVE 1 |
| 445 | |
| 446 | /* Define if you have the mkfifo function. */ |
| 447 | #undef HAVE_MKFIFO |
| 448 | |
| 449 | /* Define if you have the mktime function. */ |
| 450 | #define HAVE_MKTIME 1 |
| 451 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 452 | /* Define if you have the mremap function. */ |
| 453 | #undef HAVE_MREMAP |
| 454 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 455 | /* Define if you have the nice function. */ |
| 456 | #undef HAVE_NICE |
| 457 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 458 | /* Define if you have the openpty function. */ |
| 459 | #undef HAVE_OPENPTY |
| 460 | |
| 461 | /* Define if you have the pathconf function. */ |
| 462 | #undef HAVE_PATHCONF |
| 463 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 464 | /* Define if you have the pause function. */ |
| 465 | #undef HAVE_PAUSE |
| 466 | |
| 467 | /* Define if you have the plock function. */ |
| 468 | #undef HAVE_PLOCK |
| 469 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 470 | /* Define if you have the poll function. */ |
| 471 | #undef HAVE_POLL |
| 472 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 473 | /* Define if you have the pthread_init function. */ |
| 474 | #undef HAVE_PTHREAD_INIT |
| 475 | |
| 476 | /* Define if you have the putenv function. */ |
| 477 | #undef HAVE_PUTENV |
| 478 | |
| 479 | /* Define if you have the readlink function. */ |
| 480 | #undef HAVE_READLINK |
| 481 | |
| 482 | /* Define if you have the select function. */ |
| 483 | #undef HAVE_SELECT |
| 484 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 485 | /* Define if you have the setegid function. */ |
| 486 | #undef HAVE_SETEGID |
| 487 | |
| 488 | /* Define if you have the seteuid function. */ |
| 489 | #undef HAVE_SETEUID |
| 490 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 491 | /* Define if you have the setgid function. */ |
| 492 | #undef HAVE_SETGID |
| 493 | |
| 494 | /* Define if you have the setlocale function. */ |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 495 | #define HAVE_SETLOCALE 1 |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 496 | |
| 497 | /* Define if you have the setpgid function. */ |
| 498 | #undef HAVE_SETPGID |
| 499 | |
| 500 | /* Define if you have the setpgrp function. */ |
| 501 | #undef HAVE_SETPGRP |
| 502 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 503 | /* Define if you have the setregid function. */ |
| 504 | #undef HAVE_SETREGID |
| 505 | |
| 506 | /* Define if you have the setreuid function. */ |
| 507 | #undef HAVE_SETREUID |
| 508 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 509 | /* Define if you have the setsid function. */ |
| 510 | #undef HAVE_SETSID |
| 511 | |
| 512 | /* Define if you have the setuid function. */ |
| 513 | #undef HAVE_SETUID |
| 514 | |
| 515 | /* Define if you have the setvbuf function. */ |
| 516 | #undef HAVE_SETVBUF |
| 517 | |
| 518 | /* Define if you have the sigaction function. */ |
| 519 | #undef HAVE_SIGACTION |
| 520 | |
| 521 | /* Define if you have the siginterrupt function. */ |
| 522 | #undef HAVE_SIGINTERRUPT |
| 523 | |
| 524 | /* Define if you have the sigrelse function. */ |
| 525 | #undef HAVE_SIGRELSE |
| 526 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 527 | /* Define if you have the snprintf function. */ |
| 528 | #undef HAVE_SNPRINTF |
| 529 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 530 | /* Define if you have the statvfs function. */ |
| 531 | #undef HAVE_STATVFS |
| 532 | |
| 533 | /* Define if you have the strdup function. */ |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 534 | #define HAVE_STRDUP 1 |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 535 | |
| 536 | /* Define if you have the strerror function. */ |
| 537 | #define HAVE_STRERROR 1 |
| 538 | |
| 539 | /* Define if you have the strftime function. */ |
| 540 | #define HAVE_STRFTIME 1 |
| 541 | |
| 542 | /* Define if you have the strptime function. */ |
| 543 | #undef HAVE_STRPTIME |
| 544 | |
| 545 | /* Define if you have the symlink function. */ |
| 546 | #undef HAVE_SYMLINK |
| 547 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 548 | /* Define if you have the sysconf function. */ |
| 549 | #undef HAVE_SYSCONF |
| 550 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 551 | /* Define if you have the tcgetpgrp function. */ |
| 552 | #undef HAVE_TCGETPGRP |
| 553 | |
| 554 | /* Define if you have the tcsetpgrp function. */ |
| 555 | #undef HAVE_TCSETPGRP |
| 556 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 557 | /* Define if you have the tempnam function. */ |
| 558 | #undef HAVE_TEMPNAM |
| 559 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 560 | /* Define if you have the timegm function. */ |
| 561 | #undef HAVE_TIMEGM |
| 562 | |
| 563 | /* Define if you have the times function. */ |
| 564 | #undef HAVE_TIMES |
| 565 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 566 | /* Define if you have the tmpfile function. */ |
| 567 | #undef HAVE_TMPFILE |
| 568 | |
| 569 | /* Define if you have the tmpnam function. */ |
| 570 | #undef HAVE_TMPNAM |
| 571 | |
| 572 | /* Define if you have the tmpnam_r function. */ |
| 573 | #undef HAVE_TMPNAM_R |
| 574 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 575 | /* Define if you have the truncate function. */ |
| 576 | #undef HAVE_TRUNCATE |
| 577 | |
| 578 | /* Define if you have the uname function. */ |
| 579 | #undef HAVE_UNAME |
| 580 | |
| 581 | /* Define if you have the waitpid function. */ |
| 582 | #undef HAVE_WAITPID |
| 583 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 584 | /* Define if you have the <db.h> header file. */ |
| 585 | #undef HAVE_DB_H |
| 586 | |
| 587 | /* Define if you have the <db1/ndbm.h> header file. */ |
| 588 | #undef HAVE_DB1_NDBM_H |
| 589 | |
| 590 | /* Define if you have the <db_185.h> header file. */ |
| 591 | #undef HAVE_DB_185_H |
| 592 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 593 | /* Define if you have the <dirent.h> header file. */ |
| 594 | #undef HAVE_DIRENT_H |
| 595 | |
| 596 | /* Define if you have the <dlfcn.h> header file. */ |
| 597 | #undef HAVE_DLFCN_H |
| 598 | |
| 599 | /* Define if you have the <fcntl.h> header file. */ |
| 600 | #undef HAVE_FCNTL_H |
| 601 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 602 | /* Define if you have the <gdbm/ndbm.h> header file. */ |
| 603 | #undef HAVE_GDBM_NDBM_H |
| 604 | |
| 605 | /* Define if you have the <langinfo.h> header file. */ |
| 606 | #undef HAVE_LANGINFO_H |
| 607 | |
| 608 | /* Define if you have the <libutil.h> header file. */ |
| 609 | #undef HAVE_LIBUTIL_H |
| 610 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 611 | /* Define if you have the <limits.h> header file. */ |
| 612 | #define HAVE_LIMITS_H 1 |
| 613 | |
| 614 | /* Define if you have the <locale.h> header file. */ |
| 615 | #define HAVE_LOCALE_H 1 |
| 616 | |
| 617 | /* Define if you have the <ncurses.h> header file. */ |
| 618 | #undef HAVE_NCURSES_H |
| 619 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 620 | /* Define if you have the <ndbm.h> header file. */ |
| 621 | #undef HAVE_NDBM_H |
| 622 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 623 | /* Define if you have the <ndir.h> header file. */ |
| 624 | #undef HAVE_NDIR_H |
| 625 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 626 | /* Define if you have the <netpacket/packet.h> header file. */ |
| 627 | #undef HAVE_NETPACKET_PACKET_H |
| 628 | |
| 629 | /* Define if you have the <poll.h> header file. */ |
| 630 | #undef HAVE_POLL_H |
| 631 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 632 | /* Define if you have the <pthread.h> header file. */ |
| 633 | #undef HAVE_PTHREAD_H |
| 634 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 635 | /* Define if you have the <pty.h> header file. */ |
| 636 | #undef HAVE_PTY_H |
| 637 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 638 | /* Define if you have the <signal.h> header file. */ |
| 639 | #define HAVE_SIGNAL_H 1 |
| 640 | |
| 641 | /* Define if you have the <stdarg.h> header file. */ |
| 642 | #define HAVE_STDARG_H 1 |
| 643 | |
| 644 | /* Define if you have the <stddef.h> header file. */ |
| 645 | #define HAVE_STDDEF_H 1 |
| 646 | |
| 647 | /* Define if you have the <stdlib.h> header file. */ |
| 648 | #define HAVE_STDLIB_H 1 |
| 649 | |
| 650 | /* Define if you have the <sys/audioio.h> header file. */ |
| 651 | #undef HAVE_SYS_AUDIOIO_H |
| 652 | |
| 653 | /* Define if you have the <sys/dir.h> header file. */ |
| 654 | #undef HAVE_SYS_DIR_H |
| 655 | |
| 656 | /* Define if you have the <sys/file.h> header file. */ |
| 657 | #undef HAVE_SYS_FILE_H |
| 658 | |
| 659 | /* Define if you have the <sys/lock.h> header file. */ |
| 660 | #undef HAVE_SYS_LOCK_H |
| 661 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 662 | /* Define if you have the <sys/modem.h> header file. */ |
| 663 | #undef HAVE_SYS_MODEM_H |
| 664 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 665 | /* Define if you have the <sys/ndir.h> header file. */ |
| 666 | #undef HAVE_SYS_NDIR_H |
| 667 | |
| 668 | /* Define if you have the <sys/param.h> header file. */ |
| 669 | #undef HAVE_SYS_PARAM_H |
| 670 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 671 | /* Define if you have the <sys/poll.h> header file. */ |
| 672 | #undef HAVE_SYS_POLL_H |
| 673 | |
| 674 | /* Define if you have the <sys/resource.h> header file. */ |
| 675 | #undef HAVE_SYS_RESOURCE_H |
| 676 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 677 | /* Define if you have the <sys/select.h> header file. */ |
| 678 | #undef HAVE_SYS_SELECT_H |
| 679 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 680 | /* Define if you have the <sys/socket.h> header file. */ |
| 681 | #undef HAVE_SYS_SOCKET_H |
| 682 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 683 | /* Define if you have the <sys/time.h> header file. */ |
| 684 | #undef HAVE_SYS_TIME_H |
| 685 | |
| 686 | /* Define if you have the <sys/times.h> header file. */ |
| 687 | #undef HAVE_SYS_TIMES_H |
| 688 | |
| 689 | /* Define if you have the <sys/un.h> header file. */ |
| 690 | #undef HAVE_SYS_UN_H |
| 691 | |
| 692 | /* Define if you have the <sys/utsname.h> header file. */ |
| 693 | #undef HAVE_SYS_UTSNAME_H |
| 694 | |
| 695 | /* Define if you have the <sys/wait.h> header file. */ |
| 696 | #undef HAVE_SYS_WAIT_H |
| 697 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 698 | /* Define if you have the <termios.h> header file. */ |
| 699 | #undef HAVE_TERMIOS_H |
| 700 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 701 | /* Define if you have the <thread.h> header file. */ |
| 702 | #undef HAVE_THREAD_H |
| 703 | |
| 704 | /* Define if you have the <unistd.h> header file. */ |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 705 | #define HAVE_UNISTD_H 1 |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 706 | |
| 707 | /* Define if you have the <utime.h> header file. */ |
| 708 | #undef HAVE_UTIME_H |
| 709 | |
| 710 | /* Define if you have the dl library (-ldl). */ |
| 711 | #undef HAVE_LIBDL |
| 712 | |
| 713 | /* Define if you have the dld library (-ldld). */ |
| 714 | #undef HAVE_LIBDLD |
| 715 | |
| 716 | /* Define if you have the ieee library (-lieee). */ |
| 717 | #undef HAVE_LIBIEEE |
| 718 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 719 | #ifdef __CYGWIN__ |
| 720 | #ifdef USE_DL_IMPORT |
| 721 | #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE |
| 722 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 723 | #else |
| 724 | #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE |
| 725 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
| 726 | #endif |
| 727 | #endif |
| 728 | |
| 729 | /* Define the macros needed if on a UnixWare 7.x system. */ |
| 730 | #if defined(__USLC__) && defined(__SCO_VERSION__) |
| 731 | #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ |
| 732 | #endif |
| 733 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 734 | |
| 735 | #define DONT_HAVE_FSTAT 1 |
| 736 | #define DONT_HAVE_STAT 1 |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 737 | #undef DONT_HAVE_SYS_STAT_H |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 738 | |
Guido van Rossum | 622cc03 | 2001-10-24 20:04:51 +0000 | [diff] [blame] | 739 | #define PLATFORM "riscos" |