summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-13 21:15:58 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-13 21:15:58 (GMT)
commit042b128f58a952b2cd04bd5b7401bd54c67a687e (patch)
treec4ac0fda68d9062064f3d28fa8baa80668515c26 /pyconfig.h.in
parentd835cf1c84f2b29d54f583139e03b95b906b6081 (diff)
downloadcpython-042b128f58a952b2cd04bd5b7401bd54c67a687e.zip
cpython-042b128f58a952b2cd04bd5b7401bd54c67a687e.tar.gz
cpython-042b128f58a952b2cd04bd5b7401bd54c67a687e.tar.bz2
Issue #9203: Computed gotos are now enabled by default on supported
compilers (which are detected by the configure script). They can still be disable selectively by specifying --without-computed-gotos.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index d3a8786..ae3f6e4 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -104,6 +104,9 @@
/* Define to 1 if you have the `clock' function. */
#undef HAVE_CLOCK
+/* Define if the C compiler supports computed gotos. */
+#undef HAVE_COMPUTED_GOTOS
+
/* Define to 1 if you have the `confstr' function. */
#undef HAVE_CONFSTR
@@ -1037,7 +1040,7 @@
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
-/* Define if you want to use computed gotos in ceval.c. */
+/* Define to 0 if you don't want to use computed gotos in ceval.c. */
#undef USE_COMPUTED_GOTOS
/* Enable extensions on AIX 3, Interix. */