blob: e954200e840f3fc3f734ff71da94f0438f26b0ba [file] [log] [blame]
Guido van Rossum79556aa1994-01-04 22:02:27 +00001/* Leave this blank line here -- autoheader needs it! */
2
3
Guido van Rossum4c3f57c2001-01-10 20:40:46 +00004/* Define for AIX if your compiler is a genuine IBM xlC/xlC_r
5 and you want support for AIX C++ shared extension modules. */
6#undef AIX_GENUINE_CPLUSPLUS
7
Guido van Rossum79556aa1994-01-04 22:02:27 +00008/* Define if your <unistd.h> contains bad prototypes for exec*()
9 (as it does on SGI IRIX 4.x) */
10#undef BAD_EXEC_PROTOTYPES
11
Guido van Rossum2712c161994-01-11 12:00:38 +000012/* Define if your compiler botches static forward declarations
13 (as it does on SCI ODT 3.0) */
14#undef BAD_STATIC_FORWARD
15
Guido van Rossum25221361998-10-02 14:41:38 +000016/* Define this if you have BeOS threads */
17#undef BEOS_THREADS
18
Guido van Rossum94d46d51996-07-30 18:05:21 +000019/* Define if you have the Mach cthreads package */
20#undef C_THREADS
21
Martin v. Löwisa6e97582002-01-01 18:41:33 +000022/* Define if you are using Mach cthreads under mach / */
23#undef MACH_C_THREADS
24
25/* Define if you are using Mach cthreads directly under /include */
26#undef HURD_C_THREADS
27
Guido van Rossum32d8ba41994-07-01 15:28:52 +000028/* Define to `long' if <time.h> doesn't define. */
29#undef clock_t
30
Martin v. Löwise8964d42001-03-06 12:09:07 +000031/* Defined on Solaris to see additional function prototypes. */
32#undef __EXTENSIONS__
33
Guido van Rossumb8552162001-09-05 14:58:11 +000034/* This must be set to 64 on some systems to enable large file support */
35#undef _FILE_OFFSET_BITS
36
Guido van Rossum2bcafeb1994-10-20 22:06:56 +000037/* Define if getpgrp() must be called as getpgrp(0). */
Guido van Rossum0039f511994-06-23 12:17:51 +000038#undef GETPGRP_HAVE_ARG
Guido van Rossum79556aa1994-01-04 22:02:27 +000039
Guido van Rossum76be6ed1995-01-02 18:33:54 +000040/* Define if gettimeofday() does not have second (timezone) argument
41 This is the case on Motorola V4 (R40V4.2) */
42#undef GETTIMEOFDAY_NO_TZ
Guido van Rossum2bcafeb1994-10-20 22:06:56 +000043
Guido van Rossum4c627be1994-01-13 15:47:04 +000044/* Define this if your time.h defines altzone */
45#undef HAVE_ALTZONE
46
Martin v. Löwis01dfdb32001-06-23 16:30:13 +000047/* Define if --enable-ipv6 is specified */
48#undef ENABLE_IPV6
49
50/* Define if sockaddr has sa_len member */
51#undef HAVE_SOCKADDR_SA_LEN
52
53/* struct addrinfo (netdb.h) */
54#undef HAVE_ADDRINFO
55
Martin v. Löwisa6e97582002-01-01 18:41:33 +000056/* Define if you have the getaddrinfo function. */
57#undef HAVE_GETADDRINFO
58
Martin v. Löwis01dfdb32001-06-23 16:30:13 +000059/* struct sockaddr_storage (sys/socket.h) */
60#undef HAVE_SOCKADDR_STORAGE
61
Guido van Rossum4c3f57c2001-01-10 20:40:46 +000062/* Defined when any dynamic module loading is enabled */
63#undef HAVE_DYNAMIC_LOADING
64
Guido van Rossumcadfaec2001-01-05 14:45:49 +000065/* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
66#undef HAVE_GETC_UNLOCKED
67
Guido van Rossum7152e9b1999-03-22 21:46:06 +000068/* Define this if you have gethostbyname() */
Guido van Rossumc6f6df31999-12-16 17:49:02 +000069#undef HAVE_GETHOSTBYNAME
Guido van Rossum7152e9b1999-03-22 21:46:06 +000070
71/* Define this if you have some version of gethostbyname_r() */
72#undef HAVE_GETHOSTBYNAME_R
73
74/* Define this if you have the 3-arg version of gethostbyname_r() */
75#undef HAVE_GETHOSTBYNAME_R_3_ARG
76
77/* Define this if you have the 5-arg version of gethostbyname_r() */
78#undef HAVE_GETHOSTBYNAME_R_5_ARG
79
80/* Define this if you have the 6-arg version of gethostbyname_r() */
81#undef HAVE_GETHOSTBYNAME_R_6_ARG
82
Guido van Rossum4c3f57c2001-01-10 20:40:46 +000083/* Defined to enable large file support when an off_t is bigger than a long
84 and long long is available and at least as big as an off_t. You may need
85 to add some flags for configuration and compilation to enable this mode.
Guido van Rossum810cc512001-09-09 23:51:39 +000086 (For Solaris and Linux, the necessary defines are already defined.)
Guido van Rossum4c3f57c2001-01-10 20:40:46 +000087*/
88#undef HAVE_LARGEFILE_SUPPORT
89
Guido van Rossum25221361998-10-02 14:41:38 +000090/* Define this if you have the type long long */
91#undef HAVE_LONG_LONG
92
Guido van Rossum79556aa1994-01-04 22:02:27 +000093/* Define if your compiler supports function prototypes */
94#undef HAVE_PROTOTYPES
95
Guido van Rossum9e8181b2000-09-19 00:46:46 +000096/* Define if you have GNU PTH threads */
97#undef HAVE_PTH
98
Martin v. Löwis0daad592001-09-30 21:09:59 +000099/* Define if you have readline 4.0 */
100#undef HAVE_RL_PRE_INPUT_HOOK
101
Guido van Rossum353ae582001-07-10 16:45:32 +0000102/* Define if you have readline 4.2 */
103#undef HAVE_RL_COMPLETION_MATCHES
104
Guido van Rossumaff69061994-02-15 15:52:14 +0000105/* Define if your compiler supports variable length function prototypes
106 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
107#undef HAVE_STDARG_PROTOTYPES
108
Eric S. Raymond13603592001-01-16 15:01:26 +0000109/* Define if you have termios available */
110#undef HAVE_TERMIOS_H
111
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000112/* Define this if you have the type uintptr_t */
113#undef HAVE_UINTPTR_T
114
115/* Define if you have a useable wchar_t type defined in wchar.h; useable
116 means wchar_t must be 16-bit unsigned type. (see
117 Include/unicodeobject.h). */
118#undef HAVE_USABLE_WCHAR_T
119
120/* Define if the compiler provides a wchar.h header file. */
121#undef HAVE_WCHAR_H
122
Guido van Rossumb8552162001-09-05 14:58:11 +0000123/* This must be defined on some systems to enable large file support */
124#undef _LARGEFILE_SOURCE
125
Martin v. Löwis0ba70cc2001-06-26 22:22:37 +0000126/* Define if you want to have a Unicode type. */
127#undef Py_USING_UNICODE
128
129/* Define as the integral type used for Unicode representation. */
130#undef PY_UNICODE_TYPE
131
132/* Define as the size of the unicode type. */
133#undef Py_UNICODE_SIZE
134
Thomas Wouterse38b2f12001-07-11 22:35:31 +0000135/* Define if nice() returns success/failure instead of the new priority. */
136#undef HAVE_BROKEN_NICE
137
Guido van Rossum443389f1997-07-10 22:43:05 +0000138/* Define if malloc(0) returns a NULL pointer */
139#undef MALLOC_ZERO_RETURNS_NULL
140
Guido van Rossumc5832ff1994-05-09 15:10:49 +0000141/* Define if you have POSIX threads */
142#undef _POSIX_THREADS
143
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000144/* Define if you want to build an interpreter with many run-time checks */
145#undef Py_DEBUG
146
Guido van Rossum93ee6e01996-07-31 17:35:30 +0000147/* Define to force use of thread-safe errno, h_errno, and other functions */
148#undef _REENTRANT
149
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000150/* Define if setpgrp() must be called as setpgrp(0, 0). */
151#undef SETPGRP_HAVE_ARG
152
Guido van Rossumaff69061994-02-15 15:52:14 +0000153/* Define to empty if the keyword does not work. */
154#undef signed
155
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000156/* Define if i>>j for signed int i does not extend the sign bit
157 when i < 0
158*/
159#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
160
161/* The number of bytes in an off_t. */
162#undef SIZEOF_OFF_T
163
164/* The number of bytes in a time_t. */
165#undef SIZEOF_TIME_T
166
167/* The number of bytes in a pthread_t. */
168#undef SIZEOF_PTHREAD_T
169
Guido van Rossumd0b69ec2001-09-10 14:10:54 +0000170/* Defined if PTHREAD_SCOPE_SYSTEM supported. */
171#undef PTHREAD_SYSTEM_SCHED_SUPPORTED
172
Guido van Rossum25221361998-10-02 14:41:38 +0000173/* sizeof(void *) */
174#undef SIZEOF_VOID_P
175
Guido van Rossum59903fe2000-04-24 15:12:04 +0000176/* Define to `int' if <sys/types.h> doesn't define. */
177#undef socklen_t
178
Guido van Rossum79556aa1994-01-04 22:02:27 +0000179/* Define for SOLARIS 2.x */
180#undef SOLARIS
181
Guido van Rossumf1009e81994-01-04 23:29:10 +0000182/* Define if you can safely include both <sys/select.h> and <sys/time.h>
183 (which you can't on SCO ODT 3.0). */
Guido van Rossum79556aa1994-01-04 22:02:27 +0000184#undef SYS_SELECT_WITH_SYS_TIME
185
Guido van Rossum76be6ed1995-01-02 18:33:54 +0000186/* Define if a va_list is an array of some kind */
187#undef VA_LIST_IS_ARRAY
188
189/* Define to empty if the keyword does not work. */
190#undef volatile
191
Guido van Rossum7a24c371997-05-09 02:41:10 +0000192/* Define if you want SIGFPE handled (see Include/pyfpe.h). */
193#undef WANT_SIGFPE_HANDLER
194
Guido van Rossumef2255b2000-03-10 22:30:29 +0000195/* Define if you want wctype.h functions to be used instead of the
196 one supplied by Python itself. (see Include/unicodectype.h). */
197#undef WANT_WCTYPE_FUNCTIONS
198
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000199/* Define if you want to compile in cycle garbage collection */
200#undef WITH_CYCLE_GC
Guido van Rossum2712c161994-01-11 12:00:38 +0000201
202/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
203 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
204 Sequent Symmetry (Dynix), and Atari ST.
205 This requires the "dl-dld" library,
206 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
207 as well as the "GNU dld" library,
208 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
209 Don't bother on SunOS 4 or 5, they already have dynamic linking using
210 shared libraries */
211#undef WITH_DL_DLD
212
Guido van Rossum54ecc3d1999-01-27 17:53:11 +0000213/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
214 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
215 linker (rld). Dyld is necessary to support frameworks. */
216#undef WITH_DYLD
217
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000218/* Define if you want to use BSD db. */
219#undef WITH_LIBDB
Barry Warsawcf053b12000-06-30 16:02:58 +0000220
Eric S. Raymond13603592001-01-16 15:01:26 +0000221/* Define if you want to use ndbm. */
222#undef WITH_LIBNDBM
223
Neil Schemenauera35c6882001-02-27 04:45:05 +0000224/* Define if you want to compile in Python-specific mallocs */
225#undef WITH_PYMALLOC
226
Guido van Rossum54ecc3d1999-01-27 17:53:11 +0000227/* Define if you want to produce an OpenStep/Rhapsody framework
228 (shared library plus accessory files). */
229#undef WITH_NEXT_FRAMEWORK
230
Martin v. Löwis530f9902001-06-24 20:59:45 +0000231/* Define if you want to use MacPython modules on MacOSX in unix-Python */
232#undef USE_TOOLBOX_OBJECT_GLUE
233
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000234/* Define if you want to use SGI (IRIX 4) dynamic linking.
235 This requires the "dl" library by Jack Jansen,
236 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
237 Don't bother on IRIX 5, it already has dynamic linking using SunOS
238 style shared libraries */
239#undef WITH_SGI_DL
Fred Drakec9cb8472000-08-31 16:11:07 +0000240
Guido van Rossum4c3f57c2001-01-10 20:40:46 +0000241/* Define if you want to compile in rudimentary thread support */
242#undef WITH_THREAD
Tim Peters7d3a5112000-07-08 04:17:21 +0000243
Martin v. Löwiseb9b1032001-10-24 17:10:49 +0000244/* Define if mvwdelch in curses.h is an expression. */
245#undef MVWDELCH_IS_EXPRESSION
246
247/* Define if WINDOW in curses.h offers a field _flags. */
248#undef WINDOW_HAS_FLAGS
249
Guido van Rossum79556aa1994-01-04 22:02:27 +0000250
251/* Leave that blank line there-- autoheader needs it! */
Guido van Rossumaef734b2001-01-10 21:09:12 +0000252
253@BOTTOM@
254
255#ifdef __CYGWIN__
256#ifdef USE_DL_IMPORT
257#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
258#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
259#else
260#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
261#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
262#endif
263#endif
Martin v. Löwis28341ce2001-09-05 15:18:00 +0000264
265/* Define the macros needed if on a UnixWare 7.x system. */
266#if defined(__USLC__) && defined(__SCO_VERSION__)
Martin v. Löwis28341ce2001-09-05 15:18:00 +0000267#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
268#endif
269