Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2012-12-18 21:22:13 +0000
committerTom Lane2012-12-18 21:23:33 +0000
commit2666a6d0b934b19d4a691b93a64c7d3208acad43 (patch)
treebed9ef89050d6231e3cb7fe8d4f77d07488402b7 /src/tools/pginclude/cpluspluscheck
parent1a5f04dd7eed0ac27cc5da9520ef55e16531bca6 (diff)
Ignore libedit/libreadline while probing for standard functions.
Some versions of libedit expose bogus definitions of setproctitle(), optreset, and perhaps other symbols that we don't want configure to pick up on. There was a previous report of similar problems with strlcpy(), which we addressed in commit 59cf88da91bc88978b05275ebd94ac2d980c4047, but the problem has evidently grown in scope since then. In hopes of not having to deal with it again in future, rearrange configure's tests for supplied functions so that we ignore libedit/libreadline except when probing specifically for functions we expect them to provide. Per report from Christoph Berg, though this is slightly more aggressive than his proposed patch.
Diffstat (limited to 'src/tools/pginclude/cpluspluscheck')
0 files changed, 0 insertions, 0 deletions