;;
esac
+case "$usedl" in
+define) testreqext="$testreqext \$(DYNALOADER)" ;;
+esac
+
+case "$DPERL_EXTERNAL_GLOB" in
+"") ;;
+*) testreqext="$testreqext \$(EXTGLOB)" ;;
+esac
+
echo "Extracting Makefile (with variable substitutions)"
$spitshell >Makefile <<!GROK!THIS!
# Makefile.SH
nonxs_ext = $nonxs_list
ext = \$(dynamic_ext) \$(static_ext) \$(nonxs_ext)
DYNALOADER = lib/auto/DynaLoader/DynaLoader\$(LIB_EXT)
+EXTGLOB = lib/auto/File/Glob/Glob\$(DLSUFFIX)
+
+TESTREQEXT = $testreqext
libs = $perllibs $cryptlib
fi
@echo "Ran tests" > t/rantests
-test check: test_prep
+test check: test_prep $(TESTREQEXT)
PERL=./perl $(MAKE) _test
-test_tty: test_prep
+test_tty: test_prep $(TESTREQEXT)
PERL=./perl $(MAKE) _test_tty
-test_notty: test_prep
+test_notty: test_prep $(TESTREQEXT)
PERL=./perl $(MAKE) _test_notty
-utest ucheck: test_prep
+utest ucheck: test_prep $(TESTREQEXT)
PERL=./perl UTF8=-utf8 $(MAKE) _test
test-prep: test_prep
test_prep.third: test_prep perl.third
PERL=./perl.third $(MAKE) _test_prep
-test.third check.third: test_prep.third perl.third
+test.third check.third: test_prep.third perl.third $(TESTREQEXT)
PERL=./perl.third PERL_DEBUG=PERL_3LOG=1 $(MAKE) _test
-utest.third ucheck.third: test_prep.third perl.third
+utest.third ucheck.third: test_prep.third perl.third $(TESTREQEXT)
PERL=./perl.third PERL_DEBUG=PERL_3LOG=1UTF=-utf8 $(MAKE) _test
-test_notty.third: test_prep.third perl.third
+test_notty.third: test_prep.third perl.third $(TESTREQEXT)
PERL=./perl.third $(MAKE) PERL_DEBUG=PERL_3LOG=1 _test_notty
# Can't depend on lib/Config.pm because that might be where miniperl