Browse Source

Make bitforce support default to disabled.

Con Kolivas 14 years ago
parent
commit
1865a01a2b
1 changed files with 11 additions and 7 deletions
  1. 11 7
      configure.ac

+ 11 - 7
configure.ac

@@ -181,13 +181,12 @@ else
 	DLOPEN_FLAGS=""
 	DLOPEN_FLAGS=""
 fi
 fi
 
 
-bitforce=yes
 AC_ARG_ENABLE([bitforce],
 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]
 	[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
 fi
 
 
 AC_SEARCH_LIBS(addstr, ncurses pdcurses, ,
 AC_SEARCH_LIBS(addstr, ncurses pdcurses, ,
@@ -322,8 +321,6 @@ echo
 echo "Configuration Options Summary:"
 echo "Configuration Options Summary:"
 echo
 echo
 
 
-echo "  BitForce.FPGAs.......: $bitforce"
-
 if test "x$opencl" != xno; then
 if test "x$opencl" != xno; then
 	if test $found_opencl = 1; then
 	if test $found_opencl = 1; then
 		echo "  OpenCL...............: FOUND. GPU mining support enabled"
 		echo "  OpenCL...............: FOUND. GPU mining support enabled"
@@ -351,13 +348,20 @@ else
 fi
 fi
 
 
 echo
 echo
+if test "x$bitforce" = xyes; then
+	echo "  BitForce.FPGAs.......: Enabled"
+else
+	echo "  BitForce.FPGAs.......: Disabled"
+fi
 
 
+echo
 if test "x$cpumining" = xyes; then
 if test "x$cpumining" = xyes; then
 	echo "  CPU Mining...........: Enabled"
 	echo "  CPU Mining...........: Enabled"
 	echo "  ASM.(for CPU mining).: $has_yasm"
 	echo "  ASM.(for CPU mining).: $has_yasm"
 else
 else
 	echo "  CPU Mining...........: Disabled"
 	echo "  CPU Mining...........: Disabled"
 fi
 fi
+
 echo
 echo
 echo "Compilation............: make (or gmake)"
 echo "Compilation............: make (or gmake)"
 echo "  CPPFLAGS.............: $CPPFLAGS"
 echo "  CPPFLAGS.............: $CPPFLAGS"