forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit640a4ba
committed
Postpone LLVM-related uses of AC_CHECK_DECLS.
Calling AC_CHECK_DECLS before we've finished setting up the compiler'sCFLAGS seems like a pretty risky proposition, especially now that thefirst use of that macro will result in a test to see whether the compilergives warning or error for undeclared built-in functions. That answercould very easily get changed later than where PGAC_LLVM_SUPPORT iscalled; furthermore, it's hardly unlikely that flags such as -D_GNU_SOURCEcould change visibility of declarations. Hence, be a little less cavalierabout where to do LLVM-related tests. This results in v11 and HEAD doingthe warning-or-error check at the same place in the script as olderbranches are doing it, which seems like a good thing.Per further thought about commits0b59b0e and16fbac3.1 parent6e5f8d4 commit640a4ba
3 files changed
+230
-211
lines changedLines changed: 21 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 | 94 |
| |
103 | 95 |
| |
104 | 96 |
| |
| |||
107 | 99 |
| |
108 | 100 |
| |
109 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + |
0 commit comments
Comments
(0)