emacs-devel
[Top][All Lists]
Advanced

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

Re: Tests, Emacs-25 and Conditional Features


From: Phillip Lord
Subject: Re: Tests, Emacs-25 and Conditional Features
Date: Sat, 19 Mar 2016 21:26:40 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Phillip Lord)
>> Cc: address@hidden,  address@hidden
>> Date: Fri, 18 Mar 2016 17:20:30 +0000
>> 
>> Eli Zaretskii <address@hidden> writes:
>> >> Michael's example shows, we have a gnutls-available-p function which
>> >> is defined if gnutls is not available, but for libxml, we check for
>> >> non-definition of functions.
>> >
>> > It would be trivial to add a libxml2-available-p function, but I fail
>> > to see how is this different from using fboundp.  And AFAIU, in the
>> > context of this discussion, you don't want to trust the likes of
>> > gnutls-available-p, either.
>> 
>> One is one way, the other is the other way.
>> 
>> Principle of least surprise and all that stuff.
>
> Are we still talking about the feature test you wanted to have?


Yeah. A consistent mechanism for identifying the presence of absence of
build conditional features would be no bad thing.

Phil



reply via email to

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