We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38c10da + 8a65d2e commit 22e9e75Copy full SHA for 22e9e75
configure.ac
@@ -40,7 +40,7 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
40
MYSQL_SOURCE_VERSION="$MYSQL_VERSION_MAJOR.$MYSQL_VERSION_MINOR.$MYSQL_VERSION_PATCH"
41
else
42
if test -f "$ac_mysql_source_dir/configure.in"; then
43
- MYSQL_SOURCE_VERSION=`cat $ac_mysql_source_dir/configure.in | grep "\[[MySQL Server\]]" | sed -e "s|.*\([[0-9]]\+\.[[0-9]]\+\.[[0-9]]\+[[0-9a-zA-Z\_\-]]*\).*|\1|"`
+ MYSQL_SOURCE_VERSION=`cat $ac_mysql_source_dir/configure.in | grep "\[[\(MariaDB\|MySQL\) Server\]]" | sed -e "s|.*\([[0-9]]\+\.[[0-9]]\+\.[[0-9]]\+[[0-9a-zA-Z\_\-]]*\).*|\1|"`
44
45
AC_MSG_ERROR([invalid MySQL source directory: $ac_mysql_source_dir])
46
fi
0 commit comments