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

Fix bitforce failing to build into cgminer.

This commit is contained in:
Con Kolivas 2012-01-31 00:20:58 +11:00
parent 269b456864
commit c0e8819d86
3 changed files with 4 additions and 3 deletions

View File

@ -61,6 +61,6 @@ endif
endif endif
endif endif
if USE_BITFORCE if HAS_BITFORCE
cgminer_SOURCES += bitforce.c cgminer_SOURCES += bitforce.c
endif endif

1
NEWS
View File

@ -4,6 +4,7 @@ NOTE - The GPU Device reordering in 2.2.0 by default was considered a bad idea
so the original GPU ordering is used by default again unless reordering is so the original GPU ordering is used by default again unless reordering is
explicitly requested. explicitly requested.
- Fix bitforce failing to build into cgminer.
- Add missing options to write config function. - Add missing options to write config function.
- Add a --gpu-reorder option to only reorder devices according to PCI Bus ID - Add a --gpu-reorder option to only reorder devices according to PCI Bus ID
when requested. when requested.

View File

@ -185,9 +185,10 @@ AC_ARG_ENABLE([bitforce],
[AC_HELP_STRING([--enable-bitforce],[Compile support for BitForce FPGAs(default disabled)])], [AC_HELP_STRING([--enable-bitforce],[Compile support for BitForce FPGAs(default disabled)])],
[bitforce=$enableval] [bitforce=$enableval]
) )
if test "bitforce" = xyes; then if test "x$bitforce" = xyes; then
AC_DEFINE([USE_BITFORCE], [1], [Defined to 1 if BitForce support is wanted]) AC_DEFINE([USE_BITFORCE], [1], [Defined to 1 if BitForce support is wanted])
fi fi
AM_CONDITIONAL([HAS_BITFORCE], [test x$bitforce = 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]))
@ -198,7 +199,6 @@ AC_CHECK_LIB(pdcurses, addstr, PDCURSES_LIBS=-lpdcurses)
AM_CONDITIONAL([WANT_JANSSON], [test x$request_jansson = xtrue]) AM_CONDITIONAL([WANT_JANSSON], [test x$request_jansson = xtrue])
AM_CONDITIONAL([HAVE_WINDOWS], [test x$have_win32 = xtrue]) AM_CONDITIONAL([HAVE_WINDOWS], [test x$have_win32 = xtrue])
AM_CONDITIONAL([HAVE_x86_64], [test x$have_x86_64 = xtrue]) AM_CONDITIONAL([HAVE_x86_64], [test x$have_x86_64 = xtrue])
AM_CONDITIONAL([USE_BITFORCE], [test x$bitforce = xyes])
if test x$request_jansson = xtrue if test x$request_jansson = xtrue
then then