mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
configure.ac: Beautify yasm test output
This commit is contained in:
parent
feb02dfb62
commit
f992c92fa8
17
configure.ac
17
configure.ac
@ -56,10 +56,8 @@ fi
|
||||
|
||||
dnl Find YASM
|
||||
has_yasm=false
|
||||
AC_PATH_PROG(YASM,[yasm],[true yasm])
|
||||
if test "$YASM" = "false" ; then
|
||||
AC_MSG_WARN([yasm is required for the x86_64 SSE2 code, but it was not found])
|
||||
else
|
||||
AC_PATH_PROG([YASM],[yasm],[false])
|
||||
if test "x$YASM" != "xfalse" ; then
|
||||
AC_MSG_CHECKING([if yasm version is greater than 1.0.1])
|
||||
yasmver=`yasm --version | head -1 | cut -d\ -f2`
|
||||
yamajor=`echo $yasmver | cut -d. -f1`
|
||||
@ -80,11 +78,14 @@ else
|
||||
else
|
||||
has_yasm=false
|
||||
fi
|
||||
if test "x$has_yasm" = "xtrue" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
fi
|
||||
if test "x$has_yasm" == "xtrue" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
if test "x$has_yasm" = "xfalse" ; then
|
||||
AC_MSG_NOTICE([yasm is required for the sse2_64 algorithm. It will be skipped.])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
|
||||
|
Loading…
Reference in New Issue
Block a user