983 lines · 27.1 KB · C
RawDownload
/* pyconfig.h.  Generated by configure.  *//* pyconfig.h.in.  Generated from configure.in by autoheader.  */  #ifndef Py_PYCONFIG_H#define Py_PYCONFIG_H #define _POSIX_SOURCE#define _BSD_EXTENSION#define _LIMITS_EXTENSION#define _C99_SNPRINTF_EXTENSION#define _RESEARCH_SOURCE#define PLAN9APE#define PLAN9_THREADS#define WITH_THREAD#define HAVE_SOCK_OPTS typedef struct Threadarg Threadarg; #if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower)#undef WORDS_BIGENDIAN#elif defined(Tmips) || defined(Tsparc)#define WORDS_BIGENDIAN#elseError unknown byte order#endif #include <setjmp.h> struct Threadarg{	void (*fn)(void*);	void *arg;	jmp_buf jb;}; extern Threadarg *_threadarg;		/* points to thread-local storage */ extern	double	hypot(double, double);extern	int		setgrent(void);extern	int		endgrent(void);extern	struct group*	getgrent(void); typedef unsigned char u_char;typedef unsigned short u_short;typedef unsigned long u_long; #define EISCONN	63 #define FD_SETSIZE 96	/* see /sys/include/ape/sys/select.h */ #define SIGWINCH 21	/* for curses */ #define S_ISSOCK S_ISFIFO /* for hg, see /sys/include/ape/sys/stat.h */ /* Define if --enable-ipv6 is specified *//* #undef ENABLE_IPV6 */ /* Define if getpgrp() must be called as getpgrp(0). *//* #define GETPGRP_HAVE_ARG 1 */ /* Define if gettimeofday() does not have second (timezone) argument This is   the case on Motorola V4 (R40V4.2) *//* #undef GETTIMEOFDAY_NO_TZ */ /* struct addrinfo (netdb.h) *//* #define HAVE_ADDRINFO 1 */ /* Define to 1 if you have the `alarm' function. */#define HAVE_ALARM 1 /* Define to 1 if you have the <bluetooth.h> header file. *//* #undef HAVE_BLUETOOTH_H */ /* Define if nice() returns success/failure instead of the new priority. *//* #undef HAVE_BROKEN_NICE */ /* Define if poll() sets errno on invalid file descriptors. *//* #undef HAVE_BROKEN_POLL */ /* Define if the Posix semaphores do not work on your system *//* #undef HAVE_BROKEN_POSIX_SEMAPHORES */ /* Define if pthread_sigmask() does not work on your system. *//* #undef HAVE_BROKEN_PTHREAD_SIGMASK */ /* Define to 1 if you have the `chown' function. */#define HAVE_CHOWN 1 /* Define if you have the 'chroot' function. *//* #undef HAVE_CHROOT */ /* Define to 1 if you have the `clock' function. */#define HAVE_CLOCK 1 /* Define to 1 if you have the `confstr' function. *//* #undef HAVE_CONFSTR */ /* Define to 1 if you have the <conio.h> header file. *//* #undef HAVE_CONIO_H */ /* Define to 1 if you have the `ctermid' function. */#define HAVE_CTERMID 1 /* Define if you have the 'ctermid_r' function. *//* #undef HAVE_CTERMID_R */ /* Define to 1 if you have the <curses.h> header file. */#define HAVE_CURSES_H 1 /* Define if you have the 'is_term_resized' function. *//* #undef HAVE_CURSES_IS_TERM_RESIZED */ /* Define if you have the 'resizeterm' function. *//* #undef HAVE_CURSES_RESIZETERM */ /* Define if you have the 'resize_term' function. */#define HAVE_CURSES_RESIZE_TERM 1 /* Define to 1 if you have the device macros. *//* #undef HAVE_DEVICE_MACROS */ /* Define if we have /dev/ptc. *//* #undef HAVE_DEV_PTC */ /* Define if we have /dev/ptmx. *//* #undef HAVE_DEV_PTMX */ /* Define to 1 if you have the <direct.h> header file. *//* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.   */#define HAVE_DIRENT_H 1 /* Define to 1 if you have the <dlfcn.h> header file. *//* #undef HAVE_DLFCN_H */ /* Define to 1 if you have the `dlopen' function. *//* #undef HAVE_DLOPEN */ /* Define to 1 if you have the `dup2' function. */#define HAVE_DUP2 1 /* Defined when any dynamic module loading is enabled. *//* #undef HAVE_DYNAMIC_LOADING */ /* Define to 1 if you have the <errno.h> header file. */#define HAVE_ERRNO_H 1 /* Define to 1 if you have the `execv' function. */#define HAVE_EXECV 1 /* Define if you have the 'fchdir' function. *//* #undef HAVE_FCHDIR */ /* Define to 1 if you have the <fcntl.h> header file. */#define HAVE_FCNTL_H 1 /* Define if you have the 'fdatasync' function. *//* #undef HAVE_FDATASYNC */ /* Define if you have the 'flock' function. *//* #undef HAVE_FLOCK */ /* Define to 1 if you have the `fork' function. */#define HAVE_FORK 1 /* Define to 1 if you have the `forkpty' function. *//* #undef HAVE_FORKPTY */ /* Define to 1 if you have the `fpathconf' function. */#define HAVE_FPATHCONF 1 /* Define to 1 if you have the `fseek64' function. *//* #undef HAVE_FSEEK64 */ /* Define to 1 if you have the `fseeko' function. */#define HAVE_FSEEKO 1 /* Define to 1 if you have the `fstatvfs' function. *//* #undef HAVE_FSTATVFS */ /* Define if you have the 'fsync' function. *//* #undef HAVE_FSYNC */ /* Define to 1 if you have the `ftell64' function. *//* #undef HAVE_FTELL64 */ /* Define to 1 if you have the `ftello' function. */#define HAVE_FTELLO 1 /* Define to 1 if you have the `ftime' function. *//* #undef HAVE_FTIME */ /* Define to 1 if you have the `ftruncate' function. *//* #define HAVE_FTRUNCATE 1 */#define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `gai_strerror' function. *//* #undef HAVE_GAI_STRERROR */ /* Define if you have the getaddrinfo function. *//* #undef HAVE_GETADDRINFO */ /* Define to 1 if you have the `getcwd' function. */#define HAVE_GETCWD 1 /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() *//* #undef HAVE_GETC_UNLOCKED */ /* Define to 1 if you have the `getgroups' function. */#define HAVE_GETGROUPS 1 /* Define to 1 if you have the `gethostbyname' function. */#define HAVE_GETHOSTBYNAME 1   /* Define this if you have the 3-arg version of gethostbyname_r(). *//* #undef HAVE_GETHOSTBYNAME_R_3_ARG */ /* Define this if you have the 5-arg version of gethostbyname_r(). *//* #undef HAVE_GETHOSTBYNAME_R_5_ARG */ /* Define this if you have the 6-arg version of gethostbyname_r(). *//* #undef HAVE_GETHOSTBYNAME_R_6_ARG */ /* Define to 1 if you have the `getloadavg' function. *//* #undef HAVE_GETLOADAVG */ /* Define to 1 if you have the `getlogin' function. */#define HAVE_GETLOGIN 1 /* Define to 1 if you have the `getnameinfo' function. *//* #undef HAVE_GETNAMEINFO */ /* Define if you have the 'getpagesize' function. *//* #undef HAVE_GETPAGESIZE */ /* Define to 1 if you have the `getpeername' function. */#define HAVE_GETPEERNAME 1 /* Define to 1 if you have the `getpgid' function. *//* #undef HAVE_GETPGID */ /* Define to 1 if you have the `getpgrp' function. */#define HAVE_GETPGRP 1 /* Define to 1 if you have the `getpid' function. */#define HAVE_GETPID 1 /* Define to 1 if you have the `getpriority' function. *//* #undef HAVE_GETPRIORITY */ /* Define to 1 if you have the `getpwent' function. *//* #define HAVE_GETPWENT 1 */ /* Define to 1 if you have the `getsid' function. *//* #undef HAVE_GETSID */ /* Define to 1 if you have the `getspent' function. *//* #undef HAVE_GETSPENT */ /* Define to 1 if you have the `getspnam' function. *//* #undef HAVE_GETSPNAM */ /* Define to 1 if you have the `gettimeofday' function. */#define HAVE_GETTIMEOFDAY 1 /* Define to 1 if you have the `getwd' function. *//* #undef HAVE_GETWD */ /* Define to 1 if you have the <grp.h> header file. */#define HAVE_GRP_H 1 /* Define if you have the 'hstrerror' function. *//* #undef HAVE_HSTRERROR */ /* Define to 1 if you have the `hypot' function. */#define HAVE_HYPOT 1 /* Define if you have the 'inet_aton' function. *//* #undef HAVE_INET_ATON */ /* Define if you have the 'inet_pton' function. *//* #undef HAVE_INET_PTON */ /* Define to 1 if you have the <inttypes.h> header file. */#define HAVE_INTTYPES_H 1 /* Define to 1 if you have the <io.h> header file. *//* #undef HAVE_IO_H */ /* Define to 1 if you have the `kill' function. */#define HAVE_KILL 1 /* Define to 1 if you have the `killpg' function. *//* #undef HAVE_KILLPG */ /* Define to 1 if you have the <langinfo.h> header file. *//* #undef HAVE_LANGINFO_H */ /* Defined to enable large file support when an off_t is bigger than a long   and long long is available and at least as big as an off_t. You may need to   add some flags for configuration and compilation to enable this mode. (For   Solaris and Linux, the necessary defines are already defined.) */#define HAVE_LARGEFILE_SUPPORT 1 /* Define to 1 if you have the `lchown' function. *//* #undef HAVE_LCHOWN */ /* Define to 1 if you have the `dl' library (-ldl). *//* #undef HAVE_LIBDL */ /* Define to 1 if you have the `dld' library (-ldld). *//* #undef HAVE_LIBDLD */ /* Define to 1 if you have the `ieee' library (-lieee). *//* #undef HAVE_LIBIEEE */ /* Define to 1 if you have the <libintl.h> header file. *//* #undef HAVE_LIBINTL_H */ /* Define to 1 if you have the `readline' library (-lreadline). *//* #undef HAVE_LIBREADLINE */ /* Define to 1 if you have the `resolv' library (-lresolv). *//* #undef HAVE_LIBRESOLV */ /* Define to 1 if you have the `termcap' library (-ltermcap). *//* #undef HAVE_LIBTERMCAP */ /* Define to 1 if you have the <libutil.h> header file. *//* #undef HAVE_LIBUTIL_H */ /* Define if you have the 'link' function. */#define HAVE_LINK 1 /* Define to 1 if you have the <linux/netlink.h> header file. *//* #undef HAVE_LINUX_NETLINK_H */ /* Define this if you have the type long long. */#define HAVE_LONG_LONG 1 /* Define to 1 if you have the `lstat' function. */#define HAVE_LSTAT 1 /* Define this if you have the makedev macro. *//* #undef HAVE_MAKEDEV */ /* Define to 1 if you have the `memmove' function. */#define HAVE_MEMMOVE 1 /* Define to 1 if you have the <memory.h> header file. *//* #undef HAVE_MEMORY_H */ /* Define to 1 if you have the `mkfifo' function. */#define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. *//* #undef HAVE_MKNOD */ /* Define to 1 if you have the `mktime' function. */#define HAVE_MKTIME 1 /* Define to 1 if you have the `mremap' function. *//* #undef HAVE_MREMAP */ /* Define to 1 if you have the <ncurses.h> header file. *//* #undef HAVE_NCURSES_H */ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. *//* #undef HAVE_NDIR_H */ /* Define to 1 if you have the <netpacket/packet.h> header file. *//* #undef HAVE_NETPACKET_PACKET_H */ /* Define to 1 if you have the `nice' function. *//* #undef HAVE_NICE */ /* Define to 1 if you have the `openpty' function. *//* #undef HAVE_OPENPTY */ /* Define to 1 if you have the `pathconf' function. */#define HAVE_PATHCONF 1 /* Define to 1 if you have the `pause' function. */#define HAVE_PAUSE 1 /* Define to 1 if you have the `plock' function. *//* #undef HAVE_PLOCK */ /* Define to 1 if you have the `poll' function. *//* #undef HAVE_POLL */ /* Define to 1 if you have the <poll.h> header file. *//* #undef HAVE_POLL_H */ /* Define to 1 if you have the <process.h> header file. *//* #undef HAVE_PROCESS_H */ /* Define if your compiler supports function prototype */#define HAVE_PROTOTYPES 1 /* Define if you have GNU PTH threads. *//* #undef HAVE_PTH */ /* Defined for Solaris 2.6 bug in pthread header. *//* #undef HAVE_PTHREAD_DESTRUCTOR */ /* Define to 1 if you have the <pthread.h> header file. *//* #undef HAVE_PTHREAD_H */ /* Define to 1 if you have the `pthread_init' function. *//* #undef HAVE_PTHREAD_INIT */ /* Define to 1 if you have the `pthread_sigmask' function. *//* #undef HAVE_PTHREAD_SIGMASK */ /* Define to 1 if you have the <pty.h> header file. *//* #undef HAVE_PTY_H */ /* Define to 1 if you have the `putenv' function. */#define HAVE_PUTENV 1 /* Define to 1 if you have the `readlink' function. */#define HAVE_READLINK 1 /* Define to 1 if you have the `realpath' function. *//* #undef HAVE_REALPATH */ /* Define if you have readline 2.1 *//* #undef HAVE_RL_CALLBACK */ /* Define if you can turn off readline's signal handling. *//* #undef HAVE_RL_CATCH_SIGNAL */ /* Define if you have readline 2.2 *//* #undef HAVE_RL_COMPLETION_APPEND_CHARACTER */ /* Define if you have readline 4.2 *//* #undef HAVE_RL_COMPLETION_MATCHES */ /* Define if you have readline 4.0 *//* #undef HAVE_RL_PRE_INPUT_HOOK */ /* Define to 1 if you have the `select' function. */#define HAVE_SELECT 1 /* Define to 1 if you have the `setegid' function. *//* #undef HAVE_SETEGID */ /* Define to 1 if you have the `seteuid' function. *//* #undef HAVE_SETEUID */ /* Define to 1 if you have the `setgid' function. */#define HAVE_SETGID 1 /* Define if you have the 'setgroups' function. *//* #undef HAVE_SETGROUPS */ /* Define to 1 if you have the `setlocale' function. */#define HAVE_SETLOCALE 1 /* Define to 1 if you have the `setpgid' function. */#define HAVE_SETPGID 1 /* Define to 1 if you have the `setpgrp' function. *//* #undef HAVE_SETPGRP */ /* Define to 1 if you have the `setregid' function. *//* #undef HAVE_SETREGID */ /* Define to 1 if you have the `setreuid' function. *//* #undef HAVE_SETREUID */ /* Define to 1 if you have the `setsid' function. */#define HAVE_SETSID 1 /* Define to 1 if you have the `setuid' function. */#define HAVE_SETUID 1 /* Define to 1 if you have the `setvbuf' function. */#define HAVE_SETVBUF 1 /* Define to 1 if you have the <shadow.h> header file. *//* #undef HAVE_SHADOW_H */ /* Define to 1 if you have the `sigaction' function. */#define HAVE_SIGACTION 1 /* Define to 1 if you have the `siginterrupt' function. *//* #undef HAVE_SIGINTERRUPT */ /* Define to 1 if you have the <signal.h> header file. */#define HAVE_SIGNAL_H 1 /* Define to 1 if you have the `sigrelse' function. *//* #undef HAVE_SIGRELSE */ 

Lines 1–500 of 983.