1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Remove scrypt selection form configure.ac altogether.

This commit is contained in:
Noel Maersk 2013-11-24 20:06:38 +02:00
parent 59c46ff094
commit ec1796e864

View File

@ -191,8 +191,6 @@ AC_ARG_ENABLE([adl],
[adl=$enableval] [adl=$enableval]
) )
scrypt="yes"
if test "$found_opencl" = 1; then if test "$found_opencl" = 1; then
if test "x$adl" != xno; then if test "x$adl" != xno; then
ADL_CPPFLAGS= ADL_CPPFLAGS=
@ -207,20 +205,10 @@ if test "$found_opencl" = 1; then
DLOPEN_FLAGS="" DLOPEN_FLAGS=""
fi fi
fi fi
AC_ARG_ENABLE([scrypt],
[AC_HELP_STRING([--enable-scrypt],[Compile support for scrypt litecoin mining (default enabled)])],
[scrypt=$enableval]
)
if test "x$scrypt" = xyes; then
AC_DEFINE([USE_SCRYPT], [1], [Defined to 1 if scrypt support is wanted])
fi
else else
DLOPEN_FLAGS="" DLOPEN_FLAGS=""
fi fi
AM_CONDITIONAL([HAS_SCRYPT], [test x$scrypt = xyes])
curses="auto" curses="auto"
AC_ARG_WITH([curses], AC_ARG_WITH([curses],