mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 00:14:26 +00:00
Fixed yasm version check if yasm version ≥ 1.1.0
This commit is contained in:
parent
6b19b15aa9
commit
da1fd227bf
10
configure.ac
10
configure.ac
@ -1,4 +1,3 @@
|
||||
|
||||
AC_INIT([cpuminer], [0.7.1])
|
||||
|
||||
AC_PREREQ(2.52)
|
||||
@ -57,15 +56,20 @@ yamini=`echo $yasmver | cut -d. -f3`
|
||||
if test "$yamajor" -ge "1" ; then
|
||||
if test "$yamajor" -eq "1" ; then
|
||||
if test "$yaminor" -ge "0" ; then
|
||||
if test "$yamini" -ge "1"; then
|
||||
if test "$yaminor" -eq "0"; then
|
||||
if test "$yamini" -ge "1"; then
|
||||
has_yasm=true
|
||||
fi
|
||||
else
|
||||
has_yasm=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
has_yasm=false
|
||||
has_yasm=false
|
||||
fi
|
||||
|
||||
|
||||
if test "x$has_yasm" != "x" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user