From 8d42903a3dba7e0cfe15445906d07f33b2867229 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Tue, 26 Apr 2016 01:09:18 +0200 Subject: Issue #20306: The pw_gecos and pw_passwd fields are not required by POSIX. If they aren't present, set them to an empty string. --- pyconfig.h.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index d432a821a5..b51bd56fd6 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -916,6 +916,12 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STROPTS_H +/* Define to 1 if `pw_gecos' is a member of `struct passwd'. */ +#undef HAVE_STRUCT_PASSWD_PW_GECOS + +/* Define to 1 if `pw_passwd' is a member of `struct passwd'. */ +#undef HAVE_STRUCT_PASSWD_PW_PASSWD + /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIME -- cgit v1.2.1 From b7f049ff2025c759f7c52ced5204cc05ef22fe86 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 4 May 2016 09:44:44 +0300 Subject: Issue #26932: Fixed support of RTLD_* constants defined as enum values, not via macros (in particular on Android). Patch by Chi Hsuan Yen. --- pyconfig.h.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index b51bd56fd6..0451855cc5 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -167,6 +167,34 @@ */ #undef HAVE_DECL_ISNAN +/* Define to 1 if you have the declaration of `RTLD_DEEPBIND', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_DEEPBIND + +/* Define to 1 if you have the declaration of `RTLD_GLOBAL', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_GLOBAL + +/* Define to 1 if you have the declaration of `RTLD_LAZY', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_LAZY + +/* Define to 1 if you have the declaration of `RTLD_LOCAL', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_LOCAL + +/* Define to 1 if you have the declaration of `RTLD_NODELETE', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_NODELETE + +/* Define to 1 if you have the declaration of `RTLD_NOLOAD', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_NOLOAD + +/* Define to 1 if you have the declaration of `RTLD_NOW', and to 0 if you + don't. */ +#undef HAVE_DECL_RTLD_NOW + /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. */ #undef HAVE_DECL_TZNAME -- cgit v1.2.1 From 29f7064bcbbbf24ec5f5da1318c5cb4a9a108c73 Mon Sep 17 00:00:00 2001 From: Xavier de Gaye Date: Sat, 9 Jul 2016 11:05:42 +0200 Subject: Issue #27442: Expose the Android API level in sysconfig.get_config_vars() as 'ANDROID_API_LEVEL'. --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index a104f3c745..dce5cfdab3 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -12,6 +12,9 @@ support for AIX C++ shared extension modules. */ #undef AIX_GENUINE_CPLUSPLUS +/* The Android API level. */ +#undef ANDROID_API_LEVEL + /* Define if C doubles are 64-bit IEEE 754 binary format, stored in ARM mixed-endian order (byte order 45670123) */ #undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 -- cgit v1.2.1 From c4a3f724702fba76349034c07e43915d221fcf4d Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 5 Sep 2016 23:54:41 +0200 Subject: Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index dce5cfdab3..e6f8e857da 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -892,6 +892,9 @@ /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF +/* struct sockaddr_alg (linux/if_alg.h) */ +#undef HAVE_SOCKADDR_ALG + /* Define if sockaddr has sa_len member */ #undef HAVE_SOCKADDR_SA_LEN -- cgit v1.2.1 From 907ccded8b6fa68f6f572ae5de6760595df0d5a1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 5 Sep 2016 17:44:18 -0700 Subject: require a long long data type (closes #27961) --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index e6f8e857da..1cd3c0cbbd 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -592,9 +592,6 @@ /* Define this if you have the type long double. */ #undef HAVE_LONG_DOUBLE -/* Define this if you have the type long long. */ -#undef HAVE_LONG_LONG - /* Define to 1 if you have the `lstat' function. */ #undef HAVE_LSTAT -- cgit v1.2.1 From cf6adf24ceeab86dfeee86c57d3c01e61740b665 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 6 Sep 2016 11:58:01 -0700 Subject: require standard int types to be defined (#17884) --- pyconfig.h.in | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 1cd3c0cbbd..565ff188f8 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -484,12 +484,6 @@ /* Define to 1 if you have the `initgroups' function. */ #undef HAVE_INITGROUPS -/* Define if your compiler provides int32_t. */ -#undef HAVE_INT32_T - -/* Define if your compiler provides int64_t. */ -#undef HAVE_INT64_T - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H @@ -1140,12 +1134,6 @@ /* Define this if you have tcl and TCL_UTF_MAX==6 */ #undef HAVE_UCS4_TCL -/* Define if your compiler provides uint32_t. */ -#undef HAVE_UINT32_T - -/* Define if your compiler provides uint64_t. */ -#undef HAVE_UINT64_T - /* Define to 1 if the system has the type `uintptr_t'. */ #undef HAVE_UINTPTR_T @@ -1479,16 +1467,6 @@ /* Define to force use of thread-safe errno, h_errno, and other functions */ #undef _REENTRANT -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -#undef _UINT32_T - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -#undef _UINT64_T - /* Define to the level of X/Open that your system supports */ #undef _XOPEN_SOURCE @@ -1518,14 +1496,6 @@ #undef inline #endif -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -#undef int32_t - -/* Define to the type of a signed integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -#undef int64_t - /* Define to `int' if does not define. */ #undef mode_t @@ -1547,14 +1517,6 @@ /* Define to `int' if doesn't define. */ #undef uid_t -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -#undef uint32_t - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -#undef uint64_t - /* Define to empty if the keyword does not work. */ #undef volatile -- cgit v1.2.1 From aa95399001155e280add7134e5e853c5f99198c0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 6 Sep 2016 13:33:56 -0700 Subject: require uintptr_t to exist --- pyconfig.h.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 565ff188f8..a7c12bfc6c 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1134,9 +1134,6 @@ /* Define this if you have tcl and TCL_UTF_MAX==6 */ #undef HAVE_UCS4_TCL -/* Define to 1 if the system has the type `uintptr_t'. */ -#undef HAVE_UINTPTR_T - /* Define to 1 if you have the `uname' function. */ #undef HAVE_UNAME @@ -1311,9 +1308,6 @@ /* The size of `time_t', as computed by sizeof. */ #undef SIZEOF_TIME_T -/* The size of `uintptr_t', as computed by sizeof. */ -#undef SIZEOF_UINTPTR_T - /* The size of `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P -- cgit v1.2.1 From a28ea98f03b83e111ff4c652b49fb97fc6bc16f2 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 6 Sep 2016 13:53:14 -0700 Subject: add back SIZEOF_UINTPTR_T --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index a7c12bfc6c..ed6b80df65 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1308,6 +1308,9 @@ /* The size of `time_t', as computed by sizeof. */ #undef SIZEOF_TIME_T +/* The size of `uintptr_t', as computed by sizeof. */ +#undef SIZEOF_UINTPTR_T + /* The size of `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P -- cgit v1.2.1 From 06c2472156a7ab7650b0683f656b2a71193f2952 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 7 Sep 2016 11:06:17 -0700 Subject: require C99 bool --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index ed6b80df65..2774bf4452 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -107,9 +107,6 @@ /* Has builtin atomics */ #undef HAVE_BUILTIN_ATOMIC -/* Define this if you have the type _Bool. */ -#undef HAVE_C99_BOOL - /* Define to 1 if you have the 'chflags' function. */ #undef HAVE_CHFLAGS -- cgit v1.2.1 From 16bd0974887b5c50b726c4455107daad3b0d41cf Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 8 Sep 2016 09:15:54 -0700 Subject: more PY_LONG_LONG to long long --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 2774bf4452..fb79413f42 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1241,9 +1241,6 @@ /* Define as the preferred size in bits of long digits */ #undef PYLONG_BITS_IN_DIGIT -/* Define to printf format modifier for long long type */ -#undef PY_FORMAT_LONG_LONG - /* Define to printf format modifier for Py_ssize_t */ #undef PY_FORMAT_SIZE_T -- cgit v1.2.1 From 41d4e33a6e5ed2a61ab418864af9ce574e57b961 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 9 Sep 2016 11:37:58 -0700 Subject: remove unused osx10.5 sdk check --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index fb79413f42..f181d7ffee 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -649,9 +649,6 @@ /* Define to 1 if you have the `openpty' function. */ #undef HAVE_OPENPTY -/* Define if compiling using MacOS X 10.5 SDK or later. */ -#undef HAVE_OSX105_SDK - /* Define to 1 if you have the `pathconf' function. */ #undef HAVE_PATHCONF -- cgit v1.2.1 From 831deb2ea3f31f273438acc797ae12d183a21422 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 9 Sep 2016 14:57:58 -0700 Subject: remove ceval timestamp support --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index f181d7ffee..7682c48250 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1388,9 +1388,6 @@ /* Define if you want to compile in rudimentary thread support */ #undef WITH_THREAD -/* Define to profile with the Pentium timestamp counter */ -#undef WITH_TSC - /* Define if you want pymalloc to be disabled when running under valgrind */ #undef WITH_VALGRIND -- cgit v1.2.1 From 7d9e9f40d8903147693be8d2bbb4a129005ca49e Mon Sep 17 00:00:00 2001 From: ?ukasz Langa Date: Fri, 9 Sep 2016 17:37:37 -0700 Subject: DTrace support: function calls, GC activity, line execution Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jes?s Cea Avi?n, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later. --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 7682c48250..d3f61f7e21 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1370,6 +1370,9 @@ /* Define if you want documentation strings in extension modules */ #undef WITH_DOC_STRINGS +/* Define if you want to compile in DTrace support */ +#undef WITH_DTRACE + /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) dynamic linker (dyld) instead of the old-style (NextStep) dynamic linker (rld). Dyld is necessary to support frameworks. */ -- cgit v1.2.1 From c70561b7894365a98df3ca9c8e4e39de9c0f08e3 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 13 Sep 2016 22:55:09 -0700 Subject: more granular configure checks for clock_* functions (closes #28081) --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index d3f61f7e21..02d283f6f0 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -125,6 +125,9 @@ /* Define to 1 if you have the `clock_gettime' function. */ #undef HAVE_CLOCK_GETTIME +/* Define to 1 if you have the `clock_settime' function. */ +#undef HAVE_CLOCK_SETTIME + /* Define if the C compiler supports computed gotos. */ #undef HAVE_COMPUTED_GOTOS -- cgit v1.2.1 From 31cb9f369965c4e70f7db1542686a0e845bb06db Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 20 Sep 2016 20:39:33 -0700 Subject: replace usage of Py_VA_COPY with the (C99) standard va_copy --- pyconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 02d283f6f0..e7a836c5d4 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1361,9 +1361,6 @@ #endif -/* Define if a va_list is an array of some kind */ -#undef VA_LIST_IS_ARRAY - /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ #undef WANT_SIGFPE_HANDLER -- cgit v1.2.1 From 9485a47655ea9067ce708ba6e8e32f1bde0682ea Mon Sep 17 00:00:00 2001 From: Xavier de Gaye Date: Thu, 22 Dec 2016 10:38:59 +0100 Subject: Issue #28762: lockf() is available on Android API level 24, but the F_LOCK macro is not defined in android-ndk-r13. --- pyconfig.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 6b376a646f..b10c57f85d 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -472,7 +472,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_IEEEFP_H -/* Define to 1 if you have the `if_nameindex' function. */ +/* Define to 1 if you have the 'if_nameindex' function. */ #undef HAVE_IF_NAMEINDEX /* Define if you have the 'inet_aton' function. */ @@ -574,7 +574,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LINUX_TIPC_H -/* Define to 1 if you have the `lockf' function. */ +/* Define to 1 if you have the 'lockf' function and the F_LOCK macro. */ #undef HAVE_LOCKF /* Define to 1 if you have the `log1p' function. */ -- cgit v1.2.1