Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 1 | #ifndef Py_CONFIG_H |
| 2 | #define Py_CONFIG_H |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 3 | |
| 4 | /* config.h. NOT Generated automatically by configure. |
| 5 | |
| 6 | This is a manually maintained version used for the Watcom, |
| 7 | Borland and and Microsoft Visual C++ compilers. It is a |
| 8 | standard part of the Python distribution. |
| 9 | |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 10 | WINDOWS DEFINES: |
| 11 | The code specific to Windows should be wrapped around one of |
| 12 | the following #defines |
| 13 | |
| 14 | MS_WIN32 - Code specific to the MS Win32 API |
| 15 | MS_WIN16 - Code specific to the old 16 bit Windows API. |
| 16 | MS_WINDOWS - Code specific to Windows, but all versions. |
| 17 | MS_COREDLL - Code if the Python core is built as a DLL. |
| 18 | |
| 19 | Note that the old defines "NT" and "WIN32" are still supported, but |
| 20 | will soon be dropped. |
| 21 | |
| 22 | Also note that neither "_M_IX86" or "_MSC_VER" should be used for |
| 23 | any purpose other than "Windows Intel x86 specific" and "Microsoft |
| 24 | compiler specific". Therefore, these should be very rare. |
| 25 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 26 | */ |
| 27 | |
| 28 | /* |
| 29 | Some systems require special declarations for data items imported |
| 30 | or exported from dynamic link libraries. Note that the definition |
| 31 | of DL_IMPORT covers both cases. Define USE_DL_IMPORT for the client |
| 32 | of a DLL. Define USE_DL_EXPORT when making a DLL. |
| 33 | */ |
| 34 | |
| 35 | #include <io.h> |
| 36 | #define HAVE_LIMITS_H |
| 37 | #define HAVE_HYPOT |
| 38 | #define DONT_HAVE_SIG_ALARM |
| 39 | #define DONT_HAVE_SIG_PAUSE |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 40 | #define LONG_BIT 32 |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 41 | #define PREFIX "" |
| 42 | #define EXEC_PREFIX "" |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 43 | |
| 44 | /* Microsoft C defines _MSC_VER */ |
| 45 | |
| 46 | #if defined(_MSC_VER) && _MSC_VER > 850 |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 47 | /* Start of defines for MS_WIN32 using VC++ 2.0 and up */ |
| 48 | #define NT /* NT is obsolete - please use MS_WIN32 instead */ |
| 49 | #define MS_WIN32 |
| 50 | #define MS_WINDOWS |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 51 | |
Guido van Rossum | eaf9b6c | 1996-08-22 00:06:59 +0000 | [diff] [blame] | 52 | /* For NT the Python core is in a DLL by default. Test the |
| 53 | standard macro MS_COREDLL to find out. If you have an exception |
| 54 | you must define MS_NO_COREDLL (do not test this macro) */ |
| 55 | #ifndef MS_NO_COREDLL |
| 56 | #define MS_COREDLL /* Python core is in a DLL */ |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 57 | #ifndef USE_DL_EXPORT |
| 58 | #define USE_DL_IMPORT |
| 59 | #endif /* !USE_DL_EXPORT */ |
Guido van Rossum | eaf9b6c | 1996-08-22 00:06:59 +0000 | [diff] [blame] | 60 | #endif /* !MS_NO_COREDLL */ |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 61 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 62 | #ifdef _M_IX86 |
| 63 | #define COMPILER "[MSC 32 bit (Intel)]" |
| 64 | #else |
| 65 | #define COMPILER "[MSC (Unknown)]" |
| 66 | #endif |
Guido van Rossum | 52f4915 | 1998-04-11 02:31:30 +0000 | [diff] [blame] | 67 | #define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk" |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 68 | typedef int pid_t; |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 69 | #define WORD_BIT 32 |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 70 | #pragma warning(disable:4113) |
| 71 | #define hypot _hypot |
| 72 | #include <stdio.h> |
| 73 | #define HAVE_CLOCK |
| 74 | #define HAVE_STRFTIME |
Guido van Rossum | 9b499d2 | 1998-08-12 02:10:05 +0000 | [diff] [blame] | 75 | #define HAVE_STRERROR |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 76 | #define NT_THREADS |
| 77 | #define WITH_THREAD |
| 78 | #ifndef NETSCAPE_PI |
| 79 | #define USE_SOCKET |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 80 | #endif |
| 81 | #ifdef USE_DL_IMPORT |
| 82 | #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE |
| 83 | #endif |
| 84 | #ifdef USE_DL_EXPORT |
| 85 | #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE |
Guido van Rossum | 9df827f | 1998-12-10 16:50:49 +0000 | [diff] [blame] | 86 | #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 87 | #endif |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 88 | |
Guido van Rossum | 3293b07 | 1998-08-25 16:07:15 +0000 | [diff] [blame] | 89 | #define HAVE_LONG_LONG 1 |
| 90 | #define LONG_LONG __int64 |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 91 | #endif /* _MSC_VER && > 850 */ |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 92 | |
| 93 | #if defined(_MSC_VER) && _MSC_VER <= 850 |
| 94 | /* Start of defines for 16-bit Windows using VC++ 1.5 */ |
| 95 | #define COMPILER "[MSC 16-bit]" |
| 96 | #define MS_WIN16 |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 97 | #define MS_WINDOWS |
Guido van Rossum | d3af2f3 | 1997-11-22 21:56:10 +0000 | [diff] [blame] | 98 | #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3" |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 99 | #define IMPORT_8x3_NAMES |
| 100 | typedef int pid_t; |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 101 | #define WORD_BIT 16 |
Guido van Rossum | 3d37f43 | 1999-01-14 18:51:53 +0000 | [diff] [blame] | 102 | #define SIZEOF_INT 2 |
| 103 | #define SIZEOF_LONG 4 |
| 104 | #define SIZEOF_VOID_P 4 |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 105 | #pragma warning(disable:4113) |
| 106 | #define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */ |
| 107 | #define hypot _hypot |
| 108 | #define SIGINT 2 |
| 109 | #include <stdio.h> |
| 110 | /* Windows 3.1 will not tolerate any console io in a dll */ |
| 111 | #ifdef _USRDLL |
| 112 | #include <time.h> |
Guido van Rossum | f57c170 | 1997-09-29 23:36:42 +0000 | [diff] [blame] | 113 | #ifdef __cplusplus |
| 114 | extern "C" { |
| 115 | #endif |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 116 | #define stdin ((FILE *)0) |
| 117 | #define stdout ((FILE *)1) |
| 118 | #define stderr ((FILE *)2) |
| 119 | #define fflush Py_fflush |
| 120 | int Py_fflush(FILE *); |
| 121 | #define fgets Py_fgets |
| 122 | char *Py_fgets(char *, int, FILE *); |
| 123 | #define fileno Py_fileno |
| 124 | int Py_fileno(FILE *); |
| 125 | #define fprintf Py_fprintf |
| 126 | int Py_fprintf(FILE *, const char *, ...); |
| 127 | #define printf Py_printf |
| 128 | int Py_printf(const char *, ...); |
| 129 | #define sscanf Py_sscanf |
| 130 | int Py_sscanf(const char *, const char *, ...); |
| 131 | clock_t clock(); |
| 132 | void _exit(int); |
| 133 | void exit(int); |
| 134 | int sscanf(const char *, const char *, ...); |
Guido van Rossum | f57c170 | 1997-09-29 23:36:42 +0000 | [diff] [blame] | 135 | #ifdef __cplusplus |
| 136 | } |
| 137 | #endif |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 138 | #endif /* _USRDLL */ |
| 139 | #ifndef NETSCAPE_PI |
| 140 | /* use sockets, but not in a Netscape dll */ |
| 141 | #define USE_SOCKET |
| 142 | #endif |
| 143 | #endif /* MS_WIN16 */ |
| 144 | |
| 145 | /* The Watcom compiler defines __WATCOMC__ */ |
| 146 | #ifdef __WATCOMC__ |
| 147 | #define COMPILER "[Watcom]" |
Guido van Rossum | d3af2f3 | 1997-11-22 21:56:10 +0000 | [diff] [blame] | 148 | #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3" |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 149 | #define IMPORT_8x3_NAMES |
| 150 | #include <ctype.h> |
| 151 | #include <direct.h> |
| 152 | typedef int mode_t; |
| 153 | typedef int uid_t; |
| 154 | typedef int gid_t; |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 155 | typedef int pid_t; |
| 156 | #if defined(__NT__) |
| 157 | #define NT /* NT is obsolete - please use MS_WIN32 instead */ |
| 158 | #define MS_WIN32 |
| 159 | #define MS_WINDOWS |
| 160 | #define NT_THREADS |
| 161 | #define USE_SOCKET |
| 162 | #define WITH_THREAD |
| 163 | #elif defined(__WINDOWS__) |
| 164 | #define MS_WIN16 |
| 165 | #define MS_WINDOWS |
| 166 | #endif |
| 167 | #ifdef M_I386 |
| 168 | #define WORD_BIT 32 |
Guido van Rossum | 3d37f43 | 1999-01-14 18:51:53 +0000 | [diff] [blame] | 169 | #define SIZEOF_INT 4 |
| 170 | #define SIZEOF_LONG 4 |
| 171 | #define SIZEOF_VOID_P 4 |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 172 | #else |
| 173 | #define WORD_BIT 16 |
Guido van Rossum | 3d37f43 | 1999-01-14 18:51:53 +0000 | [diff] [blame] | 174 | #define SIZEOF_INT 2 |
| 175 | #define SIZEOF_LONG 4 |
| 176 | #define SIZEOF_VOID_P 4 |
Guido van Rossum | 1bc716f | 1996-06-28 19:12:06 +0000 | [diff] [blame] | 177 | #endif |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 178 | #define VA_LIST_IS_ARRAY |
| 179 | #define HAVE_CLOCK |
| 180 | #define HAVE_STRFTIME |
| 181 | #ifdef USE_DL_EXPORT |
| 182 | #define DL_IMPORT(RTYPE) RTYPE __export |
| 183 | #endif |
| 184 | #endif /* __WATCOMC__ */ |
| 185 | |
| 186 | /* The Borland compiler defines __BORLANDC__ */ |
Guido van Rossum | cf6c0ea | 1996-10-21 14:52:24 +0000 | [diff] [blame] | 187 | /* XXX These defines are likely incomplete, but should be easy to fix. */ |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 188 | #ifdef __BORLANDC__ |
| 189 | #define COMPILER "[Borland]" |
Guido van Rossum | d3af2f3 | 1997-11-22 21:56:10 +0000 | [diff] [blame] | 190 | #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3" |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 191 | #define IMPORT_8x3_NAMES |
| 192 | #define HAVE_CLOCK |
| 193 | #define HAVE_STRFTIME |
| 194 | #ifdef USE_DL_IMPORT |
| 195 | #define DL_IMPORT(RTYPE) RTYPE __import |
| 196 | #endif |
| 197 | #endif /* BORLANDC */ |
| 198 | |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 199 | /* End of compilers - finish up */ |
| 200 | |
| 201 | #ifdef MS_WIN32 |
| 202 | #define PLATFORM "win32" |
| 203 | #else |
| 204 | #ifdef MS_WIN16 |
| 205 | #define PLATFORM "win16" |
| 206 | #else |
| 207 | #define PLATFORM "dos" |
| 208 | #endif /* !MS_WIN16 */ |
| 209 | #endif /* !MS_WIN32 */ |
| 210 | |
Guido van Rossum | f4aeb84 | 1998-02-19 20:59:23 +0000 | [diff] [blame] | 211 | #ifdef MS_WIN32 |
Guido van Rossum | d3ab101 | 1998-05-29 02:53:29 +0000 | [diff] [blame] | 212 | |
Guido van Rossum | 1a87be1 | 1998-08-08 18:25:43 +0000 | [diff] [blame] | 213 | #ifndef USE_DL_EXPORT |
Guido van Rossum | 446f033 | 1998-08-07 15:32:00 +0000 | [diff] [blame] | 214 | /* So nobody needs to specify the .lib in their Makefile any more */ |
| 215 | #ifdef _DEBUG |
| 216 | #pragma comment(lib,"python15_d.lib") |
| 217 | #else |
| 218 | #pragma comment(lib,"python15.lib") |
| 219 | #endif |
Guido van Rossum | 1a87be1 | 1998-08-08 18:25:43 +0000 | [diff] [blame] | 220 | #endif /* USE_DL_EXPORT */ |
Guido van Rossum | 446f033 | 1998-08-07 15:32:00 +0000 | [diff] [blame] | 221 | |
Guido van Rossum | d3ab101 | 1998-05-29 02:53:29 +0000 | [diff] [blame] | 222 | #define SIZEOF_INT 4 |
| 223 | #define SIZEOF_LONG 4 |
Guido van Rossum | b00d252 | 1998-09-17 13:19:36 +0000 | [diff] [blame] | 224 | #define SIZEOF_LONG_LONG 8 |
Guido van Rossum | d3ab101 | 1998-05-29 02:53:29 +0000 | [diff] [blame] | 225 | |
Guido van Rossum | 78694d9 | 1998-09-18 14:14:13 +0000 | [diff] [blame] | 226 | #ifdef _M_ALPHA |
| 227 | #define SIZEOF_VOID_P 8 |
| 228 | #else |
| 229 | #define SIZEOF_VOID_P 4 |
| 230 | #endif |
| 231 | |
Guido van Rossum | c87f5f4 | 1999-06-09 15:36:37 +0000 | [diff] [blame] | 232 | /* Smaller stack size limit. (9500 would work too, but we're conservative.) */ |
| 233 | |
| 234 | #ifndef MAX_RECURSION_DEPTH |
| 235 | #define MAX_RECURSION_DEPTH 5000 |
| 236 | #endif |
| 237 | |
| 238 | |
Guido van Rossum | f4aeb84 | 1998-02-19 20:59:23 +0000 | [diff] [blame] | 239 | /* EXPERIMENTAL FEATURE: When CHECK_IMPORT_CASE is defined, check case of |
| 240 | imported modules against case of file; this causes "import String" to fail |
| 241 | with a NameError exception when it finds "string.py". Normally, you set |
| 242 | the environment variable PYTHONCASEOK (to anything) to disable this |
| 243 | feature; to permanently disable it, #undef it here. This only works on |
| 244 | case-preserving filesystems; otherwise you definitely want it off. */ |
| 245 | #define CHECK_IMPORT_CASE |
| 246 | #endif |
| 247 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 248 | /* Fairly standard from here! */ |
| 249 | |
| 250 | /* Define if on AIX 3. |
| 251 | System headers sometimes define this. |
| 252 | We just want to avoid a redefinition error message. */ |
| 253 | #ifndef _ALL_SOURCE |
| 254 | /* #undef _ALL_SOURCE */ |
| 255 | #endif |
| 256 | |
| 257 | /* Define to empty if the keyword does not work. */ |
| 258 | /* #define const */ |
| 259 | |
| 260 | /* Define if you have dirent.h. */ |
| 261 | /* #define DIRENT 1 */ |
| 262 | |
| 263 | /* Define to the type of elements in the array set by `getgroups'. |
| 264 | Usually this is either `int' or `gid_t'. */ |
| 265 | /* #undef GETGROUPS_T */ |
| 266 | |
| 267 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 268 | /* #undef gid_t */ |
| 269 | |
| 270 | /* Define if your struct tm has tm_zone. */ |
| 271 | /* #undef HAVE_TM_ZONE */ |
| 272 | |
| 273 | /* Define if you don't have tm_zone but do have the external array |
| 274 | tzname. */ |
| 275 | #define HAVE_TZNAME |
| 276 | |
| 277 | /* Define if on MINIX. */ |
| 278 | /* #undef _MINIX */ |
| 279 | |
| 280 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 281 | /* #undef mode_t */ |
| 282 | |
| 283 | /* Define if you don't have dirent.h, but have ndir.h. */ |
| 284 | /* #undef NDIR */ |
| 285 | |
| 286 | /* Define to `long' if <sys/types.h> doesn't define. */ |
| 287 | /* #undef off_t */ |
| 288 | |
| 289 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 290 | /* #undef pid_t */ |
| 291 | |
| 292 | /* Define if the system does not provide POSIX.1 features except |
| 293 | with this defined. */ |
| 294 | /* #undef _POSIX_1_SOURCE */ |
| 295 | |
| 296 | /* Define if you need to in order for stat and other things to work. */ |
| 297 | /* #undef _POSIX_SOURCE */ |
| 298 | |
| 299 | /* Define as the return type of signal handlers (int or void). */ |
| 300 | #define RETSIGTYPE void |
| 301 | |
| 302 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
| 303 | /* #undef size_t */ |
| 304 | |
| 305 | /* Define if you have the ANSI C header files. */ |
| 306 | #define STDC_HEADERS 1 |
| 307 | |
| 308 | /* Define if you don't have dirent.h, but have sys/dir.h. */ |
| 309 | /* #undef SYSDIR */ |
| 310 | |
| 311 | /* Define if you don't have dirent.h, but have sys/ndir.h. */ |
| 312 | /* #undef SYSNDIR */ |
| 313 | |
| 314 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
| 315 | /* #undef TIME_WITH_SYS_TIME */ |
| 316 | |
| 317 | /* Define if your <sys/time.h> declares struct tm. */ |
| 318 | /* #define TM_IN_SYS_TIME 1 */ |
| 319 | |
| 320 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 321 | /* #undef uid_t */ |
| 322 | |
| 323 | /* Define if the closedir function returns void instead of int. */ |
| 324 | /* #undef VOID_CLOSEDIR */ |
| 325 | |
| 326 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
| 327 | (as it does on SGI IRIX 4.x) */ |
| 328 | /* #undef BAD_EXEC_PROTOTYPES */ |
| 329 | |
| 330 | /* Define if your compiler botches static forward declarations |
| 331 | (as it does on SCI ODT 3.0) */ |
| 332 | #define BAD_STATIC_FORWARD 1 |
| 333 | |
| 334 | /* Define if getpgrp() must be called as getpgrp(0) |
| 335 | and (consequently) setpgrp() as setpgrp(0, 0). */ |
| 336 | /* #undef GETPGRP_HAVE_ARGS */ |
| 337 | |
| 338 | /* Define this if your time.h defines altzone */ |
| 339 | /* #define HAVE_ALTZONE */ |
| 340 | |
Guido van Rossum | eaf9b6c | 1996-08-22 00:06:59 +0000 | [diff] [blame] | 341 | /* Define if you have the putenv function. */ |
| 342 | #ifdef MS_WIN32 |
| 343 | /* Does this exist on Win16? */ |
| 344 | #define HAVE_PUTENV |
| 345 | #endif |
| 346 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 347 | /* Define if your compiler supports function prototypes */ |
| 348 | #define HAVE_PROTOTYPES |
| 349 | |
| 350 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 351 | (which you can't on SCO ODT 3.0). */ |
| 352 | /* #undef SYS_SELECT_WITH_SYS_TIME */ |
| 353 | |
| 354 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 355 | This requires the "dl" library by Jack Jansen, |
| 356 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 357 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 358 | style shared libraries */ |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 359 | /* #undef WITH_SGI_DL */ |
| 360 | |
| 361 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 362 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 363 | Sequent Symmetry (Dynix), and Atari ST. |
| 364 | This requires the "dl-dld" library, |
| 365 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 366 | as well as the "GNU dld" library, |
| 367 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 368 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
Guido van Rossum | 950a126 | 1996-07-30 17:38:17 +0000 | [diff] [blame] | 369 | shared libraries */ |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 370 | /* #undef WITH_DL_DLD */ |
| 371 | |
| 372 | /* Define if you want to compile in rudimentary thread support */ |
| 373 | /* #undef WITH_THREAD */ |
| 374 | |
| 375 | /* Define if you want to use the GNU readline library */ |
| 376 | /* #define WITH_READLINE 1 */ |
| 377 | |
| 378 | /* Define if you have clock. */ |
| 379 | /* #define HAVE_CLOCK */ |
| 380 | |
| 381 | /* Define if you have ftime. */ |
| 382 | #define HAVE_FTIME |
| 383 | |
| 384 | /* Define if you have getpeername. */ |
Guido van Rossum | c339753 | 1997-05-06 15:58:18 +0000 | [diff] [blame] | 385 | #define HAVE_GETPEERNAME |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 386 | |
| 387 | /* Define if you have getpgrp. */ |
| 388 | /* #undef HAVE_GETPGRP */ |
| 389 | |
| 390 | /* Define if you have getpid. */ |
Guido van Rossum | c339753 | 1997-05-06 15:58:18 +0000 | [diff] [blame] | 391 | #define HAVE_GETPID |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 392 | |
| 393 | /* Define if you have gettimeofday. */ |
| 394 | /* #undef HAVE_GETTIMEOFDAY */ |
| 395 | |
| 396 | /* Define if you have getwd. */ |
| 397 | /* #undef HAVE_GETWD */ |
| 398 | |
| 399 | /* Define if you have lstat. */ |
| 400 | /* #undef HAVE_LSTAT */ |
| 401 | |
Guido van Rossum | 63096d4 | 1998-04-10 21:28:49 +0000 | [diff] [blame] | 402 | /* Define if you have the mktime function. */ |
| 403 | #define HAVE_MKTIME |
| 404 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 405 | /* Define if you have nice. */ |
| 406 | /* #undef HAVE_NICE */ |
| 407 | |
| 408 | /* Define if you have readlink. */ |
| 409 | /* #undef HAVE_READLINK */ |
| 410 | |
| 411 | /* Define if you have select. */ |
| 412 | /* #undef HAVE_SELECT */ |
| 413 | |
| 414 | /* Define if you have setpgid. */ |
| 415 | /* #undef HAVE_SETPGID */ |
| 416 | |
| 417 | /* Define if you have setpgrp. */ |
| 418 | /* #undef HAVE_SETPGRP */ |
| 419 | |
| 420 | /* Define if you have setsid. */ |
| 421 | /* #undef HAVE_SETSID */ |
| 422 | |
Guido van Rossum | c339753 | 1997-05-06 15:58:18 +0000 | [diff] [blame] | 423 | /* Define if you have setvbuf. */ |
| 424 | #define HAVE_SETVBUF |
| 425 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 426 | /* Define if you have siginterrupt. */ |
| 427 | /* #undef HAVE_SIGINTERRUPT */ |
| 428 | |
| 429 | /* Define if you have symlink. */ |
| 430 | /* #undef HAVE_SYMLINK */ |
| 431 | |
| 432 | /* Define if you have tcgetpgrp. */ |
| 433 | /* #undef HAVE_TCGETPGRP */ |
| 434 | |
| 435 | /* Define if you have tcsetpgrp. */ |
| 436 | /* #undef HAVE_TCSETPGRP */ |
| 437 | |
| 438 | /* Define if you have times. */ |
| 439 | /* #undef HAVE_TIMES */ |
| 440 | |
| 441 | /* Define if you have uname. */ |
| 442 | /* #undef HAVE_UNAME */ |
| 443 | |
| 444 | /* Define if you have waitpid. */ |
| 445 | /* #undef HAVE_WAITPID */ |
| 446 | |
| 447 | /* Define if you have the <dlfcn.h> header file. */ |
| 448 | /* #undef HAVE_DLFCN_H */ |
| 449 | |
| 450 | /* Define if you have the <fcntl.h> header file. */ |
| 451 | #define HAVE_FCNTL_H 1 |
| 452 | |
| 453 | /* Define if you have the <signal.h> header file. */ |
| 454 | #define HAVE_SIGNAL_H 1 |
| 455 | |
| 456 | /* Define if you have the <stdarg.h> header file. */ |
| 457 | #define HAVE_STDARG_H 1 |
| 458 | |
| 459 | /* Define if you have the <stdarg.h> prototypes. */ |
| 460 | #define HAVE_STDARG_PROTOTYPES |
| 461 | |
Guido van Rossum | 4da55f0 | 1998-09-23 13:35:45 +0000 | [diff] [blame] | 462 | /* Define if you have the <stddef.h> header file. */ |
| 463 | #define HAVE_STDDEF_H 1 |
| 464 | |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 465 | /* Define if you have the <stdlib.h> header file. */ |
| 466 | #define HAVE_STDLIB_H 1 |
| 467 | |
| 468 | /* Define if you have the <sys/audioio.h> header file. */ |
| 469 | /* #undef HAVE_SYS_AUDIOIO_H */ |
| 470 | |
| 471 | /* Define if you have the <sys/param.h> header file. */ |
| 472 | /* #define HAVE_SYS_PARAM_H 1 */ |
| 473 | |
| 474 | /* Define if you have the <sys/select.h> header file. */ |
| 475 | /* #define HAVE_SYS_SELECT_H 1 */ |
| 476 | |
| 477 | /* Define if you have the <sys/time.h> header file. */ |
| 478 | /* #define HAVE_SYS_TIME_H 1 */ |
| 479 | |
| 480 | /* Define if you have the <sys/times.h> header file. */ |
| 481 | /* #define HAVE_SYS_TIMES_H 1 */ |
| 482 | |
| 483 | /* Define if you have the <sys/un.h> header file. */ |
| 484 | /* #define HAVE_SYS_UN_H 1 */ |
| 485 | |
| 486 | /* Define if you have the <sys/utime.h> header file. */ |
| 487 | #define HAVE_SYS_UTIME_H 1 |
| 488 | |
| 489 | /* Define if you have the <sys/utsname.h> header file. */ |
| 490 | /* #define HAVE_SYS_UTSNAME_H 1 */ |
| 491 | |
| 492 | /* Define if you have the <thread.h> header file. */ |
| 493 | /* #undef HAVE_THREAD_H */ |
| 494 | |
| 495 | /* Define if you have the <unistd.h> header file. */ |
| 496 | /* #define HAVE_UNISTD_H 1 */ |
| 497 | |
| 498 | /* Define if you have the <utime.h> header file. */ |
| 499 | /* #define HAVE_UTIME_H 1 */ |
| 500 | |
| 501 | /* Define if you have the dl library (-ldl). */ |
| 502 | /* #undef HAVE_LIBDL */ |
| 503 | |
| 504 | /* Define if you have the mpc library (-lmpc). */ |
| 505 | /* #undef HAVE_LIBMPC */ |
| 506 | |
| 507 | /* Define if you have the nsl library (-lnsl). */ |
| 508 | #define HAVE_LIBNSL 1 |
| 509 | |
| 510 | /* Define if you have the seq library (-lseq). */ |
| 511 | /* #undef HAVE_LIBSEQ */ |
| 512 | |
| 513 | /* Define if you have the socket library (-lsocket). */ |
| 514 | #define HAVE_LIBSOCKET 1 |
| 515 | |
| 516 | /* Define if you have the sun library (-lsun). */ |
| 517 | /* #undef HAVE_LIBSUN */ |
| 518 | |
| 519 | /* Define if you have the termcap library (-ltermcap). */ |
| 520 | /* #undef HAVE_LIBTERMCAP */ |
| 521 | |
| 522 | /* Define if you have the termlib library (-ltermlib). */ |
| 523 | /* #undef HAVE_LIBTERMLIB */ |
| 524 | |
| 525 | /* Define if you have the thread library (-lthread). */ |
| 526 | /* #undef HAVE_LIBTHREAD */ |
Guido van Rossum | 87d5e70 | 1996-05-28 22:50:17 +0000 | [diff] [blame] | 527 | #endif /* !Py_CONFIG_H */ |