Commit b7f7147056b8dceddf49657c8c18e606672da035

Con Kolivas 2014-02-21T08:07:25

Only show system libusb warning when appropriate during configure.

diff --git a/configure.ac b/configure.ac
index fbb1b10..1588dc2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -504,9 +504,9 @@ else
 fi
 
 if test "x$avalon2" = xyes; then
-	echo "  Avalon2.ASICs.........: Enabled"
+	echo "  Avalon2.ASICs........: Enabled"
 else
-	echo "  Avalon2.ASICs.........: Disabled"
+	echo "  Avalon2.ASICs........: Disabled"
 fi
 
 if test "x$minion" = xyes; then
@@ -601,7 +601,7 @@ echo
 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
 echo "  prefix...............: $prefix"
 echo
-if test "x$dlibusb" != xno; then
+if test "x$want_usbutils$dlibusb" = xyesyes; then
 echo "*** SYSTEM LIBUSB BEING ADDED - NOT RECOMMENDED UNLESS YOU ARE UNABLE TO COMPILE THE INCLUDED LIBUSB ***"
 echo
 fi