diff options
author | Chip Salzenberg <chip@perl.com> | 1997-02-18 10:22:49 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-02-22 04:41:00 +1200 |
commit | b002077ab466278de0992f4fa3a3355ea90fa690 (patch) | |
tree | aa6ed5fd721ba3be767adc106c3c372bc02c3dc2 /t/pragma | |
parent | cfa4f241474ab59f4e40e1ae0c286d51ff246f4a (diff) | |
download | perl-b002077ab466278de0992f4fa3a3355ea90fa690.tar.gz |
Don't run locale test if -DNO_LOCALE
Diffstat (limited to 't/pragma')
-rwxr-xr-x | t/pragma/locale.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 4e6197769b..298e5bab80 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; |