[Groonga-mysql-commit] mroonga/mroonga at 0beeadd [master] Fix normalized version create location

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 17 00:10:40 JST 2015


Kouhei Sutou	2015-03-17 00:10:40 +0900 (Tue, 17 Mar 2015)

  New Revision: 0beeaddfa98f89c34c483f0240f724f560143c8c
  https://github.com/mroonga/mroonga/commit/0beeaddfa98f89c34c483f0240f724f560143c8c

  Message:
    Fix normalized version create location

  Modified files:
    configure.ac

  Modified: configure.ac (+2 -1)
===================================================================
--- configure.ac    2015-03-17 00:04:44 +0900 (14b9f46)
+++ configure.ac    2015-03-17 00:10:40 +0900 (fea4ca2)
@@ -195,6 +195,8 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
   MYSQL_VERSION="$($ac_mysql_config --version)"
   AC_SUBST(MYSQL_VERSION)
 
+  MYSQL_MAJOR_MINOR_VERSION=["$(echo $MYSQL_VERSION | sed -e 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*[a-z]*\)[.0-9a-z-]*$/\1.\2/')"]
+
   MYSQL_CXXFLAGS="-fno-implicit-templates -felide-constructors"
   case "$MYSQL_MAJOR_MINOR_VERSION" in
   5.7)
@@ -206,7 +208,6 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
   esac
 
   if test "${with_libmysqlservices_compat}" = "no"; then
-    MYSQL_MAJOR_MINOR_VERSION=["$(echo $MYSQL_VERSION | sed -e 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*[a-z]*\)$/\1.\2/')"]
     case "$MYSQL_MAJOR_MINOR_VERSION" in
     5.1)
         MYSQL_LIBS=""
-------------- next part --------------
HTML����������������������������...
Download 



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