From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27197 invoked by alias); 25 Nov 2002 20:36:39 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 27190 invoked from network); 25 Nov 2002 20:36:38 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Nov 2002 20:36:38 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EDD903E4B; Mon, 25 Nov 2002 15:36:33 -0500 (EST) Message-ID: <3DE289D1.50409@redhat.com> Date: Mon, 25 Nov 2002 12:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: insight@sources.redhat.com, Nathanael Nerode Subject: [Fwd: [Fwd: Re: Toplevel: Maybe-ize GDB_TK.]] Content-Type: multipart/mixed; boundary="------------060702010605040306050001" X-SW-Source: 2002-q4/txt/msg00122.txt.bz2 This is a multi-part message in MIME format. --------------060702010605040306050001 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 110 (Never one to miss an oportunity to pass the buck, forwarding it to insight which uses the tk part). Andrew --------------060702010605040306050001 Content-Type: message/rfc822; name="[Fwd: Re: Toplevel: Maybe-ize GDB_TK.]" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="[Fwd: Re: Toplevel: Maybe-ize GDB_TK.]" Content-length: 5579 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: ac131313@localhost.redhat.com Received: from localhost (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DC1C43E4B for ; Sun, 24 Nov 2002 14:55:33 -0500 (EST) Envelope-to: cagney@gnu.org Delivery-date: Sun, 24 Nov 2002 14:51:29 -0500 Received: from fencepost.gnu.org by localhost with IMAP (fetchmail-5.9.13) for ac131313@localhost (single-drop); Sun, 24 Nov 2002 14:55:33 -0500 (EST) Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18G2mv-0000I5-02 for cagney@gnu.org; Sun, 24 Nov 2002 14:51:29 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18G2m9-0001J1-00 for cagney@gnu.org; Sun, 24 Nov 2002 14:50:44 -0500 Received: from sources.redhat.com ([209.249.29.67]) by monty-python.gnu.org with smtp (Exim 4.10) id 18G2m9-0001IP-00 for cagney@gnu.org; Sun, 24 Nov 2002 14:50:41 -0500 Received: (qmail 2447 invoked by alias); 24 Nov 2002 19:50:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Delivered-To: mailing list gdb@sources.redhat.com Received: (qmail 2440 invoked from network); 24 Nov 2002 19:50:34 -0000 Received: from unknown (HELO mailout6-0.nyroc.rr.com) (24.92.226.125) by sources.redhat.com with SMTP; 24 Nov 2002 19:50:34 -0000 Received: from twcny.rr.com (syr-66-66-30-119.twcny.rr.com [66.66.30.119]) by mailout6-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id gAOJoXk07103 for ; Sun, 24 Nov 2002 14:50:33 -0500 (EST) Message-ID: <3DE12D6B.1010007@twcny.rr.com> Date: Sun, 24 Nov 2002 14:50:03 -0500 From: Nathanael Nerode User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021108 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: [Fwd: Re: Toplevel: Maybe-ize GDB_TK.] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.4 required=5.0 tests=FWD_MSG,QUOTED_EMAIL_TEXT,RCVD_IN_MULTIHOP_DSBL, RCVD_IN_UNCONFIRMED_DSBL,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.41 X-Spam-Level: Content-length: 2910 -------- Original Message -------- Subject: Re: Toplevel: Maybe-ize GDB_TK. Date: Wed, 20 Nov 2002 16:27:05 -0500 From: DJ Delorie To: neroden@twcny.rr.com References: <20021120212326.GA21509@doctormoo> Could you send a copy of this to the gdb list? I'm sure they have a better understanding of the Tk dependencies than the gcc folks. > X-Sieve: cmu-sieve 2.0 > Date: Wed, 20 Nov 2002 16:23:26 -0500 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.4i > From: Nathanael Nerode > > Another maybe-izing change for b-i-b, tested on i686-pc-linux-gnu. > > The long comment added here indicates what I really want to do, but it needs > extensive testing so I'm doing the 'preliminaries' here. > > * configure: Move GDB_TK substitution to configure.in. > * configure.in: Maybe-ize GDB_TK, rearrange slightly. > > --- configure.4 2002-11-20 16:12:28.000000000 -0500 > +++ configure 2002-11-20 16:18:42.000000000 -0500 > @@ -1355,8 +1355,6 @@ > -e "s:@DEFAULT_LEX@:${DEFAULT_LEX}:" \ > -e "s:@DEFAULT_M4@:${DEFAULT_M4}:" \ > ./Makefile.tem > ${Makefile} > - sed -e "s:@GDB_TK@:${GDB_TK}:" ${Makefile} >${Makefile}.tem > - mv -f ${Makefile}.tem ${Makefile} > > # If this is a Canadian Cross, preset the values of many more > # tools. > --- configure.in.4 2002-11-20 16:12:24.000000000 -0500 > +++ configure.in 2002-11-20 16:18:22.000000000 -0500 > @@ -848,13 +848,6 @@ > *msdosdjgpp*) > enable_gdbtk=no ;; > esac > -# Determine whether gdb needs tk/tcl or not. > -case "$enable_gdbtk" in > - no) > - GDB_TK="" ;; > - *) > - GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" ;; > -esac > > copy_dirs= > > @@ -1383,6 +1376,20 @@ > configure_target_modules="${configure_target_modules} configure-target-${module}" > done > > +# Determine whether gdb needs tk/tcl or not. > +# Use 'maybe' since enable_gdbtk might be true even if tk isn't available > +# and in that case we want gdb to be built without tk. Ugh! > +# In fact I believe gdb is the *only* package directly dependent on tk, > +# so we should be able to put the 'maybe's in unconditionally and > +# leave out the maybe dependencies when enable_gdbtk is false. I'm not > +# 100% sure that that's safe though. > +case "$enable_gdbtk" in > + no) > + GDB_TK="" ;; > + *) > + GDB_TK="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-libgui" ;; > +esac > + > # Create the 'maybe dependencies'. This uses a temporary file. > rm -f maybedep.tmp > for item in ${all_build_modules} ${all_host_modules} ${all_target_modules} \ > @@ -1593,6 +1600,7 @@ > > sedtemp=sed.$$ > cat >$sedtemp < +s%@GDB_TK@%${GDB_TK}% > s%@all_build_modules@%${all_build_modules}% > s%@configure_build_modules@%${configure_build_modules}% > s%@all_host_modules@%${all_host_modules}% > --------------060702010605040306050001--