Re: Make on XP - shell selection?

2007-10-22 Thread Eli Zaretskii
> From: "grischka" <[EMAIL PROTECTED]> > Cc: > Date: Mon, 22 Oct 2007 17:00:48 +0200 > > > That'd be a terrible > > cycle killer, because this function would be called on each command > > invocation. > > But no. Compared to what it takes the OS to spawn (and run!) a process, > one path search m

Re: Make on XP - shell selection?

2007-10-22 Thread Eli Zaretskii
> Date: Mon, 22 Oct 2007 12:56:21 +0800 > From: "Yongwei Wu" <[EMAIL PROTECTED]> > Cc: "Eli Zaretskii" <[EMAIL PROTECTED]>, make-w32@gnu.org > > On 21/10/2007, grischka <[EMAIL PROTECTED]> wrote: > > We can initialize SHELL either fixed to COMSPEC, or fixed to "sh", > > optionally from the environ

Re: Make on XP - shell selection?

2007-10-22 Thread grischka
Eli Zaretskii wrote: > I'm not sure I follow: are you suggesting to write a function named > w32_adjust_shell_and_set_mode_flags Yes, a function that operates on the expanded string of SHELL when it's about to be used. > that would search for SHELL along > PATH, like find_and_set_default_shell d

Re: Make on XP - shell selection?

2007-10-22 Thread Earnie Boyd
Quoting Yongwei Wu <[EMAIL PROTECTED]>: On 21/10/2007, grischka <[EMAIL PROTECTED]> wrote: We can initialize SHELL either fixed to COMSPEC, or fixed to "sh", optionally from the environment (SHELL or MAKESHELL), or based on PATH search as currently (which I think is evil, though). As 'default