diff options
author | Nikias Bassen | 2015-12-31 19:54:36 +0100 |
---|---|---|
committer | Nikias Bassen | 2015-12-31 19:54:36 +0100 |
commit | 86d028aabc9fdb65b155590366b53c0038989a81 (patch) | |
tree | 686af2278cc3f7764a2c36eebabe6b7dbd998205 /configure.ac | |
parent | 166af423e44039a6f17d46d171cd90fcbee393aa (diff) | |
download | libirecovery-86d028aabc9fdb65b155590366b53c0038989a81.tar.gz libirecovery-86d028aabc9fdb65b155590366b53c0038989a81.tar.bz2 |
autofoo: Only set Requires.private for libusb if linking against libusb
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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) ] ) |