From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16655 invoked by alias); 7 May 2004 16:45:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16646 invoked from network); 7 May 2004 16:45:51 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 7 May 2004 16:45:51 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BM8Tt-0006QJ-JI; Fri, 07 May 2004 12:45:49 -0400 Date: Fri, 07 May 2004 16:45:00 -0000 From: Daniel Jacobowitz To: mec.gnu@mindspring.com, Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] configure.in: revert osf5.1 no-noncurses special case Message-ID: <20040507164549.GA24613@nevyn.them.org> Mail-Followup-To: mec.gnu@mindspring.com, Mark Kettenis , gdb-patches@sources.redhat.com References: <20040507155227.850714B104@berman.michael-chastain.com> <200405071623.i47GN8u1066198@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200405071623.i47GN8u1066198@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00208.txt.bz2 On Fri, May 07, 2004 at 06:23:08PM +0200, Mark Kettenis wrote: > Date: Fri, 7 May 2004 11:52:27 -0400 (EDT) > From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) > > Personally, I don't see the point in worrying about this. If you've got > > a broken ncurses installation - one where the linker finds -lncurses but > > gcc doesn't, or vice versa, is broken in my book - it's your problem. > > Right now I have *no way to fix it*. I built ncurses 5.2, ncurses 5.3, > and ncurses 5.4 on this system, and I built gdbtui with each of them and > ran each of them. All of them work. But I had to hack the Makefile to > do it, because there is no configuration option to tell gdb to use > $MIGCHAIN_DIR_INSTALL/host/ncurses-5.4. (And I can't install any > software as root on this system). > > Suppose I want to test a new version of ncurses? > > Suppose I have an oddball platform and I need to patch ncurses in > order to use it? > > The way this is supposed to work with autoconf is that you set the > right environment variables (CPPFLAGS, LDFLAGS) before running > configure. Unfortunately most configure scripts out there don't > respect these variables, because folks overide these variables in > their Makefile.in. But we don't. Michael, is there any reason this wouldn't have worked for you? CPPFLAGS="-I$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/include" \ LDFLAGS="-L$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/lib" \ $src/configure Or even: CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib" \ $src/configure -- Daniel Jacobowitz