Make bitforce support default to disabled.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
diff --git a/configure.ac b/configure.ac
index d3b55a4..91eecf0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,13 +181,12 @@ else
DLOPEN_FLAGS=""
fi
-bitforce=yes
AC_ARG_ENABLE([bitforce],
- [AC_HELP_STRING([--disable-bitforce],[Don't compile support for BitForce FPGAs])],
+ [AC_HELP_STRING([--enable-bitforce],[Compile support for BitForce FPGAs(default disabled)])],
[bitforce=$enableval]
-)
-if test "x$bitforce" != xno; then
- AC_DEFINE([USE_BITFORCE], [1], [Defined to 1 if BitForce support is wanted.])
+ )
+if test "bitforce" = xyes; then
+ AC_DEFINE([USE_BITFORCE], [1], [Defined to 1 if BitForce support is wanted])
fi
AC_SEARCH_LIBS(addstr, ncurses pdcurses, ,
@@ -322,8 +321,6 @@ echo
echo "Configuration Options Summary:"
echo
-echo " BitForce.FPGAs.......: $bitforce"
-
if test "x$opencl" != xno; then
if test $found_opencl = 1; then
echo " OpenCL...............: FOUND. GPU mining support enabled"
@@ -351,13 +348,20 @@ else
fi
echo
+if test "x$bitforce" = xyes; then
+ echo " BitForce.FPGAs.......: Enabled"
+else
+ echo " BitForce.FPGAs.......: Disabled"
+fi
+echo
if test "x$cpumining" = xyes; then
echo " CPU Mining...........: Enabled"
echo " ASM.(for CPU mining).: $has_yasm"
else
echo " CPU Mining...........: Disabled"
fi
+
echo
echo "Compilation............: make (or gmake)"
echo " CPPFLAGS.............: $CPPFLAGS"