X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9F3F69DD676 for ; Thu, 1 Dec 2005 23:43:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54965-08 for ; Thu, 1 Dec 2005 23:43:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 8F59A9DCAB4 for ; Thu, 1 Dec 2005 23:43:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jB23hJXq027253; Thu, 1 Dec 2005 22:43:19 -0500 (EST) To: Bruce Momjian cc: Peter Eisentraut , pgsql-patches@postgresql.org, "Jim C. Nasby" , Andrew Dunstan , Seneca Cunningham Subject: Re: [HACKERS] Should libedit be preferred to libreadline? In-reply-to: <200512020327.jB23RWO00507@candle.pha.pa.us> References: <200512020327.jB23RWO00507@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 01 Dec 2005 22:27:32 -0500" Date: Thu, 01 Dec 2005 22:43:19 -0500 Message-ID: <27252.1133494999@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/27 X-Sequence-Number: 17986 Bruce Momjian writes: > Tom Lane wrote: >> Can't it just be --with-libedit? That seems awfully verbose, >> particularly seeing that configure doesn't handle switch abbreviation. > The problem is that we need a clear way to say we don't want any line > editing. Right now we do it with --without-readline. Also, we already > test for libedit if we don't find readline. Would we stop doing that? Well, we could rename --without-readline to --without-editing, but I think this would just break people's existing expectations without adding much. I don't see a problem with documenting --with-libedit prefer libedit over libreadline and leaving the rest alone. > Oh, one good thing is that the new configure 2.59 we are using throws an > error now for invalid user-supplied configure options, rather than > silently ignoring it like it used to. Really? I did "configure --with-bozo" and it didn't complain. It does barf on "--bozo", but the autoconf boys have been insistent for more than a decade that accepting --with-anything is a feature not a bug. So I think --with-some-long-name is more user-unfriendly than user-friendly. regards, tom lane