aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-11-17 23:16:00 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-11-17 23:16:11 -0500
commitb81ef6386ea890423f1f15a67ff3bc679f9f63d6 (patch)
tree3d160d2cf3c6af6d9945e16b36eab944b948fed4 /src
parentbf070ce09e05943d6484de0ec17c7b02f2690a6d (diff)
downloadpostgresql-b81ef6386ea890423f1f15a67ff3bc679f9f63d6.tar.gz
postgresql-b81ef6386ea890423f1f15a67ff3bc679f9f63d6.zip
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 01051a987). 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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions