Thread: pgsql: Fix readline/libedit selection code to prefer readline over

pgsql: Fix readline/libedit selection code to prefer readline over

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix readline/libedit selection code to prefer readline over libedit
reliably (ie, regardless of which libraries they depend on).  Also
make sure that we don't select headers that obviously belong to the
wrong one of the two libraries.  This was discussed back around 4-Sep
but seems to have slipped through the cracks.  The header selection
could be checked more closely, perhaps, but let's see if this is good
enough.

Modified Files:
--------------
    pgsql/config:
        programs.m4 (r1.16 -> r1.17)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/config/programs.m4.diff?r1=1.16&r2=1.17)
    pgsql:
        configure (r1.408 -> r1.409)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.408&r2=1.409)
        configure.in (r1.386 -> r1.387)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.386&r2=1.387)