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