@@ -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
50485027PY_CHECK_FUNC([ socketpair] , [
0 commit comments