@@ -129,34 +129,38 @@ input file _config.h.in_ is created. A few instructions set project data like
129
129
name or version number. A couple of other instructions aim at patching system
130
130
dependent variables in _ Makefile.am_ , later used to support _ make_ .
131
131
132
- The script language used for encoding this is __ M4__ using a couple of built-in
133
- commands of __ autoconf__ . This language is designed to provide cross-platform
134
- descriptions of features of the OS.
132
+ The script language used for encoding this is [ M4]
133
+ (https://www.gnu.org/software/m4/manual ) using a couple of built-in commands of
134
+ __ autoconf__ . This language is designed to provide cross-platform descriptions
135
+ of features of the OS.
135
136
136
- ### aclocal
137
+ ## autoreconf
138
+
139
+ __ autoreconf__ manages the complete build process and finally produces a
140
+ _ configure_ and _ Makefile_ ready for use. It is an alternative to the
141
+ following chain of script calls doing the same, but allowing for manual
142
+ intervention that can resolve difficult cases. So far Metamath does not need
143
+ this intervention, so _ autoreconf_ is usually a correct shortcut.
144
+
145
+ Internally _ autoreconf_ calls the following autotools in the right order and
146
+ with the right input files.
147
+
148
+ #### aclocal
137
149
138
150
A program that looks at _ configure.ac_ and provides a file __ aclocal.m4__ with
139
- _ M4_ macros adapted to your system. This file extends the functionality of
140
- _ autoconf_ in a way that it can parse and execute the _ configure.ac_ file.
151
+ _ M4_ macros adapted to _ automake_ directed commands. This extends the
152
+ functionality of _ autoconf_ in a way that it can parse and process the
153
+ _ configure.ac_ file.
141
154
142
155
_ autoreconf_ automatically calls this program during the build process.
143
156
144
- ### aclocal.m4
157
+ #### aclocal.m4
145
158
146
159
An _ M4_ library used by _ autoconf_ . Its contents is of technical nature and
147
160
contains functions adapted to your system and your _ configure.ac_ . To experts
148
161
editing this file may fix or fine tune particular operations. Ordinary users
149
162
do not fiddle with it.
150
163
151
- ### autoconf
152
-
153
- This Unix program called __ autoconf__ , or its sibling __ autoreconf__ , is
154
- capable of generating a _ configure_ shell script from the input _ configure.ac_ .
155
- It uses functions defined in _ aclocal.m4_ to perform its task.
156
-
157
- _ autoreconf_ can be used as an alternative to _ autoconf_ . It then manages the
158
- whole build process up to creating the executable.
159
-
160
164
### autoheader
161
165
162
166
This program from _ Autotools_ creates a _ config.h.in_ from a _ configure.ac_
@@ -184,6 +188,25 @@ script what OS tests to carry out, and how to encode their result. If you
184
188
deploy _ configure_ as part of your distribution then this file should be
185
189
included.
186
190
191
+ #### autom4te.cache
192
+
193
+ Read 'automate'. Allows to share results between the individual _ autotools_
194
+ members. Do not interfere with its contents.
195
+
196
+ ### autoconf
197
+
198
+ This Unix program called __ autoconf__ , or its sibling __ autoreconf__ , is
199
+ capable of generating a _ configure_ shell script from the input _ configure.ac_ .
200
+ It uses functions defined in _ aclocal.m4_ to perform its task.
201
+
202
+ [ Dokumentation] ( https://www.gnu.org/software/autoconf/ )
203
+
204
+ ### Makefile.am
205
+
206
+ ### automake
207
+
208
+ [ Dokumentation] ( https://www.gnu.org/software/automake/manual )
209
+
187
210
### invoking configure
188
211
189
212
In the chain of build events _ configure_ is now invoked. It reads the
@@ -198,7 +221,5 @@ can recreate _config.h_ multiple times without carrying out the OS checks.
198
221
199
222
### config.h
200
223
201
- ### Makefile.am
202
-
203
224
204
225
... to be continued
0 commit comments