Browse Source

Revert "Fixed yasm version check if yasm version ≥ 1.1.0"

This reverts commit da1fd227bf2cc56c6f9a7ea42bd2c8b05f781f06.
fleger 15 years ago
parent
commit
115cbe64f6
1 changed files with 3 additions and 7 deletions
  1. 3 7
      configure.ac

+ 3 - 7
configure.ac

@@ -1,3 +1,4 @@
+
 AC_INIT([cpuminer], [0.7.1])
 AC_INIT([cpuminer], [0.7.1])
 
 
 AC_PREREQ(2.52)
 AC_PREREQ(2.52)
@@ -56,20 +57,15 @@ yamini=`echo $yasmver | cut -d. -f3`
 if test "$yamajor" -ge "1" ; then
 if test "$yamajor" -ge "1" ; then
   if test "$yamajor" -eq "1" ; then
   if test "$yamajor" -eq "1" ; then
     if test "$yaminor" -ge "0" ; then
     if test "$yaminor" -ge "0" ; then
-      if test "$yaminor" -eq "0"; then
-        if test "$yamini" -ge "1"; then
-          has_yasm=true
-        fi
-      else
+      if test "$yamini" -ge "1"; then
         has_yasm=true
         has_yasm=true
       fi
       fi
     fi
     fi
   fi
   fi
 else
 else
-  has_yasm=false
+has_yasm=false
 fi
 fi
 
 
-
 if test "x$has_yasm" != "x" ; then
 if test "x$has_yasm" != "x" ; then
   AC_MSG_RESULT([yes])
   AC_MSG_RESULT([yes])
 else
 else