summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 412a434)
raw | patch | inline | side by side (parent: 412a434)
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.
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 ce01b1ee74be52508fc47bccacd7f8693b64a2db..41c36cb595a18ca1fe3408607be73fa20a395929 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