Re: [AD] A minor inconvinience (is it spelled right ?)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Actually,   it seems  make.exe detects  /bin/sh.exe  from my msys
instalation and uses echo command from that shell - not considering
UNIX_TOOLS is undefined ...

We should make UNIX_TOOLS  autodetection  (perhaps  detect MSYS version
of make and assume UNIX_TOOLS=1 ?)

or  FORCE_DOS_TOOLS #define ?   but how can I execute  command.com
version of echo command  from withing msys make.exe ?


P.S.

Later on,  I tried  the original make.exe  (renamed to mingw32-make.exe)  
with the same results ...  make  is using  msys  /bin/sh.exe  and
therefore,  del, copy, echo   commands do not work...   they work with
some old version of djgpp make I found.


can we check for  shell  make process will be using at runtime?

like this:

if  $(SHELL) == "/bin/sh.exe"
UNIX_TOOLS=1
endif



-- 
Igor Gnip <gnipi@xxxxxxxxxx>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/