Commit b637101
committed
Cope with cross-compiling when checking for a random-number source.
Commit 16f96c7 neglected to consider the possibility of cross-compiling,
causing cross-compiles to fail at the configure stage unless you'd
selected --with-openssl. Since we're now more or less assuming that
/dev/urandom is available everywhere, it seems reasonable to assume
that the cross-compile target has it too, rather than failing.
Per complaint from Vincas Dargis. Back-patch to v14 where this came in.
Discussion: https://postgr.es/m/0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com1 parent 4bdfe68 commit b637101
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10474 | 10474 | | |
10475 | 10475 | | |
10476 | 10476 | | |
10477 | | - | |
| 10477 | + | |
10478 | 10478 | | |
10479 | 10479 | | |
10480 | 10480 | | |
| |||
18679 | 18679 | | |
18680 | 18680 | | |
18681 | 18681 | | |
| 18682 | + | |
| 18683 | + | |
| 18684 | + | |
18682 | 18685 | | |
18683 | 18686 | | |
18684 | 18687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| |||
2287 | 2287 | | |
2288 | 2288 | | |
2289 | 2289 | | |
| 2290 | + | |
| 2291 | + | |
2290 | 2292 | | |
2291 | 2293 | | |
2292 | 2294 | | |
| |||
0 commit comments