Changeset - r5539:b90ed700e55f
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-01-05 17:49:46
truelight@openttd.org
(svn r7881) [Configure] -Fix: OS2 GCC indentifies itself with os2, not os/2
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1223,13 +1223,13 @@ detect_os() {
 
					/freebsd/      { print "FREEBSD"; exit}
 
					/morphos/      { print "MORPHOS"; exit}
 
					/beos/         { print "BEOS";    exit}
 
					/sunos/        { print "SUNOS";   exit}
 
					/cygwin/       { print "CYGWIN";  exit}
 
					/mingw/        { print "MINGW";   exit}
 
					/os\/2/        { print "OS2";     exit}
 
					/os2/          { print "OS2";     exit}
 
		'`
 

	
 
		if [ -z "$os" ]
 
		then
 
			os=`LC_ALL=C uname | tr [:upper:] [:lower:] | awk '
 
					/linux/        { print "UNIX";    exit}
0 comments (0 inline, 0 general)