Alfred M. Szmidt wrote:
> Can you please cite where this "logic" comes from?  I cannot see any
> such text in the GCS.

It is in the node 'Conditional Changes' [1]:

------ snip ------ snip ------ snip ------ snip ------ snip ------ snip ------
   Next, here is an entry describing a new definition which is entirely
conditional: the C macro 'FRAME_WINDOW_P' is defined (and used) only
when the macro 'HAVE_X_WINDOWS' is defined:

     * frame.h [HAVE_X_WINDOWS] (FRAME_WINDOW_P): Macro defined.
------ snip ------ snip ------ snip ------ snip ------ snip ------ snip ------

This describes the logic behind the first case.

And

------ snip ------ snip ------ snip ------ snip ------ snip ------ snip ------
   Next, an entry for a change within the function 'init_display', whose
definition as a whole is unconditional, but the changes themselves are
contained in a '#ifdef HAVE_LIBNCURSES' conditional:

     * dispnew.c (init_display) [HAVE_LIBNCURSES]: If X, call tgetent.
------ snip ------ snip ------ snip ------ snip ------ snip ------ snip ------

This describes the logic behind the second case.

Bruno

[1] https://www.gnu.org/prep/standards/html_node/Conditional-Changes.html




Reply via email to