summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 081695d)
raw | patch | inline | side by side (parent: 081695d)
author | Stefan Nickl <Stefan.Nickl@gmail.com> | |
Sat, 28 Jan 2012 16:32:38 +0000 (17:32 +0100) | ||
committer | Stefan Nickl <Stefan.Nickl@gmail.com> | |
Sat, 28 Jan 2012 16:32:38 +0000 (17:32 +0100) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 643781df823421a9343fd5360fcc35fac37ad5c3..b3ab7c9c350967e43091f3e88166f91316471eb8 100644 (file)
--- a/configure.in
+++ b/configure.in
fi
if test "x$with_libmodbus" = "xuse_pkgconfig"
then
- AC_MSG_NOTICE([Checking for modbus using $PKG_CONFIG])
- $PKG_CONFIG --exists 'modbus' 2>/dev/null
+ AC_MSG_NOTICE([Checking for libmodbus using $PKG_CONFIG])
+ $PKG_CONFIG --exists 'libmodbus' 2>/dev/null
if test $? -ne 0
then
- with_libmodbus="no (pkg-config doesn't know modbus)"
+ with_libmodbus="no (pkg-config doesn't know libmodbus)"
fi
fi
if test "x$with_libmodbus" = "xuse_pkgconfig"
then
- with_libmodbus_cflags="`$PKG_CONFIG --cflags 'modbus'`"
+ with_libmodbus_cflags="`$PKG_CONFIG --cflags 'libmodbus'`"
if test $? -ne 0
then
with_libmodbus="no ($PKG_CONFIG failed)"
fi
- with_libmodbus_libs="`$PKG_CONFIG --libs 'modbus'`"
+ with_libmodbus_libs="`$PKG_CONFIG --libs 'libmodbus'`"
if test $? -ne 0
then
with_libmodbus="no ($PKG_CONFIG failed)"