aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
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:09 -0500
commit0b59b0e8bcc9e85bad6fffa7828344db1a36f20a (patch)
treefdcd8e2d119d4ccc4e4c6b29bb7c8ae4b1a6e8c8 /src/backend/access/transam/commit_ts.c
parentd3bbc4b96a5b4d055cf636596c6865913a099929 (diff)
downloadpostgresql-0b59b0e8bcc9e85bad6fffa7828344db1a36f20a.tar.gz
postgresql-0b59b0e8bcc9e85bad6fffa7828344db1a36f20a.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/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions