poke-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Prevent libpoke from linking against libtextstyle


From: Jose E. Marchesi
Subject: Re: [PATCH] Prevent libpoke from linking against libtextstyle
Date: Tue, 05 May 2020 17:39:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

    > Hi Darshit.
    > Looks great!  OK for master.
    >      -  if test $has_hyper_support = yes; then
    >      -      AC_DEFINE([HAVE_TEXTSTYLE_HYPERLINK_SUPPORT], 1,
    >      -                [Defined if libtextstyle has support for terminal 
hyperlinks])
    >      +    AC_DEFINE([HAVE_TEXTSTYLE_HYPERLINK_SUPPORT], 2,
    >      +              [Defined if libtextstyle has support for terminal 
hyperlinks])
    >         fi
    >       ])
    > I'm curious, why 2 :)
    > 
    
    
    _in case_ in the future we want to differentiate between having real
    libtextstyle and a gnulib stub. Both continue to work with `#if 
    HAVE_...` and `#ifdef HAVE_...`, but a finer grained control is now
    possible.

Nice hack :)



reply via email to

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