From 14a46b459f676edc6d7ce7dcfbe37c35e9b0c9d7 Mon Sep 17 00:00:00 2001
From: Akim Demaille <demaille@gostai.com>
Date: Mon, 13 Feb 2012 13:39:23 +0100
Subject: [PATCH 2/2] maint: add license headers.

	* examples/calc++/test, examples/variant.yy, AUTHORS, THANKS,
	* tests/atlocal.in, tests/bison.in: Add license headers.
	Reported by Tys Lefering.
---
 AUTHORS              |   19 +++++++++++++++++++
 THANKS               |   19 +++++++++++++++++++
 examples/calc++/test |   15 +++++++++++++++
 examples/variant.yy  |   17 +++++++++++++++++
 tests/atlocal.in     |   13 +++++++++++++
 tests/bison.in       |   15 +++++++++++++++
 6 files changed, 98 insertions(+), 0 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 0a3ca6f..52e86fb 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -6,3 +6,22 @@ Richard Stallman made it Yacc-compatible.
 
 Wilfred Hansen of Carnegie Mellon University added multicharacter
 string literals and other features.
+
+-----
+
+Copyright (C) 1998-2012 Free Software Foundation, Inc.
+
+This file is part of Bison, the GNU Compiler Compiler.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/THANKS b/THANKS
index d25e6f7..93b2b4a 100644
--- a/THANKS
+++ b/THANKS
@@ -123,3 +123,22 @@ thank them!  Please, help us keeping this list up to date.
 Local Variables:
 mode: text
 End:
+
+-----
+
+Copyright (C) 2000-2012 Free Software Foundation, Inc.
+
+This file is part of Bison, the GNU Parser Generator.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/examples/calc++/test b/examples/calc++/test
index 2aa917b..2701223 100755
--- a/examples/calc++/test
+++ b/examples/calc++/test
@@ -1,5 +1,20 @@
 #! /bin/sh
 
+# Copyright (C) 2005-2012 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 test -z "$VERBOSE" && {
    exec > /dev/null 2>&1
    set -x
diff --git a/examples/variant.yy b/examples/variant.yy
index 8471e6e..ec06981 100644
--- a/examples/variant.yy
+++ b/examples/variant.yy
@@ -1,3 +1,20 @@
+/*
+  Copyright (C) 2008-2012 Free Software Foundation, Inc.
+
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 %debug
 %skeleton "lalr1.cc"
 %defines
diff --git a/tests/atlocal.in b/tests/atlocal.in
index d005f85..b66e954 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -2,6 +2,19 @@
 # Configurable variable values for Bison test suite.
 
 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # We need a C compiler.
 : ${CC='@CC@'}
diff --git a/tests/bison.in b/tests/bison.in
index 0f8e07c..5d609bf 100644
--- a/tests/bison.in
+++ b/tests/bison.in
@@ -2,6 +2,21 @@
 # @configure_input@
 # Wrapper around a non installed bison to make it work as an installed one.
 
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 abs_top_srcdir='@abs_top_srcdir@'
 abs_top_builddir='@abs_top_builddir@'
 
-- 
1.7.9

