diff options
author | Chip Salzenberg <chip@perl.com> | 1997-02-19 04:22:49 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-03-01 18:40:49 +1200 |
commit | 97a0514d1a190f42e4951dfef2399e1b4f8371ea (patch) | |
tree | 46ec174fd37022d2e142094e0489fd23c0f2ad9a /t/pragma | |
parent | c4c1eb788e2e3ca828c1166987c217d6d5945f92 (diff) | |
download | perl-97a0514d1a190f42e4951dfef2399e1b4f8371ea.tar.gz |
Don't test locales if there is no setlocale()
Diffstat (limited to 't/pragma')
-rwxr-xr-x | t/pragma/locale.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 298e5bab80..05891fad77 100755 --- a/t/pragma/locale.t +++ b/t/pragma/locale.t @@ -4,7 +4,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Config; import Config; - if ($Config{ccflags} =~ /\bD?NO_LOCALE\b/) { + if (!$Config{d_setlocale} || $Config{ccflags} =~ /\bD?NO_LOCALE\b/) { print "1..0\n"; exit; } |