HAYASHI Kentaro
null+****@clear*****
Thu Oct 24 17:11:43 JST 2013
HAYASHI Kentaro 2013-10-24 17:11:43 +0900 (Thu, 24 Oct 2013) New Revision: 66a398f1ce89853918268e0beb694f9131ef96f3 https://github.com/mroonga/mroonga/commit/66a398f1ce89853918268e0beb694f9131ef96f3 Message: Detect MYSQL_MAJOR_MINOR_VERSION correctly In the previous version, it doesn't support the version which has alphabet character as suffix. (ex. 5.5.33a) Modified files: configure.ac Modified: configure.ac (+1 -1) =================================================================== --- configure.ac 2013-10-24 14:12:34 +0900 (cd66a44) +++ configure.ac 2013-10-24 17:11:43 +0900 (5c9a435) @@ -174,7 +174,7 @@ 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]*\)$/\1.\2/')"] + 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|5.5) MYSQL_LIBS="" -------------- next part -------------- HTML����������������������������... ダウンロード