]> git.saurik.com Git - bison.git/blobdiff - configure.ac
maint: factor copyright year.
[bison.git] / configure.ac
index 55dfa960020015f1cd0b204bc4fb17a01ff5b022..78284e93261efa26328f976ffa3e1c1f1b49a635 100644 (file)
 # keyword in at least string.h from gnulib.  We need Autoconf 2.68 or
 # better to avoid a typo in the `configure --help' entry for the YACC
 # environment variable.
-AC_PREREQ(2.68)
+AC_PREREQ([2.68])
+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])