summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-05-11 09:05:37 +0200
committerPaolo Bonzini <bonzini@gnu.org>2009-05-11 10:47:05 +0200
commitff839b08be5e2ed97bc29639d4844ae1a1ba6d66 (patch)
treefb1d43e09b929ec9e5b65296d7dee836f7a94fca /configure.ac
parent5a30fa2129f6d9e7d96362c6929ae006896cda1c (diff)
downloadsed-ff839b08be5e2ed97bc29639d4844ae1a1ba6d66.tar.gz
fix copyright years and notice
2009-05-11 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Define COPYRIGHT_YEAR. * Makefile.am (dist-hook): Test it. * sed/mbcs.c: Fix copyright years. * sed/sed.c: Fix copyright years. Change COPYRIGHT_NOTICE to COPYRIGHT_YEAR. * sed/utils.c: Fix copyright years. * testsuite/version.gin: Use COPYRIGHT_YEAR.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ed5a728..0274f1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,11 @@ AC_DEFINE_UNQUOTED(SED_FEATURE_VERSION, "$SED_FEATURE_VERSION",
[Define to the version of GNU sed whose features are supported by this sed.])
AC_SUBST(SED_FEATURE_VERSION)
+COPYRIGHT_YEAR=2009
+AC_DEFINE_UNQUOTED(COPYRIGHT_YEAR, $COPYRIGHT_YEAR,
+ [Define to the copyright year printed by --version.])
+AC_SUBST(COPYRIGHT_YEAR)
+
AC_PROG_CC
gl_EARLY
gl_INIT