Reword the copyright notices to match what's suggested in GPLv3.
[autoconf/tsuna.git] / lib / autoconf / autoscan.m4
blob7b5d30ef81a5f2ca98d1bbbb784507115443d955
1 # This file is part of Autoconf.                       -*- Autoconf -*-
2 # Interface with autoscan.
4 # Copyright (C) 2002 Free Software Foundation, Inc.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 # As a special exception, the Free Software Foundation gives unlimited
20 # permission to copy, distribute and modify the configure scripts that
21 # are the output of Autoconf.  You need not follow the terms of the GNU
22 # General Public License when using or distributing such scripts, even
23 # though portions of the text of Autoconf appear in them.  The GNU
24 # General Public License (GPL) does govern all other use of the material
25 # that constitutes the Autoconf program.
27 # Certain portions of the Autoconf source text are designed to be copied
28 # (in certain cases, depending on the input) into the output of
29 # Autoconf.  We call these the "data" portions.  The rest of the Autoconf
30 # source text consists of comments plus executable code that decides which
31 # of the data portions to output in any given case.  We call these
32 # comments and executable code the "non-data" portions.  Autoconf never
33 # copies any of the non-data portions into its output.
35 # This special exception to the GPL applies to versions of Autoconf
36 # released by the Free Software Foundation.  When you make and
37 # distribute a modified version of Autoconf, you may extend this special
38 # exception to the GPL to apply to your modified version as well, *unless*
39 # your modified version has the potential to copy into its output some
40 # of the text that was the non-data portion of the version that you started
41 # with.  (In other words, unless your change moves or copies text from
42 # the non-data portions to the data portions.)  If your modification has
43 # such potential, you must delete any notice of this special exception
44 # to the GPL from your modified version.
46 # Written by Akim Demaille.
48 # The prefix `AN' is chosen after `AutoscaN'.
50 # AN_OUTPUT(KIND, WORD, MACROS)
51 # -----------------------------
52 # Declare that the WORD, used as a KIND, requires triggering the MACROS.
53 m4_define([AN_OUTPUT], [])
56 # AN_FUNCTION(NAME, MACROS)
57 # AN_HEADER(NAME, MACROS)
58 # AN_IDENTIFIER(NAME, MACROS)
59 # AN_LIBRARY(NAME, MACROS)
60 # AN_MAKEVAR(NAME, MACROS)
61 # AN_PROGRAM(NAME, MACROS)
62 # ---------------------------
63 # If the FUNCTION/HEADER etc. is used in the package, then the MACROS
64 # should be invoked from configure.ac.
65 m4_define([AN_FUNCTION],   [AN_OUTPUT([function], $@)])
66 m4_define([AN_HEADER],     [AN_OUTPUT([header], $@)])
67 m4_define([AN_IDENTIFIER], [AN_OUTPUT([identifier], $@)])
68 m4_define([AN_LIBRARY],    [AN_OUTPUT([library], $@)])
69 m4_define([AN_MAKEVAR],    [AN_OUTPUT([makevar], $@)])
70 m4_define([AN_PROGRAM],    [AN_OUTPUT([program], $@)])