summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_lib_mysql.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_lib_mysql.m4 b/m4/ax_lib_mysql.m4
index a8ca178..f6e2552 100644
--- a/m4/ax_lib_mysql.m4
+++ b/m4/ax_lib_mysql.m4
@@ -81,7 +81,7 @@ AC_DEFUN([AX_LIB_MYSQL],
AC_MSG_CHECKING([for MySQL libraries])
if test "$MYSQL_CONFIG" != "no"; then
- MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`"
+ MYSQL_CFLAGS="`$MYSQL_CONFIG --include`"
MYSQL_LDFLAGS="`$MYSQL_CONFIG --libs`"
MYSQL_VERSION=`$MYSQL_CONFIG --version`