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
commitfac9dee4748149fe4f9cd6b299d056abca1a6aa8 (patch)
treefc13e3fc31c1ad0d19e7ec9c147d743aab6cfeeb /configure.in
parent9540d3017e8dde3e6a741f1ff5838c5af786c747 (diff)
parent774a894fe18830749d401ad4a2a96925ee951fbf (diff)
downloadmariadb-git-fac9dee4748149fe4f9cd6b299d056abca1a6aa8.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])