summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bc8ba3d..f767ed9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,6 @@ dnl Minimum package versions
LIBUSB_VERSION=1.0.3
AC_SUBST(LIBIRECOVERY_SO_VERSION)
-AC_SUBST(LIBUSB_VERSION)
# Checks for programs.
AC_PROG_CC
@@ -75,6 +74,8 @@ AS_IF([test "x$with_iokit" = "xyes" && test "x$have_iokit" = "xyes"] , [
[
PKG_CHECK_MODULES(libusb, libusb-1.0 >= $LIBUSB_VERSION)
USB_BACKEND="libusb `$PKG_CONFIG --modversion libusb-1.0`"
+ LIBUSB_REQUIRED="libusb >= $LIBUSB_VERSION"
+ AC_SUBST(LIBUSB_REQUIRED)
]
)