projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
de01fcc
)
Don't test locales if there is no setlocale()
Chip Salzenberg [Tue, 18 Feb 1997 16:22:49 +0000 (
04:22
+1200)]
t/pragma/locale.t
patch
|
blob
|
blame
|
history
diff --git
a/t/pragma/locale.t
b/t/pragma/locale.t
index
298e5ba
..
05891fa
100755
(executable)
--- 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;
}