summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-24 01:54:37 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-24 01:54:37 +0000
commitc8665867258a6190bf3f8cf28ab510a738dae2e3 (patch)
treeb9464a401c90f667499322375f8e770f32d987f0 /configure
parentcb4a546f54ffc1d7bb393d8fcc544f8d078de670 (diff)
downloadmpv-c8665867258a6190bf3f8cf28ab510a738dae2e3.tar.bz2
mpv-c8665867258a6190bf3f8cf28ab510a738dae2e3.tar.xz
fix system_name case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 651616b814..d4588638db 100755
--- a/configure
+++ b/configure
@@ -315,6 +315,15 @@ if test -z "$_target" ; then
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