1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Don't report that scrypt is enabled in configure output.

This commit is contained in:
Noel Maersk 2013-11-24 19:42:40 +02:00
parent 95586f72f0
commit aa06d390be

View File

@ -135,7 +135,7 @@ if test -n "$CGMINER_SDK"; then
LDFLAGS="-L$CGMINER_SDK/lib/$target $LDFLAGS"
fi
opencl="no"
opencl="yes"
AC_ARG_ENABLE([opencl],
[AC_HELP_STRING([--enable-opencl],[Enable support for GPU mining with opencl])],
@ -379,21 +379,13 @@ echo " curses.TUI...........: $cursesmsg"
if test "x$opencl" != xno; then
if test $found_opencl = 1; then
echo " OpenCL...............: FOUND. GPU mining support enabled"
if test "x$scrypt" != xno; then
echo " scrypt...............: Enabled"
else
echo " scrypt...............: Disabled"
fi
else
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
AC_MSG_ERROR([No mining configured in])
echo " scrypt...............: Disabled (needs OpenCL)"
fi
else
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
AC_MSG_ERROR([No mining configured in])
echo " scrypt...............: Disabled (needs OpenCL)"
fi
if test "x$adl" != xno; then