1 /* pyconfig.h.in. Generated automatically from configure.in by autoheader. */
4 System headers sometimes define this.
5 We just want to avoid a redefinition error message. */
10 /* Define if type char is unsigned and you are not using gcc. */
11 #ifndef __CHAR_UNSIGNED__
12 #undef __CHAR_UNSIGNED__
15 /* Define to empty if the keyword does not work. */
18 /* Define to `int' if <sys/types.h> doesn't define. */
21 /* Define if your struct tm has tm_zone. */
24 /* Define if you don't have tm_zone but do have the external array
28 /* Define if on MINIX. */
31 /* Define to `int' if <sys/types.h> doesn't define. */
34 /* Define to `long' if <sys/types.h> doesn't define. */
37 /* Define to `int' if <sys/types.h> doesn't define. */
40 /* Define if the system does not provide POSIX.1 features except
42 #undef _POSIX_1_SOURCE
44 /* Define if you need to in order for stat and other things to work. */
47 /* Define as the return type of signal handlers (int or void). */
50 /* Define to `unsigned' if <sys/types.h> doesn't define. */
53 /* Define if you have the ANSI C header files. */
56 /* Define if you can safely include both <sys/time.h> and <time.h>. */
57 #undef TIME_WITH_SYS_TIME
59 /* Define if your <sys/time.h> declares struct tm. */
62 /* Define to `int' if <sys/types.h> doesn't define. */
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
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
73 /* Define if your <unistd.h> contains bad prototypes for exec*()
74 (as it does on SGI IRIX 4.x) */
75 #undef BAD_EXEC_PROTOTYPES
77 /* Define if your compiler botches static forward declarations
78 (as it does on SCI ODT 3.0) */
79 #undef BAD_STATIC_FORWARD
81 /* Define this if you have BeOS threads */
84 /* Define if you have the Mach cthreads package */
87 /* Define to `long' if <time.h> doesn't define. */
90 /* Defined on Solaris to see additional function prototypes. */
93 /* This must be set to 64 on some systems to enable large file support */
94 #undef _FILE_OFFSET_BITS
96 /* Define if getpgrp() must be called as getpgrp(0). */
97 #undef GETPGRP_HAVE_ARG
99 /* Define if gettimeofday() does not have second (timezone) argument
100 This is the case on Motorola V4 (R40V4.2) */
101 #undef GETTIMEOFDAY_NO_TZ
103 /* Define this if your time.h defines altzone */
106 /* Define if --enable-ipv6 is specified */
109 /* Define if sockaddr has sa_len member */
110 #undef HAVE_SOCKADDR_SA_LEN
112 /* struct addrinfo (netdb.h) */
115 /* struct sockaddr_storage (sys/socket.h) */
116 #undef HAVE_SOCKADDR_STORAGE
118 /* Defined when any dynamic module loading is enabled */
119 #undef HAVE_DYNAMIC_LOADING
121 /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */
122 #undef HAVE_GETC_UNLOCKED
124 /* Define this if you have some version of gethostbyname_r() */
125 #undef HAVE_GETHOSTBYNAME_R
127 /* Define this if you have the 3-arg version of gethostbyname_r() */
128 #undef HAVE_GETHOSTBYNAME_R_3_ARG
130 /* Define this if you have the 5-arg version of gethostbyname_r() */
131 #undef HAVE_GETHOSTBYNAME_R_5_ARG
133 /* Define this if you have the 6-arg version of gethostbyname_r() */
134 #undef HAVE_GETHOSTBYNAME_R_6_ARG
136 /* Defined to enable large file support when an off_t is bigger than a long
137 and long long is available and at least as big as an off_t. You may need
138 to add some flags for configuration and compilation to enable this mode.
139 E.g, for Solaris 2.7:
140 CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" OPT="-O2 $CFLAGS" \
143 #undef HAVE_LARGEFILE_SUPPORT
145 /* Define this if you have the type long long */
146 #undef HAVE_LONG_LONG
148 /* Define if your compiler supports function prototypes */
149 #undef HAVE_PROTOTYPES
151 /* Define if you have GNU PTH threads */
154 /* Define if you have readline 4.2 */
155 #undef HAVE_RL_COMPLETION_MATCHES
157 /* Define if your compiler supports variable length function prototypes
158 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
159 #undef HAVE_STDARG_PROTOTYPES
161 /* Define this if you have the type uintptr_t */
162 #undef HAVE_UINTPTR_T
164 /* Define if you have a useable wchar_t type defined in wchar.h; useable
165 means wchar_t must be 16-bit unsigned type. (see
166 Include/unicodeobject.h). */
167 #undef HAVE_USABLE_WCHAR_T
169 /* Define if the compiler provides a wchar.h header file. */
172 /* This must be defined on some systems to enable large file support */
173 #undef _LARGEFILE_SOURCE
175 /* Define if you want to have a Unicode type. */
176 #undef Py_USING_UNICODE
178 /* Define as the integral type used for Unicode representation. */
179 #undef PY_UNICODE_TYPE
181 /* Define as the size of the unicode type. */
182 #undef Py_UNICODE_SIZE
184 /* Define if nice() returns success/failure instead of the new priority. */
185 #undef HAVE_BROKEN_NICE
187 /* Define if malloc(0) returns a NULL pointer */
188 #undef MALLOC_ZERO_RETURNS_NULL
190 /* Define if you have POSIX threads */
191 #undef _POSIX_THREADS
193 /* Define if you want to build an interpreter with many run-time checks */
196 /* Define to force use of thread-safe errno, h_errno, and other functions */
199 /* Define if setpgrp() must be called as setpgrp(0, 0). */
200 #undef SETPGRP_HAVE_ARG
202 /* Define to empty if the keyword does not work. */
205 /* Define if i>>j for signed int i does not extend the sign bit
208 #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
210 /* The number of bytes in an off_t. */
213 /* The number of bytes in a time_t. */
216 /* The number of bytes in a pthread_t. */
217 #undef SIZEOF_PTHREAD_T
219 /* Define to `int' if <sys/types.h> doesn't define. */
222 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
223 (which you can't on SCO ODT 3.0). */
224 #undef SYS_SELECT_WITH_SYS_TIME
226 /* Define if a va_list is an array of some kind */
227 #undef VA_LIST_IS_ARRAY
229 /* Define to empty if the keyword does not work. */
232 /* Define if you want SIGFPE handled (see Include/pyfpe.h). */
233 #undef WANT_SIGFPE_HANDLER
235 /* Define if you want wctype.h functions to be used instead of the
236 one supplied by Python itself. (see Include/unicodectype.h). */
237 #undef WANT_WCTYPE_FUNCTIONS
239 /* Define if you want to compile in cycle garbage collection */
242 /* Define if you want to emulate SGI (IRIX 4) dynamic linking.
243 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
244 Sequent Symmetry (Dynix), and Atari ST.
245 This requires the "dl-dld" library,
246 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
247 as well as the "GNU dld" library,
248 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
249 Don't bother on SunOS 4 or 5, they already have dynamic linking using
253 /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
254 dynamic linker (dyld) instead of the old-style (NextStep) dynamic
255 linker (rld). Dyld is necessary to support frameworks. */
258 /* Define if you want to compile in Python-specific mallocs */
261 /* Define if you want to produce an OpenStep/Rhapsody framework
262 (shared library plus accessory files). */
263 #undef WITH_NEXT_FRAMEWORK
265 /* Define if you want to use MacPython modules on MacOSX in unix-Python */
266 #undef USE_TOOLBOX_OBJECT_GLUE
268 /* Define if you want to use SGI (IRIX 4) dynamic linking.
269 This requires the "dl" library by Jack Jansen,
270 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
271 Don't bother on IRIX 5, it already has dynamic linking using SunOS
272 style shared libraries */
275 /* Define if you want to compile in rudimentary thread support */
278 /* The number of bytes in a char. */
281 /* The number of bytes in a double. */
284 /* The number of bytes in a float. */
287 /* The number of bytes in a fpos_t. */
290 /* The number of bytes in a int. */
293 /* The number of bytes in a long. */
296 /* The number of bytes in a long long. */
297 #undef SIZEOF_LONG_LONG
299 /* The number of bytes in a short. */
302 /* The number of bytes in a uintptr_t. */
303 #undef SIZEOF_UINTPTR_T
305 /* The number of bytes in a void *. */
308 /* The number of bytes in a wchar_t. */
309 #undef SIZEOF_WCHAR_T
311 /* Define if you have the _getpty function. */
314 /* Define if you have the alarm function. */
317 /* Define if you have the chown function. */
320 /* Define if you have the clock function. */
323 /* Define if you have the confstr function. */
326 /* Define if you have the ctermid function. */
329 /* Define if you have the ctermid_r function. */
330 #undef HAVE_CTERMID_R
332 /* Define if you have the dlopen function. */
335 /* Define if you have the dup2 function. */
338 /* Define if you have the execv function. */
341 /* Define if you have the fdatasync function. */
342 #undef HAVE_FDATASYNC
344 /* Define if you have the flock function. */
347 /* Define if you have the fork function. */
350 /* Define if you have the forkpty function. */
353 /* Define if you have the fpathconf function. */
354 #undef HAVE_FPATHCONF
356 /* Define if you have the fseek64 function. */
359 /* Define if you have the fseeko function. */
362 /* Define if you have the fstatvfs function. */
365 /* Define if you have the fsync function. */
368 /* Define if you have the ftell64 function. */
371 /* Define if you have the ftello function. */
374 /* Define if you have the ftime function. */
377 /* Define if you have the ftruncate function. */
378 #undef HAVE_FTRUNCATE
380 /* Define if you have the gai_strerror function. */
381 #undef HAVE_GAI_STRERROR
383 /* Define if you have the getaddrinfo function. */
384 #undef HAVE_GETADDRINFO
386 /* Define if you have the getcwd function. */
389 /* Define if you have the getgroups function. */
390 #undef HAVE_GETGROUPS
392 /* Define if you have the gethostbyname function. */
393 #undef HAVE_GETHOSTBYNAME
395 /* Define if you have the getlogin function. */
398 /* Define if you have the getnameinfo function. */
399 #undef HAVE_GETNAMEINFO
401 /* Define if you have the getpeername function. */
402 #undef HAVE_GETPEERNAME
404 /* Define if you have the getpgrp function. */
407 /* Define if you have the getpid function. */
410 /* Define if you have the getpriority function. */
411 #undef HAVE_GETPRIORITY
413 /* Define if you have the getpwent function. */
416 /* Define if you have the gettimeofday function. */
417 #undef HAVE_GETTIMEOFDAY
419 /* Define if you have the getwd function. */
422 /* Define if you have the hstrerror function. */
423 #undef HAVE_HSTRERROR
425 /* Define if you have the hypot function. */
428 /* Define if you have the inet_pton function. */
429 #undef HAVE_INET_PTON
431 /* Define if you have the kill function. */
434 /* Define if you have the link function. */
437 /* Define if you have the lstat function. */
440 /* Define if you have the memmove function. */
443 /* Define if you have the mkfifo function. */
446 /* Define if you have the mktime function. */
449 /* Define if you have the mremap function. */
452 /* Define if you have the nice function. */
455 /* Define if you have the openpty function. */
458 /* Define if you have the pathconf function. */
461 /* Define if you have the pause function. */
464 /* Define if you have the plock function. */
467 /* Define if you have the poll function. */
470 /* Define if you have the pthread_init function. */
471 #undef HAVE_PTHREAD_INIT
473 /* Define if you have the putenv function. */
476 /* Define if you have the readlink function. */
479 /* Define if you have the select function. */
482 /* Define if you have the setegid function. */
485 /* Define if you have the seteuid function. */
488 /* Define if you have the setgid function. */
491 /* Define if you have the setlocale function. */
492 #undef HAVE_SETLOCALE
494 /* Define if you have the setpgid function. */
497 /* Define if you have the setpgrp function. */
500 /* Define if you have the setregid function. */
503 /* Define if you have the setreuid function. */
506 /* Define if you have the setsid function. */
509 /* Define if you have the setuid function. */
512 /* Define if you have the setvbuf function. */
515 /* Define if you have the sigaction function. */
516 #undef HAVE_SIGACTION
518 /* Define if you have the siginterrupt function. */
519 #undef HAVE_SIGINTERRUPT
521 /* Define if you have the sigrelse function. */
524 /* Define if you have the snprintf function. */
527 /* Define if you have the statvfs function. */
530 /* Define if you have the strdup function. */
533 /* Define if you have the strerror function. */
536 /* Define if you have the strftime function. */
539 /* Define if you have the strptime function. */
542 /* Define if you have the symlink function. */
545 /* Define if you have the sysconf function. */
548 /* Define if you have the tcgetpgrp function. */
549 #undef HAVE_TCGETPGRP
551 /* Define if you have the tcsetpgrp function. */
552 #undef HAVE_TCSETPGRP
554 /* Define if you have the tempnam function. */
557 /* Define if you have the timegm function. */
560 /* Define if you have the times function. */
563 /* Define if you have the tmpfile function. */
566 /* Define if you have the tmpnam function. */
569 /* Define if you have the tmpnam_r function. */
572 /* Define if you have the truncate function. */
575 /* Define if you have the uname function. */
578 /* Define if you have the waitpid function. */
581 /* Define if you have the <db.h> header file. */
584 /* Define if you have the <db1/ndbm.h> header file. */
585 #undef HAVE_DB1_NDBM_H
587 /* Define if you have the <db_185.h> header file. */
590 /* Define if you have the <dirent.h> header file. */
593 /* Define if you have the <dlfcn.h> header file. */
596 /* Define if you have the <fcntl.h> header file. */
599 /* Define if you have the <gdbm/ndbm.h> header file. */
600 #undef HAVE_GDBM_NDBM_H
602 /* Define if you have the <langinfo.h> header file. */
603 #undef HAVE_LANGINFO_H
605 /* Define if you have the <libutil.h> header file. */
606 #undef HAVE_LIBUTIL_H
608 /* Define if you have the <limits.h> header file. */
611 /* Define if you have the <locale.h> header file. */
614 /* Define if you have the <ncurses.h> header file. */
615 #undef HAVE_NCURSES_H
617 /* Define if you have the <ndbm.h> header file. */
620 /* Define if you have the <ndir.h> header file. */
623 /* Define if you have the <netpacket/packet.h> header file. */
624 #undef HAVE_NETPACKET_PACKET_H
626 /* Define if you have the <poll.h> header file. */
629 /* Define if you have the <pthread.h> header file. */
630 #undef HAVE_PTHREAD_H
632 /* Define if you have the <pty.h> header file. */
635 /* Define if you have the <signal.h> header file. */
638 /* Define if you have the <stdarg.h> header file. */
641 /* Define if you have the <stddef.h> header file. */
644 /* Define if you have the <stdlib.h> header file. */
647 /* Define if you have the <sys/audioio.h> header file. */
648 #undef HAVE_SYS_AUDIOIO_H
650 /* Define if you have the <sys/dir.h> header file. */
651 #undef HAVE_SYS_DIR_H
653 /* Define if you have the <sys/file.h> header file. */
654 #undef HAVE_SYS_FILE_H
656 /* Define if you have the <sys/lock.h> header file. */
657 #undef HAVE_SYS_LOCK_H
659 /* Define if you have the <sys/modem.h> header file. */
660 #undef HAVE_SYS_MODEM_H
662 /* Define if you have the <sys/ndir.h> header file. */
663 #undef HAVE_SYS_NDIR_H
665 /* Define if you have the <sys/param.h> header file. */
666 #undef HAVE_SYS_PARAM_H
668 /* Define if you have the <sys/poll.h> header file. */
669 #undef HAVE_SYS_POLL_H
671 /* Define if you have the <sys/resource.h> header file. */
672 #undef HAVE_SYS_RESOURCE_H
674 /* Define if you have the <sys/select.h> header file. */
675 #undef HAVE_SYS_SELECT_H
677 /* Define if you have the <sys/socket.h> header file. */
678 #undef HAVE_SYS_SOCKET_H
680 /* Define if you have the <sys/time.h> header file. */
681 #undef HAVE_SYS_TIME_H
683 /* Define if you have the <sys/times.h> header file. */
684 #undef HAVE_SYS_TIMES_H
686 /* Define if you have the <sys/un.h> header file. */
689 /* Define if you have the <sys/utsname.h> header file. */
690 #undef HAVE_SYS_UTSNAME_H
692 /* Define if you have the <sys/wait.h> header file. */
693 #undef HAVE_SYS_WAIT_H
695 /* Define if you have the <termios.h> header file. */
696 #undef HAVE_TERMIOS_H
698 /* Define if you have the <thread.h> header file. */
701 /* Define if you have the <unistd.h> header file. */
704 /* Define if you have the <utime.h> header file. */
707 /* Define if you have the dl library (-ldl). */
710 /* Define if you have the dld library (-ldld). */
713 /* Define if you have the ieee library (-lieee). */
718 #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
719 #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
721 #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
722 #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
726 /* Define the macros needed if on a UnixWare 7.x system. */
727 #if defined(__USLC__) && defined(__SCO_VERSION__)
728 #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */