summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorkent.boortz@sun.com <>2009-02-24 17:54:03 +0100
committerMySQL Build Team <build@mysql.com>2009-02-24 17:54:03 +0100
commit4f11a82b5c2d89431dd8a3f887719cd49ce09d70 (patch)
tree21225dae6ac58bca3166b5010a7e6820d7a78595 /configure.in
parent2515ce79e892baf55eaf5bf8b476d472cb38444f (diff)
downloadmariadb-git-4f11a82b5c2d89431dd8a3f887719cd49ce09d70.tar.gz
Insert current year as last copyright year for the product
Don't use both "License" and "license" as RPM macro, they are the same
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 b5beb7a24f5..ef2771f5d67 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])