summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-04-11 13:31:28 +0200
committerunknown <df@pippilotta.erinye.com>2007-04-11 13:31:28 +0200
commit2b685e48dbd3267bc193abb0d8b0c7d8a97912d0 (patch)
treeb54db00e4d949ab0e2b8d56feb17e58e6caecc53 /configure.in
parentbb4987f164e4b7ef2b0f0342e202eea10e6abff0 (diff)
parentf89df01cc00bf612ffb0575fe0258a6b0769db1b (diff)
downloadmariadb-git-2b685e48dbd3267bc193abb0d8b0c7d8a97912d0.tar.gz
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-36sp1
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work configure.in: Auto merged
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index bcf561c02ef..9b5abe39a6f 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