diff options
Diffstat (limited to 'ext/I18N/Langinfo')
-rw-r--r-- | ext/I18N/Langinfo/Langinfo.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/I18N/Langinfo/Langinfo.t b/ext/I18N/Langinfo/Langinfo.t index 0495006f40..9832a5dbed 100644 --- a/ext/I18N/Langinfo/Langinfo.t +++ b/ext/I18N/Langinfo/Langinfo.t @@ -3,9 +3,10 @@ BEGIN { chdir 't' if -d 't'; require Config; import Config; - if ($Config{'extensions'} !~ m!\bI18N/Langinfo\b! && - $Config{'extensions'} !~ m!\bPOSIX\b!) { - print "1..0\n"; + if ($Config{'extensions'} !~ m!\bI18N/Langinfo\b! || + $Config{'extensions'} !~ m!\bPOSIX\b!) + { + print "1..0 # skip: I18N::Langinfo or POSIX unavailable\n"; exit 0; } } |