Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3A644CA3.DB0777A1@yahoo.com>
Date: Tue, 16 Jan 2001 08:29:07 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Earnie Boyd <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Charles Wilson <cwilson@ece.gatech.edu>
CC: Earnie Boyd <cygwin@cygwin.com>,
        "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com>,
        cygwin@sources.redhat.com
Subject: Re: two differents version of unctrl.h, one in cygwin-1.1.7 and one in 
 ncurses-5.2
References: <kvk87wx4h4.fsf_-_@vzell.de.oracle.com> <3A63CEBA.6509B31@ece.gatech.edu> <3A643D02.BCA1CC9C@yahoo.com> <3A643F10.480F6601@ece.gatech.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Charles Wilson wrote:
> 
> Earnie Boyd wrote:
> >
> > Charles Wilson wrote:
> > >
> > > I'll release a new ncurses where the ncurses version of unctrl.h is
> > > renamed 'nunctrl.h' and change all internal ncurses references to point
> > > to the new file.  But I can't guarantee any time frame on that.
> > >
> >
> > I don't know about the rest of this list but I would prefer it be
> > /usr/include/ncurses/unctrl.h.  It is then obvious as to what it is
> > for.  If you name it nunctrl.h then it won't be that obvious.
> 
> But if I do that, then where should all the other include files for
> ncurses go?  It's really odd for them to be split between /usr/include
> and /usr/include/ncurses/.  

IMO, yes, even if it is odd, they should be put in
/usr/include/ncurses.  At least programs won't have to be modified to
use the ncurses version of unctrl.h like they would if you renamed it. 
The correct headers will be used by a simple switch to gcc - see below.

> However, ncurses is not like readline -- it
> doesn't like to install its header files into a subdirectory of
> /usr/include.  (e.g. the #include directives for most packages that
> depend on ncurses reference <curses.h>, not <ncurses/curses.h>.  This
> also goes for the ncurses header files themselves -- they
> inter-reference <foo.h>, not <ncurses/foo.h> or "foo.h".
> 

This can be handled via
  CC='gcc -I/usr/include/ncurses'
so that the headers in ncurses is found instead of the headers in
/usr/include.


Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

