From 09aa8a885b40a1edd6e849215fd398438945b62e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 13 Jan 2012 12:02:36 +0100 Subject: [PATCH] maint: factor copyright year. * configure.ac: Use $PACKAGE_COPYRIGHT_YEAR instead of repeating it. --- ChangeLog | 5 +++++ configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6cbac8a..446f0a7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-13 Akim Demaille + + maint: factor copyright year. + * configure.ac: Use $PACKAGE_COPYRIGHT_YEAR instead of repeating it. + 2012-01-13 Akim Demaille maint: catch missing gnulib macros. diff --git a/configure.ac b/configure.ac index 8dd693a6..78284e93 100644 --- a/configure.ac +++ b/configure.ac @@ -26,9 +26,9 @@ m4_pattern_forbid([^gl_[A-Z]]) AC_INIT([GNU Bison], m4_esyscmd([build-aux/git-version-gen .tarball-version]), [bug-bison@gnu.org]) -AC_DEFINE([PACKAGE_COPYRIGHT_YEAR], [2012], - [The copyright year for this package]) AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2012]) +AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR], + [The copyright year for this package]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) -- 2.45.2