From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2213 invoked from network); 1 May 2001 15:04:35 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 May 2001 15:04:35 -0000 Received: (qmail 20421 invoked by alias); 1 May 2001 15:04:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14187 Received: (qmail 20396 invoked from network); 1 May 2001 15:04:26 -0000 From: "Bart Schaefer" Message-Id: <1010501150227.ZM6942@candle.brasslantern.com> Date: Tue, 1 May 2001 15:02:27 +0000 In-Reply-To: Comments: In reply to Peter Stephenson "Re: Termcap saga" (May 1, 1:58pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Termcap saga MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 1, 1:58pm, Peter Stephenson wrote: } } What's supposed to happen after the last set of changes? The trouble is that configure's -lcurses vs. -ltermcap decision is based on linking to tgetent, but term{cap,info}.c's decision of which headers to included is based only on whether those headers are present. So it includes headers it doesn't need, and (for the same reason that Andrej was having trouble with the stat module -- the Cygwin folks are getting overzealous with `const') it ends up declaring global variables it won't need. Since nobody has howled about 14177 changing the configure messages, I'll commit it and then look at moving the checks for curses.h and term.h into the section for --with-curses-terminfo so they'll be checked for only if they're going to be needed. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net