[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] use mysql_config --cflags to use the same build option of MySQL. fixes GitHub #4

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:30:12 JST 2012


Kouhei Sutou	2011-09-28 15:54:27 +0900 (Wed, 28 Sep 2011)

  New Revision: d9a70db8c8a990f1bdc30d38990946396ae3a78e
  https://github.com/mroonga/mroonga/commit/d9a70db8c8a990f1bdc30d38990946396ae3a78e

  Log:
    use mysql_config --cflags to use the same build option of MySQL. fixes GitHub #4
    
    Reported by Tomohiro MITSUMUNE. Thanks!!!

  Modified files:
    configure.ac

  Modified: configure.ac (+1 -0)
===================================================================
--- configure.ac    2011-09-28 14:32:30 +0900 (c84f03e)
+++ configure.ac    2011-09-28 15:54:27 +0900 (aec94f0)
@@ -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)
 ])
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index