|
|
@ -196,6 +196,17 @@ if test "x$bitforce" = xyes; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = xyes]) |
|
|
|
AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = xyes]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
icarus="no" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([icarus], |
|
|
|
|
|
|
|
[AC_HELP_STRING([--enable-icarus],[Compile support for Icarus (default disabled)])], |
|
|
|
|
|
|
|
[icarus=$enableval] |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
if test "x$icarus" = xyes; then |
|
|
|
|
|
|
|
AC_DEFINE([USE_ICARUS], [1], [Defined to 1 if Icarus support is wanted]) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
AM_CONDITIONAL([HAS_ICARUS], [test x$icarus = xyes]) |
|
|
|
|
|
|
|
|
|
|
|
AC_SEARCH_LIBS(addstr, ncurses pdcurses, , |
|
|
|
AC_SEARCH_LIBS(addstr, ncurses pdcurses, , |
|
|
|
AC_MSG_ERROR([Could not find curses library - please install libncurses-dev or pdcurses-dev])) |
|
|
|
AC_MSG_ERROR([Could not find curses library - please install libncurses-dev or pdcurses-dev])) |
|
|
|
|
|
|
|
|
|
|
@ -338,13 +349,13 @@ if test "x$opencl" != xno; then |
|
|
|
echo " OpenCL...............: FOUND. GPU mining support enabled" |
|
|
|
echo " OpenCL...............: FOUND. GPU mining support enabled" |
|
|
|
else |
|
|
|
else |
|
|
|
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED" |
|
|
|
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED" |
|
|
|
if test "x$cpumining$bitforce" = xnono; then |
|
|
|
if test "x$cpumining$bitforce$icarus" = xnonono; then |
|
|
|
AC_MSG_ERROR([No mining configured in]) |
|
|
|
AC_MSG_ERROR([No mining configured in]) |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
else |
|
|
|
else |
|
|
|
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" |
|
|
|
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" |
|
|
|
if test "x$cpumining$bitforce" = xnono; then |
|
|
|
if test "x$cpumining$bitforce$icarus" = xnonono; then |
|
|
|
AC_MSG_ERROR([No mining configured in]) |
|
|
|
AC_MSG_ERROR([No mining configured in]) |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
@ -366,6 +377,12 @@ else |
|
|
|
echo " BitForce.FPGAs.......: Disabled" |
|
|
|
echo " BitForce.FPGAs.......: Disabled" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$icarus" = xyes; then |
|
|
|
|
|
|
|
echo " Icarus.FPGAs.........: Enabled" |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
echo " Icarus.FPGAs.........: Disabled" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo |
|
|
|
echo |
|
|
|
if test "x$cpumining" = xyes; then |
|
|
|
if test "x$cpumining" = xyes; then |
|
|
|
echo " CPU Mining...........: Enabled" |
|
|
|
echo " CPU Mining...........: Enabled" |
|
|
|