DOS/DJGPP has nl_langinfo() but nothing much in it.
Jarkko Hietaniemi [Mon, 3 Dec 2001 22:13:07 +0000 (22:13 +0000)]
p4raw-id: //depot/perl@13445

ext/I18N/Langinfo/Langinfo.t

index 4e14410..ab22572 100644 (file)
@@ -5,7 +5,8 @@ BEGIN {
     @INC = '../lib';
     require Config; import Config;
     if ($Config{'extensions'} !~ m!\bI18N/Langinfo\b! ||
-       $Config{'extensions'} !~ m!\bPOSIX\b!)
+       $Config{'extensions'} !~ m!\bPOSIX\b! ||
+       $^O eq 'dos') # DJGPP has langinfo() but it seems to largely be a dummy
     {
        print "1..0 # skip: I18N::Langinfo or POSIX unavailable\n";
        exit 0;