Re: configure.in patch for readline and curses.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jason Schroeder <shrode(at)astanetworks(dot)com>
Cc: "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: configure.in patch for readline and curses.
Date: 2001-01-27 09:12:54
Message-ID: Pine.LNX.4.30.0101271008440.1492-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jason Schroeder writes:

> The following configure.in patch changes the following:
> 1) It adds --without-readline to control whether the readling package is
> used
> Obviously, this could be extended to the general
> --with[out]-readline[=DIR] pattern, but this is as far as I got.

Why would one not use readline?

> 2) It permits the termcap library to be used IFF ncurses and curses are not
> available.

I don't think older versions of readline can be linked against curses. If
at all, termcap should be tried before curses, but that might not be
portable either. You'd need to try a complete link of a readline-using
program, I think.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message GB Clark II 2001-01-27 11:07:49 Re: Sure enough, the lock file is gone
Previous Message The Hermit Hacker 2001-01-27 07:19:53 Re: Which version?

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2001-01-27 15:41:18 Updated Win32 patch
Previous Message Bruce Momjian 2001-01-27 04:41:21 Re: patch for src/backends/catalog/genbki.sh.in