summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-04-11 13:01:11 +0200
committerunknown <df@pippilotta.erinye.com>2007-04-11 13:01:11 +0200
commitf89df01cc00bf612ffb0575fe0258a6b0769db1b (patch)
tree424efec9e367b6951b6bbe0e6017e3f29fd83e12
parent9d66be72b0ee079cecc39e09d4f4c0f7e1849dbc (diff)
downloadmariadb-git-f89df01cc00bf612ffb0575fe0258a6b0769db1b.tar.gz
make configure handle service pack version strings
configure.in: recognize service pack version strings
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a447732a06a..d3da80c2a16 100644
--- a/configure.in
+++ b/configure.in
@@ -30,7 +30,7 @@ NDB_VERSION_STATUS=""
# Remember that regexps needs to quote [ and ] since this is run through m4
MYSQL_NO_DASH_VERSION=`echo $VERSION | sed -e "s|[[a-z]]*-.*$||"`
MYSQL_BASE_VERSION=`echo $MYSQL_NO_DASH_VERSION | sed -e "s|\.[[^.]]*$||"`
-MYSQL_VERSION_ID=`echo $MYSQL_NO_DASH_VERSION. | sed -e 's/[[^0-9.]]//g; s/\./ /g; s/ \([[0-9]]\) / 0\\1 /g; s/ //g'`
+MYSQL_VERSION_ID=`echo $MYSQL_NO_DASH_VERSION | sed -e 's|[[^0-9.]].*$||;s|$|.|' | sed -e 's/[[^0-9.]]//g; s/\./ /g; s/ \([[0-9]]\) / 0\\1 /g; s/ //g'`
# The port should be constant for a LONG time
MYSQL_TCP_PORT_DEFAULT=3306