mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-22 01:07:37 +00:00
Add some additional checks in qb.
This commit is contained in:
parent
b6272f9653
commit
60b94bbe43
@ -7,19 +7,20 @@ TEMP_EXE=.tmp
|
|||||||
echo -n "Checking operating system ... "
|
echo -n "Checking operating system ... "
|
||||||
OS="Win32" # whatever ;D
|
OS="Win32" # whatever ;D
|
||||||
unamestr="`uname -a`"
|
unamestr="`uname -a`"
|
||||||
if [ ! -z "`echo $unamestr | grep -i Linux`" ]; then
|
if [ ! -z "`echo "$unamestr" | grep -i Linux`" ]; then
|
||||||
OS="Linux"
|
OS="Linux"
|
||||||
elif [ ! -z "`echo $unamestr | grep -i Darwin`" ]; then
|
elif [ ! -z "`echo "$unamestr" | grep -i Darwin`" ]; then
|
||||||
OS="Darwin"
|
OS="Darwin"
|
||||||
elif [ ! -z "`echo $unamestr | grep -i BSD`" ]; then
|
elif [ ! -z "`echo "$unamestr" | grep -i BSD`" ]; then
|
||||||
OS="BSD"
|
OS="BSD"
|
||||||
elif [ ! -z "`echo $unamestr | grep -i NT`" ]; then
|
elif [ ! -z "`echo "$unamestr" | grep -i MINGW32`" ]; then
|
||||||
|
OS="MinGW"
|
||||||
|
elif [ ! -z "`echo "$unamestr" | grep -i NT`" ]; then
|
||||||
OS="Cygwin"
|
OS="Cygwin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $OS
|
echo $OS
|
||||||
|
|
||||||
|
|
||||||
# Checking for working C compiler
|
# Checking for working C compiler
|
||||||
if [ "$USE_LANG_C" = yes ]; then
|
if [ "$USE_LANG_C" = yes ]; then
|
||||||
echo "Checking for working C compiler ..."
|
echo "Checking for working C compiler ..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user