From: Peter Prymmer Date: Mon, 2 Apr 2001 17:40:27 +0000 (-0700) Subject: build && test XS::Typemap on VMS, glob-basic insensitivity training X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=16421035a0f8ee37bba4befd77fba9ab74b361f8;p=p5sagit%2Fp5-mst-13.2.git build && test XS::Typemap on VMS, glob-basic insensitivity training Message-ID: p4raw-id: //depot/perl@9527 --- diff --git a/configure.com b/configure.com index 4523f7f..6bb3040 100644 --- a/configure.com +++ b/configure.com @@ -1932,6 +1932,10 @@ $ IF myhostname.eqs."".and. - F$TRNLNM("UCX$INET_HOST") .nes. "" .and. - F$TRNLNM("UCX$INET_DOMAIN") .nes. "" THEN - myhostname = F$TRNLNM("UCX$INET_HOST") + "." + F$TRNLNM("UCX$INET_DOMAIN") +$ IF myhostname.eqs."".and. - + F$TRNLNM("TCPIP$INET_HOST") .nes. "" .and. - + F$TRNLNM("TCPIP$INET_DOMAIN") .nes. "" THEN - + myhostname = F$TRNLNM("TCPIP$INET_HOST") + "." + F$TRNLNM("TCPIP$INET_DOMAIN") $ IF myhostname.eqs."" THEN myhostname = F$TRNLNM("TCPWARE_DOMAINNAME") $ IF myhostname.eqs."" THEN myhostname = F$TRNLNM("NEWS_ADDRESS") $ IF myhostname.eqs."" THEN myhostname = F$TRNLNM("SYS$NODE") - "::" @@ -2392,7 +2396,7 @@ $ echo "SDBM_File if you have the GDBM library built on your machine." $ echo "" $ echo "Which modules do you want to build into perl?" $! we need to add Byteloader to this list: -$ dflt = "re Fcntl Encode Errno File::Glob Filter::Util::Call IO Opcode Devel::Peek Devel::DProf Data::Dumper attrs VMS::Stdio VMS::DCLsym B SDBM_File Storable Thread Sys::Hostname Digest::MD5 PerlIO::Scalar MIME::Base64" +$ dflt = "re Fcntl Encode Errno File::Glob Filter::Util::Call IO Opcode Devel::Peek Devel::DProf Data::Dumper attrs VMS::Stdio VMS::DCLsym B SDBM_File Storable Thread Sys::Hostname Digest::MD5 PerlIO::Scalar MIME::Base64 XS::Typemap" $ IF ccname .EQS. "DEC" .OR. ccname .EQS. "CXX" $ THEN $ dflt = dflt + " POSIX" diff --git a/t/lib/glob-basic.t b/t/lib/glob-basic.t index 170237f..fda0f72 100755 --- a/t/lib/glob-basic.t +++ b/t/lib/glob-basic.t @@ -140,6 +140,10 @@ if ('a' lt 'A') { # EBCDIC char sets sort lower case before UPPER @f_names = sort(@f_names); @f_alpha = qw(aY.pl Ax.pl bY.pl Bx.pl cY.pl Cx.pl); } +if ($^O eq 'VMS') { + @f_alpha = qw(ax.pl ay.pl bx.pl by.pl cx.pl cy.pl); + @f_names = @f_alpha; +} for (@f_names) { open T, "> $_"; diff --git a/t/lib/xs-typemap.t b/t/lib/xs-typemap.t index 131c32e..722904f 100644 --- a/t/lib/xs-typemap.t +++ b/t/lib/xs-typemap.t @@ -1,6 +1,11 @@ BEGIN { - chdir 't' if -d 't'; - @INC = '../lib'; + chdir 't' if -d 't'; + @INC = '../lib'; + require Config; import Config; + if ($Config{'extensions'} !~ /\bXS\/Typemap\b/) { + print "1..0 # Skip: XS::Typemap was not built\n"; + exit 0; + } } use Test;