Commit 0b59b0e
committed
Fix AC_REQUIRES breakage in LLVM autoconf tests.
Any Autoconf macro that uses AC_REQUIRES -- directly or indirectly --
must not be inside a plain shell "if" test; if it is, whatever code
gets pulled in by the AC_REQUIRES will also be inside that "if".
Instead of "if" we can use AS_IF, which knows how to get this right
(cf commit 01051a9).
The only immediate problem from getting this wrong was that AC_PROG_AWK
had to be run twice, once inside the "if llvm" block and once in the
main line. However, it broke a different patch I'm about to submit
more thoroughly.1 parent d3bbc4b commit 0b59b0e
2 files changed
+4
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4948 | 4948 | | |
4949 | 4949 | | |
4950 | 4950 | | |
4951 | | - | |
4952 | | - | |
| 4951 | + | |
4953 | 4952 | | |
4954 | 4953 | | |
4955 | 4954 | | |
| |||
4991 | 4990 | | |
4992 | 4991 | | |
4993 | 4992 | | |
| 4993 | + | |
4994 | 4994 | | |
4995 | 4995 | | |
4996 | 4996 | | |
| |||
9400 | 9400 | | |
9401 | 9401 | | |
9402 | 9402 | | |
9403 | | - | |
9404 | | - | |
9405 | | - | |
9406 | | - | |
9407 | | - | |
9408 | | - | |
9409 | | - | |
9410 | | - | |
9411 | | - | |
9412 | | - | |
9413 | | - | |
9414 | | - | |
9415 | | - | |
9416 | | - | |
9417 | | - | |
9418 | | - | |
9419 | | - | |
9420 | | - | |
9421 | | - | |
9422 | | - | |
9423 | | - | |
9424 | | - | |
9425 | | - | |
9426 | | - | |
9427 | | - | |
9428 | | - | |
9429 | | - | |
9430 | | - | |
9431 | | - | |
9432 | | - | |
9433 | | - | |
9434 | | - | |
9435 | | - | |
9436 | | - | |
9437 | | - | |
9438 | | - | |
9439 | | - | |
9440 | | - | |
9441 | | - | |
9442 | | - | |
9443 | | - | |
9444 | | - | |
9445 | 9403 | | |
9446 | 9404 | | |
9447 | 9405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
| 394 | + | |
| 395 | + | |
397 | 396 | | |
398 | 397 | | |
399 | 398 | | |
| |||
1020 | 1019 | | |
1021 | 1020 | | |
1022 | 1021 | | |
1023 | | - | |
1024 | 1022 | | |
1025 | 1023 | | |
1026 | 1024 | | |
| |||
0 commit comments