Skip to content

Commit 49e4fdc

Browse files
committed
Fix configure
1 parent 759321b commit 49e4fdc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

PC/pyconfig.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ WIN32 is still required for the locale module.
102102
/* #define Py_GIL_DISABLED 1 */
103103
#endif
104104

105-
/* Define to 1 if you want to build an interpreter with JIT, or define to 2
106-
* if you want to enable tier 2 interpreter */
105+
/* Define to 1 if you want to build an interpreter with JIT, or define to 2 if
106+
you want to enable tier 2 interpreter */
107107
#ifndef Py_JIT_ENABLED
108108
/* #define Py_JIT_ENABLED 1 */
109109
#endif

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,22 +1827,22 @@ case $enable_experimental_jit in
18271827
yes)
18281828
jit_flags="-D_Py_JIT";
18291829
tier2_flags="-D_Py_TIER2=1";
1830-
AC_DEFINE([Py_JIT_ENABLED], [1], [Define to 1 if you want to build an interpreter with JIT])
1830+
AC_DEFINE([Py_JIT_ENABLED], [1], [Define to 1 if you want to build an interpreter with JIT, or define to 2 if you want to enable tier 2 interpreter])
18311831
;;
18321832
yes-off)
18331833
jit_flags="-D_Py_JIT";
18341834
tier2_flags="-D_Py_TIER2=3";
1835-
AC_DEFINE([Py_JIT_ENABLED], [1], [Define to 1 if you want to build an interpreter with JIT])
1835+
AC_DEFINE([Py_JIT_ENABLED], [1], [Define to 1 if you want to build an interpreter with JIT, or define to 2 if you want to enable tier 2 interpreter])
18361836
;;
18371837
interpreter)
18381838
jit_flags="";
18391839
tier2_flags="-D_Py_TIER2=4";
1840-
AC_DEFINE([Py_JIT_ENABLED], [2], [Define to 2 if you want to build an interpreter with enabled tier 2 interpreter])
1840+
AC_DEFINE([Py_JIT_ENABLED], [2], [Define to 1 if you want to build an interpreter with JIT, or define to 2 if you want to enable tier 2 interpreter])
18411841
;;
18421842
interpreter-off)
18431843
jit_flags="";
18441844
tier2_flags="-D_Py_TIER2=6";
1845-
AC_DEFINE([Py_JIT_ENABLED], [2], [Define to 2 if you want to build an interpreter with enabled tier 2 interpreter]) # Secret option
1845+
AC_DEFINE([Py_JIT_ENABLED], [2], [Define to 1 if you want to build an interpreter with JIT, or define to 2 if you want to enable tier 2 interpreter]) # Secret option
18461846
;;
18471847
*) AC_MSG_ERROR(
18481848
[invalid argument: --enable-experimental-jit=$enable_experimental_jit; expected no|yes|yes-off|interpreter]) ;;

pyconfig.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,8 +1695,8 @@
16951695
/* Defined if _Complex C type is available. */
16961696
#undef Py_HAVE_C_COMPLEX
16971697

1698-
/* Define to 1 if you want to build an interpreter with JIT, or define to 2
1699-
* if you want to enable tier 2 interpreter */
1698+
/* Define to 1 if you want to build an interpreter with JIT, or define to 2 if
1699+
you want to enable tier 2 interpreter */
17001700
#undef Py_JIT_ENABLED
17011701

17021702
/* Define if year with century should be normalized for strftime. */

0 commit comments

Comments
 (0)