Browse Source

Fix build and distdir.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
3d835fc3e9
  1. 2
      Makefile.am
  2. 3
      cgminer.c
  3. 4
      configure.ac

2
Makefile.am

@ -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

3
cgminer.c

@ -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>

4
configure.ac

@ -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)"

Loading…
Cancel
Save