make-w32
[Top][All Lists]
Advanced

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

Re: Fix for HAVE_DOS_PATHS build on cygwin


From: Christopher Faylor
Subject: Re: Fix for HAVE_DOS_PATHS build on cygwin
Date: Thu, 17 Aug 2006 16:43:49 -0400
User-agent: Mutt/1.5.11

On Thu, Aug 17, 2006 at 11:09:31PM +0300, Eli Zaretskii wrote:
>> Date: Thu, 17 Aug 2006 13:50:49 -0400
>> From: Christopher Faylor <address@hidden>
>> 
>> >The Cygwin build could (and probably should) use configure.in, but the
>> >MinGW and MSVC ports don't use the configure script to build
>> >themselves, and so the native builds cannot set PATH_SEPARATOR_CHAR
>> >there.
>> 
>> Whatever the mechanism, it seems like this could easily be made part of
>> config.h.
>
>For the non-Cygwin ports, or for Cygwin as well?
>
>> Wouldn't just adding it to configh.dos suffice?
>
>That one is for the DOS (a.k.a. DJGPP) port.  The Windows ports use
>config.h.W32.

Right.  This is even easier than I was thinking, really.  If this value
was defined in the appropriate pre-header file then an

#ifndef PATH_SEPARATOR
# define PATH_SEPARATOR ":"
#endif

in make.h would suffice, wouldn't it?  So, I guess I'm basically suggesting
putting the PATH_SEPARATOR definition in: config.h-vms, config.h.W32, 
configh.dos.

But, I dunno, maybe it's just overkill.  I was just trying to avoid a spurious
#ifdef test.

cgf




reply via email to

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