%% Barry Kelly <[EMAIL PROTECTED]> writes:

  >> The basename value of the COMSPEC variable should be enough; if ==
  >> cmd.exe then NT else DOS.  You might wish a command line switch for
  >> those who've replaced their windows shell with something else and
  >> have changed the COMSPEC value; E.G. -O [DOS|NT].

  bk> The environment variable:

  bk>   OS=Windows_NT

  bk> is what you're looking for.

I'm not sure relying on an environment variable for something as basic
as this is the best way to go, but ultimately it's up to you folks if
you think it's the right way.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to