1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-6.6">
15 <div class="navheader">
17 Linux From Scratch - Version 6.6
24 <a accesskey="p" href="iana-etc.html" title=
25 "Iana-Etc-2.30">前のページ</a>
31 <a accesskey="n" href="bison.html" title="Bison-2.4.1">次のページ</a>
37 <a accesskey="u" href="chapter06.html" title=
38 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
41 <a accesskey="h" href="../index.html" title=
42 "Linux From Scratch - Version 6.6">ホーム</a>
46 <div class="wrap" lang="ja" xml:lang="ja">
48 <a id="ch-system-m4" name="ch-system-m4"></a>6.24. M4-1.4.13
50 <div class="package" lang="ja" xml:lang="ja">
52 M4 パッケージはマクロプロセッサを提供します。
54 <div class="segmentedlist">
55 <div class="seglistitem">
57 <strong class="segtitle">概算ビルド時間:</strong> <span class=
58 "segbody">0.4 SBU テストスイート込み</span>
61 <strong class="segtitle">必要ディスク容量:</strong> <span class=
62 "segbody">14.2 MB</span>
67 <div class="installation" lang="ja" xml:lang="ja">
74 <pre class="userinput">
75 <kbd class="command">./configure --prefix=/usr</kbd>
80 <pre class="userinput">
81 <kbd class="command">make</kbd>
84 コンパイル結果をテストするために以下を実行します。
86 <pre class="userinput">
87 <kbd class="command">make check</kbd>
92 <pre class="userinput">
93 <kbd class="command">make install</kbd>
96 <div class="content" lang="ja" xml:lang="ja">
98 <a id="contents-m4" name="contents-m4"></a>6.24.2. M4 の構成
100 <div class="segmentedlist">
101 <div class="seglistitem">
103 <strong class="segtitle">インストールプログラム:</strong> <span class=
108 <div class="variablelist">
113 <col align="left" valign="top" />
118 <a id="m4" name="m4"></a><span class="term"><span class=
119 "command"><strong>m4</strong></span></span>
124 指定されたファイル内のマクロ定義を展開して、そのコピーを生成します。 マクロ定義には埋め込み (built-in)
125 マクロとユーザー定義マクロがあり、いくらでも引数を定義することができます。 マクロ定義の展開だけでなく
126 <span class="command"><strong>m4</strong></span>
127 には以下のような埋め込み関数があります。 指定ファイルの読み込み、Unix
128 コマンド実行、整数演算処理、テキスト操作、再帰処理などです。 <span class=
129 "command"><strong>m4</strong></span>
130 プログラムはコンパイラのフロントエンドとして利用することができ、それ自体でマクロプロセッサとして用いることもできます。
139 <div class="navfooter">
142 <a accesskey="p" href="iana-etc.html" title=
143 "Iana-Etc-2.30">前のページ</a>
149 <a accesskey="n" href="bison.html" title="Bison-2.4.1">次のページ</a>
155 <a accesskey="u" href="chapter06.html" title=
156 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
159 <a accesskey="h" href="../index.html" title=
160 "Linux From Scratch - Version 6.6">ホーム</a>