Kouhei Sutou
null+****@clear*****
Mon Mar 25 22:41:01 JST 2013
Kouhei Sutou 2013-03-25 22:41:01 +0900 (Mon, 25 Mar 2013) New Revision: 709811ee90fda858974c34e8513ce8085a2ec771 https://github.com/mroonga/mroonga/commit/709811ee90fda858974c34e8513ce8085a2ec771 Message: Call AC_SUBST where target variable is defined Modified files: configure.ac Modified: configure.ac (+3 -1) =================================================================== --- configure.ac 2013-03-25 22:40:03 +0900 (febcc60) +++ configure.ac 2013-03-25 22:41:01 +0900 (a1f9900) @@ -146,10 +146,13 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[ AC_MSG_ERROR([can't detect mysql_config. Please specify mysql_config path by --with-mysql-config=PATH.]) fi AC_MSG_RESULT([$ac_mysql_config]) + plugindir="$($ac_mysql_config --plugindir)" if test $? -ne 0; then AC_MSG_ERROR([failed to run "$ac_mysql_config": $plugindir]) fi + AC_SUBST(plugindir) + MYSQL_CFLAGS="$MYSQL_CFLAGS $($ac_mysql_config --cflags)" AC_SUBST(MYSQL_CFLAGS) MYSQL_INCLUDES="$MYSQL_INCLUDES $($ac_mysql_config --include)" @@ -231,7 +234,6 @@ if test "$with_valgrind" != "no"; then fi CONFIG_OPTION_MYSQL -AC_SUBST(plugindir) CONFIG_OPTION_GROONGA CONFIG_OPTION_GROONGA_NORMALIZER_MYSQL -------------- next part -------------- HTML����������������������������... ダウンロード