projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da929b4
)
mysql: just search for mysql_get_server_version
author
Ruben Kerkhof
<ruben@tilaa.com>
Sat, 1 Aug 2015 17:02:15 +0000
(19:02 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Fri, 11 Sep 2015 20:24:02 +0000
(22:24 +0200)
If we found that symbol, assume we also found mysql_init.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f5acb0a
..
ce01b1e
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2625,12
+2625,6
@@
then
CPPFLAGS="$CPPFLAGS $with_mysql_cflags"
SAVE_LIBS="$LIBS"
LIBS="$with_mysql_libs"
- AC_SEARCH_LIBS([mysql_init],
- [],
- [with_libmysql="yes"],
- [with_libmysql="no (symbol 'mysql_init' not found)"],
- [])
-
AC_SEARCH_LIBS([mysql_get_server_version],
[],
[with_libmysql="yes"],