home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / CONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  2000-08-31  |  20.6 KB  |  744 lines

  1. #ifndef Py_CONFIG_H
  2. #define Py_CONFIG_H
  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.  
  10. WINDOWS DEFINES:
  11. The code specific to Windows should be wrapped around one of
  12. the following #defines
  13.  
  14. MS_WIN64 - Code specific to the MS Win64 API
  15. MS_WIN32 - Code specific to the MS Win32 (and Win64) API
  16. MS_WIN16 - Code specific to the old 16 bit Windows API.
  17. MS_WINDOWS - Code specific to Windows, but all versions.
  18. MS_COREDLL - Code if the Python core is built as a DLL.
  19.  
  20. Note that the old defines "NT" and "WIN32" are still supported, but
  21. will soon be dropped.
  22.  
  23. Also note that neither "_M_IX86" or "_MSC_VER" should be used for
  24. any purpose other than "Windows Intel x86 specific" and "Microsoft
  25. compiler specific".  Therefore, these should be very rare.
  26.  
  27. */
  28.  
  29.  
  30. /*
  31.  Some systems require special declarations for data items imported
  32.  or exported from dynamic link libraries.  Note that the definition
  33.  of DL_IMPORT covers both cases.  Define USE_DL_IMPORT for the client
  34.  of a DLL.  Define USE_DL_EXPORT when making a DLL.
  35. */
  36.  
  37. #include <io.h>
  38. #define HAVE_LIMITS_H
  39. #define HAVE_HYPOT
  40. #define DONT_HAVE_SIG_ALARM
  41. #define DONT_HAVE_SIG_PAUSE
  42. #define LONG_BIT    32
  43. #define PREFIX ""
  44. #define EXEC_PREFIX ""
  45.  
  46. /* Microsoft C defines _MSC_VER */
  47. #ifdef _MSC_VER
  48.  
  49. /* MSVC defines _WINxx to differentiate the windows platform types
  50.  
  51.    Note that for compatibility reasons _WIN32 is defined on Win32
  52.    *and* on Win64. For the same reasons, in Python, MS_WIN32 is
  53.    defined on Win32 *and* Win64. Win32 only code must therefore be
  54.    guarded as follows:
  55.        #if defined(MS_WIN32) && !defined(MS_WIN64)
  56. */
  57. #ifdef _WIN64
  58. #define MS_WIN64
  59. #endif
  60. #ifdef _WIN32
  61. #define NT    /* NT is obsolete - please use MS_WIN32 instead */
  62. #define MS_WIN32
  63. #endif
  64. #ifdef _WIN16
  65. #define MS_WIN16
  66. #endif
  67. #define MS_WINDOWS
  68.  
  69. /* set the COMPILER */
  70. #ifdef MS_WIN64
  71. #ifdef _M_IX86
  72. #define COMPILER "[MSC 64 bit (Intel)]"
  73. #elif defined(_M_ALPHA)
  74. #define COMPILER "[MSC 64 bit (Alpha)]"
  75. #else
  76. #define COMPILER "[MSC 64 bit (Unknown)]"
  77. #endif
  78. #endif /* MS_WIN64 */
  79.  
  80. #if defined(MS_WIN32) && !defined(MS_WIN64)
  81. #ifdef _M_IX86
  82. #define COMPILER "[MSC 32 bit (Intel)]"
  83. #elif defined(_M_ALPHA)
  84. #define COMPILER "[MSC 32 bit (Alpha)]"
  85. #else
  86. #define COMPILER "[MSC (Unknown)]"
  87. #endif
  88. #endif /* MS_WIN32 && !MS_WIN64 */
  89.  
  90. #endif /* _MSC_VER */
  91.  
  92. #if defined(_MSC_VER) && _MSC_VER > 850
  93. /* Start of defines for MS_WIN32 using VC++ 2.0 and up */
  94.  
  95. /* For NT the Python core is in a DLL by default.  Test the
  96. standard macro MS_COREDLL to find out.  If you have an exception
  97. you must define MS_NO_COREDLL (do not test this macro) */
  98. #ifndef MS_NO_COREDLL
  99. #define MS_COREDLL    /* Python core is in a DLL */
  100. #ifndef USE_DL_EXPORT
  101. #define USE_DL_IMPORT
  102. #endif /* !USE_DL_EXPORT */
  103. #endif /* !MS_NO_COREDLL */
  104.  
  105. #define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
  106. typedef int pid_t;
  107. #define WORD_BIT 32
  108. #pragma warning(disable:4113)
  109. #define hypot _hypot
  110. #include <stdio.h>
  111. #define HAVE_CLOCK
  112. #define HAVE_STRFTIME
  113. #define HAVE_STRERROR
  114. #define NT_THREADS
  115. #define WITH_THREAD
  116. #ifndef NETSCAPE_PI
  117. #define USE_SOCKET
  118. #endif
  119. #ifdef USE_DL_IMPORT
  120. #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
  121. #endif
  122. #ifdef USE_DL_EXPORT
  123. #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
  124. #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
  125. #endif
  126.  
  127. #define HAVE_LONG_LONG 1
  128. #define LONG_LONG __int64
  129. #endif /* _MSC_VER && > 850 */
  130.  
  131. #if defined(_MSC_VER) && _MSC_VER <= 850 /* presume this implies Win16 */
  132. /* Start of defines for 16-bit Windows using VC++ 1.5 */
  133. #define COMPILER "[MSC 16-bit]"
  134. #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
  135. #define IMPORT_8x3_NAMES
  136. typedef int pid_t;
  137. #define WORD_BIT 16
  138. #define SIZEOF_INT 2
  139. #define SIZEOF_LONG 4
  140. #define SIZEOF_VOID_P 4
  141. #pragma warning(disable:4113)
  142. #define memcpy memmove    /* memcpy dangerous pointer wrap in Win 3.1 */
  143. #define hypot _hypot
  144. #define SIGINT    2
  145. #include <stdio.h>
  146. /* Windows 3.1 will not tolerate any console io in a dll */
  147. #ifdef _USRDLL
  148. #include <time.h>
  149. #ifdef __cplusplus
  150. extern "C" {
  151. #endif
  152. #define stdin    ((FILE *)0)
  153. #define stdout    ((FILE *)1)
  154. #define stderr    ((FILE *)2)
  155. #define fflush    Py_fflush
  156. int Py_fflush(FILE *);
  157. #define fgets    Py_fgets
  158. char *Py_fgets(char *, int, FILE *);
  159. #define fileno    Py_fileno
  160. int Py_fileno(FILE *);
  161. #define fprintf    Py_fprintf
  162. int Py_fprintf(FILE *, const char *, ...);
  163. #define    printf    Py_printf
  164. int Py_printf(const char *, ...);
  165. #define sscanf    Py_sscanf
  166. int Py_sscanf(const char *, const char *, ...);
  167. clock_t clock();
  168. void _exit(int);
  169. void exit(int);
  170. int sscanf(const char *, const char *, ...);
  171. #ifdef __cplusplus
  172. }
  173. #endif
  174. #endif /* _USRDLL */
  175. #ifndef NETSCAPE_PI
  176. /* use sockets, but not in a Netscape dll */
  177. #define USE_SOCKET
  178. #endif
  179. #endif /* MS_WIN16 */
  180.  
  181. /* The Watcom compiler defines __WATCOMC__ */
  182. #ifdef __WATCOMC__
  183. #define COMPILER "[Watcom]"
  184. #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
  185. #define IMPORT_8x3_NAMES
  186. #include <ctype.h>
  187. #include <direct.h>
  188. typedef int mode_t;
  189. typedef int uid_t;
  190. typedef int gid_t;
  191. typedef int pid_t;
  192. #if defined(__NT__)
  193. #define NT    /* NT is obsolete - please use MS_WIN32 instead */
  194. #define MS_WIN32
  195. #define MS_WINDOWS
  196. #define NT_THREADS
  197. #define USE_SOCKET
  198. #define WITH_THREAD
  199. #elif defined(__WINDOWS__)
  200. #define MS_WIN16
  201. #define MS_WINDOWS
  202. #endif
  203. #ifdef M_I386
  204. #define WORD_BIT 32
  205. #define SIZEOF_INT 4
  206. #define SIZEOF_LONG 4
  207. #define SIZEOF_VOID_P 4
  208. #else
  209. #define WORD_BIT 16
  210. #define SIZEOF_INT 2
  211. #define SIZEOF_LONG 4
  212. #define SIZEOF_VOID_P 4
  213. #endif
  214. #define VA_LIST_IS_ARRAY
  215. #define HAVE_CLOCK
  216. #define HAVE_STRFTIME
  217. #ifdef USE_DL_EXPORT
  218. #define DL_IMPORT(RTYPE) RTYPE __export
  219. #endif
  220. #endif /* __WATCOMC__ */
  221.  
  222. /* The Borland compiler defines __BORLANDC__ */
  223. /* XXX These defines are likely incomplete, but should be easy to fix. */
  224. #ifdef __BORLANDC__
  225. #define COMPILER "[Borland]"
  226. #define HAVE_CLOCK
  227. #define HAVE_STRFTIME
  228.  
  229. #ifdef _WIN32
  230.  
  231. /* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
  232.  */
  233. #define NT    /* NT is obsolete - please use MS_WIN32 instead */
  234. #define MS_WIN32
  235. #define MS_WINDOWS
  236.  
  237. /* For NT the Python core is in a DLL by default.  Test the
  238. standard macro MS_COREDLL to find out.  If you have an exception
  239. you must define MS_NO_COREDLL (do not test this macro) */
  240. #ifndef MS_NO_COREDLL
  241. #define MS_COREDLL    /* Python core is in a DLL */
  242. #ifndef USE_DL_EXPORT
  243. #define USE_DL_IMPORT
  244. #endif /* !USE_DL_EXPORT */
  245. #endif /* !MS_NO_COREDLL */
  246.  
  247. #define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
  248. typedef int pid_t;
  249. #define WORD_BIT 32
  250. #include <stdio.h>
  251. #define HAVE_STRERROR
  252. #define NT_THREADS
  253. #define WITH_THREAD
  254. #ifndef NETSCAPE_PI
  255. #define USE_SOCKET
  256. #endif
  257. /* BCC55 seems to understand __declspec(dllimport), it is used in its
  258.    own header files (winnt.h, ...) */
  259. #ifdef USE_DL_IMPORT
  260. #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
  261. #endif
  262. #ifdef USE_DL_EXPORT
  263. #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
  264. #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
  265. #endif
  266.  
  267. #define HAVE_LONG_LONG 1
  268. #define LONG_LONG __int64
  269.  
  270. #else /* !_WIN32 */
  271. /* XXX These defines are likely incomplete, but should be easy to fix. */
  272.  
  273. #define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
  274. #define IMPORT_8x3_NAMES
  275. #ifdef USE_DL_IMPORT
  276. #define DL_IMPORT(RTYPE)  RTYPE __import
  277. #endif
  278.  
  279. #endif /* !_WIN32 */
  280.  
  281. #endif /* BORLANDC */
  282.  
  283. /* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
  284. #if defined(__GNUC__) && defined(_WIN32)
  285. /* XXX These defines are likely incomplete, but should be easy to fix. 
  286.    They should be complete enough to build extension modules. */
  287. /* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
  288.    bug that requires structure imports.  More recent versions of the
  289.    compiler don't exhibit this bug.
  290. */
  291. #if (__GNUC__==2) && (__GNUC_MINOR__<=91)
  292. #warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
  293. #endif
  294.  
  295. #define NT    /* NT is obsolete - please use MS_WIN32 instead */
  296. #define MS_WIN32
  297. #define MS_WINDOWS
  298.  
  299. /* For NT the Python core is in a DLL by default.  Test the
  300. standard macro MS_COREDLL to find out.  If you have an exception
  301. you must define MS_NO_COREDLL (do not test this macro) */
  302. #ifndef MS_NO_COREDLL
  303. #define MS_COREDLL    /* Python core is in a DLL */
  304. #ifndef USE_DL_EXPORT
  305. #define USE_DL_IMPORT
  306. #endif /* !USE_DL_EXPORT */
  307. #endif /* !MS_NO_COREDLL */
  308.  
  309. #define COMPILER "[gcc]"
  310. #define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
  311. #define WORD_BIT 32
  312. #define hypot _hypot
  313. #include <stdio.h>
  314. #define HAVE_CLOCK
  315. #define HAVE_STRFTIME
  316. #define HAVE_STRERROR
  317. #define NT_THREADS
  318. #define WITH_THREAD
  319. #ifndef NETSCAPE_PI
  320. #define USE_SOCKET
  321. #endif
  322. #ifdef USE_DL_IMPORT
  323. #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
  324. #endif
  325. #ifdef USE_DL_EXPORT
  326. #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
  327. #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
  328. #endif
  329.  
  330. #define HAVE_LONG_LONG 1
  331. #define LONG_LONG long long 
  332. #endif /* GNUC */
  333.  
  334. /* lcc-win32 defines __LCC__ */
  335.  
  336. #if defined(__LCC__)
  337. /* XXX These defines are likely incomplete, but should be easy to fix. 
  338.    They should be complete enough to build extension modules. */
  339.  
  340. #define NT    /* NT is obsolete - please use MS_WIN32 instead */
  341. #define MS_WIN32
  342. #define MS_WINDOWS
  343.  
  344. /* For NT the Python core is in a DLL by default.  Test the
  345. standard macro MS_COREDLL to find out.  If you have an exception
  346. you must define MS_NO_COREDLL (do not test this macro) */
  347. #ifndef MS_NO_COREDLL
  348. #define MS_COREDLL    /* Python core is in a DLL */
  349. #ifndef USE_DL_EXPORT
  350. #define USE_DL_IMPORT
  351. #endif /* !USE_DL_EXPORT */
  352. #endif /* !MS_NO_COREDLL */
  353.  
  354. #define COMPILER "[lcc-win32]"
  355. #define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
  356. typedef int pid_t;
  357. #define WORD_BIT 32
  358. #include <stdio.h>
  359. #define HAVE_CLOCK
  360. #define HAVE_STRFTIME
  361. #define HAVE_STRERROR
  362. #define NT_THREADS
  363. #define WITH_THREAD
  364. #ifndef NETSCAPE_PI
  365. #define USE_SOCKET
  366. #endif
  367. #ifdef USE_DL_IMPORT
  368. #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
  369. #endif
  370. #ifdef USE_DL_EXPORT
  371. #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
  372. #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
  373. #endif
  374.  
  375. #define HAVE_LONG_LONG 1
  376. #define LONG_LONG __int64
  377. #endif /* LCC */
  378.  
  379. /* End of compilers - finish up */
  380.  
  381. /* define some ANSI types that are not defined in earlier Win headers */
  382. #if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
  383. #include <basetsd.h>
  384. #endif
  385. #if defined(MS_WINDOWS) && !defined(MS_WIN64)
  386. typedef long intptr_t;
  387. typedef unsigned long uintptr_t;
  388. #endif
  389.  
  390. #if defined(MS_WIN64)
  391. /* maintain "win32" sys.platform for backward compatibility of Python code,
  392.    the Win64 API should be close enough to the Win32 API to make this
  393.    preferable */
  394. #    define PLATFORM "win32"
  395. #    define SIZEOF_VOID_P 8
  396. #    define SIZEOF_TIME_T 8
  397. #    define SIZEOF_OFF_T 4
  398. #    define SIZEOF_FPOS_T 8
  399. #    define SIZEOF_HKEY 8
  400. /* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
  401.    sizeof(off_t) > sizeof(long), and sizeof(LONG_LONG) >= sizeof(off_t).
  402.    On Win64 the second condition is not true, but if fpos_t replaces off_t
  403.    then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
  404.    should define this. */
  405. #    define HAVE_LARGEFILE_SUPPORT
  406. #elif defined(MS_WIN32)
  407. #    define PLATFORM "win32"
  408. #    ifdef _M_ALPHA
  409. #        define SIZEOF_VOID_P 8
  410. #        define SIZEOF_TIME_T 8
  411. #    else
  412. #        define SIZEOF_VOID_P 4
  413. #        define SIZEOF_TIME_T 4
  414. #        define SIZEOF_OFF_T 4
  415. #        define SIZEOF_FPOS_T 8
  416. #        define SIZEOF_HKEY 4
  417. #    endif
  418. #elif defined(MS_WIN16)
  419. #    define PLATFORM "win16"
  420. #else
  421. #    define PLATFORM "dos"
  422. #endif
  423.  
  424.  
  425. #ifdef MS_WIN32
  426.  
  427. #if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
  428. /* So nobody using MSVC needs to specify the .lib in their Makefile any
  429.    more (other compilers will still need to do so, but that's taken care
  430.    of by the Distutils, so it's not a problem). */
  431. #ifdef _DEBUG
  432. #pragma comment(lib,"python20_d.lib")
  433. #else
  434. #pragma comment(lib,"python20.lib")
  435. #endif
  436. #endif /* USE_DL_EXPORT */
  437.  
  438. #ifdef _DEBUG
  439. #define Py_DEBUG
  440. #endif
  441.  
  442. #define SIZEOF_INT 4
  443. #define SIZEOF_LONG 4
  444. #define SIZEOF_LONG_LONG 8
  445.  
  446. /* EXPERIMENTAL FEATURE: When CHECK_IMPORT_CASE is defined, check case of
  447.    imported modules against case of file; this causes "import String" to fail
  448.    with a NameError exception when it finds "string.py".  Normally, you set
  449.    the environment variable PYTHONCASEOK (to anything) to disable this
  450.    feature; to permanently disable it, #undef it here.  This only works on
  451.    case-preserving filesystems; otherwise you definitely want it off. */
  452. #define CHECK_IMPORT_CASE
  453. #endif
  454.  
  455. /* Fairly standard from here! */
  456.  
  457. /* Define if on AIX 3.
  458.    System headers sometimes define this.
  459.    We just want to avoid a redefinition error message.  */
  460. #ifndef _ALL_SOURCE
  461. /* #undef _ALL_SOURCE */
  462. #endif
  463.  
  464. /* Define to empty if the keyword does not work.  */
  465. /* #define const  */
  466.  
  467. /* Define if you have dirent.h.  */
  468. /* #define DIRENT 1 */
  469.  
  470. /* Define to the type of elements in the array set by `getgroups'.
  471.    Usually this is either `int' or `gid_t'.  */
  472. /* #undef GETGROUPS_T */
  473.  
  474. /* Define to `int' if <sys/types.h> doesn't define.  */
  475. /* #undef gid_t */
  476.  
  477. /* Define if your struct tm has tm_zone.  */
  478. /* #undef HAVE_TM_ZONE */
  479.  
  480. /* Define if you don't have tm_zone but do have the external array
  481.    tzname.  */
  482. #define HAVE_TZNAME
  483.  
  484. /* Define if on MINIX.  */
  485. /* #undef _MINIX */
  486.  
  487. /* Define to `int' if <sys/types.h> doesn't define.  */
  488. /* #undef mode_t */
  489.  
  490. /* Define if you don't have dirent.h, but have ndir.h.  */
  491. /* #undef NDIR */
  492.  
  493. /* Define to `long' if <sys/types.h> doesn't define.  */
  494. /* #undef off_t */
  495.  
  496. /* Define to `int' if <sys/types.h> doesn't define.  */
  497. /* #undef pid_t */
  498.  
  499. /* Define if the system does not provide POSIX.1 features except
  500.    with this defined.  */
  501. /* #undef _POSIX_1_SOURCE */
  502.  
  503. /* Define if you need to in order for stat and other things to work.  */
  504. /* #undef _POSIX_SOURCE */
  505.  
  506. /* Define as the return type of signal handlers (int or void).  */
  507. #define RETSIGTYPE void
  508.  
  509. /* Define to `unsigned' if <sys/types.h> doesn't define.  */
  510. /* #undef size_t */
  511.  
  512. /* Define to `int' if <sys/types.h> doesn't define.  */
  513. #define socklen_t int
  514.  
  515. /* Define if you have the ANSI C header files.  */
  516. #define STDC_HEADERS 1
  517.  
  518. /* Define if you don't have dirent.h, but have sys/dir.h.  */
  519. /* #undef SYSDIR */
  520.  
  521. /* Define if you don't have dirent.h, but have sys/ndir.h.  */
  522. /* #undef SYSNDIR */
  523.  
  524. /* Define if you can safely include both <sys/time.h> and <time.h>.  */
  525. /* #undef TIME_WITH_SYS_TIME */
  526.  
  527. /* Define if your <sys/time.h> declares struct tm.  */
  528. /* #define TM_IN_SYS_TIME 1 */
  529.  
  530. /* Define to `int' if <sys/types.h> doesn't define.  */
  531. /* #undef uid_t */
  532.  
  533. /* Define if the closedir function returns void instead of int.  */
  534. /* #undef VOID_CLOSEDIR */
  535.  
  536. /* Define if your <unistd.h> contains bad prototypes for exec*()
  537.    (as it does on SGI IRIX 4.x) */
  538. /* #undef BAD_EXEC_PROTOTYPES */
  539.  
  540. /* Define if your compiler botches static forward declarations
  541.    (as it does on SCI ODT 3.0) */
  542. #define BAD_STATIC_FORWARD 1
  543.  
  544. /* Define if getpgrp() must be called as getpgrp(0)
  545.    and (consequently) setpgrp() as setpgrp(0, 0). */
  546. /* #undef GETPGRP_HAVE_ARGS */
  547.  
  548. /* Define this if your time.h defines altzone */
  549. /* #define HAVE_ALTZONE */
  550.  
  551. /* Define if you have the putenv function.  */
  552. #ifdef MS_WIN32
  553. /* Does this exist on Win16? */
  554. #define HAVE_PUTENV
  555. #endif
  556.  
  557. /* Define if your compiler supports function prototypes */
  558. #define HAVE_PROTOTYPES
  559.  
  560. /* Define if  you can safely include both <sys/select.h> and <sys/time.h>
  561.    (which you can't on SCO ODT 3.0). */
  562. /* #undef SYS_SELECT_WITH_SYS_TIME */
  563.  
  564. /* Define if you want to use SGI (IRIX 4) dynamic linking.
  565.    This requires the "dl" library by Jack Jansen,
  566.    ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
  567.    Don't bother on IRIX 5, it already has dynamic linking using SunOS
  568.    style shared libraries */
  569. /* #undef WITH_SGI_DL */
  570.  
  571. /* Define if you want to emulate SGI (IRIX 4) dynamic linking.
  572.    This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
  573.    Sequent Symmetry (Dynix), and Atari ST.
  574.    This requires the "dl-dld" library,
  575.    ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
  576.    as well as the "GNU dld" library,
  577.    ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
  578.    Don't bother on SunOS 4 or 5, they already have dynamic linking using
  579.    shared libraries */
  580. /* #undef WITH_DL_DLD */
  581.  
  582. /* Define if you want to compile in rudimentary thread support */
  583. /* #undef WITH_THREAD */
  584.  
  585. /* Define if you want to use the GNU readline library */
  586. /* #define WITH_READLINE 1 */
  587.  
  588. /* Define if you want cycle garbage collection */
  589. #define WITH_CYCLE_GC 1
  590.  
  591. /* Define if you have clock.  */
  592. /* #define HAVE_CLOCK */
  593.  
  594. /* Define when any dynamic module loading is enabled */
  595. #define HAVE_DYNAMIC_LOADING
  596.  
  597. /* Define if you have ftime.  */
  598. #define HAVE_FTIME
  599.  
  600. /* Define if you have getpeername.  */
  601. #define HAVE_GETPEERNAME
  602.  
  603. /* Define if you have getpgrp.  */
  604. /* #undef HAVE_GETPGRP */
  605.  
  606. /* Define if you have getpid.  */
  607. #define HAVE_GETPID
  608.  
  609. /* Define if you have gettimeofday.  */
  610. /* #undef HAVE_GETTIMEOFDAY */
  611.  
  612. /* Define if you have getwd.  */
  613. /* #undef HAVE_GETWD */
  614.  
  615. /* Define if you have lstat.  */
  616. /* #undef HAVE_LSTAT */
  617.  
  618. /* Define if you have the mktime function.  */
  619. #define HAVE_MKTIME
  620.  
  621. /* Define if you have nice.  */
  622. /* #undef HAVE_NICE */
  623.  
  624. /* Define if you have readlink.  */
  625. /* #undef HAVE_READLINK */
  626.  
  627. /* Define if you have select.  */
  628. /* #undef HAVE_SELECT */
  629.  
  630. /* Define if you have setpgid.  */
  631. /* #undef HAVE_SETPGID */
  632.  
  633. /* Define if you have setpgrp.  */
  634. /* #undef HAVE_SETPGRP */
  635.  
  636. /* Define if you have setsid.  */
  637. /* #undef HAVE_SETSID */
  638.  
  639. /* Define if you have setvbuf.  */
  640. #define HAVE_SETVBUF
  641.  
  642. /* Define if you have siginterrupt.  */
  643. /* #undef HAVE_SIGINTERRUPT */
  644.  
  645. /* Define if you have symlink.  */
  646. /* #undef HAVE_SYMLINK */
  647.  
  648. /* Define if you have tcgetpgrp.  */
  649. /* #undef HAVE_TCGETPGRP */
  650.  
  651. /* Define if you have tcsetpgrp.  */
  652. /* #undef HAVE_TCSETPGRP */
  653.  
  654. /* Define if you have times.  */
  655. /* #undef HAVE_TIMES */
  656.  
  657. /* Define if you have uname.  */
  658. /* #undef HAVE_UNAME */
  659.  
  660. /* Define if you have waitpid.  */
  661. /* #undef HAVE_WAITPID */
  662.  
  663. /* Define if you have the <dlfcn.h> header file.  */
  664. /* #undef HAVE_DLFCN_H */
  665.  
  666. /* Define if you have the <fcntl.h> header file.  */
  667. #define HAVE_FCNTL_H 1
  668.  
  669. /* Define if you have the <signal.h> header file.  */
  670. #define HAVE_SIGNAL_H 1
  671.  
  672. /* Define if you have the <stdarg.h> header file.  */
  673. #define HAVE_STDARG_H 1
  674.  
  675. /* Define if you have the <stdarg.h> prototypes.  */
  676. #define HAVE_STDARG_PROTOTYPES
  677.  
  678. /* Define if you have the <stddef.h> header file.  */
  679. #define HAVE_STDDEF_H 1
  680.  
  681. /* Define if you have the <stdlib.h> header file.  */
  682. #define HAVE_STDLIB_H 1
  683.  
  684. /* Define if you have the <sys/audioio.h> header file.  */
  685. /* #undef HAVE_SYS_AUDIOIO_H */
  686.  
  687. /* Define if you have the <sys/param.h> header file.  */
  688. /* #define HAVE_SYS_PARAM_H 1 */
  689.  
  690. /* Define if you have the <sys/select.h> header file.  */
  691. /* #define HAVE_SYS_SELECT_H 1 */
  692.  
  693. /* Define if you have the <sys/time.h> header file.  */
  694. /* #define HAVE_SYS_TIME_H 1 */
  695.  
  696. /* Define if you have the <sys/times.h> header file.  */
  697. /* #define HAVE_SYS_TIMES_H 1 */
  698.  
  699. /* Define if you have the <sys/un.h> header file.  */
  700. /* #define HAVE_SYS_UN_H 1 */
  701.  
  702. /* Define if you have the <sys/utime.h> header file.  */
  703. #define HAVE_SYS_UTIME_H 1
  704.  
  705. /* Define if you have the <sys/utsname.h> header file.  */
  706. /* #define HAVE_SYS_UTSNAME_H 1 */
  707.  
  708. /* Define if you have the <thread.h> header file.  */
  709. /* #undef HAVE_THREAD_H */
  710.  
  711. /* Define if you have the <unistd.h> header file.  */
  712. /* #define HAVE_UNISTD_H 1 */
  713.  
  714. /* Define if you have the <utime.h> header file.  */
  715. /* #define HAVE_UTIME_H 1 */
  716.  
  717. /* Define if you have the dl library (-ldl).  */
  718. /* #undef HAVE_LIBDL */
  719.  
  720. /* Define if you have the mpc library (-lmpc).  */
  721. /* #undef HAVE_LIBMPC */
  722.  
  723. /* Define if you have the nsl library (-lnsl).  */
  724. #define HAVE_LIBNSL 1
  725.  
  726. /* Define if you have the seq library (-lseq).  */
  727. /* #undef HAVE_LIBSEQ */
  728.  
  729. /* Define if you have the socket library (-lsocket).  */
  730. #define HAVE_LIBSOCKET 1
  731.  
  732. /* Define if you have the sun library (-lsun).  */
  733. /* #undef HAVE_LIBSUN */
  734.  
  735. /* Define if you have the termcap library (-ltermcap).  */
  736. /* #undef HAVE_LIBTERMCAP */
  737.  
  738. /* Define if you have the termlib library (-ltermlib).  */
  739. /* #undef HAVE_LIBTERMLIB */
  740.  
  741. /* Define if you have the thread library (-lthread).  */
  742. /* #undef HAVE_LIBTHREAD */
  743. #endif /* !Py_CONFIG_H */
  744.