]>
Commit | Line | Data |
---|---|---|
df9b5624 | 1 | --- collectd-5.0.2/configure.in.old 2012-03-20 18:44:53.000000000 +0100 |
2 | +++ collectd-5.0.2/configure.in 2012-03-20 18:45:54.000000000 +0100 | |
3 | @@ -2128,7 +2128,7 @@ | |
4 | if test "x$with_libmodbus" = "xuse_pkgconfig" | |
5 | then | |
6 | AC_MSG_NOTICE([Checking for modbus using $PKG_CONFIG]) | |
7 | - $PKG_CONFIG --exists 'modbus' 2>/dev/null | |
8 | + $PKG_CONFIG --exists 'libmodbus' 2>/dev/null | |
9 | if test $? -ne 0 | |
10 | then | |
11 | with_libmodbus="no (pkg-config doesn't know modbus)" | |
12 | @@ -2136,12 +2136,12 @@ | |
13 | fi | |
14 | if test "x$with_libmodbus" = "xuse_pkgconfig" | |
15 | then | |
16 | - with_libmodbus_cflags="`$PKG_CONFIG --cflags 'modbus'`" | |
17 | + with_libmodbus_cflags="`$PKG_CONFIG --cflags 'libmodbus'`" | |
18 | if test $? -ne 0 | |
19 | then | |
20 | with_libmodbus="no ($PKG_CONFIG failed)" | |
21 | fi | |
22 | - with_libmodbus_libs="`$PKG_CONFIG --libs 'modbus'`" | |
23 | + with_libmodbus_libs="`$PKG_CONFIG --libs 'libmodbus'`" | |
24 | if test $? -ne 0 | |
25 | then | |
26 | with_libmodbus="no ($PKG_CONFIG failed)" |