On Wed, Mar 21, 2001 at 10:56:26AM -0500, Paul D. Smith wrote:
> %% John Poltorak <[EMAIL PROTECTED]> writes:
>
> jp> It's a version of GNU Make ported to OS/2.
>
> This is a bug in that version of GNU make, or in the port to OS/2 (not
> sure). If you have the source code, you want to do this:
>
> Edit the file job.c.
>
> Find the function construct_command_argv_internal().
>
> In that function you'll see a bunch of different definitions of the
> static char string sh_chars... I'm not familiar with your port so I
> can't say exactly how it will look, but you need to find the variable
> sh_chars (or it might be sh_chars_sh on OS/2) that is compiled for your
> version of GNU make.
>
> Add the character ``:'' to that string. Rebuild and see if that works.
Thanks for being so specific. This is what it contains:-
#ifdef __EMX__
static char sh_chars[] = "&|<>^()%`";
int is_cmd = 1;
#else
Hopefully, a rebuild will cure my problem...
> Newer versions of GNU make actually are smart enough to handle ":" by
> itself specially and not actually do anything at all, so this isn't
> necessary.
>
> --
> -------------------------------------------------------------------------------
> Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
> http://www.gnu.org http://www.paulandlesley.org/gmake/
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
>
--
John