projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure.in: Check for libpq for function `PQserverVersion'.
[collectd.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
4d47a9f
..
719f94e
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2243,6
+2243,10
@@
then
[with_libpq="yes"],
[with_libpq="no (symbol 'PQconnectdb' not found)"])
+ AC_CHECK_LIB(pq, PQserverVersion,
+ [with_libpq="yes"],
+ [with_libpq="no (symbol 'PQserverVersion' not found)"])
+
LDFLAGS="$SAVE_LDFLAGS"
fi
if test "x$with_libpq" = "xyes"