History

python: update python build configuration to new ape capabilities like getaddrinfo(), ipv6 and fix EISCON typo in ape

cinap_lenrek committed 13 years ago

Commit 04383f11 parent c62c5942 files · +7 −11Browse files

Showing the changes to sys/src/cmd/python (1 of 2 files). Show all

Unified · Split

sys/src/cmd/python/pyconfig.h+6−10
@@ -44,16 +44,12 @@ typedef unsigned char u_char; · 43 unmodified lines
44typedef unsigned short u_short;44typedef unsigned short u_short;
45typedef unsigned long u_long;45typedef unsigned long u_long;
46 46
47#define EISCONN 63
48
49#define FD_SETSIZE 96 /* see /sys/include/ape/sys/select.h */
50
51#define SIGWINCH 21 /* for curses */47#define SIGWINCH 21 /* for curses */
52 48
53#define S_ISSOCK S_ISFIFO /* for hg, see /sys/include/ape/sys/stat.h */49#define S_ISSOCK S_ISFIFO /* for hg, see /sys/include/ape/sys/stat.h */
54 50
55/* Define if --enable-ipv6 is specified */51/* Define if --enable-ipv6 is specified */
56/* #undef ENABLE_IPV6 */52#define ENABLE_IPV6 1
57 53
58/* Define if getpgrp() must be called as getpgrp(0). */54/* Define if getpgrp() must be called as getpgrp(0). */
59/* #define GETPGRP_HAVE_ARG 1 */55/* #define GETPGRP_HAVE_ARG 1 */
@@ -63,7 +59,7 @@ typedef unsigned long u_long; · 3 unmodified lines
63/* #undef GETTIMEOFDAY_NO_TZ */59/* #undef GETTIMEOFDAY_NO_TZ */
64 60
65/* struct addrinfo (netdb.h) */61/* struct addrinfo (netdb.h) */
66/* #define HAVE_ADDRINFO 1 */62#define HAVE_ADDRINFO 1
67 63
68/* Define to 1 if you have the `alarm' function. */64/* Define to 1 if you have the `alarm' function. */
69#define HAVE_ALARM 165#define HAVE_ALARM 1
@@ -197,10 +193,10 @@ typedef unsigned long u_long; · 127 unmodified lines
197#define HAVE_FTRUNCATE 1193#define HAVE_FTRUNCATE 1
198 194
199/* Define to 1 if you have the `gai_strerror' function. */195/* Define to 1 if you have the `gai_strerror' function. */
200/* #undef HAVE_GAI_STRERROR */196#define HAVE_GAI_STRERROR 1
201 197
202/* Define if you have the getaddrinfo function. */198/* Define if you have the getaddrinfo function. */
203/* #undef HAVE_GETADDRINFO */199#define HAVE_GETADDRINFO 1
204 200
205/* Define to 1 if you have the `getcwd' function. */201/* Define to 1 if you have the `getcwd' function. */
206#define HAVE_GETCWD 1202#define HAVE_GETCWD 1
@@ -232,7 +228,7 @@ typedef unsigned long u_long; · 25 unmodified lines
232#define HAVE_GETLOGIN 1228#define HAVE_GETLOGIN 1
233 229
234/* Define to 1 if you have the `getnameinfo' function. */230/* Define to 1 if you have the `getnameinfo' function. */
235/* #undef HAVE_GETNAMEINFO */231#define HAVE_GETNAMEINFO 1
236 232
237/* Define if you have the 'getpagesize' function. */233/* Define if you have the 'getpagesize' function. */
238/* #undef HAVE_GETPAGESIZE */234/* #undef HAVE_GETPAGESIZE */
@@ -283,7 +279,7 @@ typedef unsigned long u_long; · 44 unmodified lines
283/* #undef HAVE_INET_ATON */279/* #undef HAVE_INET_ATON */
284 280
285/* Define if you have the 'inet_pton' function. */281/* Define if you have the 'inet_pton' function. */
286/* #undef HAVE_INET_PTON */282#define HAVE_INET_PTON 1
287 283
288/* Define to 1 if you have the <inttypes.h> header file. */284/* Define to 1 if you have the <inttypes.h> header file. */
289#define HAVE_INTTYPES_H 1285#define HAVE_INTTYPES_H 1