10000 autoconf · python/cpython@c9a6cc4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9a6cc4

Browse files
autoconf
1 parent 4616854 commit c9a6cc4

File tree

3 files changed

+1
-72
lines changed

3 files changed

+1
-72
lines changed

configure

Lines changed: 0 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ AS_CASE([$ac_sys_system],
19471947
dnl build with WASM debug info if either Py_DEBUG is set or the target is
19481948
dnl node-debug or browser-debug.
19491949
AS_VAR_IF([Py_DEBUG], [yes], [wasm_debug=yes], [wasm_debug=no])
1950-
1950+
19511951
dnl Start with 20 MB and allow to grow
19521952
AS_VAR_APPEND([LDFLAGS_NODIST], [" -sALLOW_MEMORY_GROWTH -sTOTAL_MEMORY=20971520"])
19531953
@@ -5022,27 +5022,6 @@ AS_VAR_IF([ac_cv_function_prototypes], [yes], [
50225022
[Define if your compiler supports function prototype])
50235023
])
50245024

5025-
works=no
5026-
AC_CACHE_CHECK([for variable length prototypes and stdarg.h], [ac_cv_stdarg_prototypes], [
5027-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
5028-
#include <stdarg.h>
5029-
int foo(int x, ...) {
5030-
va_list va;
5031-
va_start(va, x);
5032-
va_arg(va, int);
5033-
va_arg(va, char *);
5034-
va_arg(va, double);
5035-
return 0;
5036-
}
5037-
]], [[return foo(10, "", 3.14);]])],
5038-
[ac_cv_stdarg_prototypes=yes], [ac_cv_stdarg_prototypes=no])
5039-
])
5040-
AS_VAR_IF([ac_cv_stdarg_prototypes], [yes], [
5041-
AC_DEFINE(HAVE_STDARG_PROTOTYPES, 1,
5042-
[Define if your compiler supports variable length function prototypes
5043-
(e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h>])
5044-
])
5045-
50465025

50475026
# check for socketpair
50485027
PY_CHECK_FUNC([socketpair], [

pyconfig.h.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,10 +1115,6 @@
11151115
/* Define if you have struct stat.st_mtimensec */
11161116
#undef HAVE_STAT_TV_NSEC2
11171117

1118-
/* Define if your compiler supports variable length function prototypes (e.g.
1119-
void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
1120-
#undef HAVE_STDARG_PROTOTYPES
1121-
11221118
/* Define to 1 if you have the <stdint.h> header file. */
11231119
#undef HAVE_STDINT_H
11241120

0 commit comments

Comments
 (0)
0