help-make
[Top][All Lists]
Advanced

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

Re: problem with interaction between gnu-automake and gnu-make


From: aotto
Subject: Re: problem with interaction between gnu-automake and gnu-make
Date: Wed, 18 Sep 2024 10:27:35 +0200
User-agent: Mozilla Thunderbird

On 18.09.24 10:21, aotto wrote:

Hi,

I run into a problem like:

> theConfig/c/Makefile_local.mk:40: error: endif without if

which is a command-namespace clash between "gnu-automake" and "gnu-make" sharing the 
"endif" command:

-> this is the same problem as: 
https://lists.gnu.org/archive/html/automake/2000-10/msg00107.html

-------------------------------------------------------------------------------------------------------

My problem is that I include a "gnu-make" file into a "gnu-automake" file and the 
"gnu-make" file has an
construct like:

    ifndefMAKE_LNG
    $(callError, MAKE_LNG not defined)
    endif

the CORE problem is that "gnu-automake" and or "gnu-make" does **not** offer an 
alternative namespace
for there "private" command API like

"endif" -> "gnu_endif" etc


the command above COULD be rewritten as :

   gnu_ifndefMAKE_LNG
   $(gnu_callError, MAKE_LNG not defined)
   gnu_endif

etc, and **all** the problems are gone.



sorry but the "mail-composer" has decided to delete some white-space, the 
construct
> ifndefMAKE_LNG
should be
> ifndef MAKE_LNG





reply via email to

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