gh-116303: Don't build xxlimited and xxlimited_35 if --disable-test-modules is given (#117554)

This commit is contained in:
Erlend E. Aasland 2024-04-05 10:29:15 +02:00 committed by GitHub
parent 0edde64a41
commit 9c1dfe21fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

4
configure generated vendored
View File

@ -31185,7 +31185,7 @@ printf %s "checking for stdlib extension module xxlimited... " >&6; }
if test "$py_cv_module_xxlimited" != "n/a"
then :
if true
if test "$TEST_MODULES" = yes
then :
if test "$ac_cv_func_dlopen" = yes
then :
@ -31223,7 +31223,7 @@ printf %s "checking for stdlib extension module xxlimited_35... " >&6; }
if test "$py_cv_module_xxlimited_35" != "n/a"
then :
if true
if test "$TEST_MODULES" = yes
then :
if test "$ac_cv_func_dlopen" = yes
then :

View File

@ -7661,8 +7661,8 @@ PY_STDLIB_MOD([_ctypes_test],
dnl Limited API template modules.
dnl Emscripten does not support shared libraries yet.
PY_STDLIB_MOD([xxlimited], [], [test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([xxlimited_35], [], [test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([xxlimited], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
# substitute multiline block, must come after last PY_STDLIB_MOD()
AC_SUBST([MODULE_BLOCK])