(svn r9017) [Config] -Fix: if 'solaris' is in gcc dumpmachine, we have SunOS

This commit is contained in:
truelight 2007-03-05 15:24:17 +00:00
parent f8e7d08885
commit 65b0e2b521

View File

@ -1212,6 +1212,7 @@ detect_os() {
/morphos/ { print "MORPHOS"; exit} /morphos/ { print "MORPHOS"; exit}
/beos/ { print "BEOS"; exit} /beos/ { print "BEOS"; exit}
/sunos/ { print "SUNOS"; exit} /sunos/ { print "SUNOS"; exit}
/solaris/ { print "SUNOS"; exit}
/cygwin/ { print "CYGWIN"; exit} /cygwin/ { print "CYGWIN"; exit}
/mingw/ { print "MINGW"; exit} /mingw/ { print "MINGW"; exit}
/os2/ { print "OS2"; exit} /os2/ { print "OS2"; exit}