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 endif
if HAS_AVALON if HAS_AVALON
cgminer_SOURCES += driver-avalon.c cgminer_SOURCES += driver-avalon.c driver-avalon.h
endif endif
if HAS_MODMINER if HAS_MODMINER

View File

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

View File

@ -478,14 +478,14 @@ if test "x$opencl" != xno; then
else else
echo " OpenCL...............: NOT FOUND. GPU mining support DISABLED" 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]) AC_MSG_ERROR([No mining configured in])
fi fi
echo " scrypt...............: Disabled (needs OpenCL)" echo " scrypt...............: Disabled (needs OpenCL)"
fi fi
else else
echo " OpenCL...............: Detection overrided. GPU mining support DISABLED" 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]) AC_MSG_ERROR([No mining configured in])
fi fi
echo " scrypt...............: Disabled (needs OpenCL)" echo " scrypt...............: Disabled (needs OpenCL)"