• Tom Lane's avatar
    Ignore libedit/libreadline while probing for standard functions. · 2666a6d0
    Tom Lane authored
    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 59cf88da, 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.
    2666a6d0
configure.in 62.7 KB