diff options
-rw-r--r-- | lib/Unicode/UCD.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Unicode/UCD.t b/lib/Unicode/UCD.t index f0a29add5d..a36902caca 100644 --- a/lib/Unicode/UCD.t +++ b/lib/Unicode/UCD.t @@ -1,3 +1,4 @@ +#!perl -w BEGIN { if (ord("A") == 193) { print "1..0 # Skip: EBCDIC\n"; @@ -6,6 +7,11 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; @INC = "::lib" if $^O eq 'MacOS'; # module parses @INC itself + require Config; import Config; + if ($Config{'extensions'} !~ /\bStorable\b/) { + print "1..0 # Skip: Storable was not built; Unicode::UCD uses Storable\n"; + exit 0; + } } use strict; |