projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
412a434
)
mysql: use mysql_config --include for include path
author
Ruben Kerkhof
<ruben@tilaa.com>
Sat, 1 Aug 2015 17:03:34 +0000
(19:03 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Fri, 11 Sep 2015 20:24:16 +0000
(22:24 +0200)
According to the mysql_config manpage, --cflags shows the
compiler flags the library was compiled with. We certainly don't
want to use those.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ce01b1e
..
41c36cb
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2585,7
+2585,7
@@
AC_ARG_WITH(libmysql, [AS_HELP_STRING([--with-libmysql@<:@=PREFIX@:>@], [Path to
])
if test "x$with_libmysql" = "xyes"
then
- with_mysql_cflags=`$with_mysql_config --
cflags
2>/dev/null`
+ with_mysql_cflags=`$with_mysql_config --
include
2>/dev/null`
mysql_config_status=$?
if test $mysql_config_status -ne 0