11#! /bin/sh
2- # From configure.in Revision: 82090 .
2+ # From configure.in Revision: 83580 .
33# Guess values for system-dependent variables and create Makefiles.
44# Generated by GNU Autoconf 2.65 for python 3.2.
55#
@@ -1421,8 +1421,9 @@ Optional Packages:
14211421 --with-libm=STRING math library
14221422 --with-libc=STRING C library
14231423 --with-wide-unicode Use 4-byte Unicode characters (default is 2 bytes)
1424- --with-computed-gotos Use computed gotos / threaded dispatch in evaluation
1425- loop (not available on all compilers)
1424+ --with(out)-computed-gotos
1425+ Use computed gotos in evaluation loop (enabled by
1426+ default on supported compilers)
14261427
14271428Some influential environment variables:
14281429 CC C compiler command
@@ -1929,11 +1930,11 @@ else
19291930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301931/* end confdefs.h. */
19311932$ac_includes_default
1932- enum { N = $2 / 2 - 1 };
19331933int
19341934main ()
19351935{
1936- static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1936+ static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1937+ 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
19371938test_array [0] = 0
19381939
19391940 ;
@@ -1944,11 +1945,11 @@ if ac_fn_c_try_compile "$LINENO"; then :
19441945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451946/* end confdefs.h. */
19461947$ac_includes_default
1947- enum { N = $2 / 2 - 1 };
19481948int
19491949main ()
19501950{
1951- static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1951+ static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1952+ ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
19521953 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
19531954test_array [0] = 0
19541955
91219122{ $as_echo " $as_me :${as_lineno-$LINENO } : result: $with_doc_strings " >&5
91229123$as_echo " $with_doc_strings " >&6 ; }
91239124
9124- # Check for Python-specific malloc support
9125+ # Check if eval loop should use timestamp counter profiling
91259126{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for --with-tsc" >&5
91269127$as_echo_n " checking for --with-tsc... " >&6 ; }
91279128
@@ -13502,28 +13503,78 @@ $as_echo "#define HAVE_BROKEN_MBSTOWCS 1" >>confdefs.h
1350213503
1350313504fi
1350413505
13506+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking whether $CC supports computed gotos" >&5
13507+ $as_echo_n " checking whether $CC supports computed gotos... " >&6 ; }
13508+ if test " ${ac_cv_computed_gotos+set} " = set ; then :
13509+ $as_echo_n " (cached) " >&6
13510+ else
13511+ if test " $cross_compiling " = yes; then :
13512+ ac_cv_computed_gotos=no
13513+ else
13514+ cat confdefs.h - << _ACEOF >conftest.$ac_ext
13515+ /* end confdefs.h. */
13516+
13517+ int main(int argc, char **argv)
13518+ {
13519+ static void *targets[1] = { &&LABEL1 };
13520+ goto LABEL2;
13521+ LABEL1:
13522+ return 0;
13523+ LABEL2:
13524+ goto *targets[0];
13525+ return 1;
13526+ }
13527+
13528+ _ACEOF
13529+ if ac_fn_c_try_run " $LINENO " ; then :
13530+ ac_cv_computed_gotos=yes
13531+ else
13532+ ac_cv_computed_gotos=no
13533+ fi
13534+ rm -f core * .core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13535+ conftest.$ac_objext conftest.beam conftest.$ac_ext
13536+ fi
13537+
13538+ fi
13539+
13540+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_computed_gotos " >&5
13541+ $as_echo " $ac_cv_computed_gotos " >&6 ; }
13542+ if test " $ac_cv_computed_gotos " = yes
13543+ then
13544+
13545+ $as_echo " #define HAVE_COMPUTED_GOTOS 1" >> confdefs.h
13546+
13547+ fi
13548+
1350513549# Check for --with-computed-gotos
1350613550{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for --with-computed-gotos" >&5
1350713551$as_echo_n " checking for --with-computed-gotos... " >&6 ; }
1350813552
1350913553# Check whether --with-computed-gotos was given.
1351013554if test " ${with_computed_gotos+set} " = set ; then :
1351113555 withval=$with_computed_gotos ;
13512- if test " $withval " ! = no
13556+ if test " $withval " = yes
1351313557then
1351413558
1351513559$as_echo " #define USE_COMPUTED_GOTOS 1" >> confdefs.h
1351613560
1351713561 { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
1351813562$as_echo " yes" >&6 ; }
13519- else { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
13520- $as_echo " no" >&6 ; }
1352113563fi
13522- else
13564+ if test " $withval " = no
13565+ then
13566+
13567+ $as_echo " #define USE_COMPUTED_GOTOS 0" >> confdefs.h
13568+
1352313569 { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
1352413570$as_echo " no" >&6 ; }
1352513571fi
1352613572
13573+ else
13574+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: no value specified" >&5
13575+ $as_echo " no value specified" >&6 ; }
13576+ fi
13577+
1352713578
1352813579
1352913580
@@ -14086,8 +14137,8 @@ esac
1408614137
1408714138cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1408814139# Files that config.status was made for.
14089- config_files=" $ac_config_files "
14090- config_headers=" $ac_config_headers "
14140+ config_files=" ` echo $ac_config_files ` "
14141+ config_headers=" ` echo $ac_config_headers ` "
1409114142
1409214143_ACEOF
1409314144
0 commit comments