[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix for HAVE_DOS_PATHS build on cygwin
From: |
William Gianopoulos |
Subject: |
Re: Fix for HAVE_DOS_PATHS build on cygwin |
Date: |
Sun, 24 Sep 2006 19:59:22 -0700 (PDT) |
IF it is working according to the documentation, then
I am OK with that. It just seemed odd to me.
Actually, in the case of this Makefile, it should make
no difference anyway as the abspath in the Makefile
was attempting to perform the same function as the
built-in abspath.
--- "Paul D. Smith" <address@hidden> wrote:
> On Saturday, 23 September, William Gianopoulos
> (address@hidden) 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 <address@hidden> 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
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com