From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3653 invoked by alias); 7 May 2004 16:23:48 -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 3645 invoked from network); 7 May 2004 16:23:47 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.77.109) by sources.redhat.com with SMTP; 7 May 2004 16:23:47 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i47GN89x000890; Fri, 7 May 2004 18:23:08 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i47GN8li066202; Fri, 7 May 2004 18:23:08 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i47GN8u1066198; Fri, 7 May 2004 18:23:08 +0200 (CEST) Date: Fri, 07 May 2004 16:23:00 -0000 Message-Id: <200405071623.i47GN8u1066198@elgar.kettenis.dyndns.org> From: Mark Kettenis To: mec.gnu@mindspring.com CC: drow@false.org, mec.gnu@mindspring.com, gdb-patches@sources.redhat.com In-reply-to: <20040507155227.850714B104@berman.michael-chastain.com> (mec.gnu@mindspring.com) Subject: Re: [patch] configure.in: revert osf5.1 no-noncurses special case References: <20040507155227.850714B104@berman.michael-chastain.com> X-SW-Source: 2004-05/txt/msg00207.txt.bz2 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.