From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15600 invoked by alias); 31 Jul 2006 20:39:16 -0000 Received: (qmail 15585 invoked by uid 22791); 31 Jul 2006 20:39:14 -0000 X-Spam-Check-By: sourceware.org Received: from pool-71-248-179-229.bstnma.fios.verizon.net (HELO cgf.cx) (71.248.179.229) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Jul 2006 20:39:13 +0000 Received: by cgf.cx (Postfix, from userid 201) id 8A43E13C0F1; Mon, 31 Jul 2006 16:39:11 -0400 (EDT) Date: Mon, 31 Jul 2006 20:39:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org Subject: Re: [RFC] Add expat to the GDB sources Message-ID: <20060731203911.GE27818@trixie.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org References: <20060723224032.GA5168@trixie.casa.cgf.cx> <200607232318.k6NNIV28004376@elgar.sibelius.xs4all.nl> <20060724152438.GA17094@trixie.casa.cgf.cx> <20060724195118.GE13612@nevyn.them.org> <20060724214157.GC25632@trixie.casa.cgf.cx> <200607242229.k6OMTR1a022831@elgar.sibelius.xs4all.nl> <20060731173312.GA10875@nevyn.them.org> <20060731202422.GA16346@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060731202422.GA16346@nevyn.them.org> User-Agent: Mutt/1.5.11 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00438.txt.bz2 On Mon, Jul 31, 2006 at 04:24:22PM -0400, Daniel Jacobowitz wrote: >On Mon, Jul 31, 2006 at 01:33:12PM -0400, Daniel Jacobowitz wrote: >>As for optional versus required, I don't think there's a relevant FSF >>position. However, I very much wanted to use the XML target >>descriptions in some cases to replace the C-coded ones. So obviously I >>prefer to require expat. > >Which yields this patch. > >If our final decision is to make all features which require expat >optional, I can rework this patch to only issue a warning message, and >update the documentation accordingly. It currently: > - Searches $prefix/lib and $prefix/include for expat, as well > as the standard system directories. > - Offers a documented option to find expat elsewhere. > - Defines HAVE_LIBEXPAT in config.h. > >I think I've said everything useful that I can say on this subject; I >am not sure how to proceed. The options that I see are: > > 1. Refuse to use external libraries. > 2. Make external libraries optional. > 3. Require external libraries, with moderation and documentation. > >Obviously I prefer 3, followed by 2. > >Your thoughts welcome! FWIW, I have the same preferences. Possibly we could also monitor the situation, and if there is too much confusion caused by 3, then look into implementing 2. cgf