This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't run locale test if -DNO_LOCALE
authorChip Salzenberg <chip@perl.com>
Mon, 17 Feb 1997 22:22:49 +0000 (10:22 +1200)
committerChip Salzenberg <chip@atlantic.net>
Fri, 21 Feb 1997 16:41:00 +0000 (04:41 +1200)
t/pragma/locale.t

index 4e61977..298e5ba 100755 (executable)
@@ -3,6 +3,11 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
+    require Config; import Config;
+    if ($Config{ccflags} =~ /\bD?NO_LOCALE\b/) {
+       print "1..0\n";
+       exit;
+    }
 }
 
 use strict;