changeset 5807:d4bc84e7c0ad

fix system_name case
author arpi
date Wed, 24 Apr 2002 01:54:37 +0000
parents ef85f6de947c
children c746dada521c
files configure
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Apr 24 00:49:06 2002 +0000
+++ b/configure	Wed Apr 24 01:54:37 2002 +0000
@@ -315,6 +315,15 @@
   esac
 else
   system_name=`echo $_target | cut -d '-' -f 2`
+  case "`echo $system_name | tr A-Z a-z`" in
+    linux) system_name=Linux ;;
+    freebsd) system_name=FreeBSD ;;
+    netbsd) system_name=NetBSD ;;
+    bsd/os) system_name=BSD/OS ;;
+    openbsd) system_name=OpenBSD ;;
+    sunos) system_name=SunOS ;;
+    qnx) system_name=QNX ;;
+  esac
   host_arch=`echo $_target | cut -d '-' -f 1`
 fi