From: Chip Salzenberg Date: Mon, 17 Feb 1997 22:22:49 +0000 (+1200) Subject: Don't run locale test if -DNO_LOCALE X-Git-Tag: perl-5.003_28~4 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/b002077ab466278de0992f4fa3a3355ea90fa690?hp=cfa4f241474ab59f4e40e1ae0c286d51ff246f4a Don't run locale test if -DNO_LOCALE --- diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 4e61977..298e5ba 100755 --- a/t/pragma/locale.t +++ b/t/pragma/locale.t @@ -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;