backport B to work on 5.8.x, so that a single version of the source
[p5sagit/p5-mst-13.2.git] / ext / B / t / assembler.t
index d8451f6..fedb6a7 100644 (file)
@@ -155,6 +155,10 @@ use Test::More;
 use Config qw(%Config);
 
 BEGIN {
+  if (($Config{'extensions'} !~ /\bB\b/) ){
+    print "1..0 # Skip -- Perl configured without B module\n";
+    exit 0;
+  }
   if (($Config{'extensions'} !~ /\bByteLoader\b/) ){
     print "1..0 # Skip -- Perl configured without ByteLoader module\n";
     exit 0;