From: Gurusamy Sarathy Date: Tue, 22 Feb 2000 10:10:36 +0000 (+0000) Subject: dos-djgpp updates (from Laszlo Molnar ) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2a0188286383355aaa13e586da8618f82242215;p=p5sagit%2Fp5-mst-13.2.git dos-djgpp updates (from Laszlo Molnar ) p4raw-id: //depot/perl@5196 --- diff --git a/djgpp/config.over b/djgpp/config.over index f47e7fc..1f567b4 100644 --- a/djgpp/config.over +++ b/djgpp/config.over @@ -29,6 +29,7 @@ repair() -e 's/byteload/ByteLoader/'\ -e 's=devel/peek=Devel/Peek='\ -e 's=devel/dprof=Devel/DProf='\ + -e 's=sys/sys=Sys/Sys='\ -e 's=file/=='\ -e 's=File/=='\ -e 's=glob=='\ diff --git a/djgpp/configure.bat b/djgpp/configure.bat index e7d41d7..370f5ed 100644 --- a/djgpp/configure.bat +++ b/djgpp/configure.bat @@ -33,5 +33,5 @@ echo Running sed... sh djgpp/djgppsed.sh echo Running Configure... -sh Configure %1 %2 %3 %4 %5 %6 %7 %8 %9 +sh Configure -DPERL_EXTERNAL_GLOB %1 %2 %3 %4 %5 %6 %7 %8 %9 :end diff --git a/djgpp/djgppsed.sh b/djgpp/djgppsed.sh index b62acfd..bb95ad8 100644 --- a/djgpp/djgppsed.sh +++ b/djgpp/djgppsed.sh @@ -24,6 +24,7 @@ SDBHASH='s=dbhash\.tmp=dbhash_tmp=g' SSTAT='s=\.\(stat\.\)=_\1=g' STMP2='s=tmp2=tm2=g' SPACKLIST='s=\.\(packlist\)=_\1=g' +SDOTTMP='s=\.tmp=_tmp=g' sed -e $SCONFIG -e $SGREPTMP -e $SECHOTMP -e $SDDC -e $SOUT -e 's=\.\( \./\$file\)$=sh\1=g' Configure |tr -d '\r' >s; mv -f s Configure sed -e $SEXISTS -e $SLIST -e $SCONFIG Makefile.SH |tr -d '\r' >s; mv -f s Makefile.SH @@ -33,7 +34,7 @@ sed -e $SEXISTS -e $SPACKLIST installperl >s; mv -f s installperl sed -e $SPOD2HTML lib/Pod/Html.pm |tr -d '\r' >s; mv -f s lib/Pod/Html.pm sed -e $SCC -e $SLIST -e $SFILEC -e $SCOR -e $SDEPTMP -e $SHSED makedepend.SH |tr -d '\r' >s; mv -f s makedepend.SH sed -e $SCPP t/comp/cpp.aux |tr -d '\r' >s; mv -f s t/comp/cpp.aux -sed -e $SARGV t/io/argv.t >s; mv -f s t/io/argv.t +sed -e $SARGV -e $SDOTTMP t/io/argv.t >s; mv -f s t/io/argv.t sed -e $SABC t/io/inplace.t >s; mv -f s t/io/inplace.t sed -e $SDBMX t/lib/anydbm.t >s; mv -f s t/lib/anydbm.t sed -e $SDBMX -e $SDBHASH t/lib/gdbm.t >s; mv -f s t/lib/gdbm.t diff --git a/t/lib/glob-basic.t b/t/lib/glob-basic.t index dde8773..a2479ac 100755 --- a/t/lib/glob-basic.t +++ b/t/lib/glob-basic.t @@ -3,7 +3,11 @@ BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; - + require Config; import Config; + if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) { + print "1..0\n"; + exit 0; + } print "1..9\n"; } END { diff --git a/t/lib/glob-case.t b/t/lib/glob-case.t index 2e65a0f..32719b2 100755 --- a/t/lib/glob-case.t +++ b/t/lib/glob-case.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; + require Config; import Config; + if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) { + print "1..0\n"; + exit 0; + } print "1..7\n"; } END { diff --git a/t/lib/glob-global.t b/t/lib/glob-global.t index 44d7e8b..9d273bd 100755 --- a/t/lib/glob-global.t +++ b/t/lib/glob-global.t @@ -3,7 +3,11 @@ BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; - + require Config; import Config; + if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) { + print "1..0\n"; + exit 0; + } print "1..10\n"; } END { diff --git a/t/lib/glob-taint.t b/t/lib/glob-taint.t index 1b9c053..a8dc213 100755 --- a/t/lib/glob-taint.t +++ b/t/lib/glob-taint.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; unshift @INC, '../lib'; + require Config; import Config; + if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) { + print "1..0\n"; + exit 0; + } print "1..2\n"; } END { diff --git a/t/lib/io_unix.t b/t/lib/io_unix.t index 0e559e0..62569a5 100644 --- a/t/lib/io_unix.t +++ b/t/lib/io_unix.t @@ -8,6 +8,7 @@ BEGIN { # ``use IO::Socket'' executes too early below in the os2 block if ($^O eq 'dos') { print "1..0 # Skip: no fork\n"; + exit 0; } }