]> sigrok.org Git - libsigrok.git/commit
serial: introduce more general "have serial comm" feature flag
authorGerhard Sittig <redacted>
Sun, 3 Jun 2018 04:34:27 +0000 (06:34 +0200)
committerUwe Hermann <redacted>
Sun, 2 Jun 2019 18:39:02 +0000 (20:39 +0200)
commit1df81f4b062fcfe8c6de4d2e5edf9743030ae0fc
tree719fc9012bd806fd34422b91c4563853bfabdca6
parenta7b8692ed061c5baff6620c0839db85465cd24c9
serial: introduce more general "have serial comm" feature flag

Introduce the HAVE_SERIAL_COMM identifier, which gets derived from, but
need not be identical to the HAVE_LIBSERIALPORT condition.

Derive the NEED_SERIAL automake condition from the general availability
of serial communication not the specific libserialport library.

Adjust source code references. Stick with HAVE_LIBSERIALPORT where the
specific library is meant, but switch to HAVE_SERIAL_COMM where the
availability of serial communication in general is meant.
configure.ac
src/backend.c
src/device.c
src/dmm/asycii.c
src/dmm/metex14.c
src/fallback.c
src/libsigrok-internal.h
src/modbus/modbus.c
src/scpi/scpi.c
src/std.c