diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-05-27 11:30:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 11:30:45 (GMT) |
commit | cb04a09d2dfd197436a11de504b92773569e19fb (patch) | |
tree | 8aa6d8280d9dde5c2058ccd8461f81f207a1a090 /configure | |
parent | ddc4a782d3f32efbc03c69ddd59b6fa10911bcd9 (diff) | |
download | cpython-cb04a09d2dfd197436a11de504b92773569e19fb.zip cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.gz cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.bz2 |
GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 46 |
1 files changed, 0 insertions, 46 deletions
@@ -18418,52 +18418,6 @@ $as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h fi -works=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5 -$as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; } -if ${ac_cv_stdarg_prototypes+:} false; then : - $as_echo_n "(cached) " >&6 -else - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <stdarg.h> -int foo(int x, ...) { - va_list va; - va_start(va, x); - va_arg(va, int); - va_arg(va, char *); - va_arg(va, double); - return 0; -} - -int -main () -{ -return foo(10, "", 3.14); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_stdarg_prototypes=yes -else - ac_cv_stdarg_prototypes=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stdarg_prototypes" >&5 -$as_echo "$ac_cv_stdarg_prototypes" >&6; } -if test "x$ac_cv_stdarg_prototypes" = xyes; then : - - -$as_echo "#define HAVE_STDARG_PROTOTYPES 1" >>confdefs.h - - -fi - # check for socketpair |