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:
parent
95586f72f0
commit
aa06d390be
10
configure.ac
10
configure.ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user