Browse Source

Remove scrypt selection form configure.ac altogether.

nfactor-troky
Noel Maersk 11 years ago
parent
commit
ec1796e864
  1. 12
      configure.ac

12
configure.ac

@ -191,8 +191,6 @@ AC_ARG_ENABLE([adl], @@ -191,8 +191,6 @@ AC_ARG_ENABLE([adl],
[adl=$enableval]
)
scrypt="yes"
if test "$found_opencl" = 1; then
if test "x$adl" != xno; then
ADL_CPPFLAGS=
@ -207,20 +205,10 @@ if test "$found_opencl" = 1; then @@ -207,20 +205,10 @@ if test "$found_opencl" = 1; then
DLOPEN_FLAGS=""
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
DLOPEN_FLAGS=""
fi
AM_CONDITIONAL([HAS_SCRYPT], [test x$scrypt = xyes])
curses="auto"
AC_ARG_WITH([curses],

Loading…
Cancel
Save