X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=aa0d49a85f86f7a706b2b56ac43a519e581ffd8d;hb=deaaebb28ddbbba609e902cf99fbe10d053eef8a;hp=b23d52bde192bcfb883ece54dd14bca2d30bf5f1;hpb=97c8fa70dabaab121a1a2fc1256cf3a1297846f1;p=libsigrok.git diff --git a/configure.ac b/configure.ac index b23d52bd..aa0d49a8 100644 --- a/configure.ac +++ b/configure.ac @@ -101,10 +101,11 @@ SR_ARG_OPT_PKG([libserialport], [LIBSERIALPORT], , SR_ARG_OPT_PKG([libftdi], [LIBFTDI], , [libftdi1 >= 1.0]) +# pkg-config file names: MinGW/MacOSX: hidapi; Linux: hidapi-hidraw/-libusb SR_ARG_OPT_PKG([libhidapi], [LIBHIDAPI], , [hidapi >= 0.8.0], [hidapi-hidraw >= 0.8.0], [hidapi-libusb >= 0.8.0]) -SR_ARG_OPT_PKG([libbluez], [LIBBLUEZ], , [bluez >= 4.0], [bluetooth >= 4.0]) +SR_ARG_OPT_PKG([libbluez], [LIBBLUEZ], , [bluez >= 4.0]) # FreeBSD comes with an "integrated" libusb-1.0-style USB API. # This means libusb-1.0 is always available; no need to check for it. @@ -135,12 +136,16 @@ SR_ARG_OPT_CHECK([libieee1284], [LIBIEEE1284],, [ AS_IF([test "x$sr_have_libieee1284" = xyes], [SR_PREPEND([SR_EXTRA_LIBS], [-lieee1284])]) +SR_ARG_OPT_PKG([libgio], [LIBGIO], , [gio-2.0 >= 2.24.0]) + # See if any of the (potentially platform specific) libs are available # which provide some means of Bluetooth communication. AS_IF([test "x$sr_have_libbluez" = xyes], sr_have_bluetooth=yes, sr_have_bluetooth=no) AS_IF([test "x$sr_have_bluetooth" = xyes], [AC_DEFINE([HAVE_BLUETOOTH], [1], [Specifies whether Bluetooth communication is supported.])]) +AS_IF([test "x$sr_have_bluetooth" = xyes], + [SR_APPEND([sr_deps_avail], [bluetooth_comm])]) AS_IF([test "x$sr_have_libserialport" = xyes -o "x$sr_have_libhidapi" = xyes -o "x$sr_have_bluetooth" = xyes], sr_have_serial_comm=yes, sr_have_serial_comm=no) @@ -286,9 +291,11 @@ SR_DRIVER([Lascar EL-USB], [lascar-el-usb], [libusb]) SR_DRIVER([LeCroy LogicStudio], [lecroy-logicstudio], [libusb]) SR_DRIVER([LeCroy X-Stream], [lecroy-xstream]) SR_DRIVER([Manson HCS-3xxx], [manson-hcs-3xxx], [serial_comm]) +SR_DRIVER([Mastech MS6514], [mastech-ms6514], [serial_comm]) SR_DRIVER([maynuo-m97], [maynuo-m97]) SR_DRIVER([MIC 985xx], [mic-985xx], [serial_comm]) SR_DRIVER([Microchip PICkit2], [microchip-pickit2], [libusb]) +SR_DRIVER([Mooshimeter DMM], [mooshimeter-dmm], [bluetooth_comm libgio]) SR_DRIVER([Motech LPS 30x], [motech-lps-30x], [serial_comm]) SR_DRIVER([Norma DMM], [norma-dmm], [serial_comm]) SR_DRIVER([OpenBench Logic Sniffer], [openbench-logic-sniffer], [serial_comm]) @@ -311,7 +318,6 @@ SR_DRIVER([Testo], [testo], [libusb]) SR_DRIVER([Tondaj SL-814], [tondaj-sl-814], [serial_comm]) SR_DRIVER([UNI-T DMM], [uni-t-dmm], [libusb]) SR_DRIVER([UNI-T UT32x], [uni-t-ut32x], [serial_comm]) -SR_DRIVER([Victor DMM], [victor-dmm], [libusb]) SR_DRIVER([Yokogawa DL/DLM], [yokogawa-dlm]) SR_DRIVER([ZEROPLUS Logic Cube], [zeroplus-logic-cube], [libusb]) SR_DRIVER([ZKETECH EBD-USB], [zketech-ebd-usb], [serial_comm])