Skip to content

Commit 73978d8

Browse files
committed
Configure: Allow LC_ALL syntax override
Fixes #22992 The problem here had to do with cross-compilation. There was no way to override Perl's calculation of how LC_ALL is represented. I had not put one in because it is hard to get it right manually. But this doesn't work in cross-compilation; it's better to have a difficult-to-get-right way than no way at all. I don't know where to document this. You need to specify in a hints file: perl_lc_all_separator="correct-value" perl_lc_all_category_positions_init="correct-value"
1 parent e09fa77 commit 73978d8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Configure

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17484,6 +17484,8 @@ $rm_try
1748417484
esac
1748517485
esac
1748617486

17487+
case "$perl_lc_all_separator$perl_lc_all_category_positions_init" in
17488+
"")
1748717489
: Check the syntax of LC_ALL when categories are set to different locales
1748817490
echo " "
1748917491
$echo "Checking the syntax of LC_ALL when categories are set to different locales..." >&4
@@ -17861,6 +17863,14 @@ $rm -f try try.*
1786117863
d_perl_lc_all_uses_name_value_pairs="$define"
1786217864
;;
1786317865
esac
17866+
;;
17867+
17868+
*) # Has an lc_all definition passed-in
17869+
d_perl_lc_all_separator="$define"
17870+
d_perl_lc_all_category_positions_init="$define"
17871+
d_perl_lc_all_uses_name_value_pairs="$undef"
17872+
;;
17873+
esac
1786417874

1786517875
: see if pipe2 exists
1786617876
set pipe2 d_pipe2

0 commit comments

Comments
 (0)