|
@@ -521,7 +521,7 @@ AM_CONDITIONAL([HAVE_x86_64], [test x$have_x86_64 = xtrue])
|
|
|
dnl Find YASM
|
|
dnl Find YASM
|
|
|
has_yasm=false
|
|
has_yasm=false
|
|
|
if test "x$have_x86_32$have_x86_64" != "xfalsefalse"; then
|
|
if test "x$have_x86_32$have_x86_64" != "xfalsefalse"; then
|
|
|
-AC_PATH_PROG([YASM],[yxasm],[false])
|
|
|
|
|
|
|
+AC_PATH_PROG([YASM],[yasm],[false])
|
|
|
if test "x$YASM" != "xfalse" ; then
|
|
if test "x$YASM" != "xfalse" ; then
|
|
|
AC_MSG_CHECKING([if yasm version is greater than 1.0.1])
|
|
AC_MSG_CHECKING([if yasm version is greater than 1.0.1])
|
|
|
yasmver=`"$YASM" --version | head -1 | cut -d\ -f2`
|
|
yasmver=`"$YASM" --version | head -1 | cut -d\ -f2`
|
|
@@ -574,7 +574,7 @@ have_sse2=no
|
|
|
if test "x$cpumining$have_x86_32" = "xyestrue"; then
|
|
if test "x$cpumining$have_x86_32" = "xyestrue"; then
|
|
|
AC_MSG_CHECKING([if SSE2 code compiles])
|
|
AC_MSG_CHECKING([if SSE2 code compiles])
|
|
|
save_CFLAGS="$CFLAGS"
|
|
save_CFLAGS="$CFLAGS"
|
|
|
- for flags in '' '-mssex2'; do
|
|
|
|
|
|
|
+ for flags in '' '-msse2'; do
|
|
|
CFLAGS="$CFLAGS $flags"
|
|
CFLAGS="$CFLAGS $flags"
|
|
|
AC_TRY_LINK([
|
|
AC_TRY_LINK([
|
|
|
#include <xmmintrin.h>
|
|
#include <xmmintrin.h>
|