Improve build-time check that libpq doesn't call exit().
authorTom Lane <[email protected]>
Thu, 1 Jul 2021 14:45:12 +0000 (10:45 -0400)
committerTom Lane <[email protected]>
Thu, 1 Jul 2021 14:45:12 +0000 (10:45 -0400)
commit2f7bae2f924d8213a76370f825dc15eb0aa79796
treea6beb6628683b04d023dde2f3b1da4785dfcf5ae
parenta0fc813266467d666b8f09ccccaccb700326a296
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
src/interfaces/libpq/.gitignore
src/interfaces/libpq/Makefile