bug-make
[Top][All Lists]
Advanced

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

[bug #54870] Defining macro with name of built-in function


From: Paul D. Smith
Subject: [bug #54870] Defining macro with name of built-in function
Date: Sun, 21 Oct 2018 09:16:14 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #1, bug #54870 (project make):

The special variable .FEATURES is intended to help solve this problem. 
Unfortunately we don't always get every single feature added to this
variable.

However in the case of $(or ...) that function was added in the same release
(3.81) that the .FEATURES variable was introduced.  So, it should be
sufficient to check if this variable is not empty:


ifneq (,$(.FEATURES))
  $(info have "or" function)
endif


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54870>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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