From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17459 invoked from network); 8 May 2001 14:57:41 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 May 2001 14:57:41 -0000 Received: (qmail 1480 invoked by alias); 8 May 2001 14:57:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14262 Received: (qmail 1357 invoked from network); 8 May 2001 14:57:25 -0000 Message-ID: To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Termcap saga again In-Reply-To: Your message of "Tue, 08 May 2001 14:35:43 -0000." <1010508143543.ZM29748@candle.brasslantern.com> Date: Tue, 08 May 2001 15:56:21 +0100 From: Peter Stephenson > On May 8, 10:36am, Peter Stephenson wrote: > } Subject: Termcap saga again > } > } It seems HAVE_CURSES_H isn't getting defined --- it's generating warnings > } about redefined macros, is this enough to stop configure recognising it? > > Is it HAVE_CURSES_H that's not defined, or is it TERM_H_NEEDS_CURSES_H ? Definitely the former, so the patch doesn't help. Here's the config.log section in full. Looks like some standards organisation has been along and redefined anything... it doesn't work any more, but no doubt it passes some quality control test instead. widec.h is including wchar.h, which is including iso/wchar_iso.h, so this seems to be intrinsic to SunOS 5.8 (again). Maybe we should upgrade to 5.7. Is there some other way of doing the test that will simply see if it compiled? I should know but I can't remember. configure:3207: checking for curses.h configure:3217: gcc -E -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >/dev/null 2>conftest.out In file included from /usr/include/curses.h:23, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/curses.h:5, from configure:3213: /usr/include/widec.h:38: warning: `getwc' redefined /usr/include/iso/wchar_iso.h:337: warning: this is the location of the previous definition /usr/include/widec.h:39: warning: `putwc' redefined /usr/include/iso/wchar_iso.h:340: warning: this is the location of the previous definition /usr/include/widec.h:40: warning: `getwchar' redefined /usr/include/iso/wchar_iso.h:338: warning: this is the location of the previous definition /usr/include/widec.h:41: warning: `putwchar' redefined /usr/include/iso/wchar_iso.h:341: warning: this is the location of the previous definition configure: failed program was: #line 3212 "configure" #include "confdefs.h" #include -- Peter Stephenson Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************