On Saturday, 23 September, William Gianopoulos ([EMAIL PROTECTED]) wrote:

> The $call abspath ends up calling the built-in abspath and does not use
> the one defined in rules.mk.  This was verified both by adding fprintf's
> to the built-in abspath as well as the fact that I was able to fix my
> issue by making changes to the abspath funciton defined in function.c.

Hm.  I've re-checked the documentation and it's actually quite clear about
this: if the name is a builtin function then that function is invoked
instead of any variable by that name.  Make is behaving as the docs require.

I'm not sure this makes sense, however.  Offhand it seems to me that call
should prefer user-defined functions.

We'd need to think carefully about this before making that change however.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Make-w32 mailing list
Make-w32@gnu.org
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to