diff options
author | unknown <lenz@mysql.com> | 2002-11-21 21:42:44 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-11-21 21:42:44 +0100 |
commit | 9a2ac08bac0de5e0e42edb1e45ed28da4a7f1b1c (patch) | |
tree | e9e20bf89dc8387d37ae5cfc2d24a3142a1275b0 /configure.in | |
parent | 910849ccd1f5f24e90de0f48091a4c6981c71126 (diff) | |
download | mariadb-git-9a2ac08bac0de5e0e42edb1e45ed28da4a7f1b1c.tar.gz |
configure.in:
- fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
("comment" test failed when MySQL version was changed from 4.0.5
to 4.0.5a)
configure.in:
- fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
("comment" test failed when MySQL version was changed from 4.0.5
to 4.0.5a)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cc9e9f772b4..4dfee69f1c0 100644 --- a/configure.in +++ b/configure.in @@ -15,6 +15,7 @@ SHARED_LIB_VERSION=11:0:0 # Set all version vars based on $VERSION. How do we do this more elegant ? # Remember that regexps needs to quote [ and ] since this is run through m4 MYSQL_NO_DASH_VERSION=`echo $VERSION | sed -e "s|-.*$||"` +MYSQL_NO_DASH_VERSION=`echo $VERSION | sed -e "s|[a-z]*-.*$||"` MYSQL_BASE_VERSION=`echo $MYSQL_NO_DASH_VERSION | sed -e "s|\.[[^.]]*$||"` F_PART=`echo $MYSQL_BASE_VERSION | sed -e "s|\.||g"| sed -e "s|[a-zA-Z]\+||"|sed -e "s|^\(..\)$|\\10|"` L_PART=`echo $MYSQL_NO_DASH_VERSION | sed -e "s|^[[0-9]]\.[[0-9]]*\.||" | sed -e "s|^\(.\)$|0\\1|" | sed -e "s|[[a-z]]||"` |