--- Akim Demaille <[EMAIL PROTECTED]> wrote:
> 
> Currently to find out if we are under one of these environments
> configure runs a compilation, typically to see if __CYGWIN__ is
> defined etc.
> 
> Can't we do this kind of checks *without* compiling?  IIUC correctly,
> for Autoconf to be really DJGPP aware, we'd need to change things
> which do not depend upon compilation, so it is somewhat unfortunate.
> 
> Anybody would have solutions to provide?
> 

Cygwin comes with uname which reports:
CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown

For MinGW I have a uname hack which reports:
MINGW_WinNT DU147636 3 0 i686 unknown

Cheers,

=====
---
   Earnie Boyd: <mailto:[EMAIL PROTECTED]>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Reply via email to