summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-09 12:52:08 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-09 12:52:08 +0200
commit93a58abe87a7b2ca0c3a3492aec026dfc9fc186a (patch)
treefc13e3fc31c1ad0d19e7ec9c147d743aab6cfeeb /configure.in
parent9eba69618d4b4df05878f31073368339020fff3d (diff)
parent09e0633f70b8885394dc9f32e9cb38cb33a3e7ef (diff)
downloadmariadb-git-93a58abe87a7b2ca0c3a3492aec026dfc9fc186a.tar.gz
merged 5.1-main -> 5.1-pe-stage
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1f9013c9db6..069da9ef36e 100644
--- a/configure.in
+++ b/configure.in
@@ -36,6 +36,7 @@ MYSQL_NUMERIC_VERSION=`echo $MYSQL_NO_DASH_VERSION | sed -e "s|[[a-z]][[a-z0-9]]
MYSQL_BASE_VERSION=`echo $MYSQL_NUMERIC_VERSION | sed -e "s|\.[[^.]]*$||"`
MYSQL_VERSION_ID=`echo $MYSQL_NUMERIC_VERSION | \
awk -F. '{printf "%d%0.2d%0.2d", $1, $2, $3}'`
+MYSQL_COPYRIGHT_YEAR=`date '+%Y'`
# Add previous major version for debian package upgrade path
MYSQL_PREVIOUS_BASE_VERSION=5.0
@@ -70,6 +71,7 @@ AC_SUBST(MYSQL_NO_DASH_VERSION)
AC_SUBST(MYSQL_BASE_VERSION)
AC_SUBST(MYSQL_VERSION_ID)
AC_SUBST(MYSQL_PREVIOUS_BASE_VERSION)
+AC_SUBST(MYSQL_COPYRIGHT_YEAR)
AC_SUBST(PROTOCOL_VERSION)
AC_DEFINE_UNQUOTED([PROTOCOL_VERSION], [$PROTOCOL_VERSION],
[mysql client protocol version])