]> sigrok.org Git - libsigrok.git/commit
configure.ac: Improve a libusb-1.0 related check.
authorUwe Hermann <redacted>
Mon, 8 Apr 2013 13:56:54 +0000 (15:56 +0200)
committerUwe Hermann <redacted>
Tue, 9 Apr 2013 15:49:14 +0000 (17:49 +0200)
commitccf35720c0494f4102fba8ee0a44ce1d3b67fc10
treeaa5a109eff80ba30bb76a709c89b3a81777a5a62
parent3fd1d0ee1c6e8f9d1c6e30c16add1cc4253662bb
configure.ac: Improve a libusb-1.0 related check.

Don't rely on the "heuristic" that 'libusb_CFLAGS' will be non-empty if
libusb-1.0 was found, but rather use the proper method of checking the
variable 'have_libusb1_0' which pkg-config will set to "yes"/"no"
depending on whether it finds the library.
configure.ac