This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
metaconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6168d56
)
U/threads/d_nl_langinfo_l.U: fix probe
author
Aaron Crane
<arc@cpan.org>
Sat, 21 Oct 2017 15:41:47 +0000
(16:41 +0100)
committer
Aaron Crane
<arc@cpan.org>
Sat, 21 Oct 2017 15:41:47 +0000
(16:41 +0100)
If there's no thread-safe nl_langinfo_l(), the Configure variable was being
left as the empty string. Set it to "$define" in that case.
U/threads/d_nl_langinfo_l.U
patch
|
blob
|
blame
|
history
diff --git
a/U/threads/d_nl_langinfo_l.U
b/U/threads/d_nl_langinfo_l.U
index
af27afd
..
e44165b
100644
(file)
--- a/
U/threads/d_nl_langinfo_l.U
+++ b/
U/threads/d_nl_langinfo_l.U
@@
-116,6
+116,9
@@
case "$usethreads" in
fi
;;
*) echo "Since threads aren't selected, we won't bother looking for nl_langinfo_l()" >&4
- esac
+esac
+if test X"$d_thread_safe_nl_langinfo_l" = X; then
+ d_thread_safe_nl_langinfo_l="$undef"
+fi
$rm_try