[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] support MariaDB-5.2.4.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:34:39 JST 2012


Kouhei Sutou	2010-12-31 19:31:40 +0900 (Fri, 31 Dec 2010)

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

  Log:
    support MariaDB-5.2.4.
    
    Reported by Kazuhiko. Thanks!!!

  Modified files:
    configure.ac

  Modified: configure.ac (+2 -2)
===================================================================
--- configure.ac    2010-12-31 19:27:15 +0900 (9808e94)
+++ configure.ac    2010-12-31 19:31:40 +0900 (fb48fab)
@@ -71,8 +71,8 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
     AC_MSG_ERROR([failed to run "$ac_mysql_config": $plugindir])
   fi
   MYSQL_INC="$MYSQL_INC $($ac_mysql_config --include)"
-  ac_mysql_major_version="`$ac_mysql_config --version | cut -b 1-3`"
-  if test "$ac_mysql_major_version" = "5.1"; then
+  ac_mysql_major_version="`$ac_mysql_config --version | cut -b 1,3`"
+  if test $ac_mysql_major_version -lt 55; then
     MYSQL51="-DMYSQL51"
     AC_SUBST(MYSQL51)
   fi
-------------- next part --------------
HTML����������������������������...
다운로드 



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