[Top][All Lists]

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

Re: Bug in sub_proc.c: what to patch?

From: Alessandro Vesely
Subject: Re: Bug in sub_proc.c: what to patch?
Date: Sat, 18 Dec 2004 09:23:55 +0100

"Paul D. Smith" wrote:
> %% Alessandro Vesely <address@hidden> writes:
>   av> BTW, what about a read-only variable reporting if the shell
>   av> is unixy?
> But that's a runtime determination, not a compile-time
> determination... isn't it?

> And if it is, then shouldn't it be done by the makefile, not make?
Makefile may know if it is win32 from the drive letter, e.g.

   ifeq "" "$(strip $(patsubst /%,,$(firstword $(CURDIR))))"
    ARCH = unix # unixy shell is implied here
    ARCH = win32

but I have no idea how to determine the shell flavour.

reply via email to

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