diff options
author | fleger <florian6.leger@laposte.net> | 2011-03-08 01:12:03 -0800 |
---|---|---|
committer | fleger <florian6.leger@laposte.net> | 2011-03-08 01:12:03 -0800 |
commit | da1fd227bf2cc56c6f9a7ea42bd2c8b05f781f06 (patch) | |
tree | 1ed2e685c5b28b78f1efdb16ead6a51924469ae2 /configure.ac | |
parent | 6b19b15aa97d8bfba7c5feb52d857a1b51b1e6d4 (diff) |
Fixed yasm version check if yasm version ≥ 1.1.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c0d3dd9..f018602 100644 --- a/configure.ac +++ b/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 |