Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Termcap saga again



> 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 <curses.h>

-- 
Peter Stephenson <pws@xxxxxxx>                  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.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author