1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

Fix build and distdir.

This commit is contained in:
Con Kolivas 2013-04-22 19:28:50 +10:00
parent a06260405c
commit 3d835fc3e9
3 changed files with 6 additions and 3 deletions

View File

@ -78,7 +78,7 @@ cgminer_SOURCES += driver-icarus.c
endif
if HAS_AVALON
cgminer_SOURCES += driver-avalon.c
cgminer_SOURCES += driver-avalon.c driver-avalon.h
endif
if HAS_MODMINER

View File

@ -47,7 +47,10 @@
#include "driver-opencl.h"
#include "bench_block.h"
#include "scrypt.h"
#ifdef USE_AVALON
#include "driver-avalon.h"
#endif
#if defined(unix)
#include <errno.h>

View File

@ -478,14 +478,14 @@ if test "x$opencl" != xno; then
else
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED"
if test "x$bitforce$avalon$icarus$ztex$modminer$bflsc" = xnonononononono; then
if test "x$bitforce$avalon$icarus$ztex$modminer$bflsc" = xnononononono; then
AC_MSG_ERROR([No mining configured in])
fi
echo " scrypt...............: Disabled (needs OpenCL)"
fi
else
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED"
if test "x$bitforce$icarus$avalon$ztex$modminer$bflsc" = xnonononononono; then
if test "x$bitforce$icarus$avalon$ztex$modminer$bflsc" = xnononononono; then
AC_MSG_ERROR([No mining configured in])
fi
echo " scrypt...............: Disabled (needs OpenCL)"