2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <para>The M4 package contains a macro processor.</para>
15 <para>M4 パッケージはマクロプロセッサーを提供します。</para>
19 <title>Installation of M4</title>
21 <title>&InstallationOf1;M4 &InstallationOf2;</title>
25 <para os="a">Prepare M4 for compilation:</para>
27 <para os="a">&PreparePackage1;M4 &PreparePackage2;</para>
31 <para os="c">Compile the package:</para>
33 <para os="c">&CompileThePackage;</para>
37 <para os="e">To test the results, issue:</para>
40 ビルド結果をテストする場合は以下を実行します。
45 <para os="f">Install the package:</para>
47 <para os="f">&InstallThePackage;</para>
51 <title>Contents of M4</title>
53 <title>&ContentsOf1;M4 &ContentsOf2;</title>
57 <segtitle>Installed program</segtitle>
59 <segtitle>&InstalledProgram;</segtitle>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
71 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
75 <para>copies the given files while expanding the macros that they
76 contain. These macros are either built-in or user-defined and can
77 take any number of arguments. Besides performing macro expansion,
78 <command>m4</command> has built-in functions for including named
79 files, running Unix commands, performing integer arithmetic,
80 manipulating text, recursion, etc. The <command>m4</command>
81 program can be used either as a front-end to a compiler or as a
82 macro processor in its own right.</para>
85 指定されたファイル内のマクロ定義を展開して、そのコピーを生成します。
86 マクロ定義には埋め込み (built-in) マクロとユーザー定義マクロがあり、いくらでも引数を定義することができます。
87 マクロ定義の展開だけでなく <command>m4</command> には以下のような埋め込み関数があります。
88 指定ファイルの読み込み、Unix コマンド実行、整数演算処理、テキスト操作、再帰処理などです。
89 <command>m4</command> プログラムはコンパイラーのフロントエンドとして利用することができ、それ自体でマクロプロセッサーとして用いることもできます。