projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de01fcc
)
Don't test locales if there is no setlocale()
author
Chip Salzenberg
<chip@perl.com>
Tue, 18 Feb 1997 16:22:49 +0000
(
04:22
+1200)
committer
Chip Salzenberg
<chip@atlantic.net>
Sat, 1 Mar 1997 06:40:49 +0000
(18:40 +1200)
t/pragma/locale.t
patch
|
blob
|
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;
}