* Removed debug output accidentally committed.
* Also allow yasm 0.7.{0,1} -- they have been reported to successfully build
at least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -386,7 +386,7 @@ esac
|
|||||||
# check yasm version
|
# check yasm version
|
||||||
if [ $targetArch = "x86" ]; then
|
if [ $targetArch = "x86" ]; then
|
||||||
$HAIKU_YASM --version > /dev/null || {
|
$HAIKU_YASM --version > /dev/null || {
|
||||||
echo "The yasm assembler version 0.7.2 or later must be installed."
|
echo "The yasm assembler version 0.7.0 or later must be installed."
|
||||||
echo "Download from: http://www.tortall.net/projects/yasm/wiki/Download"
|
echo "Download from: http://www.tortall.net/projects/yasm/wiki/Download"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@@ -394,13 +394,12 @@ if [ $targetArch = "x86" ]; then
|
|||||||
set -- $($HAIKU_YASM --version | head -n 1)
|
set -- $($HAIKU_YASM --version | head -n 1)
|
||||||
versionOK=0
|
versionOK=0
|
||||||
case $2 in
|
case $2 in
|
||||||
0.[0-6].*) echo match1;;
|
0.[0-6].*) ;;
|
||||||
0.7.[0-1].*) echo match2;;
|
|
||||||
*) versionOK=1 ;;
|
*) versionOK=1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $versionOK = 0 ]; then
|
if [ $versionOK = 0 ]; then
|
||||||
echo "The yasm assembler version 0.7.2 or later must be installed."
|
echo "The yasm assembler version 0.7.0 or later must be installed."
|
||||||
echo "The installed version is $2."
|
echo "The installed version is $2."
|
||||||
echo "Download from: http://www.tortall.net/projects/yasm/wiki/Download"
|
echo "Download from: http://www.tortall.net/projects/yasm/wiki/Download"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user