Browse Source

configure: Tie libudev usage to fpgautils

Luke Dashjr 12 years ago
parent
commit
108aac2f5d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -796,7 +796,7 @@ if test "x$cpumining$have_x86_32" = "xyestrue"; then
 fi
 fi
 AM_CONDITIONAL([HAVE_SSE2], [test "x$have_sse2" = "xyes"])
 AM_CONDITIONAL([HAVE_SSE2], [test "x$have_sse2" = "xyes"])
 
 
-if test "x$bitforce$modminer$icarus" != "xnonono"; then
+if test "x$need_fpgautils" = "xyes"; then
 	AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
 	AC_ARG_WITH([libudev], [AC_HELP_STRING([--without-libudev], [Autodetect FPGAs using libudev (default enabled)])],
 		[libudev=$withval],
 		[libudev=$withval],
 		[libudev=auto]
 		[libudev=auto]
@@ -1142,7 +1142,7 @@ else
 	echo "  ZTEX.FPGAs...........: Disabled"
 	echo "  ZTEX.FPGAs...........: Disabled"
 fi
 fi
 
 
-if test "x$bitforce$modminer" != xnono; then
+if test "x$need_fpgautils" = xyes; then
 	echo "  libudev.detection....: $libudev"
 	echo "  libudev.detection....: $libudev"
 fi
 fi