POSIX requires defn(`a',`b') to concatenate definitions.
[m4/ericb.git] / README
blobf6bf263040eceda7eed20cccbbf4ad81f5fc082d
1 GNU `m4' is an implementation of the traditional Unix macro
2 processor.  It is mostly SVR4 compatible, although it has some
3 extensions (for example, handling more than 9 positional parameters
4 to macros).  `m4' also has built-in functions for including files,
5 running shell commands, doing arithmetic, etc.  Autoconf needs GNU
6 `m4' for generating `configure' scripts, but not for running them.
8 GNU `m4' was originally written by Rene' Seindal, from Denmark.
9 This release is considered stable.
11 If GNU `m4' is meant to serve GNU `autoconf', beware that `m4'
12 should be fully installed *prior to* configuring `autoconf' itself.
13 Likewise, if you intend on hacking GNU `m4' from CVS, the bootstrap
14 process requires that you first install a released copy of GNU `m4'.
16 If you are just trying to build `m4' from a released tarball, you
17 should not normally need to run `./bootstrap' or `autoreconf'; just go
18 ahead and start with `./configure'.  If you are trying to build `m4'
19 from CVS, more information can be found in the CVS-only file HACKING.
21 In the subdirectory `examples' you will find various m4 files, ranging
22 from trivial test files to rather advanced macros.  If you intend to
23 use m4 seriously, you might find useful material down there.
25 See file `BACKLOG' for a summary of pending mail and articles.
26 See file `COPYING' for copying conditions.  Note that M4 is distributed
27 under the GNU Public License version 3 or later.  Some files in the
28 distribution are copied from the gnulib project, and hence bear the
29 designation version 2 or later because they are unmodified from gnulib;
30 however, if you modify these files using M4 rather than gnulib as the
31 source, you must update the license to be GPLv3 or later.
32 See file `INSTALL' for compilation and installation instructions.
33 See file `NEWS' for a list of major changes in the current release.
34 See file `THANKS' for a list of contributors.
36 By using `./configure --enable-changeword', you get an experimental
37 feature which allows for changing the syntax of what is a "word" in
38 `m4'.  This feature will not be present in m4 2.0, but will be
39 replaced by other new features which provide similar capability, so
40 do not count on it.
42 Send bug reports to `bug-m4@gnu.org'.  A bug report is an adequate
43 description of the problem: your input, what you expected, what you got,
44 and why this is wrong.  Diffs are welcome, but they only describe a
45 solution, from which the problem might be uneasy to infer.
47 ========================================================================
49 Copyright (C) 2000, 2005, 2006 Free Software Foundation, Inc.
51 Permission is granted to copy, distribute and/or modify this document
52 under the terms of the GNU Free Documentation License, Version 1.2 or
53 any later version published by the Free Software Foundation; with no
54 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
55 Texts.  A copy of the license is included in the ``GNU Free
56 Documentation License'' file as part of this distribution.