Navigation Menu

Skip to content

Commit

Permalink
use mysql_config --cflags to use the same build option of MySQL. fixe…
Browse files Browse the repository at this point in the history
…s GitHub #4

Reported by Tomohiro MITSUMUNE. Thanks!!!
  • Loading branch information
kou committed Sep 28, 2011
1 parent eb7c403 commit d9a70db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -73,6 +73,7 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
if test $? -ne 0; then
AC_MSG_ERROR([failed to run "$ac_mysql_config": $plugindir])
fi
MYSQL_CFLAGS="$MYSQL_CFLAGS $($ac_mysql_config --cflags)"
MYSQL_INC="$MYSQL_INC $($ac_mysql_config --include)"
AC_SUBST(plugindir)
])
Expand Down

0 comments on commit d9a70db

Please sign in to comment.