From: Janne Huttunen Date: Mon, 13 Oct 2014 15:51:32 +0000 (+0300) Subject: Allow building libsigrok without libserialport. X-Git-Tag: libsigrok-0.4.0~840 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=34d117afb4e07bc060426e6843ca1341c2431b49;p=libsigrok.git Allow building libsigrok without libserialport. Since the DER EE DE-5000 driver is currently the only user of the es51919 module and it depends on the libserialport, compile the module only if the DER EE DE-5000 driver is enabled. This allows libsigrok to be built without libserialport again. --- diff --git a/Makefile.am b/Makefile.am index ca70c4db..10c0400f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -107,8 +107,10 @@ libsigrok_la_SOURCES += \ src/dmm/bm25x.c # Hardware (LCR chip parsers) +if HW_DEREE_DE5000 libsigrok_la_SOURCES += \ src/lcr/es51919.c +endif # Hardware drivers if HW_AGILENT_DMM