File cgminer-configure1.patch of Package cgminer

--- configure.ac	2018-08-16 04:19:30.000000000 +0200
+++ configure.ac	2018-08-27 16:19:39.493505959 +0200
@@ -523,6 +523,7 @@
 	])
 fi
 
+PKG_PROG_PKG_CONFIG()
 
 #Add a new device to this list if it needs libusb, along with a no on the end.
 if test x$avalon$avalon2$avalon4$avalon7$avalon_miner$bitforce$bitfury$blockerupter$modminer$bflsc$icarus$hashfast$hashratio$klondike$drillbit$cointerra$ants1$ants3 != xnononononononononononononononononono; then
@@ -589,8 +590,6 @@
 
 AC_CHECK_HEADERS([uthash.h])
 
-PKG_PROG_PKG_CONFIG()
-
 if test "x$have_cgminer_sdk" = "xtrue"; then
 	if test "x$have_x86_64" = xtrue; then
 		ARCH_DIR=x86_64
openSUSE Build Service is sponsored by