bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API change with macro KEY_EVENT?


From: Thomas Dickey
Subject: Re: API change with macro KEY_EVENT?
Date: Fri, 18 Sep 2020 19:08:21 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Fri, Sep 18, 2020 at 05:13:03PM -0400, Thomas Dickey wrote:
> On Fri, Sep 18, 2020 at 09:37:56PM +0200, Sven Joachim wrote:
...
> 
> > diff --git a/include/Makefile.in b/include/Makefile.in
> > index d89dfa3d..25cca487 100644
> > --- a/include/Makefile.in
> > +++ b/include/Makefile.in
> > @@ -1,4 +1,4 @@
> > -# $Id: Makefile.in,v 1.48 2020/02/19 23:54:22 tom Exp $
> > +# $Id: Makefile.in,v 1.49 2020/08/17 10:43:16 tom Exp $
> >  
> > ##############################################################################
> >  # Copyright 2019,2020 Thomas E. Dickey                                     
> >   #
> >  # Copyright 1998-2013,2015 Free Software Foundation, Inc.                  
> >   #
> > @@ -104,6 +104,7 @@ curses.h :      $(CAPLIST) \
> >             $(srcdir)/MKkey_defs.sh
> >     cat curses.head >$@
> >     AWK=$(AWK) $(SHELL) $(srcdir)/MKkey_defs.sh $(CAPLIST) >>$@
> > +   $(SHELL) -c 'if test "@NCURSES_EXT_FUNCS@" = "1" ; then cat 
> > $(srcdir)/curses.events >>$@ ; fi'
> >     $(SHELL) -c 'if test "@NCURSES_CH_T@" = "cchar_t" ; then cat 
> > $(srcdir)/curses.wide >>$@ ; fi'
> >     cat $(srcdir)/curses.tail >>$@
> 
> This part of the change was needed to apply the curses.events chunk.
> 
> > and @NCURSES_EXT_FUNCS@ evaluates to 1 unless "--disable-ext-funcs" is
> > given to configure AFAICS.  That's not what was intended, namely a check
> > for "--enable-wgetch-events", it seems?

ah... there's probably a name for this (looking at something and seeing
the wrong information).  I agree, it's the wrong variable.  I'll put
out an update with only this fix.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]