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 :
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 :
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])