Tom Lane wrote: > (1) modify PGAC_CHECK_READLINE so that it really does prefer readline > over libedit consistently. I think all this would take is switching > the loop order: > > for pgac_rllib in -lreadline -ledit ; do > for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do > > but possibly I'm missing something.
That seems reasonable. I'm not really sure why the loops are nested the other way. > (2) fix the readline header selection so that it will only take the > headers that correspond to the selected library. These libraries are > more or less source-compatible but they do not have the same ABI, so > mix-and-match is not going to work. That sounds like a pretty hard problem to solve. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org