]> git.saurik.com Git - bison.git/commitdiff
maint: factor copyright year.
authorAkim Demaille <demaille@gostai.com>
Fri, 13 Jan 2012 11:02:36 +0000 (12:02 +0100)
committerAkim Demaille <demaille@gostai.com>
Fri, 13 Jan 2012 11:02:36 +0000 (12:02 +0100)
* configure.ac: Use $PACKAGE_COPYRIGHT_YEAR instead of repeating it.

ChangeLog
configure.ac

index 25276c61f01bf8946446d311511500bdb9246140..59b80408f5adad44c646e25bd5dd5fa40af93f44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-13  Akim Demaille  <akim@lrde.epita.fr>
+
+       maint: factor copyright year.
+       * configure.ac: Use $PACKAGE_COPYRIGHT_YEAR instead of repeating it.
+
 2012-01-13  Akim Demaille  <akim@lrde.epita.fr>
 
        maint: catch missing gnulib macros.
index 415a17508af0421b68c0bf60a1f3b876f536f795..e572b813aa832ab7644a1eae50b82c441bbc90af 100644 (file)
@@ -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])