|
|
@ -119,11 +119,20 @@ PTHREAD_LIBS=-lpthread |
|
|
|
|
|
|
|
|
|
|
|
AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true) |
|
|
|
AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([adl], |
|
|
|
|
|
|
|
[AC_HELP_STRING([--disable-adl],[Override detection and disable building with adl])], |
|
|
|
|
|
|
|
[adl=$enableval] |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$found_opencl" = 1; then |
|
|
|
|
|
|
|
if test "x$adl" != xno; then |
|
|
|
AC_CHECK_FILE([ADL_SDK/adl_sdk.h], have_adl=true, have_adl=false,) |
|
|
|
AC_CHECK_FILE([ADL_SDK/adl_sdk.h], have_adl=true, have_adl=false,) |
|
|
|
if test x$have_adl = xtrue |
|
|
|
if test x$have_adl = xtrue |
|
|
|
then |
|
|
|
then |
|
|
|
AC_DEFINE([HAVE_ADL], [1], [Defined if ADL headers were found]) |
|
|
|
AC_DEFINE([HAVE_ADL], [1], [Defined if ADL headers were found]) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
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])) |
|
|
@ -253,6 +262,7 @@ echo |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "Configuration Options Summary:" |
|
|
|
echo "Configuration Options Summary:" |
|
|
|
echo |
|
|
|
echo |
|
|
|
|
|
|
|
|
|
|
|
if test "x$opencl" != xno; then |
|
|
|
if test "x$opencl" != xno; then |
|
|
|
if test $found_opencl = 1; then |
|
|
|
if test $found_opencl = 1; then |
|
|
|
echo " OpenCL...............: FOUND. GPU mining support enabled" |
|
|
|
echo " OpenCL...............: FOUND. GPU mining support enabled" |
|
|
@ -263,11 +273,15 @@ else |
|
|
|
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" |
|
|
|
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$adl" != xno; then |
|
|
|
if test x$have_adl = xtrue; then |
|
|
|
if test x$have_adl = xtrue; then |
|
|
|
echo " ADL..................: SDK found, GPU monitoring support enabled" |
|
|
|
echo " ADL..................: SDK found, GPU monitoring support enabled" |
|
|
|
else |
|
|
|
else |
|
|
|
echo " ADL..................: SDK NOT found, GPU monitoring support DISABLED" |
|
|
|
echo " ADL..................: SDK NOT found, GPU monitoring support DISABLED" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
echo " ADL..................: Detection overrided. GPU monitoring support DISABLED" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo " ASM..................: $has_yasm" |
|
|
|
echo " ASM..................: $has_yasm" |
|
|
|
echo |
|
|
|
echo |
|
|
|