configure.in: Use the `--libs_r' option of mysql-config.
authorCyril Feraudet <cyril@feraudet.com>
Tue, 14 Feb 2012 09:47:27 +0000 (10:47 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 14 Feb 2012 17:52:04 +0000 (18:52 +0100)
Rather than the `--libs' option.

Change-Id: Idd2a3828f4d154f353c44a4b69aa094acbadcabf
Signed-off-by: Florian Forster <octo@collectd.org>
configure.in

index 023e21a..0acad70 100644 (file)
@@ -2064,7 +2064,7 @@ then
 fi
 if test "x$with_libmysql" = "xyes"
 then
-       with_mysql_libs=`$with_mysql_config --libs 2>/dev/null`
+       with_mysql_libs=`$with_mysql_config --libs_r 2>/dev/null`
        mysql_config_status=$?
 
        if test $mysql_config_status -ne 0