Build system: Check the pkg-config names "libmodbus" *and* "modbus".
authorIvo De Decker <ivo.dedecker@ugent.be>
Mon, 7 Feb 2011 07:54:55 +0000 (08:54 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 7 Feb 2011 07:57:39 +0000 (08:57 +0100)
commit2ca4c7dd5013059c911323d1b1c00073b8e58848
tree730467d7212a6cb858353eee02e9bcd29f181613
parent2fea822b3984376e9b7ef58ed7d3f087bc65af8c
Build system: Check the pkg-config names "libmodbus" *and* "modbus".

Florian,

Attached is the updated version of the datagroup patch. The code itself didn't
change (apart from the rename dataset -> datagroup). It should apply cleanly
to the latest version of the master branch.

I also attached a patch to the configure.in script to make pkg-config check
for 'libmodbus' as well as 'modbus'. Different versions of the library use
different names.

Greetings,

Ivo De Decker

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in