wareck 4 years ago
parent
commit
d2cb7955e5
1 changed files with 32 additions and 34 deletions
  1. 32 34
      configure.ac

+ 32 - 34
configure.ac

@@ -386,19 +386,6 @@ fi
 AM_CONDITIONAL([HAS_BLOCKERUPTER], [test x$blockerupter = xyes])
 
 
-gekko="yes"
-
-AC_ARG_ENABLE([gekko],
-	[AC_HELP_STRING([--disable-gekko],[Compile support for GekkoScience (default enabled)])],
-	[gekko=$enableval]
-	)
-if test "x$gekko" = xyes; then
-	AC_DEFINE([USE_GEKKO], [1], [Defined to 1 if GekkoScience support is wanted])
-	AC_DEFINE([USE_VMASK], [1], [Defined to 1 if version mask rolling is wanted])
-	drivercount=x$drivercount
-fi
-AM_CONDITIONAL([HAS_GEKKO], [test x$gekko = xyes])
-
 cointerra="no"
 
 AC_ARG_ENABLE([cointerra],
@@ -439,6 +426,18 @@ if test "x$drillbit" = xyes; then
 fi
 AM_CONDITIONAL([HAS_DRILLBIT], [test x$drillbit = xyes])
 
+gekko="yes"
+
+AC_ARG_ENABLE([gekko],
+        [AC_HELP_STRING([--disable-gekko],[Compile support for GekkoScience (default enabled)])],
+        [gekko=$enableval]
+        )
+if test "x$gekko" = xyes; then
+        AC_DEFINE([USE_GEKKO], [1], [Defined to 1 if GekkoScience support is wanted])
+        AC_DEFINE([USE_VMASK], [1], [Defined to 1 if version mask rolling is wanted])
+        drivercount=x$drivercount
+fi
+AM_CONDITIONAL([HAS_GEKKO], [test x$gekko = xyes])
 
 hashfast="no"
 
@@ -842,8 +841,8 @@ fi
 
 echo "  curses.TUI...........: $cursesmsg"
 
-
 echo
+
 if test "x$ants1" = xyes; then
 	echo "  Antminer.S1.Bitmain..: Enabled"
 else
@@ -940,38 +939,18 @@ else
 	echo "  Bitmain.ASICs........: Disabled"
 fi
 
-
 if test "x$blockerupter" = xyes; then
 	echo "  BlockErupter.ASICs...: Enabled"
 else
 	echo "  BlockErupter.ASICs...: Disabled"
 fi
 
-if test "x$gekko" = xyes; then
-	echo "  GekkoScience.ASICs...: Enabled"
-else
-	echo "  GekkoScience.ASICs...: Disabled"
-fi
-
 if test "x$cointerra" = xyes; then
 	echo "  Cointerra.ASICs......: Enabled"
 else
 	echo "  Cointerra.ASICs......: Disabled"
 fi
 
-if test "x$sp10" = xyes; then
-	echo "  Spond-sp10.ASICs.....: Enabled"
-else
-	echo "  Spond-sp10.ASICs.....: Disabled"
-fi
-
-
-if test "x$sp30" = xyes; then
-	echo "  Spond-sp30.ASICs.....: Enabled"
-else
-	echo "  Spond-sp30.ASICs.....: Disabled"
-fi
-
 if test "x$bitmine_A1" = xyes; then
 	echo "  Bitmine-A1.ASICs.....: Enabled"
 else
@@ -990,6 +969,12 @@ else
 	echo "  Drillbit.BitFury.....: Disabled"
 fi
 
+if test "x$gekko" = xyes; then
+        echo "  GekkoScience.ASICs...: Enabled"
+else
+        echo "  GekkoScience.ASICs...: Disabled"
+fi
+
 if test "x$hashfast" = xyes; then
 	echo "  Hashfast.ASICs.......: Enabled"
 else
@@ -1026,6 +1011,19 @@ else
 	echo "  ModMiner.FPGAs.......: Disabled"
 fi
 
+if test "x$sp10" = xyes; then
+        echo "  Spond-sp10.ASICs.....: Enabled"
+else
+        echo "  Spond-sp10.ASICs.....: Disabled"
+fi
+
+if test "x$sp30" = xyes; then
+        echo "  Spond-sp30.ASICs.....: Enabled"
+else
+        echo "  Spond-sp30.ASICs.....: Disabled"
+fi
+
+
 #Add any new device to this, along with a no on the end of the test
 if test "x$avalon$avalon2$avalon4$avalon7$avalon8$avalon_miner$bab$bflsc$bitforce$bitfury$bitfury16$bitmain_soc$gekko$blockerupter$hashfast$hashratio$icarus$klondike$knc$modminer$drillbit$minion$cointerra$bitmine_A1$ants1$ants2$ants3$sp10$sp30$dragonmint_t1" = xnonononononononnoononononononononononononononononononnoonono; then
 	echo