Improve build-time check that libpq doesn't call exit().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2f7bae2f924d8213a76370f825dc15eb0aa79796
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-07-01T14:45:12Z
Releases: 15.0
Improve build-time check that libpq doesn't call exit().

Further fixes for commit dc227eb82.  Per suggestion from
Peter Eisentraut, use a stamp-file to control when the check
is run, avoiding repeated executions during "make all".
Also, remove "-g" switch for nm: it's useless and some versions
of nm consider it to conflict with "-u".  (Thanks to Noah Misch
for running down that portability issue.)

Discussion: https://postgr.es/m/3128896.1624742969@sss.pgh.pa.us

Files

PathChange+/−
src/interfaces/libpq/.gitignore modified +1 −0
src/interfaces/libpq/Makefile modified +5 −5

Discussion