12001-05-21  Akim Demaille  <akim@epita.fr>
2
3	Version 2.50.
4
52001-05-19  Akim Demaille  <akim@epita.fr>
6
7	* tests/tools.at: s/undefined macro/possibly undefined macro/.
8
92001-05-19  Akim Demaille  <akim@epita.fr>
10
11	* acgeneral.m4 (AC_SEARCH_LIBS): Unobfuscate.
12
132001-05-19  Akim Demaille  <akim@epita.fr>
14
15	* autoconf.sh: s/undefined macro/possibly undefined macro/.
16
172001-05-19  Akim Demaille  <akim@epita.fr>
18
19	* doc/autoconf.texi (Particular Programs): Explain the
20	`AC_PROG_LEX invoked multiple times' message.
21	Reported by Rainer Orth as PR Autoconf/177.
22
232001-05-19  Akim Demaille  <akim@epita.fr>
24
25	* autoheader.sh: Fix file names used in error messages.
26	Reported by Rainer Orth as PR Autoconf/178.
27
282001-05-19  Akim Demaille  <akim@epita.fr>
29
30	* tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
31	if using `cc'.
32
332001-05-19  Akim Demaille  <akim@epita.fr>
34
35	* tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
36	AT_CHECK_MACRO since it skips tests embedded in configure.ac.
37	Remove files which might have been created when invoking the
38	compiler.
39	Reported by Nicolas Joly.
40
412001-05-14  Pavel Roskin  <proski@gnu.org>
42
43	* doc/autoconf.texi (Shellology): Document a quirk in
44	here-document handling on OpenBSD.
45
462001-05-11  Akim Demaille  <akim@epita.fr>
47
48	* aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
49	`maybe' strategy: first try cpp's exit status, then its stderr.
50	(AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
51	* tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
52	Remove unrelated code.
53
542001-05-10  Akim Demaille  <akim@epita.fr>
55
56	* tests/compile.at (AC_PROG_CPP via CC): New.
57	From Daniel Carroll.
58
592001-04-27  Akim Demaille  <akim@epita.fr>
60
61	If AC_PROG_CC is invoked but not AC_PROG_CPP, then CPPFLAGS is not
62	AC_SUBST'ed.
63	Reported by Ralf Corsepius.
64
65	* aclang.m4 (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS): New.
66	(AC_PROG_CC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP)
67	(AC_PROG_F77): Use them.
68
692001-04-27  Akim Demaille  <akim@epita.fr>
70
71	* aclang.m4 (_AC_PROG_PREPROC_WORKS): Rename and extend as...
72	(_AC_PROG_PREPROC_WORKS_IFELSE): this.
73	Adjust to admit
74	(AC_PROG_CPP, AC_PROG_CXXCPP): Use it.
75	Reported by Daniel Carroll.
76
772001-04-26  Pavel Roskin  <proski@gnu.org>
78
79	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use two backslashes
80	before double quotes in the copyright notice, since the native
81	OpenBSD shell removes single backslashes in here-documents with
82	unquoted delimiters.
83
842001-04-25  Nicolas Joly  <njoly@pasteur.fr>
85
86	* acgeneral.m4 (_AC_RUN_IFELSE): Clean `core' files.
87
882001-04-24  Steven G. Johnson  <stevenj@alum.mit.edu>
89
90	* doc/autoconf.texi (The GNU build system): Add this chapter
91	introducing Autoconf+Automake+Libtool, and fix references in the
92	introduction.
93
942001-04-24  Akim Demaille  <akim@epita.fr>
95
96	On HP-UX 10 `ranlib --version' creates `./--version'.
97	Reported by Bob Proulx and Jim Meyering.
98
99	* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Do not invoke the
100	program with --version.
101
1022001-04-22  Jim Meyering  <meyering@lucent.com>
103
104	* acfunctions.m4 (AC_FUNC_MEMCMP): Remove `int main () {' and the
105	trailing `}', since AC_LANG_PROGRAM provides them.
106
1072001-04-20  Akim Demaille  <akim@epita.fr>
108
109	* configure.in: Bump to 2.49f.
110
1112001-04-20  Akim Demaille  <akim@epita.fr>
112
113	Version 2.49e.
114
1152001-04-20  Akim Demaille  <akim@epita.fr>
116
117	* tests/foreign.at (Libtool): Ignore configure's stderr.
118
1192001-04-20  Tim Van Holder  <tim.van.holder@pandora.be>
120
121	* acgeneral.m4 (AC_OUTPUT): Close the descriptor before running
122	config.status so config.log is properly created on MS-DOS.
123
1242001-04-20  Nicolas Joly  <njoly@pasteur.fr>
125
126	* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing
127	or broken autoupdate.
128	* tests/tools.at: Likewise.
129	* tests/Makefile.am (CLEANFILES): Also clean Libtool files.
130
1312001-04-18  Tim Van Holder  <tim.van.holder@pandora.be>
132
133	* acgeneral.m4 (_AC_INIT_SRCDIR): Handle
134	backslashes (DOS paths) for $ac_confdir and $srcdir.
135
1362001-04-17  Akim Demaille  <akim@epita.fr>
137
138	Don't mess with FDs.
139
140	* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Remove, replace with
141	inline setting up of AS_MESSAGE_FD.
142	(AS_MESSAGE_LOG_FD): Do not define, so that AS_MESSAGE does not
143	output in it before...
144	(_AC_INIT_CONFIG_LOG): here, which is run after the handling of
145	options.
146
1472001-04-18  Steven G. Johnson  <stevenj@alum.mit.edu>
148
149	* doc/autoconf.texi: Replace documentation for obsolete
150	AC_LIBOBJ_DECL with clearer documentation for AC_LIBSOURCE
151	and AC_LIBSOURCES, improving the AC_LIBOBJ docs as well.
152
1532001-04-17  Steven G. Johnson  <stevenj@alum.mit.edu>
154
155	* doc/autoconf.texi: Fixes for punctuation and grammar..  Replace
156	"..." with "@dots{}" except when "..." is in literal code.
157
1582001-04-17  Nicolas Joly  <njoly@pasteur.fr>
159
160	* acgeneral.m4 (_AC_LINK_IFELSE): Be sure to remove temporary
161	`conftest.$ac_objext', as some compilers may forget it.
162
1632001-04-16  Pavel Roskin  <proski@gnu.org>
164
165	* acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
166	AC_PACKAGE_VERSION only if they are defined.
167	(_AC_OUTPUT_CONFIG_STATUS): Likewise.
168
1692001-04-15  Lars J. Aas  <larsa@sim.no>
170
171	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Alter response on
172	`config.status --version' to be more compliant with the GNU Coding
173	Standards.
174
1752001-04-13  Steven G. Johnson  <stevenj@alum.mit.edu>
176
177	* doc/autoconf.texi: Still more minor modifications for clarity,
178	felicity, and grammar.
179
1802001-04-11  Steven G. Johnson  <stevenj@alum.mit.edu>
181
182	* doc/autoconf.texi (AC_F77_WRAPPERS): Mention C++ as well as C.
183	In the example, don't #ifdef F77_FUNC before using it, as that
184	would push any errors to link-time rather than compile-time; note
185	that the user can test this to invoke alternative behavior.
186
1872001-04-11  Akim Demaille  <akim@epita.fr>
188
189	* autoconf.sh (Task script): Be sure that `forbidden.rx' and
190	`allowed.rx' exist when AWK loads then.
191	Reported by Rainer Orth.
192
1932001-04-11  Steven G. Johnson  <stevenj@alum.mit.edu>
194
195	* doc/autoconf.texi: A few more minor modifications for clarity,
196	grammar, and formatting.
197
1982001-04-10  Lars J. Aas  <larsa@sim.no>
199
200	* Makefile.am: AC_SUBST fixes for PACKAGE_NAME, VERSION, PACKAGE...
201	* configure.in: Moved here.
202	Suggested by Akim Demaille and Raja R Harinath.
203
2042001-04-10  Lars J. Aas  <larsa@sim.no>
205
206	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS):  Re-enable logging to
207	`config.log' from `config.status', but delay logging till after
208	command line option processing.
209
2102001-04-10  Lars J. Aas  <larsa@sim.no>
211
212	* autoupdate.in (print_usage): print "\ at end of line does not
213	work as expected, so change block to here-doc instead.
214	(print_version): Same.
215
2162001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
217
218	* doc/autoconf.texi: Replace all tab characters with (8) spaces,
219	lest the formatting of example code, etcetera, be messed up.
220
2212001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
222
223	* doc/autoconf.texi: Rephrase various parts for clarity, felicity,
224	and/or grammar.
225
2262001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
227
228	* doc/autoconf.texi: Clean up cache documentation: Document
229	--config-cache/-C option, and recommend instead of --cache-file.
230	Indent example AC_CACHE_VAL macros for clarity.  Add new
231	"Cache Checkpointing" section for AC_CACHE_SAVE (and
232	AC_CACHE_LOAD), so that the "Cache Files" section focuses solely
233	on features visible to end-users (e.g. to better fit the cross
234	references).  Various minor rewordings for clarity, felicity,
235	and/or grammar.
236
2372001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
238
239	* doc/autoconf.texi: Revert to "configure.in" in the history, since
240	"configure.ac" wasn't used in the past, and in any case it is
241	probably a good idea to preserve this section verbatim.
242
2432001-04-09  Steven G. Johnson  <stevenj@alum.mit.edu>
244
245	* AUTHORS: Fix grammar.
246
2472001-04-09  Lars J. Aas  <larsa@sim.no>
248
249	* Makefile.am: Manual addition of @PACKAGE@ substitution variable
250	needed by dist rules.  Added explanatory comment.
251	Problem reported and comment suggested by Raja R Harinath.
252
2532001-04-06  Lars J. Aas  <larsa@sim.no>
254
255	* Makefile.am: Manual addition of @VERSION@ substitution variable
256	as a temporary Automake fix.  Reported by Raja R Harinath.
257
2582001-04-04  Lars J. Aas  <larsa@sim.no>
259
260	* acgeneral (_AC_INIT_CONFIG_LOG): New macro for setting up the
261	config.log file.
262	(_AC_INIT_DEFAULTS_FDS): Log to /dev/null instead of config.log.
263	(AC_INIT): Invoke _AC_INIT_CONFIG_LOG after _AC_INIT_VERSION.
264
2652001-04-04  Lars J. Aas  <larsa@sim.no>
266
267	* acgeneral.m4 (_AC_INIT_DEFAULTS): Produce better version
268	information for config.log header.
269	(_AC_INIT_VERSION): Produce better version information for
270	`configure --version'.
271
2722001-03-30  Steven G. Johnson  <stevenj@alum.mit.edu>
273
274	* doc/autoconf.texi: Use "invalid" instead of "illegal," as
275	suggested by the GNU coding standards.
276
2772001-03-30  Tim Van Holder  <tim.van.holder@pandora.be>
278
279	* m4sh.m4 (AS_BASENAME): New.
280	(AS_SHELL_SANITIZE): Set `$as_me'.
281	* acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
282	* tests/atgeneral.m4: Likewise.
283	(AT_INIT): Use $PATH_SEPARATOR for walking the path.
284	* autoconf.sh: Be DOS-friendly when setting as_me and M4.
285	Add quotes to support spaces in $tmp.
286	Work around problem in DJGPP port of awk by using a temporary file.
287	* autoheader.sh: Be DOS-friendly when setting as_me.
288	* autoreconf.sh: Be DOS-friendly when setting as_me, dir and
289	template_dir.
290
2912001-03-27  Lars J. Aas  <larsa@sim.no>
292
293	* acgeneral.m4 (AC_INIT_VERSION): Improved version information string
294	for `configure --version'.
295
2962001-03-27  Akim Demaille  <akim@epita.fr>
297
298	* autoheader.sh (config_h): Be robust to new lines when extracting
299	the first argument of AC_CONFIG_HEADERS.
300	Reported by Lars J. Aas.
301
3022001-03-27  Tim Van Holder  <tim.van.holder@pandora.be>
303
304	* doc/autoconf.texi: Minor tweaks.
305
3062001-03-27  Tim Van Holder  <tim.van.holder@pandora.be>
307
308	* Makefile.am, configure.in: autoupdate is a Perl script.
309
3102001-03-20  Akim Demaille  <akim@epita.fr>
311
312	* doc/autoconf.texi (Limitations of Usual Tools): Some about
313	`touch'.
314	From Jim Meyering, Volker Borchert, and Peter Eisentraut.
315
3162001-03-20  Akim Demaille  <akim@epita.fr>
317
318	* tests/foreign.at (Libtool): Don't skip 1.3.5.
319	Invoke AC_CANONICAL_SYSTEM ---for some reason AC_CANONICAL_HOST is
320	not enough for 1.3.5.
321	From Lars J. Aas.
322
3232001-03-20  Akim Demaille  <akim@epita.fr>
324
325	* tests/atgeneral.m4: s/Testing suite/Test suite/g.
326	From Jim.
327	(AT_INIT): Adjust the error message on invalid options.
328	* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
329
3302001-03-20  Kevin Ryde  <user42@zip.com.au>
331
332	* doc/autoconf.texi: A couple of grammatical tweaks.
333
3342001-03-19  Akim Demaille  <akim@epita.fr>
335
336	* configure.in: Bump to 2.49e.
337
3382001-03-19  Akim Demaille  <akim@epita.fr>
339
340	Version 2.49d.
341
3422001-03-19  Akim Demaille  <akim@epita.fr>
343
344	* tests/tools.at (AWK portability): Don't rely on `empty'.
345
3462001-03-19  Akim Demaille  <akim@epita.fr>
347
348	* tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
349	Reported by Nicolas Joly.
350
3512001-03-19  Akim Demaille  <akim@epita.fr>
352
353	* acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the
354	_AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix.
355	Reported by Harlan Stenn, and fixed by Jim Meyering.
356
3572001-03-19  Akim Demaille  <akim@epita.fr>
358
359	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code
360	`/bin/sh', use $SHELL.
361	From Paul Eggert.
362
3632001-03-19  Akim Demaille  <akim@epita.fr>
364
365	* acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
366	fileutils-4.0.42's.
367
3682001-03-19  Akim Demaille  <akim@epita.fr>
369
370	* tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
371	do it only when diffing `/dev/null' is not supported.
372	And use `at-devnull' instead of `empty'.
373
3742001-03-13  Akim Demaille  <akim@epita.fr>
375
376	* autoscan.pl, autoupdate.in: Use `use' instead of `require' to
377	require some version of Perl, so that the test is performed at
378	compile time, not run time.
379	Suggested by Nicolas Joly.
380
3812001-03-13  Tim Van Holder  <tim.van.holder@pandora.be>
382
383	* tests/aclocal.m4: Fix some typos.  Also ignore $PATH_SEPARATOR.
384	* tests/atconfig.in: Set PATH_SEPARATOR to the proper
385	path separator.  Set SHELL here...
386	* tests/atgeneral.m4: ... instead of here.  Use	$PATH_SEPARATOR
387	when setting AUTOTEST_PATH.  Don't default tests to "all" before
388	deciding whether the help text is needed.
389	* tests/semantics.at: Use the correct path separator.
390
3912001-03-13  Tim Van Holder  <tim.van.holder@pandora.be>
392
393	* doc/autoconf.texi: Expand section on DOS issues.
394	Add link to the `doschk' package.  Fix minor typo.
395	Clean up white spaces.
396
3972001-03-13  Steven G. Johnson  <stevenj@alum.mit.edu>
398
399	* aclang.m4 (AC_PROG_F77_C_O): define F77_NO_MINUS_C_MINUS_O
400	when test fails, not when it succeeds(!).
401
4022001-03-13  Akim Demaille  <akim@epita.fr>
403
404	* tests/tools.at (AWK portability): Use AT_CHECK to check for GNU
405	AWK so that there is always a AT_CHECK between
406	AT_SETUP/AT_CLEANUP.
407	Reported by Nicolas Joly.
408
4092001-03-13  Akim Demaille  <akim@epita.fr>
410
411	* tests/tools.at: Be sure to remove configure.ac~.
412
4132001-03-13  Raja R Harinath  <harinath@cs.umn.edu>
414
415	* autoupdate.in (File::Basename): Use package.
416	(%ac_macros, %au_macros): Save only base filenames.
417
4182001-03-08  Akim Demaille  <akim@epita.fr>
419
420	* acgeneral.m4 (AC_OUTPUT): In the AU_DEFUN definition, don't try
421	to issue an obsolete message, it can't work for macros being
422	defined both with AC_DEFUN and AU_DEFUN.
423	Hence do it in the AC_DEFUN definition.
424
4252001-03-06  Pavel Roskin  <proski@gnu.org>
426
427	* tests/base.at (AC_TRY_*): Escape `^' - it's a pipe command
428	separator on Tru64 v5.1.
429	Reported by Nicolas Joly.
430
4312001-03-05  Akim Demaille  <akim@epita.fr>
432
433	* tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
434	at-check-line for removal.
435	Check for the presence of at-check-line only when $at_test was
436	really a test.
437	Reported by Pavel.
438
4392001-03-04  Pavel Roskin  <proski@gnu.org>
440
441	* tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
442	in the error message.
443
4442001-03-02  Pavel Roskin  <proski@gnu.org>
445
446	* acgeneral.m4 (_AC_INIT_PREPARE): Quote `$$*' correctly.
447
4482001-02-28  Akim Demaille  <akim@epita.fr>
449
450	* tests/atgeneral.m4 (AT_INIT): Warn when at-check-line is
451	missing.
452	* tests/tools.at (Syntax of the scripts): Use AT_CHECK to test
453	/bin/sh -n.  Exit 77 on failure.
454	Reported by Harlan Stenn.
455
4562001-02-28  Akim Demaille  <akim@epita.fr>
457
458	* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
459	of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
460	(fails), and then `/foo' which might succeed, resulting in
461	believing `;' is the right path separator.
462
4632001-02-26  Akim Demaille  <akim@epita.fr>
464
465	* acgeneral.m4 (AH_VERBATIM, AH_TEMPLATE): New, use AS_ESCAPE, not
466	_AS_QUOTE.
467	(_AH_VERBATIM_OLD, _AH_TEMPLATE_OLD): New, used for bugward
468	compatibility in...
469	(AC_DEFINE, AC_DEFINE_UNQUOTED): here.
470
4712001-02-26  Pavel Roskin  <proski@gnu.org>
472
473	* autoupdate.in (&mktmpdir): Strip the newline from the output
474	of mktemp.
475
4762001-02-26  Pavel Roskin  <proski@gnu.org>
477
478	* man/Makefile.am: autoupdate.1 now depends on autoupdate.in.
479
4802001-02-25  Tim Van Holder  <tim.van.holder@pandora.be>
481
482	* autoupdate.in: Support DOS paths.  Initialize $tmp to
483	avoid warnings.  Default $autoconf to 'autoconf'.
484
4852001-02-25  Akim Demaille  <akim@epita.fr>
486
487	* autoupdate.in (&END): Try to preserve the exit status.
488	Use backquotes where more readable.
489	Internal details should be dumped when $debug, not when $verbose.
490
4912001-02-25  Akim Demaille  <akim@epita.fr>
492
493	* autoupdate.in (&mktmpdir): New.
494	(&END): Remove $tmp.
495	(&parse_args): Handle -d and -l.
496
4972001-02-25  Akim Demaille  <akim@epita.fr>
498
499	* acgeneral.m4 (_AC_INIT_PREPARE): Remove conf$$* on exit.
500	* m4sh.m4 (_AS_LN_S_PREPARE, _AS_BROKEN_TEST_PREPARE):
501	s/conftest/conf$$/ to avoid race conditions.
502	From Lars J. Aas.
503
5042001-02-25  Akim Demaille  <akim@epita.fr>
505
506	* acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
507	Restore the IFS earlier.
508	Suggested by Tim Van Holder.
509
5102001-02-25  Akim Demaille  <akim@epita.fr>
511
512	* m4sh.m4 (_AS_TEST_PREPARE): Rename as...
513	(_AS_BROKEN_TEST_PREPARE): this.
514	(_AS_TEST_PREPARE): New dummy but working version of this macro.
515	* acspecific.m4 (AC_PROG_INSTALL): Use AS_EXECUTABLE_P.
516
5172001-02-25  Akim Demaille  <akim@epita.fr>
518
519	* autoupdate.in (&parse_args): Support `-'.
520
5212001-02-25  Akim Demaille  <akim@epita.fr>
522
523	* autoupdate.in: Less Bournisms, more Wallisms.
524
5252001-02-23  Jim Meyering  <meyering@lucent.com>
526
527	* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Fix typo: s/;/:/
528	* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Revert that change.
529	There was no typo.
530
5312001-02-22  Akim Demaille  <akim@epita.fr>
532
533	* doc/autoconf.texi: Typos and formatting changes.
534
5352001-02-21  Lars J. Aas  <larsa@sim.no>
536
537	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use `AS_EXIT(0)' instead
538	of `exit 0' when exiting config.status.
539
5402001-02-21  Tim Van Holder  <tim.van.holder@pandora.be>
541
542	* doc/autoconf.texi: Add new node discussing issues related to
543	file systems (DOS, specifically).  Document DJGPP's bash's special
544	handling of $PATH_SEPARATOR.
545
5462001-02-21  Akim Demaille  <akim@epita.fr>
547
548	* autoupdate.in: New.  Replaces autoupdate.sh.
549
5502001-02-21  Akim Demaille  <akim@epita.fr>
551
552	* autoscan.pl (&find_configure_ac): New.
553
5542001-02-20  Paul Martinolich <martinol@datasync.com>
555
556	* autoscan.pl (check_configure_ac): Pretty missing macro warnings
557	output.
558
5592001-02-19  Paul Eggert  <eggert@twinsun.com>
560
561	* aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
562	compiler doesn't support 'static inline'.  This is needed for
563	Encore Umax-3.0.9.16b.
564
5652001-02-19  Akim Demaille  <akim@epita.fr>
566
567	* aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
568	(_AC_COMPILER_EXEEXT_WORKS): this.  Use the `a.out' or `a.exe'
569	left by _AC_COMPILER_EXEEXT_DEFAULT to check if the compiler works.
570	(_AC_COMPILER_EXEEXT_CROSS): Extract from the above macro.
571	(_AC_COMPILER_EXEEXT): Use them.
572	Adjust all the compiler looking macros to check for EXEEXT
573	*first*, then OBJEXT.
574	Set ac_exeext yourself.
575	(_AC_COMPILER_EXEEXT_O): Don't.
576
5772001-02-07  Pavel Roskin  <proski@gnu.org>
578
579	* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
580	part of the second argument to AT_DATA.
581	* tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
582	in a call to _AT_CHECK_AC_MACRO.
583	(AC_PROG_CPP without warnings): Likewise.
584
5852001-02-11  Jim Meyering  <meyering@lucent.com>
586
587	Ensure that even `autoscan --version' fails when e.g.,
588	writing to a full disk.
589	* autoscan.pl (END): New function.
590
591	* autoscan.pl: Misc. clean-up:
592	Move declarations of variables into the scope where they're used.
593	Use `qw'.  Don't use `$_'.
594
5952001-02-06  Paul Eggert  <eggert@twinsun.com>
596
597	* acspecific.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES): Don't reject
598	C++ compilers that are masquerading as C compilers, and that
599	incorrectly reject large integers.
600
6012001-02-07  Pavel Roskin  <proski@gnu.org>
602
603	* acgeneral.m4 (AC_OUTPUT): Remove $(srcdir), ${srcdir} and
604	@srcdir@ from VPATH if srcdir is "." and replace blank VPATH
605	lines with empty lines to preserve line numbers.
606	Original version by Derek Price.
607
6082001-02-07  Derek Price  <derek.price@openavenue.com>
609
610	* acgeneral.m4 (_AC_LIBOBJ): Call AC_LIBSOURCE with '.c' extension
611	appended to function name.
612
6132001-02-06  Akim Demaille  <akim@epita.fr>
614
615	* acgeneral.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR, AC_RUN_LOG): New.
616	(_AC_EVAL_STDERR,  _AC_EVAL): Use them.
617	(_AC_INIT_PREPARE_FS_SEPARATORS): Use AC_RUN_LOG.
618
6192001-02-05  Derek Price  <derek.price@openavenue.com>
620
621	* autoheader.sh: Only set config_h for the first call to
622	AC_CONFIG_HEADERS.
623
6242001-02-05  Jim Meyering  <meyering@lucent.com>
625
626	* acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
627	integer constants.
628
6292001-02-05  Akim Demaille  <akim@epita.fr>
630
631	acfunctions.m4 was still using the old AC_LIBOBJ_DECL.
632	Reported by Derek R. Price.
633
634	* tests/semantics.at (AC_REPLACE_FUNCS): New test.
635	* acfunctions.m4 (AC_REPLACE_FUNCS, _AC_LIBOBJ_ALLOCA): Use
636	AC_LIBSOURCES.
637
6382001-02-03  Pavel Roskin  <proski@gnu.org>
639
640	* tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
641	"else". Separate commands inside AC_TRY_COMMAND with semicolons.
642	From Nicolas Joly.
643
6442001-02-03  Akim Demaille  <akim@epita.fr>
645
646	* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Removed, dead code.
647
6482001-02-03  Akim Demaille  <akim@epita.fr>
649
650	* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK): Use
651	AC_LIBSOURCES.
652
6532001-02-03  Akim Demaille  <akim@epita.fr>
654
655	* acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
656	(AC_LIBSOURCES, AC_LIBSOURCE): New.
657
6582001-02-02  Akim Demaille  <akim@epita.fr>
659
660	* tests/base.at (AC_TRY_COMMAND): Fix the test.
661	From Nicolas Joly.
662
663	The following patch went into Autoconf between the two previous
664	entries:
665
666	* acgeneral.m4 (AC_TRY_COMMAND): Use the old code, using a tmp
667	variable, to recover multiline robustness.
668	Reported by Tim Van Holder.
669	* tests/base.at (AC_TRY_COMMAND): New.
670
6712001-02-02  Pavel Roskin  <proski@gnu.org>
672
673	* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Rename all occurences
674	of ac_try to ac_mid to avoid a name clash.
675
6762001-02-02  Pavel Roskin  <proski@gnu.org>
677
678	* autoscan.pl (scan_c_file): When in verbose mode, don't print
679	out hashes common for the whole package. Do it in scan_files()
680	instead.
681	(scan_makefile): Likewise.
682	(scan_sh_file): Likewise.
683	Thanks to Jim Meyering for improved implementation.
684
6852001-02-01  Pavel Roskin  <proski@gnu.org>
686
687	* autoreconf.sh: Fix the case when the verbose output was not
688	redirected to stderr as everywhere else.
689
6902001-01-30  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
691
692	* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
693	from check for ac_sub_configure.
694
6952001-01-30  Akim Demaille  <akim@epita.fr>
696
697	The recent addition of `exit's prototype in confdefs.h causes
698	AC_OUTPUT_MAKE_DEFS to include junky -D switches.
699	Reported by Wolfgang Mueller.
700
701	* tests/torture.at (#define header templates): Include trash in
702	confdefs.h.
703	* tests/atgeneral.at (AT_INIT): Don't expect `find' to support
704	-maxdepth, hence don't use -follow either.
705	Reported by Nicolas Joly.
706	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
707	`quote' section, `p'rint the result.
708	If neither `#define' pattern match, just call `d' to start a new
709	cycle.
710	Invoke this sed program with -n.
711
7122001-01-30  Akim Demaille  <akim@epita.fr>
713
714	* tests/compile.at: New test.
715	* tests/atspecific.at (AT_CHECK): When given 77 as expected exit
716	status, don't include the `skip' mechanism.
717
7182001-01-30  Akim Demaille  <akim@epita.fr>
719
720	* tests/base.at (AC_CACHE_CHECK): Typo and clean up.
721	Check only --quiet.
722
7232001-01-30  Paul Eggert  <eggert@twinsun.com>
724
725	* autoheader.sh: Don't pass a string to 'echo' that might
726	possibly contain backslashes.
727
7282001-01-29  Pavel Roskin  <proski@gnu.org>
729
730	Don't use filenames that can be reduced to "conftest" on DOS.
731
732	* acfunctions.m4 (AC_FUNC_MMAP): Use conftest.mmap, not
733	conftestmmap.
734	(AC_FUNC_UTIME_NULL): Use conftest.data, not conftestdata.
735	* acspecific.m4 (AC_PROG_MAKE_SET): Use conftest.make, not
736	conftestmake.
737	(_AC_PATH_X_XMKMF): Use conftest.dir, not conftestdir.
738	* acgeneral.m4 (AC_ARG_PROGRAM): Use conftest.sed, not
739	conftestsed.
740	* m4/sanity.m4: Use conftest.file, not conftestfile.
741	* doc/autoconf.texi (Guidelines for Test Programs): Suggest
742	using conftest.data, not conftestdata.
743
7442001-01-29  Akim Demaille  <akim@epita.fr>
745
746	* tests/atgeneral.m4: Don't redirect builtins' stderr as Ultrix
747	hates this: use a subshell.
748
7492001-01-29  Assar Westerlund  <assar@sics.se>
750
751	* m4sh.m4 (_AS_TEST_PREPARE): Discard output when testing `test
752	-x' and `test -f' to avoid confusing users with error messages.
753	(AS_MKDIR_P): Invert order of separators in IFS to avoid problem
754	with some shells adding backslash between fields and parsing the
755	result for escapes.
756	* doc/autoconf.texi (Special Shell Variables): Document IFS.
757
7582001-01-29  Steven G. Johnson  <stevenj@alum.mit.edu>
759
760	* aclang.m4 (AC_PROG_F77): Improve documentation of the compilers
761	that are tried, add a few new ones (cft77, af77, epcf90, xlf95, g95),
762	and put pgf90 in the right place (before the F95 compilers).
763
7642001-01-29  Jim Meyering  <meyering@lucent.com>
765
766	* autoscan.pl: Do scan `configure.ac' when you claim it.
767	From Raja R Harinath.
768	(@kinds): Use `qw', rather than lots of quotes and commas.
769	(%generic_macro): Use single quotes around literals.
770	($configure_scan): Define global, and use it instead of the literal.
771	Use `warn' in place of `printf STDERR'.
772
7732001-01-29  Akim Demaille  <akim@epita.fr>
774
775	* autoscan.pl: `Formatting++' changes: prototypes all the
776	functions, no longer use `&' to call functions as it disables
777	prototype checking, topological sort so that functions are defined
778	before being used, and put an Autoconf like nice comment to
779	describe the functions.
780	(output): Accept a CONFIGURE_SCAN parameter, and open CONF.
781
7822001-01-29  Akim Demaille  <akim@epita.fr>
783
784	* acgeneral.m4 (AC_SITE_LOAD): Let config.log know what you load.
785
7862001-01-27  Akim Demaille  <akim@epita.fr>
787
788	Follow Tim Van Holder's suggestions for a uniform handling of
789	symlinks.
790
791	* m4sh.m4: Stay in `as_', not `ac_'.
792	(_AS_LN_S_PREPARE): Eve out from...
793	* acspecific.m4 (AC_PROG_LN_S): here.  Adjust.
794	* m4sh.m4 (AS_LN_S): New.
795	(AS_SHELL_PREPARE): Call _AS_LN_S_PREPARE.
796
7972001-01-26  Assar Westerlund  <assar@sics.se>
798
799	* autoreconf.sh (find): Fix precedence.
800	(aclocal): Same as below for autoheader.
801
8022001-01-26  Akim Demaille  <akim@epita.fr>
803
804	* autoreconf.sh (autoheader): Run it when there is no template, as
805	there is no risk to override a handwritten template.
806	From Assar Westerlund.
807
8082001-01-26  Akim Demaille  <akim@epita.fr>
809
810	* aclang.m4: dnl AC_ARG_VAR's newline.
811	(AC_PROG_CC, AC_PROG_F77, AC_PROG_CXX): AC_ARG_VAR(LDFLAGS).
812	* acgeneral.m4 (AC_CHECK_LIB): Don't do it.
813
8142001-01-26  Akim Demaille  <akim@epita.fr>
815
816	* tests/mktests.sh: Handle DOS issues: directory separator, single
817	dot in file names, and one actual bug: when set -e, running
818	(false; true) will of course fail, use (false || true).
819	From Tim Van Holder.
820
8212001-01-26  Tim Van Holder  <tim.van.holder@pandora.be>
822
823	* tests/Makefile.am (testsuite): Use testsuite.tmp, not
824	testsuite-tmp as temporary file.
825
8262001-01-25  Assar Westerlund  <assar@sics.se>
827
828	* autoreconf.sh: Also find configure.in.
829
8302001-01-24  Akim Demaille  <akim@epita.fr>
831
832	* configure.in: Bump to 2.49d.
833
8342001-01-24  Akim Demaille  <akim@epita.fr>
835
836	Version 2.49c.
837
8382001-01-24  Jim Meyering  <meyering@lucent.com>
839
840	* autoscan.pl (output): Detect/report a close failure.
841
8422001-01-24  Akim Demaille  <akim@epita.fr>
843
844	Preserve INSTALL too.
845
846	* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
847	computations, and therefore use INSTALL where ac_given_INSTALL
848	was used.
849	(_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
850	here.  It's not even used.
851
8522001-01-24  Akim Demaille  <akim@epita.fr>
853
854	While preserved in configure, srcdir is trashed in config.status.
855	Reported by Ralf Corsepius.
856
857	* tests/aclocal.m4 (AC_STATE_SAVE): It is ok to modify
858	CONFIG_STATUS, DEFS, prefix and exec_prefix.
859	It is OK to produce config.* files.
860	* tests/atspecific.m4 (AT_CONFIGURE_AC): Save the env *after*
861	AC_OUTPUT to check that it doesn't break anything by itself.
862	* tests/torture.m4 (srcdir): New test, from Ralf Corsepius.
863	* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_top_srcdir and ac_srcdir
864	to preserve srcdir and top_srcdir.
865	Remove any use of `ac_given_srcdir' as `$srcdir' being preserved
866	is usable.
867
8682001-01-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
869
870	configure -q did not work since 2000-11-03.
871
872	* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Don't check for $silent,
873	tie AS_MESSAGE_FD to stdout unconditionally.
874	(_AC_INIT_PARSE_ARGS): If $silent redirect AS_MESSAGE_FD to
875	/dev/null.
876	* tests/base.at (AC_CACHE_CHECK): New test.
877
8782001-01-24  Tim Van Holder  <tim.van.holder@pandora.be>
879
880	* m4sh.m4 (AS_EXECUTABLE_P, _AS_TEST_PREPARE): New macros.
881	(AS_SANITIZE_SHELL): Call _AS_TEST_PREPARE.
882	* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Use AS_EXECUTABLE_P
883	instead of test -f.
884
8852001-01-24  Akim Demaille  <akim@epita.fr>
886
887	* autoscan.pl (generic_macro): s/AC_CHECK_FUNCTIONS/AC_CHECK_FUNCS/.
888	* acfunctions: Just like the previous patch.
889
8902001-01-24  Akim Demaille  <akim@epita.fr>
891
892	* autoscan.pl (@kinds, %generic_macro): New.
893	(&init_tables): Use them.
894	* acheaders: Run `autoconf -t AC_CHECK_HEADERS:'$1'' on the fileutils,
895	and include all these headers in here.
896	Don't specify `AC_CHECK_HEADERS' as it's the default.
897
8982001-01-24  Akim Demaille  <akim@epita.fr>
899
900	* autoscan.pl: Just like the previous patch, but for
901	AC_CHECK_FUNCS, AC_CHECK_TYPES, and AC_CHECK_MEMBERS.
902
9032001-01-24  Akim Demaille  <akim@epita.fr>
904
905	* autoscan.pl (print_unique): Push all the macro invocation
906	locations.
907	(output_headers): For headers that need to be checked, push either
908	the specialized macro, or the generic macro call.
909	(check_configure_ac): Handle AC_CHECK_HEADERS.
910
9112001-01-24  Raja R Harinath  <harinath@cs.umn.edu>
912
913	Some non-srcdir build fixes.
914	* configure.in (BUGS): Look for file in $srcdir.
915	* tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.
916
9172001-01-24  Akim Demaille  <akim@epita.fr>
918
919	Don't AC_SUBST too much, as it makes Automake include those
920	variables in Makefiles, and drives autoscan to require unneeded
921	programs.
922
923	* acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
924	CPPFLAGS, CXXFLAGS and LDFLAGS.
925	(AC_ARG_VAR): AC_SUBST the var.
926	Document it only once, even if there are several different docs.
927	* aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
928	(AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
929
9302001-01-24  Akim Demaille  <akim@epita.fr>
931
932	* m4sugar.m4 (m4_expand_once): Accept a witness.
933
9342001-01-23  Akim Demaille  <akim@epita.fr>
935
936	* acgeneral.m4 (AC_EXPAND_ONCE): Remove, use m4_expand_once.
937	(AC_DIVERT_ONCE): Move to...
938	* m4sugar.m4 (m4_expand_once): here.
939
9402001-01-23  Akim Demaille  <akim@epita.fr>
941
942	* aclang.m4 (_AC_LANG_SET): Turn off optimizations.
943
9442001-01-23  Akim Demaille  <akim@epita.fr>
945
946	* configure.in: If this is a beta, dump the core of BUGS.
947	* tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.
948
9492001-01-23  Akim Demaille  <akim@epita.fr>
950
951	* autoscan.pl: Don't use `defined' to check whether an array is
952	defined.
953	Don't use parens with `defined'.
954
9552001-01-23  Akim Demaille  <akim@epita.fr>
956
957	* acgeneral.m4 (_AC_INIT_PREPARE): Be sure to quote hashes to
958	avoid M4 thinking it's comments.
959
9602001-01-23  Tim Van Holder  <tim.van.holder@pandora.be>
961
962	* aclang.m4 (_AC_COMPILER_EXEEXT_O): Use
963	AS_IF([AC_TRY_EVAL(ac_link)]) instead of AC_LINK_IFELSE to
964	avoid depending on ac_exeext before it's found.
965	(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Check for the
966	executable extension BEFORE checking whether the compiler
967	works, as that test depends on a correct ac_exeext.
968
9692001-01-23  Akim Demaille  <akim@epita.fr>
970
971	* acgeneral.m4 (_AC_INIT_PREPARE) <trap>: Typo.
972
9732001-01-22  Pavel Roskin  <proski@gnu.org>
974
975	* autoscan.pl: Use "use strict". Declare all global variables
976	or make them private. Make all local variables private.
977	(find_autoconf): New, moved some code from the top level.
978	Use %ENV outside quotes to eliminate a warning.
979
9802001-01-22  Tim Van Holder  <tim.van.holder@pandora.be>
981
982	* acspecific.m4 (AC_PROG_LN_S): Detect DJGPP < 2.04, which only
983	supports 'ln -s' for executables.
984
9852001-01-22  Akim Demaille  <akim@epita.fr>
986
987	* autoscan.pl ($dir, $autoconf): New.
988
9892001-01-22  Akim Demaille  <akim@epita.fr>
990
991	* autoscan.pl ($headers, $functions, $identifiers, $libraries):
992	Also register locations of their requirement instead of a simple
993	counter.
994	(&check_configure_ac): Close TRACES.
995
9962001-01-22  Akim Demaille  <akim@epita.fr>
997
998	* autoscan.pl: Formatting changes.
999	Check `configure.ac' or `configure.in' if present.
1000
10012001-01-22  Akim Demaille  <akim@epita.fr>
1002
1003	* autoscan.pl (&wanted): Don't register `Makefile' when
1004	`Makefile.in' is present.
1005	Factor the simplification of $name.
1006	(&scan_makefile, &scan_sh_file): Instead of counting the number of
1007	occurrences where a program/makevar is wanted, register	file:line.
1008	Adjust the verbose output.
1009	(&check_configure_ac): Report the location where the macro is required.
1010
10112001-01-22  Akim Demaille  <akim@epita.fr>
1012
1013	* autoscan.pl: Instead of undefined globals, set them to empty
1014	values.
1015	(%needed_macros): New.
1016	(&check_configure_ac): New.  Call it.
1017	(&output_libraries): Eve out from &output_programs.
1018	(&print_unique): For the time being register in %needed_macros
1019	only argument less macros.
1020
10212001-01-22  Lars J. Aas  <larsa@sim.no>
1022
1023	* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
1024	then '#include <stdlib.h>', before trying the explicit declarations.
1025
10262001-01-22  Akim Demaille  <akim@epita.fr>
1027
1028	* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
1029	AC_TRY_COMMAND to improve config.log.
1030	(_AC_INIT_DEFAULTS): Don't define ac_exeext and ac_objext to
1031	highlight failures.
1032
10332001-01-22  Akim Demaille  <akim@epita.fr>
1034
1035	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
1036	impossible to describe bug of SunOS 4.1.3 which causes a shell
1037	crash when using `VAR=${VAR="$default"}'.
1038	Reported and diagnosed by Kevin Ryde.
1039
10402001-01-22  Akim Demaille  <akim@epita.fr>
1041
1042	* acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.
1043
10442001-01-22  Lars J. Aas  <larsa@sim.no>
1045
1046	* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
1047	Export ac_cv_exeext so ltconfig believes the value is cached and
1048	skips its own faulty test.
1049
10502001-01-22  Jim Meyering  <meyering@lucent.com>
1051
1052	* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
1053	body.
1054
10552001-01-22  Tim Van Holder  <tim.van.holder@pandora.be>
1056
1057	* aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
1058	conftest.val, not conftestval.
1059	* acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
1060	Likewise.
1061
10622001-01-22  Akim Demaille  <akim@epita.fr>
1063
1064	Create actypes.m4.
1065
1066	* acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
1067	(AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
1068	(_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
1069	(AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
1070	* actypes.m4: here.
1071	* acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
1072	(AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
1073	(AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
1074	(AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
1075	(AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
1076	* actypes.m4: here.
1077	Adjust the test suite.
1078
10792001-01-22  Akim Demaille  <akim@epita.fr>
1080
1081	* tests/atgeneral.m4 (AT_INIT): Include a default case for non
1082	existing tests.
1083	* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
1084	(AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
1085	Spread their use.
1086	(AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
1087	* tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
1088	* tests/mktest.sh: Create one test file per Autoconf source
1089	file instead of separating syntax/update.
1090
10912001-01-22  Akim Demaille  <akim@epita.fr>
1092
1093	* doc/autoconf.texi: Some about diff and cmp.
1094
10952001-01-22  Akim Demaille  <akim@epita.fr>
1096
1097	* sh.m4 (AS_ESCAPE): New.
1098	(_AS_QUOTE_IFELSE): Use it.
1099	* tests/atgeneral.m4 (AT_INIT) <SHELL>: Define and use.
1100	<--help> Don't display the options help when tests were selected.
1101	Document -d.
1102	<at_skip_list>: New.
1103	<testsuite.log>: Give a banner, include ChangeLog snippets, list
1104	the failed and skipped tests.
1105	Remove useless $at_traceoff in sub shells, this improves the
1106	readability of the traces by removing testsuite's implementation
1107	details.
1108	(AT_CHECK): Filter out the shell traces from the tested command's
1109	stderr.
1110	Use AS_ESCAPE.
1111	Don't register experr and expout for clean up, as it's hairy and
1112	easier to do from...
1113	Support STDOUT = stdout, and STDERR = stderr.
1114	Force the output of shell traces.
1115	(AT_INIT): Here.
1116
11172001-01-22  Akim Demaille  <akim@epita.fr>
1118
1119	* acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
1120	the log.
1121	(_AC_INIT_PREPARE): Do it in the trap 0.
1122
11232001-01-22  Akim Demaille  <akim@epita.fr>
1124
1125	* autoscan.pl: Instead of undefined globals, set them to empty
1126	values.
1127	(%needed_macros): New.
1128	(&check_configure_ac): New.  Call it.
1129	(&output_libraries): Eve out from &output_programs.
1130	(&print_unique): For the time being register in %needed_macros
1131	only argument less macros.
1132
11332001-01-22  Raja R Harinath  <harinath@cs.umn.edu>,
1134	Tim Van Holder  <tim.van.holder@pandora.be>,
1135	Jim Meyering  <jim@meyering.net>
1136
1137	* acspecific.m4 (AC_AIX): Fix typo: s/@\$/@%/.
1138
11392001-01-19  Akim Demaille  <akim@epita.fr>
1140
1141	Catch only used patterns.
1142	Reported by the whole Autoconf community.
1143
1144	* m4sh.m4 (AS_INIT): New.
1145	* acgeneral.m4 (AC_PLAIN_SCRIPT): Use it.
1146	Forbid only AC, AU, AH and AM.
1147
11482001-01-19  Akim Demaille  <akim@epita.fr>
1149
1150	Optimizing AC_LANG was broken.  Test and fix.
1151
1152	* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
1153	use _AC_LANG_ABBREV so that you don't depend upon _AC_LANG.
1154	(_AC_LANG_SET): New.
1155	(AC_LANG, AC_LANG_PUSH, AC_LANG_POP): Use it.
1156	* tests/compile.at: Test AC_LANG, AC_LANG_PUSH & AC_LANG_POP.
1157
11582001-01-19  Akim Demaille  <akim@epita.fr>
1159
1160	* sugar.m4 (m4_require): Missing dnl.
1161
11622001-01-18  Akim Demaille  <akim@epita.fr>
1163
1164	* acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
1165	AS_FLAGS are OK.
1166
11672001-01-18  Tim Van Holder  <tim.van.holder@pandora.be>
1168
1169	* m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.
1170
11712001-01-18  Akim Demaille  <akim@epita.fr>
1172
1173	* tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
1174	since Libtool does not yet support it.
1175	Let the test suite be more verbose about at-path.
1176	From Patrick Welche.
1177
11782001-01-18  Akim Demaille  <akim@epita.fr>
1179
1180	* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
1181	STDLIB|INTTYPES|MEMORY|STRING|UNISTD.
1182	* tests/semantics.at (AC_CHECK_SIZEOF): Don't check the presence
1183	of default headers, as it's machine dependent.
1184	Reported by Jim Meyering and Nicolas Joly.
1185
11862001-01-18  Akim Demaille  <akim@epita.fr>
1187
1188	* acgeneral.m4: Don't leave macro names in comments.
1189	* aclang.m4: Likewise.
1190	* configure.in: Likewise.
1191	* tests/semantics.at: Likewise.
1192	* tests/tools.at: Likewise.
1193
11942001-01-18  Akim Demaille  <akim@epita.fr>
1195
1196	Medium term goal: AC_ macros can be tested with -W obsolete.
1197
1198	* acgeneral.m4 (AC_RUN_IFELSE): Accept IF-CROSS-COMPILING.
1199	(AC_TRY_RUN): Use it.
1200	* acfunctions.m4: Start ousting AC_TRY_RUN and AC_TRY_COMPILE.
1201	* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): AC_BEFORE on
1202	AC_COMPILE_IFELSE and AC_RUN_IFELSE.
1203
12042001-01-18  Akim Demaille  <akim@epita.fr>
1205
1206	* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
1207	bad surprises.
1208	Reported by Jim.
1209
12102001-01-18  Akim Demaille  <akim@epita.fr>
1211
1212	Require a perfect divert push/pop balance.
1213
1214	* m4sugar.m4 (m4_divert, m4_divert_push, m4_divert_pop): Keep
1215	track of them in m4_divert_stack.
1216	(m4_divert_pop): Accept the expected current diversion as
1217	argument and m4_fatal if incorrect, or if there is nothing to pop.
1218	(globally): Specify the known m4_divert_pop.
1219	Preserve symbolic values when possible.
1220	* acgeneral.m4: No longer push the first diversion.
1221	Specify the known m4_divert_pop.
1222	(AC_PLAIN_SCRIPT): When m4_divert_push a diversion, m4_wrap its
1223	pop.
1224	(AC_INIT): Run AC_PLAIN_SCRIPT first, not last.
1225	* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Can't use m4_defun
1226	without m4_init.
1227	* m4sugar.m4: Likewise.
1228
12292001-01-18  Akim Demaille  <akim@epita.fr>
1230
1231	* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
1232	builtin, fail on undefined symbols.
1233	* tests/torture.at (Torturing config.status): Stop playing nasty
1234	tricks with changequote.
1235	(AC_DEFUBST): Move here from...
1236	* tests/aclocal.m4: there.
1237
12382001-01-18  Akim Demaille  <akim@epita.fr>
1239
1240	Various cleanups and consistency checks.
1241
1242	* m4sugar.m4: Formatting changes.
1243	* acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
1244	(AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
1245	Use m4_copy to define them, in order to keep a good $0.
1246	(AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
1247	* aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
1248	(AC_LANG_POP): Admit an argument specifying the language we quit
1249	when popping.
1250	Adjust Autoconf's AC_LANG_POPs.
1251	* tests/tools.at (AWK portability): Don't depend on AC_INIT.
1252	(autoconf --trace: user macros): Obviously I
1253	meant TRACE1, not AC_TRACE1.
1254
12552001-01-17  Akim Demaille  <akim@epita.fr>
1256
1257	* m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
1258	arguments.
1259	(_m4_expansion_stack): Rename as...
1260	(m4_expansion_stack): this, and change its value: instead of using
1261	the pushdef stack to stack each *line* of the stack, each
1262	definition contains the whole stack.  I.e., to display the whole
1263	stack, instead of popdefing and displaying each definition, just
1264	display the current definition.
1265	(m4_expansion_stack_push, m4_expansion_stack_pop): New.
1266	* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Let $2 be the expected
1267	exit status.
1268	* tests/m4sugar.m4 (m4_require: circular dependencies): New test.
1269
12702001-01-17  Pavel Roskin  <proski@gnu.org>
1271
1272	* m4sugar.m4 (m4_normalize): New macro - superposition of
1273	m4_flatten and m4_strip.
1274	(m4_join): Use m4_normalize.
1275	* acgeneral.m4 (AC_FOREACH): Use m4_normalize.
1276	(AC_CONFIG_HEADERS): Normalize the first argument.
1277	(AC_CONFIG_LINKS): Likewise.
1278	(AC_CONFIG_SUBDIRS): Likewise.
1279
12802001-01-17  Tim Van Holder  <tim.van.holder@pandora.be>
1281
1282	* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir uses.
1283
12842001-01-16  Akim Demaille  <akim@epita.fr>
1285
1286	Work around the Ultrix limitations on ``multiple redirections''.
1287	Reported by Harlan Stenn.
1288
1289	* acgeneral.m4 (_AC_EVAL_STDERR): New.
1290	(_AC_PREPROC_IFELSE): Use it.
1291
12922001-01-16  Akim Demaille  <akim@epita.fr>
1293
1294	* tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.
1295
12962001-01-16  Akim Demaille  <akim@epita.fr>
1297
1298	* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
1299	(_AC_INIT_DEFAULTS, AC_OUTPUT): Use it.
1300
13012001-01-16  Akim Demaille  <akim@epita.fr>
1302
1303	* doc/autoconf.texi: Lots of additions and changes.
1304	(File Descriptors): New.
1305	(Limitations of Make): New.
1306
13072001-01-16  Akim Demaille  <akim@epita.fr>
1308
1309	* m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
1310	Reported by Tim Van Holder.
1311
13122001-01-16  Akim Demaille  <akim@epita.fr>
1313
1314	* Makefile.am (editpl, editsh): Merge into...
1315	(edit).
1316	* m4sh.m4 (AS_UNAME): Eved out from...
1317	* acgeneral.m4 (_AC_INIT_DEFAULTS): here.
1318	(_AC_INIT_PACKAGE): Define AC_PACKAGE_NAME.
1319	(_AC_INIT_PARSE_ARGS): AC_SUBST the PACKAGE_ variables.
1320	Propagate their use in the executables and the test suite.
1321	* tests/atgeneral.m4 (PATH): Include only absolute paths.
1322	(AT_INIT): Use AS_UNAME.
1323
13242001-01-16  Akim Demaille  <akim@epita.fr>
1325
1326	When default headers are used, check for their presence.
1327	Suggested by Jim.
1328
1329	* acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
1330	ac_includes_default, since...
1331	(_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
1332	(AC_INCLUDES_DEFAULT): Require the former when default includes
1333	are used.
1334	(AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
1335	AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
1336	* acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.
1337
13382001-01-15  Akim Demaille  <akim@epita.fr>
1339
1340	* doc/autoconf.texi: Normalize sh samples.
1341
13422001-01-15  Akim Demaille  <akim@epita.fr>
1343
1344	* tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
1345	identity of the tests.
1346
13472001-01-15  Akim Demaille  <akim@epita.fr>
1348
1349	* tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
1350	before creating the debug scripts.
1351	Create a log file.
1352	When ignoring a test, display a reassuring `ok' for stressed
1353	users, and say `skipped' instead.
1354	Simply run `testsuite' with the failed tests instead of running
1355	the debug scripts, this avoids having zillions of banners `Testing
1356	Blabla 2.13' (another means to avoid these banners is to have the
1357	test suite succeed :-).
1358
13592001-01-15  Akim Demaille  <akim@epita.fr>
1360
1361	* sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
1362	* tests/atgeneral.m4: Use it.
1363
13642001-01-15  Akim Demaille  <akim@epita.fr>
1365
1366	* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
1367	* m4sh.m4 (AS_LITERAL_IF): this.
1368	(AS_IFELSE): Rename as...
1369	(AS_IF): this.
1370
13712001-01-12  Akim Demaille  <akim@epita.fr>
1372
1373	With `expr's that return `0' on failures, the executable suffix is
1374	`0'.  Test and fix.
1375	Reported by Assar Westerlund.
1376
1377	* Makefile.am (maintainer-check): New target.
1378	* tests/Makefile.am (maintainer-check, maintainer-check-posix)
1379	(maintainer-check-c++, expr): Likewise.
1380	* configure.in (EXPR): Look for it.
1381	* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
1382	* tests/compile.at (Extensions): New test.
1383	* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
1384	Distinguish files with or without a dot.
1385
13862001-01-12  Akim Demaille  <akim@epita.fr>
1387
1388	* acgeneral.m4: Last changes for `configure.ac'.
1389	(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
1390	account.
1391	* autoreconf.sh: Likewise.
1392
13932001-01-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>
1394
1395	* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
1396	invocation.
1397
13982001-01-11  Akim Demaille  <akim@epita.fr>
1399
1400	* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
1401	(AC_PROG_CC, AC_PROG_CXX): Use it.
1402	(AC_PROG_CC_STDC): Be sure to remove tmp files.
1403	* tests/compile.at (AC_TRY_LINK_FUNC): Don't use exit to test it,
1404	since it produces a prototype which conflicts with the one
1405	computed by _AC_PROG_CXX_EXIT_DECLARATION.
1406	* tests/semantics.at (AC_CHECK_FUNCS, AC_HAVE_FUNCS): Likewise.
1407	(AC_HAVE_FUNCS): Test AC_HAVE_FUNCS!
1408
14092001-01-11  Kevin Ryde  <user42@zip.com.au>
1410
1411	* autoconf.texi (Shellology): Fix an @end itemize, and a typo.
1412
14132001-01-11  Kelly Anderson  <tgcorp@attglobal.net>
1414
1415	* autoconf.sh (M4): Handle PC drive letters.
1416	* autoupdate.sh: Likewise.
1417
14182001-01-11  Steven G. Johnson  <stevenj@alum.mit.edu>
1419
1420	* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
1421	look for, after the other Fortran 90 compilers.
1422
14232001-01-11  Akim Demaille  <akim@epita.fr>
1424
1425	* aclang.m4: Use m4_copy to duplicate macros.
1426	(AC_LANG_PUSH): In order to have AC_LANG's simplifications
1427	effective, be sure to let _AC_LANG be the old language before
1428	calling AC_LANG.
1429
14302000-12-25  Pavel Roskin  <proski@gnu.org>
1431
1432	* autoreconf.sh: s/localddir/localdir/.
1433	Reported by Motoyuki Kasahara.
1434
14352000-12-23  Akim Demaille  <akim@epita.fr>
1436
1437	* autoconf.sh: Promote `configure.ac' over `configure.in'.
1438	* autoreconf.sh: Likewise.
1439	* autoheader.sh: Ditto.
1440	* autoupdate.sh: Similarly.
1441	* doc/autoconf.texi: Adjust.
1442	* tests/atspecific.m4: Be sure to remove configure.in.
1443	Adjust the test suite to use `configure.ac'.
1444
14452000-12-22  Akim Demaille  <akim@epita.fr>
1446
1447	* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
1448	single statement, so that one can make pipes with AC_TRYs, just as
1449	in 2.13.
1450
14512000-12-20  Lars J. Aas  <larsa@sim.no>
1452
1453	* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
1454	Make the order of arguments for ls count by splitting the ls
1455	command into a sequence of ls commands.
1456
14572000-12-20  Akim Demaille  <akim@epita.fr>
1458
1459	* aclang.m4 (_AC_LANG_COMPILER_GNU): Be sure to have `choke me' on
1460	the seventh column so that the SGI Fortran compiler really chokes
1461	on it.
1462	From Ezra Peisach.
1463
14642000-12-20  Akim Demaille  <akim@epita.fr>
1465
1466	* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
1467	1.3.[0-5].
1468	* tests/compile.at (GNU Fortran 77): Use AS_EXIT.
1469
14702000-12-20  Akim Demaille  <akim@epita.fr>
1471
1472	* tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
1473	pattern ` state* ' was added many times for `*' was improperly
1474	escaped.
1475	(AT_INIT): Remove the data files before running the tests.
1476	Define AT_data_files and output it.
1477	(AT_SETUP): Don't.
1478	(_m4_divert(TEST)): Remove, now useless.
1479
14802000-12-20  Akim Demaille  <akim@epita.fr>
1481
1482	* aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
1483	(AC_PROG_CXXCPP, AC_PROG_CPP): Set the current language instead of
1484	just asserting it, since these macros can be called directly.
1485	Reported by Raja R. Harinath.
1486
14872000-12-19  Pavel Roskin  <proski@gnu.org>
1488
1489	* doc/autoconf.texi (Installation Directory Variables): More info
1490	on prefix and exec_prefix.
1491
14922000-12-19  Akim Demaille  <akim@epita.fr>
1493
1494	* aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
1495	_AC_COMPILE_IFELSE which uses ac_objext in a `test -s'.
1496	Reported by Lars J. Aas.
1497
14982000-12-19  Akim Demaille  <akim@epita.fr>
1499
1500	* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
1501	Use AC_TRY_COMMAND when running commands, to enrich the logs.
1502
15032000-12-19  Akim Demaille  <akim@epita.fr>, Mo DeJong  <mdejong@cygnus.com>
1504
1505	* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
1506	(_AC_COMPILER_EXEEXT_O): Extracted from...
1507	(_AC_COMPILER_EXEEXT): here.  Adjust.
1508
15092000-12-19  Akim Demaille  <akim@epita.fr>
1510
1511	* tests/atgeneral.m4 (AT_CHECK): Make exit status report more
1512	visible.
1513	* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Support FLAGS, STDOUT
1514	and STDERR.
1515	(AT_CHECK_CONFIGURE): Support plenty, cleanup defs when needed.
1516	Spread their use in the whole suite.
1517	Simplify a few AT_CLEANUPs.
1518
15192000-12-19  Akim Demaille  <akim@epita.fr>
1520
1521	* tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
1522	if-not-failed.
1523	* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Use it in order to
1524	dump config.log when configure failed.  Before, the log was
1525	reported only on success.
1526
15272000-12-19  Akim Demaille  <akim@epita.fr>
1528
1529	* tests/foreign.at: New file.
1530
15312000-12-19  Akim Demaille  <akim@epita.fr>
1532
1533	* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
1534
15352000-12-18  Pavel Roskin  <proski@gnu.org>
1536
1537	* Makefile.am: Add a comment explaining why suffix rules are not
1538	used there.
1539
15402000-12-15  Pavel Roskin  <proski@gnu.org>
1541
1542	* autoconf.sh: If the "allowed" pattern is not defined set it
1543	to "^$".
1544	* tests/tools.at (autoconf: forbidden tokens, basic): New test.
1545	(autoconf: forbidden tokens): Renamed to ...
1546	(autoconf: forbidden tokens, exceptions): ... this.
1547
15482000-12-15  Akim Demaille  <akim@epita.fr>
1549
1550	* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
1551
15522000-12-15  Akim Demaille  <akim@epita.fr>
1553
1554	* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
1555	Reported by Ezra Peisach.
1556
15572000-12-15  Akim Demaille  <akim@epita.fr>
1558
1559	* tests/compile.at (GNU Fortran 77): s/g77/G77/.
1560	Reported by Ezra Peisach.
1561
15622000-12-15  Akim Demaille  <akim@epita.fr>
1563
1564	* man/Makefile.am (.x.1): Fix to work properly with
1565	builddir != srcdir.
1566
15672000-12-15  Akim Demaille  <akim@epita.fr>
1568
1569	* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
1570	(AC_PROG_CPP, AC_PROG_CXXCPP, AC_PROG_GCC_TRADITIONAL)
1571	(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_CC_STDC):
1572	Don't use `${CC-cc}' since now the AC_REQUIRE machinery guarantees
1573	that $CC is defined.  And if not, it's a bug which must be
1574	observable.
1575	* acspecific.m4 (AC_SYS_LARGEFILE): Likewise.
1576
15772000-12-15  Akim Demaille  <akim@epita.fr>
1578
1579	* acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
1580	AC_TRY_EVAL.
1581	(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE): More alike,
1582	using AS_IFELSE, and systematically AC_TRY_COMMAND when testing
1583	something (for the logs).
1584
15852000-12-15  Akim Demaille  <akim@epita.fr>
1586
1587	* aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
1588	* acgeneral.m4 (_AC_TRY_CPP): Its last use was that above, so
1589	inline it into...
1590	(_AC_PREPROC_IFELSE): here.
1591
15922000-12-15  Akim Demaille  <akim@epita.fr>
1593
1594	* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
1595	Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.
1596
15972000-12-15  Akim Demaille  <akim@epita.fr>
1598
1599	* acgeneral.m4 (_AC_EVAL): New.
1600	(AC_TRY_EVAL, AC_TRY_COMMAND): Use it.
1601
16022000-12-15  Akim Demaille  <akim@epita.fr>
1603
1604	* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
1605	(AC_TRY_CPP): Use AC_PREPROC_IFELSE.
1606	(AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
1607	properly.
1608	* acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
1609	AC_PREPROC_IFELSE.
1610	* acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.
1611
16122000-12-15  Akim Demaille  <akim@epita.fr>
1613
1614	* m4sugar.m4 (m4_init): Catch `dnl'.
1615
16162000-12-15  Pavel Roskin  <proski@gnu.org>
1617
1618	* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
1619
16202000-12-14  Pavel Roskin  <proski@gnu.org>
1621
1622	* tests/semantics.at (AC_CHECK_TYPES): There are two tests with
1623	this name. Rename the second one to "AC_CHECK_TYPES: backward
1624	compatibility"
1625	(AC_TRY_LINK_FUNC): Removed. It's now in tests/compile.at.
1626	(C keywords): Likewise.
1627	(AC_PROG_CPP with warnings): Likewise.
1628	(AC_PROG_CPP without warnings): Likewise.
1629
16302000-12-14  Akim Demaille  <akim@epita.fr>
1631
1632	Put back AC_CYGWIN etc. under the responsibility of the
1633	configure.in maintainer, but discourage its use.
1634
1635	* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
1636	(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
1637	AU defined on top of AC_CANONICAL_HOST and $host_os.
1638	* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
1639	AC_MINGW32, and AC_EMXOS2.
1640
16412000-12-13  Pavel Roskin  <proski@gnu.org>
1642
1643	* m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
1644	otherwise _m4eof is appended to the output on FreeBSD 4.0.
1645	* tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
1646	in sed, use "s" instead.
1647	* tests/mktests.sh: Don't use \? in sed - it's a GNU extension.
1648	Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.
1649
16502000-12-13  Akim Demaille  <akim@epita.fr>
1651
1652	EXEEXT and OBJEXT don't need to know $CYGWIN etc.
1653
1654	* acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
1655	Move as...
1656	* aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
1657	(_AC_COMPILER_OBJEXT): these.
1658	(_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
1659	Don't depend upon $CYGWIN and the like.
1660	(_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
1661	Skip more extensions.
1662	Use _AC_COMPILE_IFELSE.
1663
16642000-12-12  Pavel Roskin  <proski@gnu.org>
1665
1666	* Makefile.am: Don't use suffix rules for perl and shell
1667	scripts. Use explicit rules instead.
1668
16692000-12-12  Pavel Roskin  <proski@gnu.org>
1670
1671	* autoscan.pl (init_tables): Allow spaces on the right hand side
1672	in autoscan tables. Die if there are no spaces at all.
1673	(scan_c_file): Use \b instead of \W so that keywords match at
1674	the beginning and the end of the line.
1675	(scan_sh_file): Likewise.
1676	(scan_makefile): Likewise. Use \B to match before `-l'.
1677	(output): Suggest AC_CONFIG_HEADER if any C/C++ sources are
1678	found.
1679	* acidentifiers: Update macros for structure members st_blksize
1680	and st_rdev.
1681
16822000-12-12  Akim Demaille  <akim@epita.fr>
1683
1684	* tests/compile.at (GNU Fortran 77): Be robust to compilers that
1685	choke on `--version'.
1686
16872000-12-12  Akim Demaille  <akim@epita.fr>
1688
1689	* tests/suite.at: Run `tools.at' first.
1690
16912000-12-12  Akim Demaille  <akim@epita.fr>
1692
1693	* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
1694	keep envvars.
1695
16962000-12-12  Akim Demaille  <akim@epita.fr>
1697
1698	AS_ERROR was not properly saving data in the log file.
1699
1700	* sh.m4 (AS_WARN, AS_ERROR): Use AS_MESSAGE.
1701	(_AS_ECHO): Fix quotation.
1702	(AS_MESSAGE): Use `as_me'.
1703	* acgeneral.m4: More banners in the log.
1704	(_AC_INIT_DEFAULTS): Compute as_me before using it.
1705
17062000-12-08  Akim Demaille  <akim@epita.fr>
1707
1708	* doc/autoconf.texi (System Services) <AC_PATH_XTRA>: Adjust the
1709	documentation about X_DISPLAY_MISSING to the code.
1710
17112000-12-07  Akim Demaille  <akim@epita.fr>
1712
1713	* tests/atgeneral.m4 (AT_INIT): More robust computation of
1714	ac_tests_pattern.
1715	Reported by  Andrej Borsenkow.
1716
17172000-12-07  Akim Demaille  <akim@epita.fr>
1718
1719	* acspecific.m4 (_AC_EXEEXT): Skip *.pdb.
1720	From Paul Berrevoets.
1721
17222000-12-07  Akim Demaille  <akim@epita.fr>
1723
1724	* tests/atgeneral.m4 (AT_CHECK): Bad typo: assign `exit 1' to
1725	at_continue if something failed, not `:'.
1726	* tests/semantics.at (AC_PATH_XTRA): New.
1727	* acspecific.m4 (_AC_PATH_X): New, extracted form AC_PATH_X.
1728
17292000-12-06  Akim Demaille  <akim@epita.fr>
1730
1731	* configure.in: Bump version to 2.49c.
1732
17332000-12-06  Akim Demaille  <akim@epita.fr>
1734
1735	Version 2.49b.
1736
17372000-12-06  Akim Demaille  <akim@epita.fr>
1738
1739	Stop playing with FDs in Autotest.
1740
1741	* tests/atgeneral.m4 (AT_INIT): Set up FD 5.
1742	(AT_CHECK): Instead of using exec to globally change the FDs of
1743	`testsuite', enclose the body of the test into a
1744	`(..) >stdout 2>stderr'.
1745	In every case, when verbose, display the differences between
1746	expected and observed (stdout, stderr, exit status).
1747	Let `0' be the default for EXIT-STATUS.
1748	Support EXIT-STATUS == `ignore'.
1749
17502000-12-06  Akim Demaille  <akim@epita.fr>
1751
1752	* tests/tools.at (autoconf: forbidden tokens): Adjust expected
1753	result.
1754
17552000-12-06  Akim Demaille  <akim@epita.fr>
1756
1757	* man/config.guess.x: New file.
1758	* man/config.sub.x: New file.
1759
17602000-12-06  Akim Demaille  <akim@epita.fr>
1761
1762	* tests/aclocal.m4 (AT_STATE_SAVE): Don't even try to preserve
1763	egrep error messages, AT_CHECK will find them.
1764
17652000-12-06  Akim Demaille  <akim@epita.fr>
1766
1767	* doc/autoconf.texi (Limitations of Usual Tools) <awk>: `for' on
1768	arrays is nondeterministic across AWK implementations.
1769	* tests/tools.at (autoconf: forbidden tokens): Sort the error
1770	message to guarantee its uniqueness.
1771
17722000-12-06  Akim Demaille  <akim@epita.fr>
1773
1774	The SunOS' egrep fails to process properly the `egrep' invocations
1775	of the test suite.
1776
1777	* tests/aclocal.m4 (AC_STATE_SAVE): If egrep fails, remove the
1778	output file.
1779	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't check `state-*'
1780	if the files are not present.
1781
1782	* m4sugar.m4 (m4_join): Rename as...
1783	(m4_smash): this.
1784	* tests/aclocal.m4 (join): Move as...
1785	* m4sugar.m4 (m4_flatten): this.
1786	* autoconf.sh (trace.m4): Rename m4_smash as m4_flatten.
1787
17882000-12-06  Akim Demaille  <akim@epita.fr>
1789
1790	* autoconf.sh (task trace): s/m4/$M4/.
1791	* autoheader.sh: When loading trace.sh, catch errors and exit with
1792	a decent error message.
1793	* tests/tools.at: Be sure to test autoconf --trace before
1794	autoheader.
1795
17962000-12-06  Akim Demaille  <akim@epita.fr>
1797
1798	* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
1799
18002000-12-06  Akim Demaille  <akim@epita.fr>
1801
1802	* aclang.m4 (AC_LANG): Be `smart': don't issue the sh code if the
1803	current language did not change.
1804	(AC_LANG_ASSERT): New.
1805	(AC_PROG_CPP, AC_PROG_CXXCPP): Assert the language.
1806	(_AC_PROG_F77_V, _AC_F77_NAME_MANGLING): Don't require
1807	AC_PROG_F77, the code you include does it.
1808	(AC_F77_LIBRARY_LDFLAGS): Set the language.
1809
18102000-12-06  Akim Demaille  <akim@epita.fr>
1811
1812	* m4sugar.m4 (ifelse): Rename as...
1813	(m4_if): this.
1814	* autoconf.m4 (ifelse): Restore.
1815
18162000-12-06  Akim Demaille  <akim@epita.fr>
1817
1818	* m4sugar.m4 (m4_dquote, m4_pattern_forbid, m4_pattern_allow)
1819	(m4_cr_letters, m4_cr_LETTERS, m4_cr_Letters, m4_cr_digits)
1820	(m4_cr_symbols1, m4_cr_symbols2, m4_re_string, m4_re_word)
1821	(m4_init): New macros.
1822	(m4_token_allow): Remove.
1823	* acgeneral.m4: Don't push BODY into the diversion stack.
1824	(AC_PLAIN_SCRIPT): Do it.
1825	Call m4_init, define the Autoconf patterns.
1826	(AC_INIT): Use AC_PLAIN_SCRIPT.
1827	Remove the useless `dnl' (those where the current diversion is
1828	KILL).
1829	* autoconf.sh (m4_common): Fix quotation.
1830	(finalize.awk): Load forbidden.rx and allowed.rx.
1831	Split the line into tokens, and check their validity.
1832	* tests/tools.at (Forbidden tokens): Adjust.
1833
18342000-12-05  Bob Wilson  <bwilson@tensilica.com>
1835
1836	* acspecific.m4 (_AC_OBJEXT, _AC_EXEEXT): Ignore .d files produced
1837	by CFLAGS=-MD.
1838
18392000-12-05  Akim Demaille  <akim@epita.fr>
1840
1841	* aclang.m4 (AC_PROG_F77): Temporarily set ac_ext to F to run
1842	_AC_LANG_COMPILER_GNU.
1843	From Steven G. Johnson.
1844	* tests/compile.at (GNU Fortran 77): New test.
1845
18462000-12-05  Akim Demaille  <akim@epita.fr>
1847
1848	* tests/tools.at (autoupdate): Strengthen and check autoupdate's
1849	idempotency.
1850
18512000-12-05  Akim Demaille  <akim@epita.fr>
1852
1853	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): s/cp -f/mv -f/.
1854
18552000-12-01  Pavel Roskin  <proski@gnu.org>
1856
1857	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't escape
1858	backquotes in AC_MSG_ERROR. Fix error message.
1859
18602000-12-01  Pavel Roskin  <proski@gnu.org>
1861
1862	* tests/atgeneral.m4 (AT_INIT): Use ${CONFIG_SHELL-/bin/sh}
1863	to run the testsuite from the debug scripts.
1864	Suggested by Alexandre Oliva.
1865
18662000-11-30  Akim Demaille  <akim@epita.fr>
1867
1868	* doc/autoconf.texi (Assignments): Don't use $? from an
1869	assignment.
1870
18712000-11-30  Akim Demaille  <akim@epita.fr>
1872
1873	* sh.m4 (AS_EXIT): Don't rely on false exiting 1.
1874	Actually, always use `(exit $val); exit', don't try to be tricky.
1875	* doc/autoconf.texi (Limitations of Builtins) <false>: new.
1876
18772000-11-30  Akim Demaille  <akim@epita.fr>
1878
1879	* sh.m4 (_AS_EXPR_PREPARE): Don't rely on the exit status of a
1880	back quote evaluation since the very system for which the test was
1881	written does not propagate it.  Groumph!
1882
18832000-11-30  Akim Demaille  <akim@epita.fr>
1884
1885	* acspecific.m4 (_AC_EXEEXT): Also remove conftest$ac_exeext.
1886	Reported by Pavel.
1887
18882000-11-30  Akim Demaille  <akim@epita.fr>
1889
1890	* acspecific.m4 (_AC_EXEEXT, _AC_OBJEXT): Make the two macros more
1891	alike: a loop over a sorted list of possible files.
1892	Don't cleanup on errors, the trap will do it.
1893	Cleanup when there are no errors.
1894	(_AC_EXEEXT): Use the empty string instead of `no' as the cached
1895	value.
1896	Be sure to prefer `.exe' to `' when the two are observable.
1897	Suggested by Lars and Earnie.
1898
18992000-11-30  Akim Demaille  <akim@epita.fr>
1900
1901	When using Cygwin, in spite of all their efforts, it may happen
1902	that `confestval' be read in binary mode.  The shell then fails to
1903	properly strip the \r\n.
1904	Reported by Lars J. Aas.
1905
1906	* aclang.m4 (AC_LANG_INT_SAVE): Don't add any trailing new line,
1907	and close the file.
1908	Suggested by Peter Eisentraut.
1909
19102000-11-30  Akim Demaille  <akim@epita.fr>
1911
1912	* doc/autoconf.texi (Systemology): New section.
1913	Some about QNX 4.
1914
19152000-11-30  Akim Demaille  <akim@epita.fr>
1916
1917	* doc/autoconf.texi (Special Shell Variables): Document RANDOM.
1918
19192000-11-30  Akim Demaille  <akim@epita.fr>
1920
1921	* doc/autoconf.texi (Limitations of Usual Tools): Some about cp
1922	and mv, thanks to Ian.
1923
19242000-11-29  Akim Demaille  <akim@epita.fr>
1925
1926	* acspecific.m4 (_AC_OBJEXT): Skip *.tds, special case .o and
1927	.obj.
1928	Suggested by Lars.
1929
19302000-11-29  Akim Demaille  <akim@epita.fr>
1931
1932	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the portability of
1933	the default assignment of CONFIG_FILES, CONFIG_HEADERS,
1934	CONFIG_LINKS and CONFIG_COMMANDS.
1935
19362000-11-29  Akim Demaille  <akim@epita.fr>
1937
1938	* acgeneral.m4 (AC_CACHE_SAVE): Use the `clear' trick to work
1939	around broken seds.
1940	(_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Rename the sed labels to
1941	match the Autoconf documentation.
1942
19432000-11-29  Akim Demaille  <akim@epita.fr>
1944
1945	* doc/autoconf.texi (Shell Substitutions): More on the variations
1946	around ${foo=bar}.
1947	(Assignments): Rewrite as a summary of the previous section.
1948	* acgeneral.m4 (AC_CACHE_SAVE): Be protected against the Solaris'
1949	`${foo='${bar}'}' bug.
1950
19512000-11-29  Akim Demaille  <akim@epita.fr>
1952
1953	* acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use
1954	   `... echo "error: \\\`$f'" ...`
1955	as it's not portable to BSDI 1.3.
1956	Do this instead:
1957	   `... echo "error: $f" ...`
1958	Reported by Daniele Arena.
1959
19602000-11-29  Akim Demaille  <akim@epita.fr>
1961
1962	QNX 4.2.5's expr always exits 1 when `:' is used with parens.
1963
1964	* doc/autoconf.texi (Limitations of Usual Tools) <expr>: More
1965	information, thanks to Paul Berrevoets, Paul Eggert and David
1966	Morgan.
1967	* sh.m4 (_AS_EXPR_PREPARE): New.
1968	(AS_DIRNAME): Use it.
1969
19702000-11-29  Akim Demaille  <akim@epita.fr>
1971
1972	sizeof (struct {char a,b; }) is not required to be 2.
1973	Reported by Johan Danielsson.
1974
1975	* tests/semantics.at (AC_CHECK_SIZEOF): Define charchar as an
1976	array of 2 chars.
1977	Suggested by Alexandre.
1978
19792000-11-29  Akim Demaille  <akim@epita.fr>
1980
1981	Provide a means to display banners in the test suite.
1982
1983	* tests/atgeneral.m4 (AT_INIT): Initialize `AT_banner_ordinal'.
1984	Execute the epilogue of the tests only if a test was run.
1985	Don't build the value of `at_tests_all' with a for loop: expand
1986	`AT_TESTS_ALL'.
1987	(AT_SETUP): Build `AT_TESTS_ALL'.
1988	(AT_BANNER): New.
1989	Adjust all the former banners to use it.
1990	(AT_CHECK): Don't trace the decoding of `$?'.
1991
19922000-11-29  Akim Demaille  <akim@epita.fr>
1993
1994	* tests/atgeneral.m4 (AT_DEFINE, AT_UNDEFINE, AT_SHIFT)
1995	(AT_INCLUDE): Remove, use the m4_ macros.
1996
19972000-11-29  Akim Demaille  <akim@epita.fr>
1998
1999	* m4sugar.m4 (ifval, ifset, ifdef, ifndef, m4_ifvanl): Rename as...
2000	(m4_ifval, m4_ifset, m4_ifdef, m4_ifndef, m4_ifvaln): this.
2001	(m4_n): New macro.
2002	(m4_ifvaln): Use it.
2003	* autoconf.m4 (ifdef): Restore it.
2004
20052000-11-29  Akim Demaille  <akim@epita.fr>
2006
2007	* m4sugar.m4 (m4_errprint, divnum, errprint, esyscmd): Rename as...
2008	(m4_errprintn, m4_divnum, m4_errprint, m4_esyscmd): this.
2009	* autoconf.m4: Restore them.
2010
20112000-11-28  Pavel Roskin  <proski@gnu.org>
2012
2013	* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
2014	Don't suggest obsolete AC_LANG_FORTRAN77.
2015	(Language Choice): Better preamble.
2016
20172000-11-28  Pavel Roskin  <proski@gnu.org>
2018
2019	* doc/install.texi: Minor changes to eliminate TeX warnings.
2020	* doc/autoconf.texi: Likewise. Typo fixes.
2021
20222000-11-23  Akim Demaille  <akim@epita.fr>
2023
2024	* tests/atconfig.in: Move code into...
2025	* tests/atgeneral.m4 (AT_INIT): here.
2026	Use AS_SHELL_SANITIZE.
2027
20282000-11-23  Akim Demaille  <akim@epita.fr>
2029
2030	Have the test suite list of the test groups and their references.
2031
2032	* tests/atgeneral.m4 (_m4_divert(SUITE_PRO)): Remove, replaced
2033	by...
2034	(_m4_divert(DEFAULT), _m4_divert(OPTIONS), _m4_divert(HELP))
2035	(_m4_divert(SETUP)): these.
2036	(_m4_divert(SUITE_EPI)): Rename as...
2037	(_m4_divert(TAIL)): this.
2038	(AT_INIT): Adjust to the new diversions.
2039	Insert the magic number.
2040	Accept test groups as cli argument.
2041	List the test groups.
2042	Rename TESTS, test, and tests as at_tests_all, at_test, and
2043	at_tests.
2044	Have the debug scripts pass options to test suite.
2045	Remove their banner.
2046	* tests/atspecific.m4: Don't divert to 0.
2047	* suite.at: Don't insert the magic number.
2048
20492000-11-23  Akim Demaille  <akim@epita.fr>
2050
2051	* m4sugar.m4 (m4_divert, m4_undivert): Support named diversions.
2052	* tests/atgeneral.m4 (_m4_divert(SUITE_PRO), _m4_divert(TESTS))
2053	(_m4_divert(SUITE_EPI), _m4_divert(TEST)): New diversions.
2054	Push the first two diversions.
2055	(AT_INIT): Don't.
2056	(AT_INIT, AT_SETUP, AT_CLEANUP): Adjust to use the named
2057	diversions.
2058
20592000-11-23  Akim Demaille  <akim@epita.fr>
2060
2061	* tests/atgeneral.m4 (AT_CLEANUP): Factor the computation of
2062	at_test_count into...
2063	(AT_INIT): here.
2064	Use an sh variable, at_data_files, instead of an hard coded list.
2065
20662000-11-23  Akim Demaille  <akim@epita.fr>
2067
2068	* tests/atgeneral.m4 (AT_CLEAN_FILE_IFELSE, AT_CLEANUP_FILE)
2069	(AT_CLEANUP_FILES): New	macros.
2070	(AT_SETUP, AT_CHECK, AT_CLEANUP): Use them.
2071	(AT_CHECK): Fix a use of at_verbose.
2072	* tests/atspecific.m4 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER)
2073	(AT_CHECK_CONFIGURE): New macros.
2074
20752000-11-23  Akim Demaille  <akim@epita.fr>
2076
2077	* tests/atgeneral.m4 (AT_INIT) <at_verbose>: Be a :/echo variable.
2078	<at_silent>: Remove.
2079	(AT_CLEANUP): Clean up the diversion use.
2080
20812000-11-23  Akim Demaille  <akim@epita.fr>
2082
2083	Factor part of the prologue of the tests.
2084
2085	* tests/atgeneral.m4 (AT_SETUP, AT_CLEANUP): No longer handle
2086	at_stop_on_error.
2087	(AT_INIT): After having checked whether the test failed, break out
2088	of the loop if requested (-e).
2089
20902000-11-23  Akim Demaille  <akim@epita.fr>
2091
2092	* tests/atgeneral.m4 (AT_SETUP): Don't build at-check-line, that's
2093	AT_CHECK's job.
2094	Remove the code depending upon `at_skip_mode': it's unused.
2095
20962000-11-23  Akim Demaille  <akim@epita.fr>
2097
2098	* tests/atconfig.in: Remove the `snippet' marks, there are no
2099	longer used.
2100	* tests/atgeneral.m4: Likewise.
2101
21022000-11-23  Akim Demaille  <akim@epita.fr>
2103
2104	Factor the epilogue of the tests.
2105
2106	* tests/atgeneral.m4 (AT_CLEANUP): Move the reading of at_status
2107	into...
2108	(AT_INIT): here, at the end of the `case'.
2109
21102000-11-23  Akim Demaille  <akim@epita.fr>
2111
2112	The debug scripts are only wrapper around testsuite, asking for a
2113	specific test.
2114
2115	* tests/atgeneral.m4 (AC_INIT) <at_debug>: New variable, new
2116	option, -d, to disable the creation of the debug scripts (when
2117	testsuite was already launched from one).
2118	<at_test_count>: Really compute it instead of using the number of
2119	the last test run.
2120
21212000-11-23  Akim Demaille  <akim@epita.fr>
2122
2123	Transform Autotest's body into a `for test; case $test'.
2124	As a known side effect, currently any code outside
2125	AT_SETUP/AT_CLEANUP is discarded.
2126
2127	* acgeneral.m4 (_m4_divert(KILL)): Move to...
2128	* m4sugar.m4: here.
2129	* tests/atgeneral.m4 (AT_INIT): Use m4_divert_push/pop instead of
2130	m4_divert.
2131	Put all the tests inside a for;case.
2132	Define TESTS.
2133	(AT_SETUP, AT_CLEANUP): Open/close each case.
2134
21352000-11-23  Akim Demaille  <akim@epita.fr>
2136
2137	Move divert and undivert into m4_.
2138
2139	* m4sugar.m4 (m4_divert, divert, undivert): Rename as...
2140	(m4_divert_text, m4_divert, m4_undivert): this.
2141	* autoconf.m4 (divert, undivert): Restore them for user macros only.
2142
21432000-11-23  Akim Demaille  <akim@epita.fr>
2144
2145	Move Autotest on top of M4sh.
2146
2147	* tests/atgeneral.m4: Import M4sh.
2148	Adjust the differences on the names of the builtins (define etc.).
2149	(AT_CASE): Remove, use m4_case.
2150	(AT_SETUP): Don't use `AT_group_description', `$1' is OK.
2151	* tests/atspecific.m4 (m4_for, m4_foreach): Remove, use those of
2152	M4sugar.
2153	* tests/m4sugar.at: Strengthen the quotation and adjust to the new
2154	macro names.
2155	* tests/m4sh.at: Ditto.
2156	* tests/torture.at: Ditto.
2157	* tests/base.at: Ditto.
2158	* m4sh.m4: Import M4sugar.
2159	* autoconf.m4: Don't import M4sugar, M4sh does.
2160
21612000-11-20  Pavel Roskin  <proski@gnu.org>
2162
2163	* acgeneral.m4 (_AC_RUN_IFELSE): `==' in test is not portable,
2164	replace with `='.
2165
21662000-11-17  Akim Demaille  <akim@epita.fr>
2167
2168	* acgeneral.m4 (_AC_INIT_DEFAULTS): Also include `PATH' and
2169	`/bin/machine' in the log.
2170
21712000-11-17  Akim Demaille  <akim@epita.fr>
2172
2173	Let AC_TRY_RUN be more verbose
2174
2175	* acgeneral.m4 (_AC_RUN_IFELSE): Instead of canceling the output
2176	of the test program, save it into the log.
2177	Save the exit status, and report it in the log when non zero.
2178	Just use `(./conftest)' instead of `(./conftest; exit)'.
2179
21802000-11-17  Akim Demaille  <akim@epita.fr>
2181
2182	* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_includes_default>: Include
2183	sys/stat.h.
2184	* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_BLOCKS)
2185	(AC_STRUCT_ST_RDEV): Simplify.
2186	* acfunctions.m4 (AC_FUNC_MMAP): Include sys/stat.h unconditionally.
2187	* doc/autoconf.texi (Default Includes): Adjust.
2188	(Particular Structures) <AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV>:
2189	Adjust.
2190
21912000-11-16  Akim Demaille  <akim@epita.fr>
2192
2193	* doc/autoconf.texi (Limitations of Usual Tools) <expr>:
2194	expr 'a' : '\(b\)'.
2195	From Paul Eggert.
2196
21972000-11-16  Akim Demaille  <akim@epita.fr>
2198
2199	Reorder the test suite so that low level features are tested
2200	before high level ones.
2201
2202	* tests/semantics.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2203	(missing templates): Move to...
2204	* tests/torture.at: here.
2205	Reorder the file so that the torture test is last.
2206	* tests/semantics.at (AC_TRY_LINK_FUNC, AC_PROG_CPP with warnings)
2207	(AC_PROG_CPP without warnings): Move to...
2208	* tests/compile.at: here, new file.
2209	* tests/suite.at: Run `torture' and then `compile' before
2210	`semantics'.
2211
22122000-11-16  Akim Demaille  <akim@epita.fr>
2213
2214	* acspecific.m4 (AC_SYS_LARGEFILE): _AC_SYS_LARGEFILE_SOURCE no
2215	longer exist.
2216
22172000-11-16  Akim Demaille  <akim@epita.fr>
2218
2219	POSIX doesn't require s/[^/]// to work.
2220	From Paul Eggert and Johan Danielsson.
2221
2222	* doc/autoconf.texi (Limitations of Usual Tools) <sed>:
2223	Reorganize.  Document this issue.
2224	* autoupdate.sh (dir): Use `,' as separator instead of `/'
2225	* autoreconf.sh: Likewise.
2226	* autoupdate.sh: Ditto.
2227
22282000-11-16  Paul Eggert  <eggert@twinsun.com>
2229
2230	* m4/largefile.m4 (_AC_SYS_LARGEFILE_SOURCE): Remove, replaced by...
2231	(_AC_SYS_LARGEFILE_TEST_INCLUDES): this.
2232	(AC_SYS_LARGEFILE_MACRO_VALUE): Use AC_LANG_PROGRAM instead of
2233	_AC_SYS_LARGEFILE_SOURCE, i.e., don't pass
2234	_AC_SYS_LARGEFILE_TEST_INCLUDES by default: this isn't desirable
2235	when checking for fseeko.
2236	(AC_SYS_LARGEFILE): Pass AC_SYS_LARGEFILE_TEST_INCLUDES to
2237	_AC_SYS_LARGEFILE_MACRO_VALUE, since it no longer does this for us.
2238
22392000-11-16  Akim Demaille  <akim@epita.fr>
2240
2241	Provide a means for escaping the forbidden patterns test.
2242
2243	* tests/tools.at (Forbidden tokens): Test m4_token_allow.
2244	* m4sugar.m4 (m4_file_append, m4_token_allow): New macros.
2245	* autoconf.sh (task script): Pass `tmp' and `verbose' to
2246	finalize.awk.
2247	(finalize.awk::check_patterns): Eve out from the body.
2248	(finalize.awk): Read `$tmp/tokens_allowed', and don't complain for
2249	these exceptions.
2250
22512000-11-14  Paul Eggert  <eggert@twinsun.com>
2252
2253	* acspecific.m4 (AC_SYS_LARGEFILE): Don't worry about
2254	whether fseeko and ftello are properly declared.
2255	* acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
2256	fseeko (and presumably ftello).  Do not set _XOPEN_SOURCE; that
2257	causes too many problems in practice.
2258	* acfunctions (fteelo, fseeko): Trigger AC_FUNC_FSEEKO.
2259	* doc/autoconf.texi: Adjust.
2260
22612000-11-14  Akim Demaille  <akim@epita.fr>
2262
2263	* doc/autoconf.texi (Limitations of Builtins): Comment `true'.
2264
22652000-11-14  Akim Demaille  <akim@epita.fr>
2266
2267	* BUGS: New file.
2268	Be sure to read this file if you're using a non released Autoconf.
2269	* tests/tools.at (Syntax of the scripts): The non built tools are
2270	in `$top_srcdir', not `..'.
2271	(autoconf --trace): When using `-i' we need the src tree, not the
2272	build tree.
2273
22742000-11-14  Akim Demaille  <akim@epita.fr>
2275
2276	A single m4_require is enough.
2277
2278	* m4sugar.m4 (_m4_require): $2 defaults to $1.
2279	Rename as...
2280	(m4_require): this.
2281	* acgeneral.m4 (_AC_REQUIRE): Remove, use m4_require if you want
2282	to get into the gory details.
2283
22842000-11-14  Akim Demaille  <akim@epita.fr>
2285
2286	* acgeneral.m4 (_AC_INIT_DEFAULTS_ENVIRONMENT): Rename as...
2287	* m4sh.m4 (AS_SHELL_SANITIZE): this.
2288
22892000-11-14  Akim Demaille  <akim@epita.fr>
2290
2291	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't neutralize
2292	autoconf's warnings.
2293
22942000-11-14  Akim Demaille  <akim@epita.fr>
2295
2296	Set AC_LANG_PREPROC_REQUIRE which replaces AC_REQUIRE_CPP.
2297	The main difference is that the former requires AC_LANG_COMPILER.
2298
2299	* aclang (AC_LANG_PREPROC, AC_LANG_PREPROC(C), AC_LANG_PREPROC(C++))
2300	(AC_LANG_PREPROC(Fortran 77), AC_LANG_PREPROC_REQUIRE): New
2301	macros.  Issue a warning when looking for the Fortran 77
2302	preprocessor instead of an error.
2303	(AC_LANG_COMPILER): Check that it is run before the corresponding
2304	AC_LANG_PREPROC.
2305	(AC_PROG_C
2306	(AC_LANG_COMPILER_REQUIRE): Don't call directly
2307	AC_LANG_COMPILER(_AC_LANG), rather invoke AC_LANG_COMPILER so that
2308	the generic code in AC_LANG_COMPILER is run.
2309	(AC_REQUIRE_CPP): Use AC_LANG_PREPROC_REQUIRE.
2310	(AC_PROG_CC, AC_PROG_CXX): Don't require being run before the
2311	corresponding AC_LANG_PREPROC: AC_LANG_COMPILER does it.
2312
2313
2314	Propagate AC_LANG_PREPROC_REQUIRE.
2315
2316	* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Use it instead of
2317	AC_REQUIRE_CPP.
2318	* acspecific.m4 (_AC_DECL_YYTEXT, AC_PATH_X): Don't
2319	AC_REQUIRE_CPP, inner macro will do it.
2320	* aclang.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_STRINGIZE)
2321	(AC_C_PROTOTYPES): Likewise.
2322	(AC_C_STRINGIZE): Yeeks!  The body of AC_CACHE_CHECK was not
2323	quoted.  Use @%:@ do assist Emacs.
2324
2325
2326	For some reason (don't ask), this revamping revealed that
2327	AC_PROG_CC_STDC, because of the `break', does not clean its tmp
2328	files.
2329
2330	* aclang.m4 (AC_PROG_CC_STDC): Extract the creation of conftest.c
2331	out of AC_COMPILE_IFELSE.
2332	Be sure to clean the tmp files.
2333
23342000-11-14  Akim Demaille  <akim@epita.fr>
2335
2336	* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Simplify.
2337
23382000-11-14  Akim Demaille  <akim@epita.fr>
2339
2340	* acfunctions.m4 (AC_FUNC_ALLOCA): Don't require AC_PROG_CPP,
2341	since (i) you actually need a compiler, (ii) AC_TRY_LINK handles
2342	it.
2343	* acheaders.m4 (AC_HEADER_STDC): Don't require AC_PROG_CPP,
2344	AC_TRY_CPP does it.
2345
23462000-11-14  Akim Demaille  <akim@epita.fr>
2347
2348	Create acheaders.m4.
2349
2350	* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS)
2351	(AH_CHECK_HEADERS): Move to...
2352	* acheaders.m4: here, a new file.
2353	* acspecific.m4	(_AC_CHECK_HEADER_DIRENT, AH_CHECK_HEADERS_DIRENT)
2354	(AC_HEADER_DIRENT, AC_HEADER_MAJOR, AC_HEADER_STAT, AC_HEADER_STDC)
2355	(AC_HEADER_SYS_WAIT, AC_HEADER_TIME)
2356	(_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H)
2357	(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ): Move
2358	to...
2359	* acheaders.m4: here.
2360
23612000-11-14  Akim Demaille  <akim@epita.fr>
2362
2363	Move AC_MSG_* into M4sh.
2364
2365	* acgeneral.m4 (_AC_SH_QUOTE, _AC_SH_QUOTE_IFELSE, _AC_ECHO): Move
2366	to...
2367	* m4sh.m4 (_AS_QUOTE, _AS_QUOTE_IFELSE, _AS_ECHO): here.
2368	(AS_MESSAGE, AS_WARN, AS_ERROR): New.
2369	* acgeneral.m4 (AC_MSG_NOTICE, AC_MSG_WARN, AC_MSG_ERROR): Use them.
2370	(AC_FD_MSG, AC_FD_LOG): Be AU_ALIAS'es of...
2371	(AS_MESSAGE_FD, AS_MESSAGE_LOG_FD): new.
2372	Adjust all dependencies.
2373
23742000-11-14  Akim Demaille  <akim@epita.fr>
2375
2376	* acgeneral.m4: Spread some AS_EXIT and AC_MSG_ERROR.
2377	(AC_OUTPUT): Don't play with trap, use ac_clean_files.
2378
23792000-11-14  Akim Demaille  <akim@epita.fr>
2380
2381	Use AC_MSG_ERROR in `config.status', but adjust AC_MSG_* to use $0
2382	instead of hard coded `configure'.
2383
2384	* acgeneral.m4 (AC_COPYRIGHT): s/configure.in/__file__/.
2385	(_AC_INIT_DEFAULTS_FDS): Append to AC_FD_LOG instead of creating
2386	it.  No longer insert the configure banner.
2387	(_AC_INIT_DEFAULTS): Create config.log with the banner.
2388	Define `as_me'.
2389	(_AC_INIT_PARSE_ARGS, _AC_INIT_PREPARE, AC_MSG_NOTICE)
2390	(AC_MSG_CHECKING, AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED)
2391	(AC_MSG_WARN, AC_MSG_ERROR, AC_MSG_ERROR, AC_TRY_CPP)
2392	(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
2393	(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_PROG_F77_V_OUTPUT): Use
2394	`$as_me' instead of `configure'.
2395	(AC_OUTPUT): Get rid of the UCA, and of the empty line when
2396	dumping confdefs.h into config.log.
2397	(_AC_OUTPUT_CONFIG_STATUS): Use _AC_INIT_DEFAULTS_FDS.
2398	Print a banner.
2399	Use AC_MSG_ERROR and AC_MSG_NOTICE.
2400	* acgeneral.m4 (AC_CACHE_LOAD, _AC_OUTPUT_FILES, _AC_OUTPUT_LINKS)
2401	(_AC_OUTPUT_HEADERS):  Use AC_MSG_NOTICE.
2402	* tests/semantics.at (missing templates): Adjust.
2403
24042000-11-14  Akim Demaille  <akim@epita.fr>
2405
2406	* doc/autoconf.texi (autoconf Invocation): Explain `-W error'
2407	gives back traces.
2408
24092000-11-11  Pavel Roskin  <proski@gnu.org>
2410
2411	* acfunctions.m4 (AC_CHECK_FUNCS): Add missing m4 quotes.
2412	(AC_FUNC_GETPGRP): Likewise.
2413	* acspecific.m4 (AC_AIX): Likewise.
2414	* m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2415	* m4/missing.m4 (AM_MISSING_PROG): Likewise.
2416	* m4/sanity.m4 (AM_SANITY_CHECK): Likewise.
2417
24182000-11-11  Pavel Roskin  <proski@gnu.org>
2419
2420	* acfunctions.m4: Always quote first argument of AC_MSG_ERROR,
2421	AC_MSG_WARN, AC_MSG_CHECKING, AC_MSG_RESULT,
2422	AC_MSG_RESULT_UNQUOTED.
2423	* acgeneral.m4: Likewise.
2424	* aclang.m4: Likewise.
2425	* acspecific.m4: Likewise.
2426	* configure.in: Likewise.
2427	* doc/autoconf.texi: Likewise.
2428
24292000-11-10  Pavel Roskin  <proski@gnu.org>
2430
2431	* doc/autoconf.texi (Particular Structures): Fix examples for
2432	AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
2433
24342000-11-10  Pavel Roskin  <proski@gnu.org>
2435
2436	* doc/autoconf.texi (Limitations of Usual Tools): Don't use
2437	uncommon abbreviations.
2438
24392000-11-10  Akim Demaille  <akim@epita.fr>
2440
2441	* doc/autoconf.texi (Limitations of Builtins): Some information
2442	about `trap'.
2443	Document the FreeBSD bug observed by Pavel.
2444
24452000-11-10  Pavel Roskin  <proski@gnu.org>
2446
2447	* autoscan.pl (scan_files): Eliminate a warning if no C files
2448	are found.
2449	(output): Likewise. Use AC_CONFIG_SRCDIR and AC_CONFIG_FILES
2450	instead of old-style arguments for AC_INIT and AC_OUTPUT.
2451
24522000-11-10  Akim Demaille  <akim@epita.fr>
2453
2454	* doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
2455	is portable.
2456
24572000-11-10  Akim Demaille  <akim@epita.fr>
2458
2459	* doc/autoconf.texi (Shell Substitutions): Some information about
2460	Solaris' sh handling of ``foo=${foo='}'}'' collected by Alexandre,
2461	reported by David Taylor.
2462
24632000-11-10  Akim Demaille  <akim@epita.fr>
2464
2465	* tests/m4sh.at (Negated classes in globbing): New test.
2466
24672000-11-10  Akim Demaille  <akim@epita.fr>
2468
2469	* doc/autoconf.texi (Limitations of Builtins): `for i; do'.
2470
24712000-11-10  Akim Demaille  <akim@epita.fr>
2472
2473	* doc/autoconf.texi (Shellology): Some about /usr/xpg4/bin/sh on
2474	Solaris.
2475	Sort the entries.
2476	Some words about POSIX vs Bourne shell.
2477	From Russ Allbery and Robert Lipe.
2478
24792000-11-10  Akim Demaille  <akim@epita.fr>
2480
2481	* doc/autoconf.texi (Shell Substitutions): Split into...
2482	(Shell Substitutions, Assignments): these.
2483	Move them before `Special Shell Variables'.
2484	(Shell Substitutions): Include information on `$()' from Russ
2485	Allbery.
2486
24872000-11-10  Akim Demaille  <akim@epita.fr>
2488
2489	When running
2490
2491	AC_INIT
2492	AC_PROG_CC
2493	AC_LANG_COMPILER_REQUIRE
2494
2495	AC_PROG_CC is expanded twice, because AC_PROG_CC provides
2496	`AC_PROG_CC', and not `AC_LANG_COMPILER(C)' as expected by
2497	AC_LANG_COMPILER_REQUIRE.
2498
2499	* aclang.m4 (AC_LANG_COMPILER(C)): Instead of calling AC_PROG_CC,
2500	require it.
2501	(AC_LANG_COMPILER(C++), AC_LANG_COMPILER(Fortran 77)): Likewise.
2502
25032000-11-10  Akim Demaille  <akim@epita.fr>
2504
2505	* m4sh.m4 (AS_MKDIR_P, AS_DIRNAME_SED): Don't shell quote $1.
2506	Adjust callers.
2507	Reported by Paul Eggert.
2508	* tests/m4sh.at: Sort.
2509
25102000-11-09  Pavel Roskin  <proski@gnu.org>
2511
2512	* install-sh: Use ":" instead of "true".
2513
25142000-11-09  Pavel Roskin  <proski@gnu.org>
2515
2516	* tests/tools.at (Syntax of the scripts): Check "autoreconf"
2517	only once. Check "install-sh", "mkinstalldirs" and "missing".
2518
25192000-11-09  Pavel Roskin  <proski@gnu.org>
2520
2521	* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
2522	"true".
2523	* tests/atgeneral.m4 (AT_INIT): Likewise.
2524	* tests/tools.at (Syntax of the scripts): Likewise.
2525
25262000-11-09  Pavel Roskin  <proski@gnu.org>
2527
2528	* tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when
2529	-Werror is used.
2530
25312000-11-08  Akim Demaille  <akim@epita.fr>
2532
2533	* m4sugar.m4 (_m4_expansion_stack_dump): Really rename as...
2534	(m4_expansion_stack_dump): this.
2535
25362000-11-08  Akim Demaille  <akim@epita.fr>
2537
2538	* aclang.m4 (AC_LANG_PROGRAM(Fortran 77): Complain about $1 having
2539	a value.
2540	Reported by Paul Martinolich.
2541	(_AC_LANG_COMPILER_GNU): Pass the test as the body of
2542	AC_LANG_PROGRAM, not the prologue.
2543
25442000-11-07  Pavel Roskin  <proski@gnu.org>
2545
2546	* autoconf.sh: Temporarily disable recognizing of abbreviated
2547	long options - it's hard to maintain them by hand.
2548	* autoheader.sh: Likewise.
2549	* autoreconf.sh: Likewise.
2550	* autoupdate.sh: Likewise.
2551	* ifnames.sh: Likewise.
2552
25532000-11-07  Akim Demaille  <akim@epita.fr>
2554
2555	* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
2556	Be AU_DEFUN'd, not AU_ALIAS'd.
2557	Reported by Ralf Corsepius.
2558	* tests/mktests.sh (exclude_list): Skip these variables.
2559
25602000-11-07  Akim Demaille  <akim@epita.fr>
2561
2562	m4_syscmd was reestablished as `syscd' intead of `syscmd' because
2563	instead of `s/^m4_//', m4_copy_unm4 was running `s/[m4_]//'.
2564
2565	* m4sugar.m4 (m4_copy_unm4): Fix.
2566
25672000-11-07  Akim Demaille  <akim@epita.fr>
2568
2569	* acgeneral.m4 (AC_CHECKING): Is not an alias of AC_MSG_NOTICE,
2570	hence use AU_DEFUN, not AU_ALIAS.
2571
25722000-11-03  Jim Meyering  <meyering@lucent.com>
2573
2574	* acfunctions.m4 (AC_FUNC_FNMATCH): Add a test to detect
2575	the d*/*1 vs d/s/1 bug.
2576	Add a couple more test cases to catch bugs in glibc 2.1.95.
2577	Include fnmatch.h unconditionally
2578	Mention the GNU C library.
2579	From Paul Eggert.
2580
25812000-11-03  Akim Demaille  <akim@epita.fr>
2582
2583	AC_CONFIG_AUX_DIR_DEFAULTS overrides AC_CONFIG_AUX_DIR.  Ouch.
2584	Reported by Paul Martinolich.
2585
2586	* acgeneral.m4 (AC_PROVIDE): Don't forget to `m4_provide'!!!
2587	Tss, novice...
2588	* tests/base.at (AC_REQUIRE & AC_PROVIDE): New test.
2589
25902000-11-03  Akim Demaille  <akim@epita.fr>
2591
2592	* m4sugar.m4 (m4_location): When using its value, don't use
2593	`m4_defn', since m4_location is not a variable, it's a macro which
2594	expands to __file__:__line__.
2595	* tests/m4sugar.at (m4_warn): New test.
2596
25972000-11-03  Akim Demaille  <akim@epita.fr>
2598
2599	* tests/tools.at (unexpanded macros): Strengthen.
2600	* autoconf.sh (finalize.awk): Use `sub' instead of `index' +
2601	`substr'.
2602	More comments.
2603
26042000-11-03  Akim Demaille  <akim@epita.fr>
2605
2606	* Makefile.am (.m4.m4f): Check that processing produces only
2607	comments and empty lines.
2608	Check that freezing produced no output.
2609	* m4sugar.m4: Commentize what was not.
2610	* m4sh.m4: Likewise.
2611	* aclang.m4: Formatting changes.
2612
26132000-11-03  Akim Demaille  <akim@epita.fr>
2614
2615	* autoconf.m4 (define): Reestablish only after having read the
2616	`ac' files.
2617	Adjust all the Autoconf code to use `m4_define', not `define'.
2618
26192000-11-03  Akim Demaille  <akim@epita.fr>
2620
2621	* acgeneral.m4 (AU_ALIAS): Don't forget to pass the arguments to
2622	the new macro...
2623	Reported by Ezra Peisach.
2624	* tests/semantics.m4 (AC_HAVE_FUNCS): New test.
2625	* tests/tools.at (autoupdate): As a benign side effect, updating a
2626	macro that takes no argument produces `UPDATED([])', no longer
2627	`UPDATED()'.  Adjust the test.
2628
26292000-11-03  Akim Demaille  <akim@epita.fr>
2630
2631	* autoconf.m4: Instead of reactivating the macros before reading
2632	Autoconf's files, do it afterwards, so that Autoconf promotes the
2633	right use, but users still can use the old names.
2634	Of course this revealed numerous non updated uses of old macros in
2635	Autoconf's files.  Adjust them.
2636	But for the time being, keep `define' alive for Autoconf.
2637
26382000-11-03  Akim Demaille  <akim@epita.fr>
2639
2640	AC_REQUIRE and AC_DEFUN_ONCE don't work properly together. This
2641	caused strange messages about AC_ARG_PROGRAM.
2642	Reported by Jim Meyering.
2643
2644	* acgeneral.m4 (AC_DEFUN_ONCE): Fix the indirection to
2645	m4_defun_once.
2646	* m4sugar.m4 (m4_defun_once): Also define
2647	`m4_location(MACRO-NAME)'.  s/ac_warn/m4_warn/.
2648	Use `m4_defn' to read `m4_location'.
2649	* tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE): Two new tests.
2650
26512000-11-03  Akim Demaille  <akim@epita.fr>
2652
2653	Set up config.log earlier so that AC_MSG_ERROR and AC_MSG_WARN can
2654	be used early.
2655
2656	* acgeneral.m4 (_AC_INIT_DEFAULTS): Call `_AC_INIT_PREPARE_FDS'.
2657	(_AC_INIT_PREPARE): Don't.
2658	(_AC_INIT_PREPARE_ENVIRONMENT, _AC_INIT_PREPARE_FDS): Rename as...
2659	(_AC_INIT_DEFAULTS_ENVIRONMENT, _AC_INIT_DEFAULTS_FDS): these,
2660	since they are called from `_AC_INIT_DEFAULTS', not
2661	`_AC_INIT_PREPARE'.
2662	(_AC_INIT_DEFAULTS_FDS): Dump `$@' in config.log, not
2663	`$ac_configure_args' which is not computed yet.
2664
26652000-11-03  Akim Demaille  <akim@epita.fr>
2666
2667	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and
2668	`-'.
2669	Reported by Andreas Jaeger.
2670
26712000-11-03  Akim Demaille  <akim@epita.fr>
2672
2673	* m4sh.m4 (_AS_UNSET_PREPARE): New macro, eved from
2674	_AC_INIT_PREPARE_ENVIRONMENT, and fixed: set `FOO' before trying
2675	to unset it: `unset' exits 1 if the variable is not defined.
2676	(AS_UNSET): Require it.  Use `as_unset' not `ac_unset'.
2677	* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Use it.
2678
26792000-11-03  Akim Demaille  <akim@epita.fr>
2680
2681	* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
2682	(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
2683	Rename as...
2684	(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
2685	(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
2686	(m4_traceoff, m4_traceon): these.
2687	* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
2688	(syscmd, sysval, traceoff, traceon): Reactivate.
2689
26902000-11-03  Akim Demaille  <akim@epita.fr>
2691
2692	* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
2693	Use them.
2694	(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
2695	(substr, translit, m4_wrap): Rename as...
2696	(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
2697	(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
2698	Adjust all dependencies.
2699	* acgeneral.m4: Adjust.
2700	* tests/m4sugar.at: Adjust.
2701	* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
2702	Reestablish them.
2703
27042000-11-02  Akim Demaille  <akim@epita.fr>
2705
2706	The documentation is not clear about the obsoleteness of
2707	`acconfig.h', `config.h.top', and `config.h.bot'.
2708	Reported by Aharon Robbins.
2709
2710	* doc/autoconf.texi (Making configure Scripts)
2711	(Automatic Remaking, Defining Symbols, Distributing): Forget about
2712	these files.
2713	(acconfig.h): Reword.
2714	Display the old scheme presenting the dependencies between input
2715	and output files.
2716	(Changed File Names): Clarify.
2717
27182000-11-02  Akim Demaille  <akim@epita.fr>
2719
2720	* doc/autoconf.texi (Limitations of Usual Tools): Some about
2721	dirname.
2722
27232000-11-02  Pavel Roskin  <proski@gnu.org>
2724
2725	* ifnames.sh: Put the opening brace on the same line with
2726	patterns. Reported by Paul Martinolich.
2727	* tests/tools.at (AWK portability): Check ifnames.
2728	(ifnames): New test for ifnames.
2729	* THANKS: Updated.
2730
27312000-11-02  Pavel Roskin  <proski@gnu.org>
2732
2733	* m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
2734	because AT_TESTPATH looks like a macro.
2735	* tests/atconfig.in: Likewise.
2736
27372000-11-02  Akim Demaille  <akim@epita.fr>
2738
2739	* autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
2740	Catch the failures of the big pipe.
2741
27422000-11-02  Akim Demaille  <akim@epita.fr>
2743
2744	* tests/tools.at (Tracing M4 builtins): New test.
2745	* autoconf.sh (trace_format): Fix its computation.
2746
27472000-11-02  Akim Demaille  <akim@epita.fr>
2748
2749	* tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
2750	stdout and stderr fail, differences on the latter are probably
2751	more significant than on the former.
2752
27532000-11-02  Akim Demaille  <akim@epita.fr>
2754
2755	* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
2756	trace.m4.
2757
27582000-11-02  Akim Demaille  <akim@epita.fr>
2759
2760	* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
2761
27622000-11-02  Akim Demaille  <akim@epita.fr>
2763
2764	* m4sugar.m4 (popdef, pushdef): Rename as...
2765	(m4_popdef, m4_pushdef): these.
2766	Adjust dependencies.
2767	* acgeneral.m4: Adjust.
2768	* aclang.m4: Likewise.
2769	* autoconf.m4 (popdef, pushdef): Reactivate them.
2770
27712000-11-02  Akim Demaille  <akim@epita.fr>
2772
2773	* tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
2774	`-v' is passed.
2775
27762000-11-01  Pavel Roskin  <proski@gnu.org>
2777
2778	* autoconf.sh: Using trap-safe "exit".
2779	* autoreconf.sh: Likewise.
2780	* autoupdate.sh: Likewise.
2781	* tests/base.at: Use AS_EXIT instead of exit in configure.in.
2782	* tests/m4sh.at: Likewise.
2783	* tests/semantics.at: Likewise.
2784
27852000-11-01  Akim Demaille  <akim@epita.fr>
2786
2787	In M4sugar, move `define', `undefine', and `defn' into the `m4_'
2788	name space.
2789
2790	* m4sugar.m4 (m4_define, m4_defn, m4_undefine): New macros.
2791	(define, defn, undefine): Undefine.
2792	Adjust all uses.
2793	* m4sh.m4: Adjust.
2794	* autoconf.m4: Reenable these builtins.
2795	* m4sugar.m4 (m4_expansion_stack_dump): Use m4_copy.
2796
27972000-11-01  Akim Demaille  <akim@epita.fr>
2798
2799	GNU M4 1.4 improperly handle the traces of copies of builtins.
2800
2801	* autoconf.sh (task trace): When tracing `BUILTIN' also trace
2802	`m4_BUILTIN'.
2803
28042000-11-01  Akim Demaille  <akim@epita.fr>
2805
2806	Autoupdate should not depend upon foreign macros.
2807
2808	* autoupdate.sh (ac.m4): Use `_au_define', not `define'.
2809	(input.m4): Use `_au_BUILTIN' not `BUILTIN'.
2810
28112000-11-01  Akim Demaille  <akim@epita.fr>
2812
2813	* m4sugar.m4 (m4_fatal): Dump the expansion stack.
2814	* acgeneral.m4 (AC_FATAL): Use m4_fatal.
2815
28162000-11-01  Akim Demaille  <akim@epita.fr>
2817
2818	Move the `defun' handling into M4sugar.
2819
2820	* m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
2821	_m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
2822	m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
2823	m4_provide_ifelse): New macros.
2824	* acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
2825	_AC_DEFUN_EPI): Removed.
2826	(AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
2827	AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.
2828
28292000-11-01  Raja R Harinath  <harinath@cs.umn.edu>
2830
2831	* tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
2832	like in the rest of the tests.
2833
28342000-11-01  Pavel Roskin  <proski@gnu.org>
2835
2836	* autoconf.sh: Typo: s/m4__warnings/m4_warnings/.
2837
28382000-10-31  Pavel Roskin  <proski@gnu.org>
2839
2840	* autoupdate.sh: Check that $sed understands the meaning of "\b"
2841	instead of checking "--version".
2842
28432000-10-31  Akim Demaille  <akim@epita.fr>
2844
2845	Move the handling of classified warnings into M4sugar.
2846
2847	* m4sugar.m4 (m4_diagnose): Remove.
2848	(m4_warning): New.
2849	* acgeneral.m4 (AC_WARNING_IFELSE, _AC_WARNING_IFELSE)
2850	(_AC_WARNING_ERROR_IFELSE, __AC_WARNING_ERROR_IFELSE)
2851	(_AC_DIAGNOSE, AC_DIAGNOSE): Rename as...
2852	* m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2853	(_m4_warning_error_ifelse, __m4_warning_error_ifelse)
2854	(_m4_warn, m4_warn): these.
2855	* acgeneral.m4 (AC_DIAGNOSE): Wrapper around `m4_warn'.
2856	* autoconf.sh: Define `m4_warnings' instead of `_AC_WARNINGS'.
2857
28582000-10-30  Pavel Roskin  <proski@gnu.org>
2859
2860	* acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
2861	argument to AC_LINK_IFELSE.
2862
28632000-10-30  Pavel Roskin  <proski@gnu.org>
2864
2865	* m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
2866	* acgeneral.m4 (AC_MSG_ERROR): Don't use m4_default for the
2867	second argument - AS_EXIT takes care of it.
2868
28692000-10-30  Akim Demaille  <akim@epita.fr>
2870
2871	* m4sugar.m4: Formatting changes.
2872
28732000-10-30  Akim Demaille  <akim@epita.fr>
2874
2875	Move the handling of diversions into M4sugar.
2876
2877	* acgeneral.m4 (_AC_DIVERT, AC_DIVERT, AC_DIVERT_PUSH)
2878	(AC_DIVERT_POP): Move to...
2879	* m4sugar.m4 (_m4_divert, m4_divert, m4_divert_push)
2880	(m4_divert_pop): here.
2881	* acgeneral.m4: Adjust to use only the M4sugar macros.
2882	Nevertheless...
2883	(AC_DIVERT_PUSH, AC_DIVERT_POP): New wrappers around the M4sugar
2884	macros.
2885	(_AC_DIVERT(...)): Rename all the diversions names as...
2886	(_m4_divert(...)): these.
2887
28882000-10-30  Pavel Roskin  <proski@gnu.org>
2889
2890	* m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
2891	is set correctly within the exit trap.
2892	(AS_TMPDIR): Use it.
2893	* acgeneral.m4 (AC_MSG_ERROR): Likewise,
2894
28952000-10-29  Pavel Roskin  <proski@gnu.org>
2896
2897	* acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
2898	cache. From Jim Meyering.
2899	(AC_PATH_TOOL): Likewise.
2900
29012000-10-29  Pavel Roskin  <proski@gnu.org>
2902
2903	* tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
2904	is different from what we got. Don't preserve exit status other
2905	than 77.
2906
29072000-10-29  Pavel Roskin  <proski@gnu.org>
2908
2909	* autoconf.sh: When scanning for unexpanded macros match only
2910	words beginning with "A?_" and "m4_" or containing "_A?_".
2911	Strip the comments before the matching. Don't use character
2912	ranges.
2913
29142000-10-29  Pavel Roskin  <proski@gnu.org>
2915
2916	* acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
2917	accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.
2918
29192000-10-29  Jim Meyering  <meyering@lucent.com>
2920
2921	* acgeneral.m4 (AC_MSG_WARN): Now that this macro expands to
2922	two stmts, enclose them in `{' ... `}'.
2923
29242000-10-28  Pavel Roskin  <proski@gnu.org>
2925
2926	* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
2927	for unsupported languages.
2928
29292000-10-27  Pavel Roskin  <proski@gnu.org>
2930
2931	* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
2932	shell, not from the test program.
2933
29342000-10-27  Pavel Roskin  <proski@gnu.org>
2935
2936	* doc/autoconf.texi (Limitations of Builtins): Recommend using
2937	AC_MSG_ERROR instead of	exit.
2938	(Autoconf Language): Fix examples.
2939
29402000-10-27  Pavel Roskin  <proski@gnu.org>
2941
2942	* tests/suite.at: Move "-*- Autoconf -*-" to the second line.
2943
29442000-10-27  Akim Demaille  <akim@epita.fr>
2945
2946	Use AC_MSG_ERROR in the test suite, not just `exit'.
2947
2948	* tests/README: New file.
2949	* tests/semantics.at: Don't just `exit 1' or `exit 77' from
2950	configure.in: call AC_MSG_ERROR.
2951	* tests/base.m4: Likewise.
2952	* tests/m4sh.at: Likewise.
2953	* tests/semantics.at (AT_CHECK_PROGS_PREPARE): New macro, eved
2954	out of...
2955	(AC_CHECK_PROG & AC_PATH_PROG): here.
2956	Split into two individual tests...
2957	(AC_CHECK_PROG & AC_CHECK_PROGS, AC_PATH_PROG & AC_PATH_PROGS): these.
2958
29592000-10-27  Pavel Roskin  <proski@gnu.org>
2960
2961	* autoconf.sh: Recognize short options followed by arguments
2962	without separators.
2963	* autoheader.sh: Likewise.
2964	* autoreconf.sh: Likewise. Recognize abbreviations for
2965	"--autoconf-dir" and "--m4dir".
2966	* autoupdate.sh: Likewise. Recognize abbreviations for
2967	"--autoconf-dir".
2968
29692000-10-26  Pavel Roskin  <proski@gnu.org>
2970
2971	* autoconf.sh: Don't show obsolete options on "--help". Report
2972	obsolete options to stderr. Adjust list of options. Correct
2973	processing of options. Process options with values separated by
2974	"=" first, so that abbreviations work. Don't accept "=" with
2975	short options.
2976	* autoheader.sh: Likewise.
2977	* autoreconf.sh: Likewise.
2978	* autoupdate.sh: Likewise.
2979	* ifnames.sh: There is no "--verbose" option.
2980	* doc/autoconf.texi: Option "-A" requires an argument.
2981	(autoreconf Invocation): Document "--install", "--symlink",
2982	"--m4dir" and the options passed to Automake.
2983
29842000-10-26  Akim Demaille  <akim@epita.fr>
2985
2986	* shell.m4: Rename as...
2987	* m4sh.m4: this.
2988	* tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
2989	* tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
2990	* tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
2991	* tests/semantics.at, tests/base.at, tests/suite.at: these.
2992	* tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
2993	* tests/tools.at, tests/update.at, tests/syntax.at: these.
2994	* tests/mktests.sh: Adjust the output file names.
2995
29962000-10-25  Pavel Roskin  <proski@gnu.org>
2997
2998	* autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
2999	hangs with non-GNU versions of sed.
3000
30012000-10-25  Akim Demaille  <akim@epita.fr>
3002
3003	Move the Autoconf independent shell macros into the file
3004	`shell.m4' and the name space `AS_*'.
3005
3006	* acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
3007	(AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
3008	* shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
3009	(AS_DIRNAME): here, a new file.
3010	Adjust all dependencies.
3011
3012	* tests/base.m4 (m4_wrap): Eve out into...
3013	* tests/shell.m4: here, new file.
3014	* tests/base.m4 (AC_SHELL_MKDIR_P)
3015	(AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
3016	* tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
3017	here, new file.
3018	Adjust the test suite.
3019
30202000-10-25  Akim Demaille  <akim@epita.fr>
3021
3022	* acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
3023	(AC_SHELL_DIRNAME_EXPR, AC_SHELL_DIRNAME_SED): these new macros.
3024	* tests/base.m4 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): New
3025	test.
3026
30272000-10-25  Pavel Roskin  <proski@gnu.org>
3028
3029	* tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
3030	(AC_STATE_SAVE): ... this.  Save the list of all files
3031	in the current directory.
3032	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Compare lists of
3033	files created by AC_ENV_SAVE. Remove state* before and after
3034	the test.
3035
30362000-10-25  Pavel Roskin  <proski@gnu.org>
3037
3038	* Makefile.am: Add acversion.m4.in to EXTRA_DIST.
3039
30402000-10-25  Akim Demaille  <akim@epita.fr>
3041
3042	* acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
3043	twice the output for it was not using `-n' and used `p'.  Remove
3044	the latter.
3045
30462000-10-25  Akim Demaille  <akim@epita.fr>
3047
3048	* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
3049	the host in config.log.
3050
30512000-10-24  Pavel Roskin  <proski@gnu.org>
3052
3053	* tests/mktests.sh: Set locale to C to make sure that syntax.m4
3054	and update.m4 are locale-independent.
3055
30562000-10-24  Pavel Roskin  <proski@gnu.org>
3057
3058	* acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
3059	commands.
3060
30612000-10-24  Akim Demaille  <akim@epita.fr>
3062
3063	* acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
3064	(AC_FILE_DEPENDENCY_TRACE): this.
3065
30662000-10-24  Lars J. Aas  <larsa@sim.no>
3067
3068	* m4sugar.m4: (m4_tolower, m4_toupper): New macros.
3069	* acgeneral.m4 (AC_PREFIX_PROGRAM): Use m4_toupper().
3070	* aclang.m4 (AC_F77_FUNC): Use m4_toupper()/m4_tolower().
3071
30722000-10-24  Pavel Roskin  <proski@gnu.org>
3073
3074	* m4sugar.m4 (m4_quote): Comment change.
3075
30762000-10-24  Akim Demaille  <akim@epita.fr>
3077
3078	Start avoiding dependence upon character ranges.
3079
3080	* acgeneral.m4 (_AC_INIT_DEFAULTS): Introduce `ac_cr_AZ',
3081	`ac_cr_az', `ac_cr_09', `ac_cr_alnum' and `ac_hostname'.
3082	Spread their use.
3083
30842000-10-24  Akim Demaille  <akim@epita.fr>
3085
3086	* acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
3087	(_AC_INIT_PREPARE): Trap after having created config.log.
3088	Also trap on 0.
3089	When trapped, report why in config.log.
3090	(AC_MSG_WARN, AC_MSG_ERROR): Also output the message in
3091	config.log.
3092
30932000-10-24  Akim Demaille  <akim@epita.fr>
3094
3095	* acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
3096	(AC_SHELL_DIRNAME): this.
3097	s/X$1/X[]$1/ so that when $1 is a macro, it's given a chance to be
3098	expanded.
3099	(AC_PREFIX_PROGRAM): Use AC_SHELL_DIRNAME.
3100	Quote properly.
3101
31022000-10-24  Akim Demaille  <akim@epita.fr>
3103
3104	* tests/tools.m4 (Syntax of the scripts): Specify the path to the
3105	tested program, some shells don't honor the PATH with `sh PROG'.
3106
31072000-10-23  Akim Demaille  <akim@epita.fr>
3108
3109	Since GNU M4 now comes with its libm4 (binary), to avoid
3110	ambiguities let's rename `libm4' (M4 code) as `m4sugar':
3111
3112		Readability And Greater Understanding Stands 4 M4sugar
3113
3114	name coined by Lars J. Aas.
3115
3116	* libm4.m4: Rename as...
3117	* m4sugar.m4: this.
3118	All dependencies adjusted.
3119
31202000-10-23  Akim Demaille  <akim@epita.fr>
3121
3122	* tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
3123	`AC_PREREQ'.
3124	* tests/tools.m4: Globally, don't use `../' to invoke the tested
3125	tools, since the PATH is properly set, and in most cases it
3126	obfuscates the test code.
3127	(autoupdating AC_PREREQ): New tests.
3128
31292000-10-23  Akim Demaille  <akim@epita.fr>
3130
3131	In order to check that all the CPP symbols which are AC_DEFINE'd
3132	are properly templated, autoheader traces
3133	AC_DEFINE/AC_DEFINE_UNQUOTED.  Only literals can be traced, and
3134	actually tracing non literals produces invalid autoheader input.
3135	Hence, provide a means to trace calls to
3136	AC_DEFINE/AC_DEFINE_UNQUOTED with literals.
3137
3138	* acgeneral.m4 (AC_DEFINE_TRACE, AC_DEFINE_TRACE_LITERAL): New
3139	macros.
3140	(AC_DEFINE, AC_DEFINE_UNQUOTED): Use AC_DEFINE_TRACE.
3141	* autoheader.sh: Trace AC_DEFINE_TRACE_LITERAL, not
3142	AC_DEFINE/AC_DEFINE_UNQUOTED.
3143
31442000-10-23  Akim Demaille  <akim@epita.fr>
3145
3146	Let autoupdate change AC_PREREQ to require the current version of
3147	Autoconf.
3148
3149	* acgeneral.m4 (_AC_VERSION_UNLETTER, _AC_VERSION_COMPARE): Move
3150	to...
3151	* libm4.m4 (m4_version_unletter, m4_version_compare): here.
3152	Adjust dependencies.
3153	* acgeneral.m4 (AU::AC_PREREQ): New macro.
3154	* autoupdate.sh: Fail when `m4 input.m4' fails.
3155
31562000-10-21  Pavel Roskin  <proski@gnu.org>
3157
3158	* acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
3159	(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
3160	(AC_FUNC_SELECT_ARGTYPES): Likewise.
3161	(AC_FUNC_UTIME_NULL): Likewise.
3162	* acgeneral.m4 (_AC_COMPUTE_INT): Likewise.
3163	* aclang.m4 (_AC_F77_NAME_MANGLING): Likewise.
3164	* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
3165
31662000-10-20  Pavel Roskin  <proski@gnu.org>
3167
3168	* tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
3169	and "src2" at the end of the test.
3170
31712000-10-19  Pavel Roskin  <proski@gnu.org>
3172
3173	* NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
3174	* doc/autoconf.texi (Compilers and Preprocessors): Likewise.
3175	* acgeneral.m4 (AC_TRY_CPP): Comment changes.
3176
31772000-10-19  Pavel Roskin  <proski@gnu.org>
3178
3179	* doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.
3180
31812000-10-18  Pavel Roskin  <proski@gnu.org>
3182
3183	* mdate-sh: Removed, its copy remains in the doc/ directory.
3184
31852000-10-18  Akim Demaille  <akim@epita.fr>
3186
3187	* acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.
3188
31892000-10-18  Morten Eriksen  <mortene@sim.no>
3190
3191	* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
3192	instead of reinventing the wheel. This also takes care of a bug
3193	where the "-g" option was accepted if the compiler silently exits
3194	with status unequal to 0.
3195	(_AC_PROG_CXX_G): Likewise.
3196	(AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
3197	$ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
3198	front of _AC_PROG_CC_G.
3199	(AC_PROG_CXX, AC_PROG_F77): Likewise.
3200
32012000-10-18  Akim Demaille  <akim@epita.fr>
3202
3203	* tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
3204	enough.
3205	Use grep to check the presence of a string in a stream.
3206	* m4/atconfig.m4: Quote.
3207
32082000-10-18  Akim Demaille  <akim@epita.fr>
3209
3210	* acgeneral.m4 (_AC_SHELL_DIRNAME): Quote the `sed' fall back.
3211
32122000-10-18  Akim Demaille  <akim@epita.fr>
3213
3214	* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
3215	fall back to `cp'.
3216
32172000-10-17  Morten Eriksen  <mortene@sim.no>
3218
3219	* acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
3220	value of the VARIABLE argument when looking for executables, we
3221	need to set it to the correct value from AC_CHECK_TOOL when not
3222	just passing on the incoming VARIABLE directly.
3223	(AC_CHECK_TOOLS, AC_PATH_TOOL): Likewise.
3224
32252000-10-17  Assar Westerlund  <assar@sics.se>
3226
3227	* acgeneral.m4 (_AC_INIT_PREPARE): Move the
3228	_AC_INIT_PREPARE_ENVIRONMENT invocation to...
3229	(_AC_INIT_DEFAULTS): here,  so that we keep the same known
3230	environment for more of the script.
3231
32322000-10-17  Akim Demaille  <akim@epita.fr>
3233
3234	* doc/autoconf.texi (The GNU build system): Sketch of new a
3235	chapter.
3236
32372000-10-17  Akim Demaille  <akim@epita.fr>
3238
3239	Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
3240	myself (`Fix autoupdate...') was not applied.
3241
3242	* tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
3243	AC_LINK_IFELSE.
3244
32452000-10-17  Akim Demaille  <akim@epita.fr>
3246
3247	* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
3248	(AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Fix
3249	the quotation.
3250	(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Check with the
3251	$ac_tool_prefix iff it is not empty.
3252
32532000-10-17  Akim Demaille  <akim@epita.fr>
3254
3255	* doc/autoconf.texi (Particular Programs): Some notes on the
3256	portability of Flex.
3257
32582000-10-17  Akim Demaille  <akim@epita.fr>
3259
3260	* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3261	(_AC_RUN_IFELSE): Before compiling, remove the files expected to
3262	be produced.
3263	(_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
3264	so don't remove them.
3265
32662000-10-17  Akim Demaille  <akim@epita.fr>
3267
3268	* acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
3269	(_AC_REQUIRE): Use AC_FATAL.
3270
32712000-10-17  Akim Demaille  <akim@epita.fr>
3272
3273	Give a means to report where the macros have been defined in error
3274	messages.
3275
3276	* libm4.m4 (m4_location): New macro.
3277	(m4_errprint): Rename as...
3278	(m4_diagnose): this.  Use m4_location.
3279	Adjust dependencies.
3280	(m4_errprint): New macro, similar to `errprint' but for an
3281	additional trailing `\n'.
3282	* acgeneral.m4 (AC_DEFUN, AC_DEFUN_ONCE): Define `m4_location($1)'
3283	to the current location (i.e., that of the definition of $1).
3284	(_AC_DEFUN_PRO, _AC_REQUIRE): Also push the location of the
3285	current macro in the stack.
3286	(_AC_EXPANSION_STACK_DUMP): Adjust.
3287
32882000-10-17  Akim Demaille  <akim@epita.fr>
3289
3290	Fix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
3291	it includes another AU defined macro.
3292
3293	* autoupdate.sh (input.m4:_au_defun): New macro.
3294	(au.m4): Use it instead of inlining _au_enable/_au_disable
3295	invocations in the definition of all these macros.
3296	(input.m4:__au_enable, input.m4:__au_disable): New macros.
3297	(input.m4:_au_enable, input.m4:_au_disable): Use them.
3298	* tests/mktests.sh (update_exclude_list): Add `AC_OUTPUT'.
3299	Running it twice in a configure.in is not valid.
3300	Add `AC_LINK_FILES' since it requires arguments.
3301	* tests/tools.m4 (autoupdating AC_LINK_FILES): New test.
3302
33032000-10-17  Raja R Harinath  <harinath@cs.umn.edu>
3304
3305	* Makefile.am (MAINTAINERCLEANFILES): Add acversion.m4.
3306	(INSTALL.txt): Put into $(srcdir).
3307	(acversion.m4): Build here ...
3308	* configure.in (AC_OUTPUT): Not here.
3309
3310	* tests/Makefile.am (MACRO_FILES): Don't use $(top_srcdir).
3311	(syntax.m4): Create in $(srcdir).
3312	(update.m4): Likewise.
3313	* tests/atspecific.m4 (AT_CHECK_UPDATE): Look for autoconf
3314	macros in the top source directory.
3315
33162000-10-16  Akim Demaille  <akim@epita.fr>
3317
3318	* aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
3319	(_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
3320	Adjust dependencies.
3321	(ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.
3322
33232000-10-16  Akim Demaille  <akim@epita.fr>
3324
3325	* acgeneral.m4: Adjust copyright notice.
3326	* acspecific.m4: Likewise.
3327	* acoldnames.m4: Likewise.
3328	* acversion.m4.in: Likewise.
3329	* autoconf.sh: Likewise.
3330	* autoheader.sh: Likewise.
3331	* autoreconf.sh: Likewise.
3332	* autoscan.pl: Likewise.
3333	* autoupdate.sh: Likewise.
3334	* ifnames.sh: Likewise.
3335
33362000-10-16  Pavel Roskin  <proski@gnu.org>
3337
3338	* tests/aclocal.m4: Don't consider variables @, '*', '?' and
3339	'#' in the output of `set' - they are modified by zsh.
3340
33412000-10-14  Pavel Roskin  <proski@gnu.org>
3342
3343	* m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing".
3344	* configure.in: Don't add $SHELL to the path of help2man -
3345	it is already added by AM_MISSING_PROG.
3346
33472000-10-13  Akim Demaille  <akim@epita.fr>
3348
3349	* tests/mktests.sh: If ever it fails, touch the output files
3350	``a` la missing''.
3351
33522000-10-13  Akim Demaille  <akim@epita.fr>
3353
3354	* acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
3355	consulting a variable...
3356
33572000-10-13  Akim Demaille  <akim@epita.fr>
3358
3359	* acgeneral.m4: Typos in comments spotted by Pavel.
3360
33612000-10-12  Pavel Roskin  <proski@gnu.org>
3362
3363	* acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
3364	Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
3365	libfl regardless of the $LEX value.
3366
33672000-10-12  Morten Eriksen  <mortene@sim.no>
3368
3369	* acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.
3370
33712000-10-12  Akim Demaille  <akim@epita.fr>
3372
3373	* tests/mktests.sh: Backslash the quote in the heredocs to help
3374	syntax highlighting tools.
3375	* tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
3376	title.
3377
33782000-10-12  Akim Demaille  <akim@epita.fr>
3379
3380	* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
3381	of backquotes, instead of a `syntax' warning.
3382
33832000-10-12  Akim Demaille  <akim@epita.fr>
3384
3385	* acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
3386	(AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.
3387
33882000-10-12  Akim Demaille  <akim@epita.fr>
3389
3390	* tests/mktests.sh: Remove tmp files.
3391
33922000-10-12  Akim Demaille  <akim@epita.fr>
3393
3394	Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
3395	AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
3396
3397	* acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
3398	AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
3399	requires _AC_EXEEXT.
3400	Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
3401	* aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
3402	AC_COMPILE_IFELSE.
3403	(_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
3404	AC_LINK_IFELSE.
3405
34062000-10-12  Akim Demaille  <akim@epita.fr>
3407
3408	Diagnose AC_REQUIRE circular dependencies.
3409
3410	* acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
3411	macro expansions, _AC_EXPANSION_STACK.
3412	Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
3413	expanded.
3414	(_AC_REQUIRE): Diagnose required macros which are already being
3415	expanded.
3416	Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
3417	(_AC_EXPANSION_STACK_DUMP): New macro.
3418
34192000-10-12  Akim Demaille  <akim@epita.fr>
3420
3421	* libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
3422	macros.
3423
34242000-10-11  Pavel Roskin  <proski@gnu.org>
3425
3426	* tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
3427	if diffs have succeeded.
3428
34292000-10-11  Akim Demaille  <akim@epita.fr>
3430
3431	* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3432	(_AC_RUN_IFELSE): New macros which are the former
3433	AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
3434	(AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.
3435
34362000-10-11  Morten Eriksen  <mortene@sim.no>
3437
3438	* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
3439	* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
3440	* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
3441	$objext were used instead of $ac_objext.
3442
34432000-10-05  Akim Demaille  <akim@epita.fr>
3444
3445	Check that updated scripts are valid scripts.
3446
3447	* tests/mktests.sh: Generate `syntax.m4' directly.
3448	* tests/macros.m4: Remove.
3449	Adjust dependencies.
3450	* tests/mktests.sh: Generate `update.m4' too.
3451	* tests/update.m4: New generated file.
3452	Adjust dependencies.
3453	* tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.
3454
34552000-10-05  Akim Demaille  <akim@epita.fr>
3456
3457	* tests/mktests.sh: New file, which replaces the code inlined in
3458	Makefile.am.
3459	* src/Makefile.am (macros.m4): Use `mktests.sh'.
3460	* tests/suite.m4: Reorder from low level to high level.
3461
34622000-10-02  Akim Demaille  <akim@epita.fr>
3463
3464	* aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
3465	(_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
3466	(AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
3467	AC_LANG_ABBREV.
3468	(_AC_PROG_PREPROC_WORKS): Adjust.
3469	* acgeneral.m4 (_AC_TRY_CPP): Likewise.
3470
34712000-10-02  Pavel Roskin  <proski@gnu.org>
3472
3473	* acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
3474	(AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
3475	would place it into configure.in but it's not allowed
3476	outside AC_DEFUN.
3477
34782000-10-02  Pavel Roskin  <proski@gnu.org>
3479
3480	* tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
3481	go to macros.m4 for testing.
3482
34832000-09-28  Pavel Roskin  <proski@gnu.org>
3484
3485	* acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
3486	assignments changing $?.
3487
34882000-09-28  Pavel Roskin  <proski@gnu.org>
3489
3490	* acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
3491	(_AC_OUTPUT_HEADERS): Exit if the header template is missing.
3492
34932000-09-28  Pavel Roskin  <proski@gnu.org>
3494
3495	* acfunctions.m4: Formatting fixes.
3496	* acgeneral.m4: Likewise.
3497	* aclang.m4: Likewise.
3498	* acspecific.m4: Likewise.
3499	* libm4.m4: Likewise.
3500
35012000-09-27  Pavel Roskin  <proski@gnu.org>
3502
3503	* acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
3504	in $PATH.
3505	* acspecific.m4 (AC_PROG_INSTALL): Likewise.
3506
35072000-09-27  Pavel Roskin  <proski@gnu.org>
3508
3509	* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
3510	ACTION-IF-TRUE is not given.
3511	(AH_CHECK_LIB): related comment changes.
3512
35132000-09-27  Pavel Roskin  <proski@gnu.org>
3514
3515	* aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
3516	resulted in invalid shell code.
3517
35182000-09-27  Lars J. Aas  <larsa@sim.no>
3519
3520	* autoconf.sh: Report full macro name for missing macros.
3521
35222000-09-27  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3523
3524	* autoheader.sh: Fix trap (EXIT) status.
3525	* autoreconf.sh: Likewise.
3526	* autoupdate.sh: Likewise.
3527	* autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
3528	awk commands to ensure exit state is in a defined state.
3529
35302000-09-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3531
3532	* tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
3533
35342000-09-25  Pavel Roskin  <proski@gnu.org>
3535
3536	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
3537	_AC_INIT_PREPARE_ENVIRONMENT to make the shell running
3538	config.status sane and POSIX-compatible.
3539
35402000-09-25  Pavel Roskin  <proski@gnu.org>
3541
3542	* autoheader.sh: Don't check status of variable assignments -
3543	it's undefined in ash 0.2.
3544	* autoreconf.sh: Likewise.
3545	* autoupdate.sh: Likewise.
3546	* autoconf.sh: Likewise. Also eliminated command substitution
3547	inside variable expansion - ash 0.2 coredumps on it.
3548
35492000-09-21  Pavel Roskin  <proski@gnu.org>
3550
3551	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
3552	autoconf and autoheader. Expected warnings disabled by "-W none"
3553	Preceding comment removed as no longer relevant.
3554	* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
3555	stderr from autoconf.
3556	(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
3557	(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
3558	* tests/tools.m4 (autoheader): Check that autoheader prints
3559	a warning for missing templates. Check stderr from autoconf.
3560	* tests/torture.m4 (config.status under extreme conditions):
3561	Check stderr from autoconf and autoheader.
3562	(command line interface): Check stderr from autoconf.
3563
35642000-09-21  Pavel Roskin  <proski@gnu.org>
3565
3566	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
3567	config.status - file arguments are optional.
3568
35692000-09-21  Pavel Roskin  <proski@gnu.org>
3570
3571	* acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
3572	exits if any input file is missing.
3573	* tests/semantics.m4 (missing templates): Test it.
3574
35752000-09-21  Pavel Roskin  <proski@gnu.org>
3576
3577	* acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
3578	assignment - it's undefined in ash 0.2.
3579
35802000-09-21  Akim Demaille  <akim@epita.fr>
3581
3582	* src/atgeneral.m4 (AC_CHECK): Display stderr including when the
3583	test failed because of stdout.
3584
35852000-09-21  Akim Demaille  <akim@epita.fr>
3586
3587	* tests/atgeneral.m4: Formatting changes.
3588	(AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
3589	variables instead of `'/`1'.
3590	`at_check_stds' replaces `at_no_redirs'.
3591	Rename `Snippet 3' as `Snippet 4'.
3592	Introduce `Snippet 3' for variable initializations.
3593	Adjust the dependencies.
3594	(AT_CHECK): Don't show diff's result unless verbose.
3595
35962000-09-20  Pavel Roskin  <proski@gnu.org>
3597
3598	* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
3599	from testing because they require an argument.
3600	* tests/atspecific.m4: Make sure that configure doesn't write
3601	anything to stderr.
3602
36032000-09-20  Pavel Roskin  <proski@gnu.org>
3604
3605	* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
3606	variable wasn't always set inside AC_CACHE_CHECK.
3607	(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
3608	From Nicolas Joly.
3609
36102000-09-20  Pavel Roskin  <proski@gnu.org>
3611
3612	* libm4.m4 (m4_ifvanl): Don't output a newline for empty
3613	arguments.
3614
36152000-09-19  Akim Demaille  <akim@epita.fr>
3616
3617	* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
3618	(AT_CHECK_MACRO): this.  All dependencies adjusted.
3619
36202000-09-19  Akim Demaille  <akim@epita.fr>
3621
3622	* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
3623	AC_FUNC_STRTOD.
3624	From Bernard Dautrevaux.
3625
36262000-09-19  Pavel Roskin  <proski@gnu.org>
3627
3628	* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
3629
36302000-09-19  Pavel Roskin  <proski@gnu.org>
3631
3632	* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
3633	simplification.
3634
36352000-09-19  Akim Demaille  <akim@epita.fr>
3636
3637	* autoconf.sh (optarg): More robust expr invocation.
3638	* autoreconf.sh: Likewise.
3639	* autoupdate.sh: Likewise.
3640	* autoheader.sh: Likewise.
3641	Reported by Bernard Dautrevaux.
3642
36432000-09-19  Pavel Roskin  <proski@gnu.org>
3644
3645	* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
3646	would replace an old macro call with the new macro body instead of
3647	the new macro call.
3648	* tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.
3649
36502000-09-19  Pavel Roskin  <proski@gnu.org>
3651
3652	* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
3653	(AT_TEST_MACRO): Use it.
3654	* tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
3655	without warnings): New tests.
3656
36572000-09-18  Ruediger Kuhlmann  <autoconf-list@ruediger-kuhlmann.de>
3658
3659	* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
3660	as well.
3661	(_AC_INIT_HELP): Likewise.
3662	(NEWS): Note checking for configure.gnu.
3663	* doc/autoconf.texi: Document checking for configure.gnu when
3664	recursing subdirectories.
3665
36662000-09-18  Jim Meyering  <meyering@lucent.com>
3667
3668	* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
3669	of LIBS.  Otherwise, everyone ends up linking with -lelf for some
3670	configurations.
3671	Reported by Mike Stone.
3672
36732000-09-14  Pavel Roskin  <proski@gnu.org>
3674
3675	* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
3676	and eliminate ac_tmp_cpp.
3677	(AC_PROG_CXXCPP): Use double quotes in the for loop and
3678	eliminate ac_tmp_cxxcpp.
3679
36802000-09-14  Pavel Roskin  <proski@gnu.org>
3681
3682	* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
3683	from the output - it is only printed by Visual C that gives
3684	correct exit status.
3685	* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
3686	by the same reason.
3687
36882000-09-12  Pavel Roskin  <proski@gnu.org>
3689
3690	* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
3691	it's useless here. Rename to ...
3692	(_AC_PROG_PREPROC_WORKS): ... this.
3693
36942000-09-12  Ruediger Kuhlmann  <autoconf-list@ruediger-kuhlmann.de>
3695
3696	* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
3697
36982000-09-12  Akim Demaille  <akim@epita.fr>
3699
3700	The test suite fails on some hosts because for instance
3701	  AC_INIT
3702	  AC_CHECK_FUNC(exit)
3703	will not look for a compiler, it will just use `cc'.
3704	Macros that need a compiler should require one.
3705
3706	* acgeneral.m4 (_AC_REQUIRE): New macro, which is actually the
3707	previous version of AC_REQUIRE plus the possibility to distinguish
3708	the name of the symbol being AC_PROVIDE'd, and the text to expand.
3709	(AC_REQUIRE): Reimplement in terms of _AC_REQUIRE.
3710	* aclang.m4 (AC_LANG_COMPILER, AC_LANG_COMPILER_REQUIRE)
3711	(AC_LANG_COMPILER(C), AC_LANG_COMPILER(C++))
3712	(AC_LANG_COMPILER(Fortran 77)):
3713	New macros.
3714	* acgeneral.m4 (AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE):
3715	Require a compiler.
3716	(AC_TRY_RUN): Formatting changes.
3717	* acfunctions.m4 (AC_FUNC_SETPGRP): Quote properly.  The previous
3718	changes revealed the weaknesses of this macro.
3719
37202000-09-12  Pavel Roskin  <proski@gnu.org>
3721
3722	* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
3723	and checks whether it produces errors or warnings. Don't put grep
3724	output into a variable, use another grep instead.
3725	(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
3726	if the case of an error.
3727	* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
3728	define AC_LANG_ABBREV to the short language name.
3729	(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
3730	preprocessor can be used to check for existence of headers.
3731	Most code taken from ...
3732	(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
3733	"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
3734	it's a macro for C only.
3735	(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
3736
37372000-09-12  Akim Demaille  <akim@epita.fr>
3738
3739	* autoupdate.sh (sed): Look for GNU sed.
3740	(usage): Ask for GNU sed.
3741
37422000-09-12  Pavel Roskin  <proski@gnu.org>
3743
3744	* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
3745	changequote.
3746
37472000-09-12  Ruediger Kuhlmann  <autoconf-list@ruediger-kuhlmann.de>
3748
3749	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WIDTH): Add trailing
3750	semicolon to final fi.
3751
37522000-09-11  Pavel Roskin  <proski@gnu.org>
3753
3754	* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
3755	(__AC_WARNING_ERROR_IFELSE): New macros for checking whether
3756	warnings should be considered errors.
3757	(_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.
3758
37592000-09-11  Pavel Roskin  <proski@gnu.org>
3760
3761	* autoconf.sh: Properly report names of unexpanded macros that
3762	begin with an underscore.
3763
37642000-09-11  Pavel Roskin  <proski@gnu.org>
3765
3766	* doc/autoconf.texi (Preset Output Variables): Correctly specify
3767	what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
3768	Extended description of LDFLAGS and LIBS.
3769	(Compilers and Preprocessors, C Compiler Characteristics):
3770	Recommend Automake as the source of ansi2knr.
3771	(Autoconf Language, Quotation and Nested Macros): English fixes.
3772	(Quotation and Nested Macros): Unclear example replaced with
3773	an explanation of when m4 expands quotes. Added explanation why
3774	unquoted calls are dangerous.
3775
37762000-09-08  Pavel Roskin  <proski@gnu.org>
3777
3778	* doc/autoconf.texi: Always use one space before the opening
3779	parenthesis in @defmac.
3780
37812000-09-06  Morten Eriksen  <mortene@sim.no>
3782
3783	* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
3784	which uses $ac_objext hence depends upon _AC_OBJEXT.
3785	* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
3786	_AC_OBJEXT before _AC_EXEEXT since the latter needs $ac_objext.
3787
37882000-09-06  Bernard Dautrevaux  <dautrevaux@objectlive.com>
3789
3790	* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
3791	creates both an unsuffixed file and suffixed ones.
3792
37932000-09-06  Peter Eisentraut  <peter_e@gmx.net>
3794
3795	* autoconf.texi: English and typo fixes.
3796
37972000-09-05  Pavel Roskin  <proski@gnu.org>
3798
3799	* autoconf.sh: Consider undefined macros as errors.
3800	* tests/base.m4 (unexpanded macros): Expect error, not warning.
3801
38022000-09-05  Dave Love  <fx@gnu.org>
3803
3804	* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
3805	that we can get some standard output.
3806
38072000-09-04  Peter Eisentraut  <peter_e@gmx.net>
3808
3809	* autoscan.pl: Repair broken Getopt::Long use.
3810
38112000-09-04  Akim Demaille  <akim@epita.fr>
3812
3813	* configure.in: Bump version to 2.49b.
3814	* Makefile.am (bin_SCRIPTS): Depend upon configure.in.
3815
38162000-08-11  Akim Demaille  <akim@epita.fr>
3817
3818	Version 2.49a.
3819
38202000-08-11  Akim Demaille  <akim@epita.fr>
3821
3822	* aclang.m4 (AC_NO_EXECUTABLES): New macro.
3823
38242000-08-11  Akim Demaille  <akim@epita.fr>
3825
3826	* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
3827
38282000-08-11  Akim Demaille  <akim@epita.fr>
3829
3830	* configure.in: Bump version to 2.49a.
3831
38322000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3833
3834	* autoconf.sh: Change `exit N' to `(exit N); exit' to provide
3835	the correct exit status when an exit trap is taken.
3836
38372000-08-11  Akim Demaille  <akim@epita.fr>
3838
3839	* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
3840	AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
3841	their AU_ALIAS definition: Automake 1.4 does not quote the name of
3842	these macros, hence when Autoconf reads Automake's definition the
3843	name is expanded with unpredictable results.
3844
38452000-08-09  Akim Demaille  <akim@epita.fr>
3846
3847	* autoreconf.sh (Installing Autoconf extensions files): Remove.
3848
38492000-08-09  Akim Demaille  <akim@epita.fr>
3850
3851	* autoconf.sh (finalize.awk): Don't leave spaces before the user
3852	function calls.
3853	Reported by John David Anglin.
3854	* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
3855	section.
3856	* tests/tools.m4 (AWK portability): New test.
3857
38582000-08-08  Pavel Roskin  <proski@gnu.org>
3859
3860	* Makefile.am: Substitute @bindir@ in shell scripts, needed by
3861	autoheader.
3862
38632000-08-07  Akim Demaille  <akim@epita.fr>
3864
3865	* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
3866	${foo} into $foo.
3867	* aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
3868	comments into the header comment.
3869	* acgeneral.m4 (AC_TRY_CPP): Likewise.
3870
38712000-08-07  Akim Demaille  <akim@epita.fr>
3872
3873	* tests/tools.m4 (undefined macros): New test.
3874
38752000-08-07  Akim Demaille  <akim@epita.fr>
3876
3877	* autoconf.sh (finalize.awk): New subtool, eved from the previous
3878	literal AWK program that performed the `oline' and quadrigraphs
3879	substitution.
3880	Fix its `oline' computation which was dead wrong when there are
3881	empty lines (i.e., always).
3882	Enhance it in order to look for and report unexpanded macro.
3883	Don't let it pretend there are bugs in Autoconf (c:, the test
3884	suite makes this scenario pretty unlikely as opposed to an actual
3885	user bug.
3886	Catch `m4_' too.
3887	Remove the shell snippet which used to do this.
3888
38892000-08-07  Akim Demaille  <akim@epita.fr>
3890
3891	* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
3892	Roskin.
3893	(AC_MSG_ERROR): Use it.
3894
38952000-08-04  Ruediger Kuhlmann  <uck4@rz.uni-karlsruhe.de>
3896
3897	* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
3898	* doc/autoconf.texi (Limitations of Usual Tools): Typos.
3899
39002000-08-04  Akim Demaille  <akim@epita.fr>
3901
3902	Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
3903	operator when \(\) is used, and matches a string longer than 120
3904	characters.
3905	Reported by Geoff Keating.
3906
3907	* doc/autoconf.texi (Limitations of Usual Tools): Some words about
3908	this.
3909	* acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
3910	fails.
3911	From Paul Eggert.
3912
39132000-08-04  Akim Demaille  <akim@epita.fr>
3914
3915	* acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
3916	Don't create the source file if none is given, and in this case,
3917	don't remove it either.
3918
39192000-08-04  Akim Demaille  <akim@epita.fr>
3920
3921	* libm4.m4 (m4_ifvanl): New macro.
3922	* acgeneral.m4: Use it.
3923
39242000-08-02  Akim Demaille  <akim@epita.fr>
3925
3926	Release Automake from being a substitute to Autoconf.
3927
3928	* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
3929	_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
3930	AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
3931	fileutils.
3932
39332000-08-02  Akim Demaille  <akim@epita.fr>
3934
3935	* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
3936	inverted the results.  Fix that.
3937
39382000-08-02  Akim Demaille  <akim@epita.fr>
3939
3940	* doc/autoconf.texi (Special Shell Variables): More emphasis on
3941	the dangers of character ranges.
3942	From Paul Eggert.
3943
39442000-08-01  Akim Demaille  <akim@epita.fr>
3945
3946	* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
3947	`IFS=,; echo ,' will give a comma.  Take this into account.
3948
39492000-08-01  Akim Demaille  <akim@epita.fr>
3950
3951	* aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
3952
39532000-08-01  Akim Demaille  <akim@epita.fr>
3954
3955	AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
3956	AC_CANONICAL_* revamping.
3957	Reported by Peter Eisentraut.
3958	In fact, let's just use the precious variables handling.
3959
3960	* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
3961	(_AC_ARG_VAR_PRECIOUS): New macro, eved from...
3962	(AC_ARG_VAR): this macro.  Adjust.
3963	(_AC_INIT_PREPARE): `build_alias', `host_alias', and
3964	`target_alias' are precious.
3965	* doc/autoconf.texi: Adjust.
3966
39672000-08-01  Akim Demaille  <akim@epita.fr>
3968
3969	* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
3970	LC_COLLATE and LC_NUMERIC.
3971	* autoconf.m4: Don't rely on character ranges with tr.
3972	* doc/autoconf.texi (Special Shell Variables): Adjust.
3973
39742000-08-01  Akim Demaille  <akim@epita.fr>
3975
3976	* acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
3977	AM_FUNC_STRTOD): New macros, from Automake.
3978	* acfunctions: Adjust.
3979
39802000-08-01  Akim Demaille  <akim@epita.fr>
3981
3982	* acidentifiers: Catch ptrdiff_t.
3983	* acspecific.m4 (AM_TYPE_PTRDIFF_T): AU define.
3984
39852000-08-01  Akim Demaille  <akim@epita.fr>
3986
3987	* autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
3988	Quote properly the output.
3989	Remove useless backslashes.
3990
39912000-08-01  Akim Demaille  <akim@epita.fr>
3992
3993	* acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
3994	Automake.
3995	* doc/autoconf.texi (Particular Functions): Adjust.
3996
39972000-08-01  Akim Demaille  <akim@epita.fr>
3998
3999	* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
4000	Automake.
4001	* doc/autoconf.texi (Particular Functions): Adjust.
4002
40032000-08-01  Akim Demaille  <akim@epita.fr>
4004
4005	Create acfunctions.m4, in charge of the macros related to
4006	functions.
4007
4008	* acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
4009	Move to...
4010	* acfunctions.m4: here, new file.
4011	* acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
4012	AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
4013	_AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
4014	AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
4015	AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
4016	AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
4017	AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
4018	AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
4019	AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
4020	* Makefile.am: Adjust.
4021
4022	Move also the old definitions into acfunctions.m4, and adjust the
4023	test suite.
4024
4025	* acgeneral.m4 (AU_ALIAS): New macro.
4026	* acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
4027	AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
4028	AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
4029	AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
4030	* acfunctions.m4: here, using AU_ALIAS.
4031	* acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
4032	define them.
4033	* acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
4034	* tests/Makefile.am (MACRO_FILES): Adjust.
4035
40362000-08-01  Akim Demaille  <akim@epita.fr>
4037
4038	* autoscan.pl: Use Getopt::Long;
4039	* acidentifiers: Classify, sort.
4040
40412000-08-01  Akim Demaille  <akim@epita.fr>
4042
4043	* aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
4044	Use grep instead of egrep, don't redirect stderr.
4045
40462000-08-01  Akim Demaille  <akim@epita.fr>
4047
4048	* acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
4049	empty lines in the header comments (should be `#' alone instead).
4050	Reported by Didier Verna.
4051
40522000-08-01  Greg A. Woods  <woods@weird.com>
4053
4054	* doc/autoconf.texi (Installation Directory Variables):
4055	Clarifications and typos.
4056
40572000-08-01  Didier Verna  <didier@lrde.epita.fr>
4058
4059	* acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
4060	(_AC_INIT_HELP): Output the bug report address at
4061	the end of a `configure --help' output.
4062	(_AC_INIT_NOTICE): Ditto, but at the top of `configure'.
4063
40642000-07-31  Akim Demaille  <akim@epita.fr>
4065
4066	* acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
4067	(_AC_INIT_PREPARE): here, where it is called from.
4068	* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't test -z "`foo`".
4069
40702000-07-31  Akim Demaille  <akim@epita.fr>
4071
4072	* acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
4073	(_AC_DIVERT(PARSE_ARGS)): this.  Adjust dependencies.
4074	(AC_ARG_WITH): Remove spurious newline.
4075	(AC_ARG_VAR): No longer save precious variables in
4076	ac_configure_args, rather snapshot them twice (one kept
4077	unmodified, another one to be written to/overwritten by the cache
4078	file).
4079	(AC_CACHE_SAVE): Let the cache variables named `ac_cv_env_*'
4080	be overwritten when loading the cache (i.e., don't use the
4081	: ${foo=...} trick).
4082	(_AC_ARG_VAR_VALIDATE): Compare the two snapshots of the precious
4083	variables.
4084	(_AC_INIT_PREPARE): Call it after having loaded the cache file.
4085
40862000-07-28  Akim Demaille  <akim@epita.fr>
4087
4088	* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
4089	_AC_PROG_F77_GNU): Use ac_ext.  Use _ACEOF instead of ACEOF.
4090
40912000-07-28  Akim Demaille  <akim@epita.fr>
4092
4093	* autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
4094	* autoheader.sh: Likewise.
4095	* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
4096
40972000-07-28  Akim Demaille  <akim@epita.fr>
4098
4099	* doc/autoconf.texi (Installation Directory Variables): New
4100	section, Eved off from `Preset Output Variables', i.e., was a
4101	small part of it, grew independent, and is its equal (at least).
4102	(Coding Style): `$#' padding.
4103	* Makefile.am (editsh, editpl): Do what the doc says you do: use
4104	@datadir\@ instead of @''datadir''@.
4105
41062000-07-28  Akim Demaille  <akim@epita.fr>
4107
4108	* aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
4109	_AC_PROG_F77_GNU): Use ac_ext.  Use ACEOF instead of EOF.
4110	(AC_LANG_CONFTEST): New macro.
4111	(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_F77_C_O,
4112	_AC_PROG_F77_V_OUTPUT): Use it.
4113	* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_COMPILE_IFELSE,
4114	AC_LINK_IFELSE, AC_RUN_IFELSE): Likewise.
4115
41162000-07-24  Steven G. Johnson  <stevenj@alum.mit.edu>
4117
4118	* aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
4119	way of accessing Fortran name-mangling information other than
4120	through CPP, and without having to know the different possible
4121	name-mangling schemes.
4122	* autoconf.texi: Documented AC_F77_FUNC
4123
41242000-07-24  Akim Demaille  <akim@epita.fr>
4125
4126	* acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
4127	`size_t' which are often used too.
4128	Fix a bug which prevents recognition of `bool' and `char'.
4129	(_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
4130	(AC_CHECK_TYPE): Use it.
4131
41322000-07-19  Peter Eisentraut  <peter_e@gmx.net>
4133
4134	* Makefile.am: Remove INSTALL.txt by maintainer-clean target.
4135
41362000-07-19  Akim Demaille  <akim@epita.fr>
4137
4138	* autoupdate.sh: Typo: s/infile/file/.
4139
41402000-07-19  Martin Wilck  <martin@tropos.de>
4141
4142	* aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
4143	_AC_F77_NAME_MANGLING.
4144	(_AC_F77_NAME_MANGLING): Use independent checks for the
4145	name mangling of symbols with and without underscores.
4146	Use algorithm with for loops instead of recursive macro calls.
4147	(AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
4148	* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
4149	Remove documentation of AC_F77_NAME_MANGLING.
4150	Remove documentation of f77_case and f77_underscore.
4151	Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.
4152
41532000-07-19  Akim Demaille  <akim@epita.fr>
4154
4155	* NEWS: Fresh air.
4156	* TODO: Fresh blood.
4157
41582000-07-19  Akim Demaille  <akim@epita.fr>
4159
4160	* doc/autoconf.texi (autoheader Invocation): Explain the purpose
4161	of autoheader.
4162
41632000-07-19  Akim Demaille  <akim@epita.fr>
4164
4165	* doc/autoconf.texi: Various English fixes from Jim.
4166
41672000-07-19  Akim Demaille  <akim@epita.fr>
4168
4169	* doc/autoconf.texi (Compilers and Preprocessors, Obsolete
4170	Macros): Don't give boring internal details.
4171	(Language Choice): Typo.
4172	(Limitations of Builtins): Some about `!', `set', `$@'.
4173	(Coding Style): Some about $[@] quotation.
4174	Some about cross-compilation.
4175
41762000-07-19  Akim Demaille  <akim@epita.fr>
4177
4178	* autoreconf.sh (dir): When verbose, say what are the tools you
4179	will use.
4180
41812000-07-19  Akim Demaille  <akim@epita.fr>
4182
4183	Warnings related to obsolete constructs should be properly
4184	classified.
4185
4186	* acspecific.m4 (AC_RSH, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
4187	AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE,
4188	AC_STRUCT_ST_RDEV, AC_HAVE_POUNDBANG, AC_ARG_ARRAY): Use
4189	`AC_DIAGNOSE(obsolete, ...)' instead of `AC_WARNING'.
4190
41912000-07-19  Akim Demaille  <akim@epita.fr>
4192
4193	autoconf -W error does not work.
4194
4195	* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
4196	_AC_WARNING_ENABLE is dead.
4197
41982000-07-19  Akim Demaille  <akim@epita.fr>
4199
4200	Martin Wilck found a Fortran 77 compiler which always exits with
4201	success.
4202
4203	* acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
4204	file was created and is nonempty.
4205
42062000-07-19  Akim Demaille  <akim@epita.fr>
4207
4208	* doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
4209	pages, and the mailing lists.
4210
42112000-07-19  Akim Demaille  <akim@epita.fr>
4212
4213	* doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
4214	(Coding Style): Move some into...
4215	(Macro Definitions): here.
4216
42172000-07-19  Akim Demaille  <akim@epita.fr>
4218
4219	The --help message should have paragraphs starting with a title,
4220	the options, and then optionally a small paragraph.
4221
4222	* acgeneral.m4 (AC_DIVERT_ONCE): New macro.
4223	(HELP_VAR_END): New diversion.
4224	(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Use AC_DIVERT_ONCE.
4225	(AC_ARG_VAR): Follow the --help style.
4226	* acspecific.m4 (AC_PATH_X): Use AC_DIVERT_ONCE.
4227
42282000-07-19  Akim Demaille  <akim@epita.fr>
4229
4230	* aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
4231	AC_PROG_CC instead.
4232	From Martin Wilck.
4233	(AC_PROG_F77_C_O): Require AC_PROG_F77.
4234	Use a cache variable independent of $F77.
4235
42362000-07-19  Akim Demaille  <akim@epita.fr>
4237
4238	* autoreconf.sh: Accept --symbolic and -s.
4239
42402000-07-19  Akim Demaille  <akim@epita.fr>
4241
4242	Make it clear that the regular user does not need --macrodir.
4243	In fact, rename this option as -A, --autoconf-dir.
4244
4245	* autoconf.sh: Complain when -m, --macrodir is used.
4246	Accept -A, --autoconf-dir.
4247	Use $autoconf_dir instead of $AC_MACRODIR.
4248	Adjust --help.
4249	* autoheader.sh: Likewise.
4250	* autoscan.sh: Likewise.
4251	* autoupdate.sh: Likewise.
4252	Use $optarg.
4253	* autoreconf.sh: Likewise.
4254	* doc/autoconf.texi: Adjust.
4255	* tests: Adjust the test suite.
4256
42572000-07-19  Akim Demaille  <akim@epita.fr>
4258
4259	* autoreconf.sh: Forward --debug to sub tools.
4260	Let them share the same tmp dir.
4261
42622000-07-18  Akim Demaille  <akim@epita.fr>
4263
4264	* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
4265
42662000-07-18  Steven G. Johnson  <stevenj@alum.mit.edu>
4267
4268	Fixed bug where the F77 compiler output was parsed differently
4269	when detecting the verbose flag than when scanning for linker
4270	options, and as a result the former test failed (under AIX/xlf).
4271
4272	* aclang.m4 (_AC_PROG_F77_V_OUTPUT): New macro to get the
4273	output of linking an F77 program with a given verbose flag,
4274	and preprocess it as required to scan for linker flags.
4275	(_AC_PROG_F77_V): Use the above macro here...
4276	(AC_F77_LIBRARY_LDFLAGS): ...and here, enforcing consistency.
4277
42782000-07-17  Martin Wilck  <martin@tropos.de>
4279
4280	* autoupdate.sh (autoconf): s,$updated,$tmp/updated,.
4281
42822000-07-17  Akim Demaille  <akim@epita.fr>
4283
4284	* doc/autoconf.texi (Configuration Actions): Explain the
4285	behavior of  AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
4286	absolute and relative filenames, and stdin/stdout.
4287	(config.status invocation): Likewise.
4288
42892000-07-17  Akim Demaille  <akim@epita.fr>
4290
4291	* doc/autoconf.texi (Configuration Actions): Explain the
4292	behavior of  AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
4293	absolute and relative filenames, and stdin/stdout.
4294	(config.status invocation): Likewise.
4295
42962000-07-13  Akim Demaille  <akim@epita.fr>
4297
4298	Make it easier to trace what autoreconf does.
4299
4300	* autoheader.sh: Be more verbose, and always report your name in
4301	verbose messages.
4302	* autoconf.sh: Likewise.
4303	* autoreconf.sh: Likewise.
4304	(update.sh): Redirect ls' stderr to /dev/null.
4305
43062000-07-13  Akim Demaille  <akim@epita.fr>
4307
4308	* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
4309	handle absolute input file names.
4310	From Alexandre Oliva.
4311
43122000-07-12  Martin Wilck  <martin@tropos.de>
4313
4314	* aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
4315	leads to unnecessary warnings if both C and Fortran are checked.
4316	(AC_PROG_F77_C_O): AC_REQUIRE AC_PROG_F77 instead of pretend you
4317	need to be AC_BEFORE it.
4318
43192000-07-12  Akim Demaille  <akim@epita.fr>
4320
4321	* autoconf.sh (_ac_warnings): Fix call to tr.
4322	Reported by Johan Danielsson.
4323
43242000-07-11  Martin Wilck  <martin@tropos.de>
4325
4326	* aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
4327	causes the compiler to output verbose linking information.
4328	(AC_F77_LIBRARY_LDFLAGS): Use _AC_PROG_F77_V instead of
4329	simply "-v"
4330	(AC_F77_LIBRARY_LDFLAGS): New algorithm to parse flags, uses
4331	set/shift shell commands.
4332	(AC_F77_LIBRARY_LDFLAGS): Set FLIBS at end, after determining
4333	ac_cv_flibs.
4334
43352000-07-11  Akim Demaille  <akim@epita.fr>
4336
4337	* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_max_here_lines>: Set to 38
4338	instead of 48, to pass the test on RISC/OS 4.52.
4339
43402000-07-11  Akim Demaille  <akim@epita.fr>
4341
4342	!*^&$@ sed portability problems...  The test on AC_CHECK_TYPES is
4343	failing on RISC/OS 4.52 because of the forget-to-reset-the-flag
4344	bug in its sed.
4345
4346	* acgeneral.m4 (_AC_OUTPUT_HEADERS): Work around this bug.
4347
43482000-07-11  Akim Demaille  <akim@epita.fr>
4349
4350	* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.
4351
43522000-07-10  Akim Demaille  <akim@epita.fr>
4353
4354	* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Look for
4355	the input files first in $builddir, then $srcdir.
4356	Suggested by Lars J. Aas, designed by Alexandre Oliva.
4357
43582000-07-10  Lars J. Aas  <larsa@sim.no>
4359
4360	* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
4361	Accept special filename '-' for stdin and stdout.
4362
43632000-07-10  Akim Demaille  <akim@epita.fr>
4364
4365	Alexandre's suggestions.
4366
4367	* autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
4368	Use test instead of sed.
4369	<automake>: If automake is used, always run it: it has its own
4370	mechanism not to update if unneeded.
4371
43722000-07-10  Akim Demaille  <akim@epita.fr>
4373
4374	* acspecific.m4 (_AC_PROG_ECHO): Modernize.
4375
43762000-07-10  Akim Demaille  <akim@epita.fr>
4377
4378	Stop being ridiculous :*(
4379
4380	* acgeneral.m4 (_AC_SHELL_DIRNAME):  When using m4 the argument
4381	is named `$1' not `$dir'.
4382	When using m4 you ought to quote properly.
4383	When using m4, you should check that there are not too many shell
4384	quotes (inside the macro itself, and where it is called).
4385	When you do this, Autoconf, hm, works better.
4386
43872000-07-10  Steven G. Johnson  <stevenj@alum.mit.edu>
4388
4389	Improve --help documentation of important environment variables.
4390
4391	* acgeneral.m4 (_AC_INIT_HELP): Direct reader to descriptions
4392	of useful variables at the end of the --help.
4393	(AC_ARG_VAR): Emphasize use of environment variables to override
4394	and/or help the configure script.  Ensure that a given variable
4395	is only documented once in the --help.
4396	(AC_CHECK_LIB): Call AC_ARG_VAR to document and register the
4397	LDFLAGS variable, and...
4398	(AC_CHECK_HEADER): do the same for the CPPFLAGS variable.
4399	* aclang.m4 (AC_PROG_CC): Call AC_ARG_VAR to document and register
4400	the CC and CFLAGS variables, and do the same for...
4401	(AC_PROG_CXX): CXX and CXXFLAGS, and...
4402	(AC_PROG_F77): F77 and FFLAGS.
4403
44042000-07-10  Akim Demaille  <akim@epita.fr>
4405
4406	* Makefile.am (wget-update): New target.
4407	(WGET): New variable.
4408
44092000-07-10  Akim Demaille  <akim@epita.fr>
4410
4411	* doc/autoconf.texi (Coding Style): Some more constraints :).
4412
44132000-07-10  Akim Demaille  <akim@epita.fr>
4414
4415	* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg!  Don't leave the
4416	AC_DEFINE inside the AC_CACHE_CHECK.
4417
44182000-07-10  Akim Demaille  <akim@epita.fr>
4419
4420	* acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
4421	macros, from Jim's stat.m4 and lstat.m4 serial 6.
4422	* doc/autoconf.texi (Particular Functions): Document
4423	* acfunctions: Add them.
4424
44252000-07-10  Akim Demaille  <akim@epita.fr>
4426
4427	AC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
4428	variables as argument.
4429
4430	* acgeneral.m4 (_AC_LIBOBJ): Same as the former AC_LIBOBJ, but
4431	takes an additional argument: action to perform when non-literal
4432	argument.
4433	(AC_LIBOBJ): Use it.
4434	(AC_REPLACE_FUNCS): Use _AC_LIBOBJ, not AC_LIBOBJ.
4435
44362000-07-10  Akim Demaille  <akim@epita.fr>
4437
4438	LANGUAGE should be neutralized too.
4439
4440	* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
4441	* doc/autoconf.texi (Special Shell Variables): Mention it.
4442
44432000-07-10  Akim Demaille  <akim@epita.fr>
4444
4445	Set autoconf's default warnings to `syntax'.
4446
4447	In fact, honor the most recent specification in the concatenation
4448	of `syntax',$WARNINGS,<options> in that order.
4449	Implement support for `none' and `noCATEGORY' so that the options
4450	may override the previous choices.
4451	Suggested by Didier Verna.
4452
4453	* acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
4454	(AC_WARNING_IFELSE): Use this macro to implement the new specs.
4455	(AC_WARNING): The empty category must not be used, default to
4456	`syntax'.
4457	* doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
4458	* autoconf.sh: Adjust.
4459	Use `optarg' to fetch the arguments of options.
4460	Fix a bug in the handling of `--trace='.
4461
4462	* acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
4463	it shouldn't have.
4464
44652000-07-10  Akim Demaille  <akim@epita.fr>
4466
4467	* autoreconf.sh (--install, --symlink): New options.
4468
44692000-07-10  Akim Demaille  <akim@epita.fr>
4470
4471	* autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
4472	Adjust dependencies.
4473	When using $verbose, redirect to stderr.
4474
44752000-07-10  Akim Demaille  <akim@epita.fr>
4476
4477	* autoreconf.sh: Clarify the difference between the location of
4478	`aclocal.m4' and that of the location Autoconf extensions.
4479	(-M, --m4dir): New option.
4480	(aclocal_flags): Do not use $localdir, but $m4dir.
4481	(localdir_opt): Remove, since $autoconf, $autoheader already
4482	include `-l $localdir'.
4483
44842000-07-10  Akim Demaille  <akim@epita.fr>
4485
4486	* autoconf.sh (task install): We no longer use AC_INCLUDE.
4487
44882000-07-10  Akim Demaille  <akim@epita.fr>
4489
4490	* acoldnames.m4: Remove the obsolete comments.  The technology is
4491	now detailed in `autoupdate'.
4492	Quote the names being defined.
4493	Formatting changes.
4494
44952000-07-10  Akim Demaille  <akim@epita.fr>
4496
4497	* acgeneral.m4 (AC_DEFUNCT): Remove.
4498	(AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
4499	AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
4500	* doc/autoconf.texi (Obsolete Macros): but not fresh.
4501
45022000-07-10  Akim Demaille  <akim@epita.fr>
4503
4504	* autoreconf.sh (debug): New variable.
4505	(tmp): s/ac/ar/.
4506	<options handling>: Support --debug.
4507	* doc/autoconf.texi: Adjust.
4508
45092000-07-10  Akim Demaille  <akim@epita.fr>
4510
4511	Fix the bugs recently introduced in autoreconf.
4512
4513	* autoreconf.sh: Don't run automake when the package is not using
4514	it.
4515	When checking whether autoheader should be rerun, don't ask
4516	config.h to be newer than stamp-h and vice-versa.
4517	Remove an unbalanced `fi'.
4518
45192000-07-10  Akim Demaille  <akim@epita.fr>
4520
4521	* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
4522	the convention clash with autoconf.sh where `run_foo' is the
4523	command to run `foo'.
4524	(uses_autoheader): New variable.
4525
45262000-07-10  Akim Demaille  <akim@epita.fr>
4527
4528	* autoreconf.sh (update.sh): New sub program.
4529	Use it in the whole process.
4530	(acconfig_h): New variable.
4531
45322000-07-10  Akim Demaille  <akim@epita.fr>
4533
4534	* autoreconf.sh <run_aclocal>: Use false/: instead of no/yes.
4535	Formatting and factoring changes.
4536
45372000-07-10  Akim Demaille  <akim@epita.fr>
4538
4539	* autoreconf.sh: You too can have a $tmp dir if you wish.
4540	(alflags.sed): New sub sed program.
4541	Compute the flags of aclocal from Makefile.am instead of
4542	Makefile.in, it is unlikely that aclocal be used but not automake,
4543	while it is convenient to be able to run autoreconf even if
4544	automake was not run yet.
4545	Use `autoconf --trace' to get the list of configuration headers.
4546
45472000-07-10  Akim Demaille  <akim@epita.fr>
4548
4549	* acgeneral.m4 (AC_PLAIN_SCRIPT): New macro.
4550	* tests/base.m4 (m4_wrap, AC_REQUIRE, AC_SHELL_MKDIR_P): Use it.
4551	* autoconf.sh: Properly handle the case where `$output' is `-'
4552	(i.e., stdout).
4553	Handle `-ofile', not just `-o file'.
4554
45552000-07-10  Akim Demaille  <akim@epita.fr>
4556
4557	* autoreconf.sh: Formatting changes.
4558	When verbose, display exactly what you do, not just a synopsis.
4559	When using `$verbose' don't use quotes to avoid spurious spaces
4560	for empty arguments.
4561
45622000-07-10  Akim Demaille  <akim@epita.fr>
4563
4564	* autoreconf.sh (force): Instead of yes/no, use :/false.
4565	Adjust the code.
4566	(automake_deps, automake_force): No longer used.
4567
45682000-07-10  Akim Demaille  <akim@epita.fr>
4569
4570	* acgeneral.m4 (_AC_SHELL_DIRNAME): Use an `expr' solution instead
4571	of echo|sed.
4572	From Paul Eggert.
4573	* doc/autoconf.texi (Limitations of Usual Tools): Include the
4574	words from Paul about `|' with expr(1).
4575
45762000-07-10  Akim Demaille  <akim@epita.fr>
4577
4578	* aclang.m4: Promote s,,, over s%%%, and `sed prog' over `sed -e
4579	prog'.
4580	* acgeneral.m4: Likewise.
4581	* acspecific.m4: Likewise.
4582	* doc/autoconf.texi (Limitations of Usual Tools, Coding Style):
4583	Likewise.
4584
45852000-07-10  Akim Demaille  <akim@epita.fr>
4586
4587	* autoconf.sh: When using `mktemp -d', be sure that the directory
4588	was created.
4589	* autoheader.sh: Likewise.
4590	* autoreconf.sh: Likewise.
4591
45922000-07-10  Akim Demaille  <akim@epita.fr>
4593
4594	* AUTHORS: Update.
4595	* doc/autoconf.texi: Free Franc,ois Pinard from iftex and ifinfo,
4596	use @,c.
4597	Don't use `@code{m4}' when you mean M4, just as you shall not say
4598	`@code{cc}' when you refer to the C language.
4599
46002000-07-10  Akim Demaille  <akim@epita.fr>
4601
4602	* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Set
4603	ac_gnu_compiler.
4604	(_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): Compute
4605	ac_gnu_compiler.
4606	* acgeneral.m4 (AC_LINKER_OPTION): Adjust.
4607
46082000-07-10  Akim Demaille  <akim@epita.fr>
4609
4610	* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Move the code
4611	processing the result of AC_PROG_CC_G, AC_PROG_CXX_G, and
4612	AC_PROG_F77_G into them.
4613
46142000-07-10  Akim Demaille  <akim@epita.fr>
4615
4616	* doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
4617	Follow the coding style.
4618
46192000-07-10  Akim Demaille  <akim@epita.fr>
4620
4621	* doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
4622	`Dependencies Between Macros', but rather a section of `Writing
4623	Macros'.
4624
46252000-07-10  Akim Demaille  <akim@epita.fr>
4626
4627	* doc/autoconf.texi (Coding Style): New node.
4628
46292000-07-07  Akim Demaille  <akim@epita.fr>
4630
4631	* acgeneral.m4 (AC_SHELL_MKDIR_P): s/ac_dir/ac_mkdir_dir/ to avoid
4632	clashes with the numerous ac_dir loops.
4633	Reported by Lars J. Aas.
4634
46352000-07-07  Akim Demaille  <akim@epita.fr>
4636
4637	* acgeneral.m4 (_AC_SHELL_DIRNAME): Return `.', not `' when there
4638	is no directory part.
4639
46402000-07-07  Franc,ois Pinard  <pinard@iro.umontreal.ca>
4641
4642	* tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
4643
46442000-07-07  Akim Demaille  <akim@epita.fr>
4645
4646	AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
4647	in a messy state.  Don't even try to emulate AC_REQUIRE: just
4648	introduce a diversion just for AC_REVISION, and let the magic
4649	happen.
4650	Fixes Autoconf PR/134, from Raja R Harinath.
4651
4652	* acgeneral.m4 (_AC_DIVERT(REVISION)): New diversion.
4653	(AC_REVISION): Don't require AC_INIT, dump in your diversion.
4654	(_AC_INIT): Delete, inline its body in...
4655	(AC_INIT): here.
4656	(_AC_INIT_NOTICE, _AC_INIT_COPYRIGHT): New macros so that...
4657	(AC_INIT): be more uniform.
4658	(AC_INIT, AC_REVISION, AC_COPYRIGHT): `define', don't AC_DEFUN.
4659
46602000-07-07  Martin Wilck  <martin@tropos.de>
4661
4662	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Keep -lm, if a Fortran
4663	compiler needs it, it is likely to be required when linking C/C++
4664	with Fortran.
4665	<-YP,*>: Fix the list of arguments to loop on.
4666	Don't mess with the user variable name space.
4667	<ac_ld_run_path>: Prepend LD_RUN_PATH directories with -R only
4668	when running Solaris (without this, link errors occur).
4669
46702000-07-06  Akim Demaille  <akim@epita.fr>
4671
4672	* acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
4673
46742000-07-06  Akim Demaille  <akim@epita.fr>
4675
4676	* aclang.m4: Formatting and quotations changes.
4677
46782000-07-06  Raja R Harinath  <harinath@cs.umn.edu>
4679
4680	* aclang.m4 (AC_LANG_INT_SAVE(C++)): Be a copy of
4681	AC_LANG_INT_SAVE(C), not AC_LANG_INT_SAVE_TRY(C).
4682	Fixes Autoconf PR/133.
4683
46842000-07-06  Mo DeJong  <mdejong@cygnus.com>
4685
4686	* acgeneral.m4 (_AC_INIT_PARSE_ARGS, AC_CHECK_TOOLS): Change
4687	warning message printed when only --host is given. Fix printing
4688	of multiple compiler cache values, use PATH argument.
4689	* aclang.m4 (AC_LANG_COMPILER_WORKS): Print the cross compile
4690	status, fix problem where two results were printed at once.
4691
46922000-07-06  Akim Demaille  <akim@epita.fr>
4693
4694	* acgeneral.m4 (_AC_SHELL_TMPDIR): Typo.
4695
46962000-07-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4697
4698	* acgeneral.m4 (_AC_SHELL_DIRNAME): Behave properly when the
4699	argument has trailing slashes, and when its depth is just one
4700	(`/tmp').
4701
47022000-07-06  Lars J. Aas  <larsa@sim.no>
4703
4704	* acgeneral.m4 (_AC_SHELL_DIRNAME): New macro.
4705	(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS):
4706	Use _AC_SHELL_DIRNAME.
4707
47082000-07-06  Martin Wilck  <martin@tropos.de>
4709
4710	* aclang.m4 (AC_PROG_F77): Add two compilers,
4711	lf95 (Lahey/Fujitsu Fortran) and pgf77 (Portland Group Fortran)
4712	(_AC_PROG_F77_G): Some Fortran compilers produce stdout/stderr
4713	output even if no errors occur - check exit status rather than
4714	output.
4715
47162000-07-05  Akim Demaille  <akim@epita.fr>
4717
4718	* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
4719	that the directory was created: under Ultrix 4.3 it just returns
4720	a name, but does not create the directory.
4721	Reported by Christian Krackowizer.
4722
47232000-07-03  Lars J. Aas  <larsa@sim.no>
4724
4725	* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.
4726	(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS,
4727	AC_PROG_INSTALL): Use AC_SHELL_MKDIR_P.
4728	* tests/base.m4 (AC_SHELL_MKDIR_P): Test it.
4729
47302000-07-04  Akim Demaille  <akim@epita.fr>
4731
4732	* acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
4733	when `.' is not in the PATH.
4734	* doc/install.texi (configure Invocation): Adjust.
4735
47362000-06-30  Jim Meyering  <meyering@lucent.com>
4737
4738	* acgeneral.m4 (AC_REQUIRE): Tweak a diagnostic.
4739
47402000-06-30  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4741
4742	Re-enable the old behavior of --host and --build.
4743
4744	* acgeneral.m4 (build_alias): Set to host_alias if --build is not
4745	given but --host is, and enable cross-compile auto-detection.  If
4746	both are, and are different, enable cross compilation.
4747	(AC_CANONICAL_HOST): Adjust help message.
4748	(cross_compiling): Enclose in quotes when testing.
4749	* aclang.m4 (_AC_LANG_COMPILER_WORKS): If cross_compiling is
4750	maybe, set it to yes or no depending on the result of the
4751	execution test.
4752	* doc/autoconf.texi: Document the change.
4753	* doc/install.texi: Likewise.
4754
47552000-06-27  Jim Meyering  <meyering@lucent.com>
4756
4757	* acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): Put quotes around use of
4758	`$ac_cv_lib_elf_elf_begin', since that variable may not be defined.
4759	From Volker Borchert.
4760
47612000-06-26  Akim Demaille  <akim@epita.fr>
4762
4763	* doc/autoconf.texi: Fix various typos.
4764	(Limitations of Usual Tools) <sed>: Anchors and groups.
4765	(Language Choice): Don't mention cross_compiling here, do it...
4766	(Specifying Names) <--host>: here.
4767	(Obsoleting Macros): Don't document AC_DEFUNCT, it's going to be
4768	removed anyway, obsoleted itself by AU_DEFUN.
4769
47702000-06-26  Akim Demaille  <akim@epita.fr>
4771
4772	* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
4773	Reported by Alexandre Oliva.
4774
47752000-06-26  Akim Demaille  <akim@epita.fr>
4776
4777	* autoreconf.sh (automake, aclocal): New variables.  Import
4778	$AUTOMAKE and $ACLOCAL.
4779	Pass --verbose to the tools.
4780	Avoid using plenty of variables, just append to existing
4781	variables.
4782	* doc/autoconf.texi: List options in the order --help, --version,
4783	--verbose, --debug, and then specific options.
4784
47852000-06-26  Akim Demaille  <akim@epita.fr>
4786
4787	* doc/autoconf.texi: Various Texinfo adjustments.
4788	(Specifying Names): When describing the system triplets, use the
4789	same names as the shell variables.
4790	(System Type Variables): Delete, merge its content into...
4791	(Canonicalizing): here.
4792	Clarify the difference between the `foo_target' and `foo'
4793	variables.
4794
47952000-06-26  Akim Demaille  <akim@epita.fr>
4796
4797	* acgeneral.m4 (_AC_INIT_PARSE_ARGS, _AC_OUTPUT_CONFIG_STATUS):
4798	s/echo | sed/expr/.
4799
48002000-06-26  Akim Demaille  <akim@epita.fr>
4801
4802	* acgeneral.m4 (AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
4803	AC_CONFIG_COMMANDS, AC_CONFIG_FILES): Use a shell variable instead
4804	of an m4 variable to store what must be done, so that sh
4805	conditionals are honored.
4806	(_AC_OUTPUT_LINKS, _AC_OUTPUT_HEADERS,
4807	_AC_OUTPUT_COMMANDS, _AC_OUTPUT_FILES): Adjust.
4808	* tests/semantics.m4: Test the four AC_CONFIG sisters.
4809	* doc/autoconf.texi (Configuration Actions): Promote the use of
4810	literals, show it works properly with sh conditionals.
4811
48122000-06-26  Akim Demaille  <akim@epita.fr>
4813
4814	* acgeneral.m4 (AC_CACHE_VAL): Too many people put AC_DEFINE in
4815	the commands-to-set-it part of it.  Give them a warning.
4816
48172000-06-26  Akim Demaille  <akim@epita.fr>
4818
4819	* doc/autoconf.texi (Prerequisite Macros): More about AC_REQUIRE.
4820
48212000-06-26  Akim Demaille  <akim@epita.fr>
4822
4823	Given better names to the diversions.
4824
4825	* acgeneral.m4 (_AC_DIVERT(NORMAL_2), _AC_DIVERT(NORMAL_3),
4826	_AC_DIVERT(NORMAL_4)): Delete, unused.
4827	(_AC_DIVERT(NORMAL_1), _AC_DIVERT(NORMAL), AC_DIVERT_DIVERSION):
4828	Rename as _AC_DIVERT(PREPARE), _AC_DIVERT(BODY),
4829	_AC_DIVERT_DIVERSION.
4830
48312000-06-26  Akim Demaille  <akim@epita.fr>
4832
4833	The current implementation of AC_REQUIRE fails on
4834
4835	| AC_DEFUN([TEST1],  [REQUIRE([TEST2a])REQUIRE([TEST2b])])
4836	| AC_DEFUN([TEST2a], [])
4837	| AC_DEFUN([TEST2b], [REQUIRE([TEST3])])
4838	| AC_DEFUN([TEST3],  [REQUIRE([TEST2a])])
4839	|
4840	| AC_INIT
4841	| TEST1
4842
4843	because it produces TEST3; TEST2a; TEST2b; TEST1.
4844	Fix this bug, implement the solution provided by Axel Thimm,
4845	and test AC_REQUIRE.
4846
4847	* acgeneral.m4: Document this implementation.
4848	(_AC_DEFUN_PRO, _AC_DEFUN_EPI, AC_REQUIRE): Be sure that macros
4849	are emitted in the same order as they are expanded.
4850	(AC_REQUIRE): Forbid being calling out of an AC_DEFUN'd	macro (in
4851	particular the top level).
4852	* tests/base.m4 (AC_REQUIRE): New test.
4853
48542000-06-26  Akim Demaille  <akim@epita.fr>
4855
4856	A macro which is not defined with AC_DEFUN should not be
4857	AC_REQUIRE'd, since it doesn't AC_PROVIDE itself.
4858
4859	* acgeneral.m4 (AC_REQUIRE): Issue a warning when after expansion,
4860	the macro is not AC_PROVIDE'd.
4861
48622000-06-26  Akim Demaille  <akim@epita.fr>
4863
4864	Various cleanups.
4865
4866	* acgeneral.m4 (AC_PRO, AC_EPI): Rename as _AC_DEFUN_PRO and
4867	_AC_DEFUN_EPI.
4868	Adjust dependencies.
4869	(AC_DEFUN): Remove the not-to-be-released specializing mechanism.
4870	(AC_SPECIALIZE): Remove for the same reasons.
4871	Adjust dependencies.
4872	(_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS, _AC_INIT_VERSION,
4873	_AC_INIT_PREPARE, _AC_CANONICAL_SPLIT, _AC_CHECK_TYPE_NEW,
4874	_AC_CHECK_TYPE_OLD): Define via `define' instead of `AC_DEFUN':
4875	they are not related to AC_REQUIRE in any way.
4876	* acspecific.m4 (AC_PROG_ECHO, _AC_DECL_YYTEXT, _AC_PATH_X_XMKMF,
4877	_AC_PATH_X_DIRECT): Define via `define' instead of `AC_DEFUN'.
4878
48792000-06-19  Steven G. Johnson  <stevenj@alum.mit.edu>
4880
4881	* acgeneral.m4 (AC_CHECK_TOOL): Use two variables in order to
4882	avoid cache variable conflicts between AC_CHECK_PROG invocations.
4883	(AC_PATH_TOOL): Fix same bugs as in 6/9/00 fixes to AC_CHECK_TOOL.
4884	Pass correct arguments to AC_CHECK_PATH (different from
4885	AC_CHECK_PROG).  Use AC_CHECK_PATH cache variable, not
4886	AC_CHECK_PROG var, and use two variables for two invocations as
4887	above.  Quote AC_CHECK_* args.
4888
48892000-06-16  Akim Demaille  <akim@epita.fr>
4890
4891	The test suite reveals AC_OUTPUT_MAKE_DEFS fails on RISC/OS.
4892
4893	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: Reset the
4894	t flag between each cycle.
4895	* doc/autoconf.texi (Limitations of Usual Tools): Some about the t
4896	flag in sed.
4897
48982000-06-16  Akim Demaille  <akim@epita.fr>
4899
4900	* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Don't obsolete them, let
4901	them be empty, so that Automake still provide support for $(EXEEXT).
4902
49032000-06-15  Akim Demaille  <akim@epita.fr>
4904
4905	* autoconf.sh (option handling): Give a more understandable
4906	message when an option is missing its argument.
4907	* autoreconf.sh: Likewise.
4908	* autoupdate.sh: Likewise.
4909	* autoheader.sh: Likewise.
4910
49112000-06-13  Akim Demaille  <akim@epita.fr>
4912
4913	`./config.status -d' is buggy.
4914
4915	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
4916	--debug.
4917	* doc/autoconf.texi (Limitations of Builtins): Some about shift.
4918
49192000-06-13  Akim Demaille  <akim@epita.fr>
4920
4921	* doc/autoconf.texi (Caching Results): Bigger warning about the
4922	extremely frequent action-in-commands bug.
4923	Move the documentation of AC_CACHE_SAVE and AC_CACHE_LOAD...
4924	(Cache Files): into here.
4925
49262000-06-09  Steven G. Johnson  <stevenj@alum.mit.edu>
4927
4928	* acgeneral.m4 (AC_CHECK_TOOL): Even if VALUE-IF-NOT-FOUND is not
4929	specified, we should still check whether PROG-TO-CHECK-FOR
4930	actually works before returning it when the prefixed program is
4931	not found. Also, fixed a bug where it failed to pass the PATH
4932	argument in the second call to AC_CHECK_PROG.
4933
49342000-06-09  Akim Demaille  <akim@epita.fr>
4935
4936	* acgeneral.m4 (AC_CHECK_TOOLS): Rewrite.
4937
49382000-06-09  Paul Eggert  <eggert@twinsun.com>
4939
4940	* doc/autoconf.texi: Use `@option' for options, not `@samp' nor
4941	`@code'.
4942	* doc/install.texi: Likewise.
4943
49442000-06-09  Akim Demaille  <akim@epita.fr>
4945
4946	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
4947	(AC_F77_NAME_MANGLING): Removed useless comment.
4948	(_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
4949	processed by Abysoft's Fortran compiler.
4950
49512000-06-09  Steven G. Johnson  <stevenj@superjdj.mit.edu>
4952
4953	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
4954	compiler output to stdout was not caught and interpreted.
4955
49562000-06-09  Akim Demaille  <akim@epita.fr>
4957
4958	`autoconf --trace' dies on filenames with `:'.
4959	Reported by Mark Elbrecht.
4960
4961	* autoconf.sh <trace> (trace2m4.sed): Use `..*' instead of
4962	`[^:][^:]*' to catch file names.  The rest of regex is probably
4963	precise enough to avoid incorrect parsing.
4964
49652000-06-09  Akim Demaille  <akim@epita.fr>
4966
4967	* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Always initialize
4968	$3 to no.
4969
49702000-06-08  Paul Eggert  <eggert@twinsun.com>
4971
4972	Import AC_SYS_LARGEFILE from largefile.m4 serial 12.
4973
4974	* acspecific.m4 (AC_SYS_LARGEFILE, _AC_SYS_LARGEFILE_MACRO_VALUE,
4975	_AC_SYS_LARGEFILE_SOURCE): New.
4976	* doc/autoconf.texi (System Services): Document AC_SYS_LARGEFILE.
4977
49782000-06-08  Steven G. Johnson  <stevenj@alum.mit.edu>
4979
4980	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
4981	specified by the user.
4982	Fix a bug: use the cached value to set FLIBS.
4983
49842000-06-07  Dave Love  <fx@gnu.org>
4985
4986	* aclang.m4 (AC_PROG_F77): Check for f95 and fc too.
4987
49882000-06-07  Philippe De Muyter  <phdm@macqel.be>
4989
4990	`foo=1 foo=2 cmd' has an undefined behavior.
4991
4992	* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Do not put two shell
4993	variable assignments in one shell command.
4994	* doc/autoconf.texi (Shell Substitutions): Document.
4995
49962000-06-07  Steven G. Johnson  <stevenj@alum.mit.edu>
4997
4998	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
4999	confusion from the link command getting echoed in quotes.  In the
5000	future, a more general fix for quoted arguments with spaces might
5001	be better.
5002
50032000-06-07  Akim Demaille  <akim@epita.fr>
5004
5005	* doc/autoconf.texi (Limitations of Builtins): More on `test' and
5006	`case'.
5007	Some on `if' and `break'.
5008
50092000-06-07  Morten Eriksen  <mortene@sim.no>
5010
5011	* acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
5012	when trying to use `XtMalloc' to actually have a chance of
5013	succeeding.
5014
50152000-06-07  Akim Demaille  <akim@epita.fr>
5016
5017	Hard (code) X.
5018
5019	* acspecific.m4 (_AC_PATH_X_DIRECT): Hard code `X11/Intrinsic.h'
5020	instead of using `ac_x_direct_test_include', likewise for `Xt' and
5021	`ac_x_direct_test_lib', `XtMalloc' and
5022	`ac_x_direct_test_function'.
5023
50242000-06-07  Akim Demaille  <akim@epita.fr>
5025
5026	* acspecific.m4 (AC_PATH_X): Use AC_DIVERT.
5027	Use `no', not `NO' for ac_x_includes and ac_x_libraries.
5028	Adjust dependencies.
5029	(_AC_PATH_X_DIRECT): Introduce ac_x_header_dirs to factor the list
5030	of places where headers and libs might be.
5031	(AC_PATH_XTRA): Don't quote the argument of `case'.
5032
50332000-06-07  Jim Meyering  <meyering@lucent.com>
5034
5035	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Put the expansion of
5036	AC_LIST_LINKS in an unquoted `here'-document.
5037
50382000-06-06  Akim Demaille  <akim@epita.fr>
5039
5040	* tests/aclocal.m4 (AC_ENV_SAVE): Skip `no_x'.
5041	From Mark Elbrecht.
5042
50432000-06-05  Mo DeJong  <mdejong@cygnus.com>
5044
5045	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Move the setting
5046	of ac_tool_prefix before the call to AC_DIVERT_POP.
5047
50482000-06-05  Akim Demaille  <akim@epita.fr>
5049
5050	* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): AU define it.
5051	Suggested by Mo DeJong.
5052
50532000-06-05  Steven G. Johnson  <stevenj@alum.mit.edu>
5054
5055	* aclang.m4 (AC_C_CHAR_UNSIGNED): Use the new compiler-test
5056	technology so that we can do the test via compilations only.  Also
5057	use (char) -1 instead of (char) 255 to check if char is unsigned.
5058
50592000-05-28  Jim Meyering  <meyering@lucent.com>
5060
5061	* acspecific.m4 (AC_FUNC_STRERROR_R): Call strerror_r with 2nd arg
5062	of type char*, not int.  Suggestion from Paul Eggert.
5063
5064	* doc/autoconf.texi (Particular Functions): Give better description of
5065	AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.  From Paul Eggert.
5066
50672000-05-26  Akim Demaille  <akim@epita.fr>
5068
5069	* doc/autoconf.texi (Limitations of Usual Tools): Document `ln -s'
5070	on DJGPP, based on the comments from Mark Elbrecht.
5071
50722000-05-26  Akim Demaille  <akim@epita.fr>
5073
5074	* autoreconf.sh (autoconf, autoheader): Be more conscientious when
5075	looking for the executable.
5076	* autoupdate.sh: Likewise.
5077	* autoheader.sh: Likewise.
5078	Suggested by Alexandre Oliva.
5079
50802000-05-26  Akim Demaille  <akim@epita.fr>
5081
5082	Thanks to --program-transform-name, `autoconf' might be install as
5083	`yo-man-i-am-the-all-mighty-AVt0c0nF-eh-eh'.  But when
5084	`yo-man-i-am-the-all-mighty-AVt0h3Ad3R-eh-eh' and the other tools
5085	want to trace, they might stupidly invoke the program named
5086	`autoconf' instead.  Pfff, stupid scripts :)
5087
5088	* Makefile.am (editsh): Transfer the names of the install
5089	`autoconf' and `autoheader'.
5090	* autoconf.sh: Add a missing period at the end of the comment
5091	# Parse command line
5092	Make sure to have a ChangeLog much longer than the patch.
5093	* autoheader.sh: Use the right `autoconf'.
5094	* autoupdate.sh: Likewise.
5095	* autoreconf.sh: Likewise, and for `autoheader' too.
5096	Simplify the handling of localdir and AC_MACRODIR.
5097	* ifnames.sh: Formatting changes.
5098
50992000-05-25  Steven G. Johnson  <stevenj@alum.mit.edu>
5100
5101	Don't use f2c as a possible Fortran compiler, since by itself it
5102	cannot produce object code.
5103
5104	* aclang.m4 (AC_PROG_F77): Remove f2c from the search list.
5105	* doc/autoconf.texi: Excise mentions of f2c in AC_PROG_F77 docs.
5106
51072000-05-26  Mark Elbrecht  <snowball3@bigfoot.com>
5108
5109	Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
5110	is because the DJGPP `ln' emulates soft links for executables by
5111	generating a stub that in turn calls the real program.  This
5112	feature also works with nonexistent files like in the Unix
5113	spec. So `ln -s X conftestdata' will generate `conftestdata.exe'
5114	which will attempt to call 'X.exe'. But this feature only works
5115	for executables.  Fix it.
5116
5117	* acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to
5118	test `ln -s'.
5119
51202000-05-26  Ossama Othman  <ossama@ece.uci.edu>
5121
5122	* aclang.m4 (AC_PROG_CXX): Look for aCC before CC.
5123
51242000-05-26  Akim Demaille  <akim@epita.fr>
5125
5126	* acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
5127	serial 2, by Jim Meyering.
5128	(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): New, from
5129	`lstat-slash.m4', serial 1, by Jim Meyering.
5130	* acfunctions: Adjust.
5131
51322000-05-26  Akim Demaille  <akim@epita.fr>
5133
5134	* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
5135	AC_CHECK_TOOL_PREFIX, it's dead.
5136
51372000-05-26  Akim Demaille  <akim@epita.fr>
5138
5139	* acgeneral.m4: Simplify all the
5140	case "$switch" in
5141	into
5142	case $switch in
5143	* acspecific.m4: Likewise.
5144	* aclang.m4: Likewise.
5145
51462000-05-26  Akim Demaille  <akim@epita.fr>
5147
5148	* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Remove.
5149	Adjust dependencies.
5150	(_AC_INIT_PARSE_ARGS): Set ac_tool_prefix.
5151
51522000-05-26  Akim Demaille  <akim@epita.fr>
5153
5154	In `info', it is easier to type `autoconf <TAB>' to reach the list
5155	of options, that `Invoking autoc<TAB>'.
5156
5157	* doc/autoconf.texi: s/Invoking foo/foo Invocation/.
5158
51592000-05-26  Akim Demaille  <akim@epita.fr>
5160
5161	Merge `Upgrading' and `Obsolete Constructs' together.
5162
5163	* doc/autoconf.texi (Obsolete Constructs): Move right after
5164	`Recreation a Configuration.
5165	(Invoking autoupdate): Be a subsection of
5166	`Obsolete Constructs'.
5167	(Upgrading): Demote from chapter to section.
5168	Be a section of `Obsolete Constructs'.
5169	Rename as `Autoconf 1'.
5170
51712000-05-26  Akim Demaille  <akim@epita.fr>
5172
5173	Find a means to extract integers from the compiler.
5174	Use this technology to compute `sizeof' even when cross-compiling.
5175	Ideas and initial suggestion by Kaveh Ghazi.
5176	Binary search by Bruno Haible.
5177
5178	* aclang.m4 (AC_LANG_BOOL_COMPILE_TRY,
5179	AC_LANG_BOOL_COMPILE_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C++),
5180	AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C), AC_LANG_INT_SAVE(C++)): New
5181	macros.
5182	* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE, _AC_COMPUTE_INT_RUN,
5183	_AC_COMPUTE_INT): New.
5184	(AC_CHECK_SIZEOF): Use them.
5185	Check whether the type exists beforehand.
5186	* tests/semantics.m4 (AC_CHECK_SIZEOF): Strengthen.
5187
51882000-05-26  Ossama Othman  <ossama@ece.uci.edu>
5189
5190	* aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
5191	s/c++ g++/g++ c++/.
5192	* doc/autoconf.texi (Compilers and Preprocessors): Adjust.
5193
51942000-05-26  Akim Demaille  <akim@epita.fr>
5195
5196	No library nor special privilege is needed to run `getloadavg'
5197	under FreeBSD.
5198	Reported by Alec Wolman.
5199
5200	* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for `getloadavg'
5201	without any additional library.
5202	Fixes Autoconf/109.
5203
52042000-05-26  Akim Demaille  <akim@epita.fr>
5205
5206	* doc/autoconf.texi (Limitations of Usual Tools, Limitations of
5207	Builtins): Integrate comments from Paul Eggert and Jim Meyering.
5208	Add the sed limitation discovered by Philippe De Muyter.
5209	Fix a typo spotted by Pavel Roskin.
5210
52112000-05-25  Akim Demaille  <akim@epita.fr>
5212
5213	The test suite needs GNU m4.
5214	Reported by Bob Friesenhahn.
5215
5216	* tests/atconfig.in (M4): Set it.
5217	* tests/base.m4: Use it.
5218
52192000-05-25  Akim Demaille  <akim@epita.fr>
5220
5221	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character
5222	classes with `case'.  Use `expr' instead.
5223	Suggested by Paul Eggert.
5224	* doc/autoconf.texi (Limitations of Builtins): Explain expr, the
5225	`x' trick, and negated character classes.
5226
52272000-05-24  Didier Verna  <didier@lrde.epita.fr>
5228
5229	* acgeneral.m4 (AC_INIT): Call _AC_PACKAGE before _AC_INIT.
5230
52312000-05-24  Ossama Othman  <ossama@debian.org>
5232
5233	* aclang.m4 (AC_LANG(C++)): Change `ac_ext' from from `C' to `cc'
5234	to avoid potential ambiguities on case-insensitive shells.
5235
52362000-05-24  Mo DeJong  <mdejong@cygnus.com>
5237
5238	Have --host=sun4 automatically look for CC=sun4-cc etc.
5239
5240	* acgeneral.m4 (AC_CHECK_TOOLS): New.
5241	* aclang.m4 (AC_PROG_CXX, AC_PROG_CC, AC_PROG_F77): Use new
5242	AC_CHECK_TOOLS macro instead of AC_CHECK_PROGS so that a cross
5243	compiler is found by default with --host.
5244	* doc/autoconf.texi (Generic Programs, Manual Configuration):
5245	Describe new AC_CHECK_TOOLS macro. Fix unclear working about
5246	AC_CHECK_PROGS.
5247	* tests/Makefile.am (FILTER_MACROS): Adjust.
5248
52492000-05-24  Akim Demaille  <akim@epita.fr>
5250
5251	The night of the living dead...
5252
5253	* acspecific.m4 (AC_XENIX_DIR, AC_DYNIX_SEQ, AC_IRIX_SUN,
5254	AC_SCO_INTL): Wake up a few zombies.
5255	* doc/autoconf.texi: Adjust.
5256	* tests/aclocal.m4 (AC_ENV_SAVE): Likewise.
5257
52582000-05-24  Akim Demaille  <akim@epita.fr>
5259
5260	* acgeneral.m4 (AC_LANG_FUNC_LINK_TRY, AC_LANG_FUNC_LINK_TRY(C),
5261	AC_LANG_FUNC_LINK_TRY(C++)): New macros.
5262	(AC_CHECK_FUNC): Use it, together with AC_LINK_ELSE.
5263
52642000-05-24  Akim Demaille  <akim@epita.fr>
5265
5266	* acspecific.m4 (AC_FUNC_VFORK): Quote properly.
5267	(AC_FUNC_STRFTIME, AC_FUNC_VFORK, AC_FUNC_VPRINTF): Don't use
5268	AC_DEFINE, just use the AC_CHECK_*S macro.
5269
52702000-05-24  Akim Demaille  <akim@epita.fr>
5271
5272	* acgeneral.m4 (_AC_WHICH_A): Replace it with...
5273	(AC_SHELL_PATH_WALK): this.
5274	(AC_CHECK_PROG, AC_PATH_PROG): Use it.
5275
52762000-05-24  Akim Demaille  <akim@epita.fr>
5277
5278	* doc/autoconf.texi (Limitations of Builtins): Document `unset'.
5279	(Special Shell Variables): Adjust.
5280	(Shellology): New section.  Introduce bash and zsh.
5281	(Special Shell Variables): Some data on NULLCMD.
5282	(Quotation Thumb Rule): Rename as
5283	(Quotation Rule of Thumb): this.
5284	* acgeneral.m4 (AC_SHELL_UNSET): Remove.
5285	(AC_SHELL_UNSETENV): Rename as...
5286	(AC_SHELL_UNSET): this.
5287	(_AC_INIT_PREPARE_ENVIRONMENT): Prepare bash and zsh.
5288	Adjust to AC_SHELL_UNSET.
5289
52902000-05-24  Akim Demaille  <akim@epita.fr>
5291
5292	The options --build etc. used to set `$build'.  *If*
5293	AC_CANONICAL_SYSTEM was run, then the value of `$build' given by
5294	the user was saved into `$build_alias', and `$build' was
5295	normalized using `config.sub'.
5296
5297	Now, let `--build' set `$build_alias' so that scripts with or
5298	without `AC_CANONICAL_BUILD' have the same semantics.  This allows
5299	to use `AC_CHECK_TOOL' without requiring `config.guess' and
5300	`config.sub' (which was bizarre anyway).
5301
5302	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): --build, --host and --target
5303	set `build_alias' etc.
5304	After the option handling, set host to $host_alias etc. for
5305	bugward compatibility.
5306	(AC_CANONICALIZE): Mutate into...
5307	(_AC_CANONICAL_SPLIT): this, which does not canonicalize, it just
5308	computes `$foo_os' etc.
5309	(_AC_CANONICAL_THING): Remove, too confusing.
5310	(AC_CANONICAL_BUILD): Adjust.
5311	Do not assign any value to `build_alias', just compute `build', and
5312	`build_{cpy, vendor, os}'.
5313	(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
5314	(AC_CHECK_TOOL_PREFIX): Fire your rule when `$host_alias' is
5315	given, not when `$host != $build'.
5316
5317	* acgeneral.m4 (sinclude): Fix typo.
5318
53192000-05-23  Akim Demaille  <akim@epita.fr>
5320
5321	* doc/autoconf.texi (Limitations of Builtins): More details on
5322	`test -n ='.
5323
53242000-05-23  Akim Demaille  <akim@epita.fr>
5325
5326	Simplify the interface: users shouldn't need to explicitly check
5327	for special environments.
5328
5329	* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): AU defined to
5330	nothing.  Replace them by...
5331	(_AC_EXEEXT, _AC_OBJEXT): this.
5332	* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call them.
5333	(AC_PROG_CC_G, AC_PROG_CXX_G, AC_PROG_F77_G): Rename as...
5334	(_AC_PROG_CC_G, _AC_PROG_CXX_G, _AC_PROG_F77_G): this.
5335	Adjust dependencies.
5336	* tests/Makefile.am (FILTER_MACROS): Adjust.
5337	* doc/autoconf.texi (Compilers and Preprocessors): New section,
5338	move the documentation of AC_PROG_CC, AC_PROG_CC_C_O,
5339	AC_PROG_CC_STDC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP,
5340	AC_PROG_F77, AC_PROG_F77_C_O, AC_PROG_GCC_TRADITIONAL here.
5341	Factor the comment documentation of AC_PROG_CC, AC_PROG_CXX,
5342	AC_PROG_F77.
5343
53442000-05-23  Akim Demaille  <akim@epita.fr>
5345
5346	Modernize AC_EXEEXT and AC_OBJEXT.
5347	Now work with other languages than C and C++.
5348
5349	* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Use
5350	AC_COMPILE_IFELSE/AC_LINK_IFELSE and AC_LANG_PROGRAM instead of
5351	ad hoc code.
5352	Use `$ac_ext' instead of listing `.c', `.C' etc.
5353	Use AC_CACHE_CHECK.
5354	* doc/autoconf.texi (System Services): Adjust.
5355
53562000-05-23  Akim Demaille  <akim@epita.fr>
5357
5358	Simplify the interface: users shouldn't need to explicitly check
5359	for special environments.
5360
5361	* acspecific.m4	(AC_CYGWIN, AC_EMXOS2, AC_MINGW32): AU defined to
5362	nothing.  Replace them by...
5363	(_AC_CYGWIN, _AC_EMXOS2, _AC_MINGW32): these, which are
5364	automatically called by...
5365	(AC_EXEEXT): this.
5366	* doc/autoconf.texi (System Services, Obsolete Macros): Adjust.
5367
53682000-05-23  Akim Demaille  <akim@epita.fr>
5369
5370	AC_PROG_GNU_M4 should actually be private to the package
5371	Autoconf.
5372
5373	* acspecific.m4 (AC_PROG_GNU_M4): Move to...
5374	* m4/m4.m4: here.
5375	* m4/Makefile.am (EXTRA_DIST): Adjust.
5376	* doc/autoconf.texi (Particular Programs): Adjust.
5377
53782000-05-23  Akim Demaille  <akim@epita.fr>
5379
5380	* doc/autoconf.texi (Exiting from Shell Scripts): Move contents
5381	into...
5382	(Limitations of Builtins): this new node.
5383	Document limitations of `exit', `export' and `case'.
5384	Welcome the documentation of `test' from...
5385	(Limitations of Usual Tools): here.
5386
53872000-05-22  Akim Demaille  <akim@epita.fr>
5388
5389	Load the additions *before* running AC_INIT.
5390	This is important if you want to redefine AC_INIT or some of its
5391	sub macros (eeerk!), or if you want to use user defined macros
5392	before AC_INIT.
5393	Suggested by Didier Verna.
5394
5395	* acgeneral.m4 (_AC_INIT): Don't include `acsite.m4' and
5396	`aclocal.m4'.
5397	* autoconf.sh (run_m4, run_m4f): Do it.
5398
53992000-05-22  Akim Demaille  <akim@epita.fr>
5400
5401	Reading the ChangeLog revealed that the recent update of
5402	AC_FUNC_GETLOADAVG introduced a bug which already happened (see
5403	Mon Nov 11 18:02:58 1996  David J MacKenzie).
5404
5405	* acgeneral.m4 (AC_CHECK_LIB): Use a less tempting name:
5406	s/ac_save_LIBS/ac_check_lib_save_LIBS/.
5407
54082000-05-22  Akim Demaille  <akim@epita.fr>
5409
5410	* acspecific.m4 (_AC_LIBOBJ_ALLOCA): New macro, extracted from...
5411	(AC_FUNC_ALLOCA): here.  Adjust.
5412
54132000-05-22  Akim Demaille  <akim@epita.fr>
5414
5415	Add `configure --config-cache', `-C' as a shortcut for
5416	`--cache-file=config.cache'.
5417
5418	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Let `configure' support
5419	`--config-cache' and `-C'.
5420	Report them in `--help'.
5421	Fix the display of missing argument.
5422	(_AC_OUTPUT_SUBDIRS): Adjust.
5423	* doc/install.texi (Invoking configure): Rename the node as
5424	(Running configure scripts): this, the name of the chapter.
5425	(Operation Controls): Rename as...
5426	(Invoking configure): this.
5427	Document the new options.
5428	* doc/autoconf.texi (direntry): Huh?  What is this `aclocal' doing
5429	here?  Point to `Invoking configure'.
5430	(Cache Files): No need to document the disabling of the cache.
5431
54322000-05-22  Mark Elbrecht  <snowball3@bigfoot.com>,  Eli Zaretskii  <eliz@gnu.org>
5433
5434	More MS-DOS support.
5435
5436	* acgeneral.m4 (_AC_OUTPUT_FILES): Fix the computation of
5437	`ac_file_inputs' for `$ac_given_srcdir' containing a colon.
5438	(AC_CHECK_MEMBERS, AC_PATH_PROG): s/ac_save_ifs/ac_save_IFS/.
5439
54402000-05-22  Akim Demaille  <akim@epita.fr>
5441
5442	* acspecific.m4 (AC_FUNC_CHOWN): New macro, based on Jim
5443	Meyering's `chown.m4' serial 4.
5444	(AC_FUNC_GETGROUPS): New macro, based on Jim Meyering's
5445	`getgroups.m4' serial 3.
5446	(AC_FUNC_MEMCMP): Updated, based on Jim Meyering's `memcmp.m4'
5447	serial 3.
5448	(AC_FUNC_MALLOC): New macro, based on Jim Meyering's
5449	`malloc.m4' serial 3.
5450	(AC_FUNC_MMAP): Include `stdlib.h' when `STDC_HEADERS'.
5451	* acfunctions: Sort.
5452	Add `chown' and `malloc', point `getgroups' to `AC_FUNC_GETGROUPS'
5453	instead of `AC_TYPE_GETGROUPS'.
5454	* doc/autoconf.texi (Particular Functions): Adjust.
5455
54562000-05-22  Akim Demaille  <akim@epita.fr>
5457
5458	* acgeneral.m4: Quote the names being m4-defined.
5459	* acspecific.m4: Likewise.
5460	* aclang.m4: Likewise.
5461
54622000-05-22  Akim Demaille  <akim@epita.fr>
5463
5464	Factor the AC_PROG_<compiler>_WORKS macros.
5465
5466	* acgeneral.m4 (_AC_INIT_DEFAULTS): Set `cross_compiling'.
5467	(AC_TRY_COMPILER): Remove.
5468	* aclang.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS,
5469	AC_PROG_F77_WORKS): Removed.
5470	(_AC_LANG_COMPILER_WORKS): New macro.
5471	(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
5472
54732000-05-22  Akim Demaille  <akim@epita.fr>
5474
5475	* aclang.m4: Formatting changes.
5476
54772000-05-22  Akim Demaille  <akim@epita.fr>
5478
5479	More than one argument to `configure' builds a broken
5480	`config.status'.  Fix and test.
5481
5482	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
5483	`$ac_configure_args' directly, not via a tmp variable.
5484	* tests/torture.m4 (command line interface): Test with more than
5485	one argument.
5486
54872000-05-19  Akim Demaille  <akim@epita.fr>
5488
5489	* acgeneral.m4 (AC_MSG_WARN): s/warning/WARNING/.
5490	* autoheader.sh: Likewise.
5491	From Franc,ois Pinard.
5492
54932000-05-19  Akim Demaille  <akim@epita.fr>
5494
5495	* acgeneral.m4 (AC_PACKAGE): Rename as _AC_INIT_PACKAGE.
5496	(AC_INIT): Dispatch arguments either to _AC_INIT_PACKAGE or
5497	to AC_CONFIG_SRCDIR.
5498	(AU::AC_INIT): New.
5499	* configure.in: Adjust.
5500	Use `#', not `dnl'.
5501	* doc/autoconf.texi (configure.in Layout): Document the new form
5502	of AC_INIT.
5503	Document AC_CONFIG_SRCDIR.
5504	(Obsolete Macros): Document the old one.
5505
55062000-05-19  Akim Demaille  <akim@epita.fr>
5507
5508	* acgeneral.m4: Simplify all the unjustified `[\$]foo' into
5509	`\$foo', the quotes are needed only for `\$[1]', `\$[@]' etc.
5510	Prefer `$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1' etc.
5511	* aclang.m4: Likewise.
5512	* acspecific.m4: Likewise.
5513
55142000-05-19  Akim Demaille  <akim@epita.fr>
5515
5516	* acgeneral.m4 (AC_TRY_COMPILER): Fix quotation.
5517
55182000-05-19  Akim Demaille  <akim@epita.fr>
5519
5520	Fix Autoconf/123.
5521
5522	* libm4.m4: Rename `symbols' as `m4_symbols'.
5523
55242000-05-19  Akim Demaille  <akim@epita.fr>
5525
5526	* aclang.m4 (AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU):
5527	Rename as:
5528	(_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): these.
5529	Compute the value of GCC, GXX and G77 here.
5530	Set to `no' (instead of empty) if not the GNU compiler.
5531	(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
5532	* doc/autoconf.texi: Adjust.
5533
55342000-05-19  Akim Demaille  <akim@epita.fr>
5535
5536	Fix Autoconf/106.
5537
5538	* aclang.m4 (AC_PROG_F77): Follow strictly the same scheme as
5539	AC_PROG_CC to compute the default FFLAGS.
5540
55412000-05-19  Akim Demaille  <akim@epita.fr>
5542
5543	Either we cross-compile the whole package, or we don't.
5544	Using --host enables cross-compilation.
5545
5546	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): `--host' enables cross
5547	compilation.
5548	(AC_CANONICAL_BUILD): The help string should explicitly mention
5549	cross compilation.
5550	* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
5551	set `cross_compiling'.
5552	(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Run your `WORK' partner
5553	only if not cross-compiling.
5554	(AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS):
5555	If does not work, don't assume an implicit cross-compilation:
5556	fail.
5557	* doc/autoconf.texi: Adjust.
5558
55592000-05-19  Akim Demaille  <akim@epita.fr>
5560
5561	* acgeneral.m4 (AC_SHELL_UNSETENV, AC_SHELL_UNSET): Add the
5562	missing quotes.
5563
55642000-05-19  Akim Demaille  <akim@epita.fr>
5565
5566	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Prefer
5567	case $foo in
5568	*[^-a-zA-Z0-9_]*) AC_ACTION;;
5569	esac
5570	over
5571	if echo "$foo" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
5572	AC_ACTION
5573	fi
5574
55752000-05-19  Akim Demaille  <akim@epita.fr>
5576
5577	* doc/autoconf.texi (Testing Values and Files): Delete, move its
5578	content into...
5579	(Limitations of Usual Tools::test): here.
5580	Document more limitations.
5581
55822000-05-19  Akim Demaille  <akim@epita.fr>
5583
5584	* acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): New macro, extracted from
5585	(AC_FUNC_GETLOADAVG): here.
5586	Use it.
5587
55882000-05-19  Akim Demaille  <akim@epita.fr>
5589
5590	* acgeneral.m4 (AC_SPECIALIZE): Avoid a useless `indir'.
5591	(AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Fix to work properly on
5592	`struct f.g.h'.
5593	* acspecific.m4 (AC_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS and
5594	AC_CHECK_MEMBERS instead of performing their task by hand.
5595
55962000-05-19  Akim Demaille  <akim@epita.fr>
5597
5598	Synchronize AC_FUNC_GETLOADAVG with the version of the shellutils
5599	1.16f (serial 4).
5600
5601	* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for
5602	`pstat_getdynamic'.
5603	Define `C_GETLOADAVG' if compiling `getloadavg.c'.
5604	Check for NLS.
5605	Compute `GETLOADAVG_LIBS'.
5606	(AC_FUNC_MKTIME): Remove a forgotten `AC_SUBST(LIBOBJS)'.
5607
56082000-05-19  Akim Demaille  <akim@epita.fr>
5609
5610	* acgeneral.m4 (AC_SHELL_UNSET, AC_SHELL_UNSETENV): New macro.
5611	(_AC_INIT_PREPARE_ENVIRONMENT): Use AC_SHELL_UNSETENV.
5612	Set CDPATH.  Fixes Autoconf/96.
5613
5614	* doc/autoconf.texi (Special Shell Variables): New node.
5615	Document `status', `CDPATH', `LANG', `LC_ALL', `LC_MESSAGES' and
5616	`LC_CTYPE'.
5617
56182000-05-12  Akim Demaille  <akim@epita.fr>
5619
5620	* acgeneral.m4 (sinclude): Define, some packages (binutils) need
5621	it.
5622
56232000-05-12  Akim Demaille  <akim@epita.fr>
5624
5625	* doc/autoconf.texi (Invoking config.status): Move the
5626	documentation of the envvar CONFIG_(FILES, HEADERS, COMMANDS,
5627	LINKS) to
5628	(Obsolete config.status Use): here.
5629
56302000-05-12  Paul Eggert  <eggert@twinsun.com>
5631
5632	* doc/autoconf.texi (Exiting from Shell Scripts): New node.
5633	(Autoconf Language): Follow the advice in the new node.
5634
56352000-05-12  Peter Eisentraut  <peter_e@gmx.net>
5636
5637	* doc/autoconf.texi: Fix typos.
5638
56392000-05-11  Akim Demaille  <akim@epita.fr>
5640
5641	AC_CONFIG_SUBDIRS needs two lists: one, ac_subdirs_all, which
5642	contains all the possible subdirs for `--help=recursive', and
5643	another, `subdirs' which can be built dynamically for launching
5644	sub configurations.
5645
5646	* acgeneral.m4 (AC_CONFIG_SUBDIRS): Define `subdirs' dynamically.
5647	Define `ac_subdirs_all' statically.
5648	Warn if the argument is not a literal.
5649	(AC_LIST_SUBDIRS): Rename as...
5650	(_AC_LIST_SUBDIRS): this.
5651	(_AC_INIT_HELP): Loop over `ac_subdirs_all', not `subdirs'.
5652	(_AC_OUTPUT_SUBDIRS): Loop over `subdirs', not `AC_LIST_SUBDIRS'.
5653	* doc/autoconf.texi (Subdirectories): Adjust.
5654
5655	* acgeneral.m4: Replace all the `test ! -d foo && bar' with
5656	`test -d foo || bar'.
5657
5658	* Makefile.am (.m4.m4f): Stop hiding what you're doing.
5659	Don't check for GNU m4, let it die.
5660
56612000-05-11  Akim Demaille  <akim@epita.fr>
5662
5663	The Associated Rewriters are even prouder to present...
5664		  .
5665		  |
5666		  |
5667		 /-\
5668		/   \
5669		)===(   U  T  O  U  P  D  A  T  E    I V
5670	       //   \\
5671	      =========
5672	    _//_     _\\_      The ``Eiffel Tower'' Release
5673
5674	* autoupdate.sh: Complete rewrite.  See that file for a detailed
5675	explanation.  Basically, simulate the name spaces thanks to
5676	`autoconf --trace' and auxiliary files.
5677	No longer use `autoupdate.m4', remove the dependencies.
5678	Synchronize the options and `--help'.
5679	* doc/autoconf.texi (Invoking autoupdate): Humanoupdate.
5680	* autoupdate.m4: Delete.
5681	* tests/Makefile.am (FILTER_MACROS): Add `AC_OUTPUT'.
5682	Since `AC_OUTPUT' is now AU_DEFUN'd, it is extracted for testing,
5683	while it was not before.
5684	* tests/tools.m4 (autoupdate): Re-enable.  Adjust the expected
5685	output with the right quotation (yeah!).
5686	Pass `-m $top_srcdir': autoupdate wants the `.m4' files, not the
5687	frozen files.
5688	* Makefile.am (nodistpkgdataDATA): Move `acversion.m4' to
5689	(distpkgdataDATA): here, so that all the `.m4' files are in the
5690	source hierarchy, not split across src and build.
5691	* acversion.m4.in: Update to today's standards.
5692	* Makefile.am: Adjust.
5693
56942000-05-11  Akim Demaille  <akim@epita.fr>
5695
5696	* libm4.m4: Be robust to multiple inclusion.
5697	Have the first `changequote' robust to the current quotation
5698	system.
5699	Always quote the first argument of `define'.
5700
57012000-05-11  Akim Demaille  <akim@epita.fr>
5702
5703	The Associated Rewriters are proud to present...
5704
5705	      ^
5706	     / \  U  T  O  U  P  D  A  T  E    I I I
5707	    /===\
5708	   /     \      It bells, It whistles...
5709
5710	* autoupdate.sh: Complete rewrite.  See that file for a detailed
5711	explanation.
5712	* acgeneral.sh: Don't use AU_DEFINE, but AU_DEFUN.
5713	(AC_OUTPUT_COMMANDS_CNT): Renamed as...
5714	(_AC_OUTPUT_COMMANDS_CNT): this.
5715
57162000-05-11  Akim Demaille  <akim@epita.fr>
5717
5718	Get rid of the m4 name spaces.
5719
5720	* libm4.m4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
5721	m4_popdef, m4_pushdef, m4_undefine, m4_namespace_push,
5722	m4_namespace_pop, m4_namespace_register, m4_namespace_define,
5723	m4_disable, m4_enable):	Removed.
5724	All dependencies adjusted.
5725	* libm4.m4: Remove all the name space initialization.
5726	* acgeneral.m4: Adjust.
5727	(AU_DEFINE): Redefine as `AC_DEFUN'.
5728	* autoupdate.m4: Adjust.
5729	* tests/tools.m4: Temporarily disable the `autoupdate' test.
5730
57312000-05-11  Akim Demaille  <akim@epita.fr>
5732
5733	Eradicate AC_TRY_COMPILE.
5734
5735	* aclang.m4 (AC_PROG_CC_STDC, AC_C_BIGENDIAN, AC_C_INLINE,
5736	AC_C_CONST, AC_C_VOLATILE, AC_F77_NAME_MANGLING): Use
5737	`AC_COMPILE_IFELSE'.
5738	* acspecific.m4 (AC_DECL_SYS_SIGLIST, _AC_CHECK_HEADER_DIRENT,
5739	AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_TYPE_SIGNAL,
5740	AC_FUNC_GETLOADAVG, AC_FUNC_SELECT_ARGTYPES, AC_STRUCT_TM,
5741	AC_CYGWIN, AC_MINGW32, AC_EMXOS2): Likewise.
5742	* tests/semantics.m4 (C keywords): Check that AC_C_CONST,
5743	AC_C_VOLATILE, and AC_C_INLINE function properly with GCC.
5744
57452000-05-11  Akim Demaille  <akim@epita.fr>
5746
5747	Replace AC_LANG_SAVE/AC_LANG_RESTORE with AC_LANG_PUSH/AC_LANG_POP.
5748
5749	* aclang.m4 (_AC_LANG_CURRENT, AC_LANG_STACK): You two are the same
5750	thing, which now we shall name `_AC_LANG'.
5751	All users adjusted.
5752	(AC_LANG_PUSH, AC_LANG_POP): New macros.
5753	(AC_LANG_SAVE, AC_LANG_RESTORE): AU defined.
5754	(AC_PROG_CC_WORKS, AC_PROG_CXXCPP, AC_PROG_CXX_WORKS,
5755	AC_PROG_F77_WORKS, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING):
5756	Use them.
5757	(AC_F77_LIBRARY_LDFLAGS): Move the requirements to its top.
5758	* doc/autoconf.texi (Language Choice): Document them.
5759	(Old Macros): Welcome AC_LANG_SAVE and AC_LANG_RESTORE.
5760
57612000-05-11  Akim Demaille  <akim@epita.fr>
5762
5763	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Less adventurous use of
5764	`test'.
5765	Fixes Autoconf/108.
5766
57672000-05-11  Akim Demaille  <akim@epita.fr>
5768
5769	* doc/autoconf.texi (Particular Headers): Some more sorting.
5770	Use `@multitable'.
5771
57722000-05-11  Akim Demaille  <akim@epita.fr>
5773
5774	* acspecific.m4 (_AC_CHECK_HEADER_DIRENT): Use more modern
5775	Autoconf idioms.
5776	(_AC_CHECK_HEADERS_DIRENT): Removed, instead...
5777	(AC_HEADER_DIRENT): Handle the loop.
5778
57792000-05-11  Akim Demaille  <akim@epita.fr>
5780
5781	Provide a means to track the dependencies of files created by
5782	`configure'.
5783
5784	* acgeneral.m4 (AT_FILE_DEPENDENCY, _AC_CONFIG_DEPENDENCY,
5785	_AC_CONFIG_DEPENDENCIES): New macros.
5786	(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Use them.
5787
57882000-05-11  Akim Demaille  <akim@epita.fr>
5789
5790	Merge AC_DECL_YYTEXT into AC_PROG_LEX.
5791
5792	* acgeneral.m4 (AC_DECL_YYTEXT): Rename as
5793	(_AC_DECL_YYTEXT): this.
5794	(AC_PROG_LEX): Use it.
5795	(AC_DECL_YYTEXT): New AU macro.
5796	* doc/autoconf.texi: Adjust.
5797
57982000-05-10  Akim Demaille  <akim@epita.fr>
5799
5800	* aclang.m4 (AC_F77_NAME_MANGLING): Use AC_COMPILE_IFELSE.
5801	Move the requirements to the top of the macro.
5802
58032000-05-10  Akim Demaille  <akim@epita.fr>
5804
5805	Update and polish the documentation.
5806
5807	* doc/autoconf.texi: Use @sc where upper case names were used.
5808	Remove a few useless `dnl'.
5809	Convert some `dnl' into comments.
5810	Promote `$(foo)' in Makefiles, not `${foo}'.
5811	Promote `$foo' in shell scripts, not `${foo}'.
5812	Promote `foo = bar' in Makefiles, not `foo=bar'.
5813	(Language Choice): Document `AC_LANG', move `AC_LANG_C',
5814	`AC_LANG_CPLUSPLUS' and `AC_LANG_FORTRAN77' to
5815	(Old Macros): here.
5816	* doc/install.texi: Fix a typo in the specification of the system
5817	quadruples.
5818
58192000-05-10  Akim Demaille  <akim@epita.fr>
5820
5821	* libm4.m4 (m4_foreach): Rewritten so that it does not require
5822	lists in between parens.
5823	(m4_foreach_quoted): new copy of the previous `m4_foreach' which
5824	is still used by `m4_wrap'.
5825	* acgeneral.m4 (AC_INCLUDE, AC_INCLUDES): Removed.
5826	(AC_FOREACH): Don't use parens with `m4_foreach'.
5827	(AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES): Adjust the
5828	description.
5829	* acspecific.m4 (AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE,
5830	AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Adjust.
5831	* autoconf.texi (AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES):
5832	Adjust their documentation.
5833	(AC_INCLUDE): Undocument.
5834	* tests/semantics.m4: Adjust.
5835	* tests/actest.m4: Rename as...
5836	* tests/aclocal.m4: this.
5837	* tests/atspecific.m4: No longer include actest.m4.
5838	* tests/torture.m4: Likewise.
5839	* tests/Makefile.am: Adjust.
5840
58412000-05-10  Akim Demaille  <akim@epita.fr>
5842
5843	* doc/autoconf.texi (Obsolete Macros): Document `AU_DEFUN'.
5844	Move the documentation of `AC_OBSOLETE' from here, to...
5845	(Old Macros): here.
5846	* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV):
5847	AU_DEFUN'd.
5848
58492000-05-10  Akim Demaille  <akim@epita.fr>
5850
5851	* acgeneral.m4 (AC_LIBOBJ_DECL, AC_LIBOBJ): New macros.
5852	(AC_REPLACE_FUNCS): Use AC_LIBOBJ.
5853	* acspecific.m4 (AC_FUNC_MKTIME, AC_FUNC_MEMCMP,
5854	AC_STRUCT_ST_BLOCKS): Use AC_LIBOBJ.
5855	* doc/autoconf.texi : Adjust so that the user is not encouraged to
5856	use LIBOBJS directly.
5857	(Generic Functions): Document AC_LIBOBJ_DECL and AC_LIBOBJ.
5858
58592000-05-09  Jim Meyering  <meyering@lucent.com>
5860
5861	* acgeneral.m4 (AC_SEARCH_LIBS): Remove double quotes around `no'.
5862
58632000-05-09  Akim Demaille  <akim@epita.fr>
5864
5865	* acgeneral.m4 (_AC_OUTPUT_FILES): Don't automatically spit
5866	`Generated by...' in Makefiles.
5867	Fixes Autoconf/102.
5868
58692000-05-09  Akim Demaille  <akim@epita.fr>
5870
5871	Let `config.status' use a private temp dir.
5872	Suggested by Jim Meyering.
5873
5874	* acgeneral.m4 (_AC_SHELL_TMPDIR): New macro.
5875	(_AC_OUTPUT_CONFIG_STATUS): Use it.
5876	Use more quoted here docs to improve readability.
5877	Compute `$me' and use it in the error messages.
5878	Define `$configure' and `$configure_args' to avoid continuously
5879	mixing the uses of `configure' and `config.status' evaluation in a
5880	single line.
5881	Define `$SHELL' and use it.
5882	Simplify all the unjustified `[\$]foo' into `\$foo', the quotes
5883	are needed only for `\$[1]', `\$[@]' etc.
5884	Replace all the uses of `ac_cs_root' with files in the tmp dir of
5885	`config.status'.
5886	Remove a few `rm' covered by the removal of the `$tmp' dir.
5887	Let `config.status' support `--debug'.
5888	(_AC_INIT_PREPARE): Avoid the leading space in `ac_configure_args'.
5889	* doc/autoconf.texi (Invoking config.status): Adjust.
5890
58912000-05-05  Jim Meyering  <meyering@lucent.com>
5892
5893	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Set up traps to remove
5894	temporaries upon exit, too, not just upon receipt of signal.
5895
58962000-05-05  Akim Demaille  <akim@epita.fr>
5897
5898	AC_CHECK_PROG macro fails if REJECT value is set under Digital
5899	Unix 4.0x and 5.0 because `"$@"' expands into an empty parameter
5900	(instead of nothing) when there are no positional parameters.
5901	From Nicolas Joly.
5902
5903	* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS): Prefer
5904	`$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1', and
5905	`${1+"$[@]"}' to `"[$]@"'.
5906
59072000-05-04  Akim Demaille  <akim@epita.fr>
5908
5909	AC_PREREQ understands `2.14a' as `2.141'.
5910	Reported by Didier Verna.
5911
5912	* acgeneral.m4 (AC_PREREQ): Don't quote AC_ACVERSION.
5913
59142000-05-04  Akim Demaille  <akim@epita.fr>
5915
5916	* acgeneral.m4 (AH_TOP, AH_BOTTOM): New macros.
5917	(_AH_COUNTER): New variable.
5918	* tests/tools.m4 (autoheader): Check their proper functioning.
5919
59202000-05-04  Akim Demaille  <akim@epita.fr>
5921
5922	* doc/autoconf.texi (Obsolete Macros): Rename as...
5923	(Obsoleting Macros): this.
5924	(Old Macros): Rename as...
5925	(Obsolete Macros): this.
5926	Be a section of...
5927	(Obsolete Constructs): New chapter.
5928	(Invoking autoheader): Move the `acconfig.h' documentation to...
5929	(acconfig.h): here, new section of `Obsolete Constructs'.
5930	(Autoheader Macros): Document AH_VERBATIM, AH_TEMPLATE, AH_TOP and
5931	AH_BOTTOM.
5932
59332000-05-03  Nicolas Joly  <njoly@pasteur.fr>
5934
5935	* autoheader.sh (config_h): Sort the templates.
5936	Under NetBSD 1.4.1 /bin/sh `set' command does not return a sorted
5937	variables list.
5938
59392000-05-03  Akim Demaille  <akim@epita.fr>
5940
5941	* tests/tools.m4 (autoheader): Don't pass `-l at_srcdir' to
5942	`autoheader', since `acconfig.h' is created in the build dir.
5943	There's one empty line less in `config.h.in' than before when
5944	using `acconfig.h'.
5945
59462000-05-03  Akim Demaille  <akim@epita.fr>
5947
5948	Simplify the handling of `acconfig.h'.
5949
5950	* autoheader.sh: No longer try to select the needed paragraphs of
5951	`acconfig.h', just dump everything into `config.h.in'.
5952	Implement support for `--warnings'.
5953	Warn the users that these auxiliary files are obsolete when `-W
5954	obsolete'.
5955	* doc/autoconf.texi (Invoking autoheader): Adjust.
5956
59572000-05-03  Akim Demaille  <akim@epita.fr>
5958
5959	Support of acconfig.h was broken.  Fix and test.
5960	Reported by Jim Meyering.
5961
5962	* autoheader.sh: Trace AC_DEFINE and AC_DEFINE_UNQUOTED to build
5963	the list of $syms which are defined.
5964	* tests/tools.m4 (autoheader): New test.
5965
59662000-05-03  Akim Demaille  <akim@epita.fr>
5967
5968	Rename the language FORTRAN77 as Fortran 77.
5969
5970	* aclang.m4 (AC_LANG(FORTRAN77), AC_LANG_SOURCE(FORTRAN77),
5971	AC_LANG_PROGRAM(FORTRAN77), AC_LANG_CALL(FORTRAN77)): Rename as...
5972	(AC_LANG(Fortran 77), AC_LANG_SOURCE(Fortran 77),
5973	AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)): This.
5974	(AC_LANG_FORTRAN77): Adjust.
5975
59762000-05-03  Akim Demaille  <akim@epita.fr>
5977
5978	Provide a macro to canonicalize a configuration name.
5979	Suggested by Ralf Corsepius.
5980
5981	*  acgeneral.m4 (AC_CANONICALIZE): New macro.
5982	(_AC_CANONICAL_THING): Use it.
5983
5984
5985	Change the defaults for build, host, and target systems:
5986	build  defaults to `config.guess`.
5987	host   defaults to $build.
5988	target defaults to $host.
5989	Suggested by Mo DeJong, Pavel Roskin, Tom Tromey, Ian Lance
5990	Taylor, and many others.
5991
5992	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set `$build', `$host' and
5993	`$target' to nothing instead of NONE.
5994	(AC_CANONICAL_SYSTEM): AU_DEFUN'd as `AC_CANONICAL_TARGET'.
5995	(_AC_CANONICAL_THING): Use an explicit m4_case to set the defaults
5996	depending upon the THING.
5997	Implement the default values.
5998	(AC_CANONICAL_TARGET): Handle the `AC_ARG_PROGRAM' part
5999	`AC_CANONICAL_SYSTEM' used to provide.
6000	* doc/autoconf.texi: Adjust.
6001
6002
6003	When receiving an explicit argument, consider this is a default
6004	for --build, --host and --target (unless set).
6005	Some scripts might still depend on this historical syntax.
6006	Suggested by Alexandre Oliva.
6007
6008	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Do that.
6009	(_AC_CANONICAL_THING): Drop the support of `$nonopt'.
6010
6011
6012	Documenting --build, --host and --target when configure does not
6013	handle them causes confusion.
6014	Suggested by Pavel Roskin.
6015	Nevertheless configure must not die on such an `unsupported'
6016	option: it does happen that people build an entire tree of
6017	packages, some of them expecting `--host' etc. some others not.
6018	Stressed by Tom Tromey and Ian Lance Taylor.
6019
6020	* acgeneral.m4 (HELP_CANON): New diversion.
6021	(_AC_INIT_PARSE_ARGS): Don't document these options.
6022	(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
6023	Document your associated option.
6024
60252000-04-28  Akim Demaille  <akim@epita.fr>
6026
6027	Don't double quote in AC_MSG_*.
6028
6029	* acgeneral.m4 (_AC_SH_QUOTE): Don't double quote.  Escape the
6030	double quotes too.
6031	(_AC_ECHO_UNQUOTED): Don't double quote :).
6032	(_AC_ECHO, _AC_ECHO_N): Quote the call to _AC_SH_QUOTE.
6033
6034	The autoheader chain needs to be adjusted.
6035
6036	* acgeneral.m4 (AH_VERBATIM): Just pass two arguments to AH_OUTPUT
6037	instead of trying to build what `autoheader' needs: let it handle
6038	the format by itself.
6039	* autoheader.m4: Adjust.
6040	s,tmp/config.h,tmp/config.hin.
6041
6042	The adjustment revealed that `autoconf --trace' is not robust to
6043	single quotes in its argument.
6044
6045	* autoconf.sh: Fix this issue.
6046	Rename the escape `$*' as `$%'.  Implement `$@'.
6047	* doc/autoconf.texi: Adjust.
6048
60492000-04-28  Akim Demaille  <akim@epita.fr>
6050
6051	mawk suffers a severe performance loss when using `sub' with a
6052	changing value.  On the `configure' script of the fileutils:
6053	mawk '{ sub (/foo/, foo++) }'                  -> 14s.
6054	mawk '{ if ($0 ~ /foo/) sub (/foo/, foo++) }'  -> 0.03s.
6055	mawk '{ sub (/foo/, foo) }'                    -> 0.03s.
6056
6057	* autoconf.sh (task script, AWK script): Run `sub (__oline__,
6058	oline)' only in the lines that match `__oline__'.
6059	Suggested by Paul Eggert.
6060
60612000-04-28  Akim Demaille  <akim@epita.fr>
6062
6063	* autoconf.sh (options handling::-W*): Strip two leading chars, not
6064	just one.
6065
60662000-04-20  Dave Love  <fx@gnu.org>
6067
6068	* acspecific.m4 (AC_FUNC_MKTIME): Use AC_SUBST.
6069
60702000-04-12  Akim Demaille  <akim@epita.fr>
6071
6072	Provide a fine grained control over autoconf's warnings.
6073
6074	* acgeneral.m4 (AC_WARNING_IFELSE, _AC_DIAGNOSE, AC_DIAGNOSE):
6075	New macros.
6076	(AC_DEFUN_ONCE, AC_OBSOLETE, AC_BEFORE, AU_DEFUN, AC_PREREQ,
6077	AC_WARNING, AC_FATAL, AC_TRY_RUN): Use AC_DIAGNOSE.
6078	* autoconf.sh: Provide support for `--warnings', `-W'.
6079	* doc/autoconf.texi (Invoking autoconf): Adjust.
6080	(Reporting Messages): New section.
6081
60822000-04-12  Akim Demaille  <akim@epita.fr>
6083
6084	* acgeneral.m4 (_AC_INIT_HELP): Move --srcdir in the first
6085	section.
6086	Document --help=short and recursive.
6087	Split the `Directory' section into `Installation directories' for
6088	--prefix and --exec-prefix, and all the others into `Fine tuning
6089	of the installation directories'.
6090	In the latter, don't repeat `in DIR', the user understands, and it
6091	comes out better.
6092	Default for --exec-prefix is PREFIX.
6093	Reported by Kathryn Hargreaves.
6094	Move --host before --build.
6095	Fix a test on `$ac_init_help' which was not updated.
6096
60972000-04-11  Akim Demaille  <akim@epita.fr>
6098
6099	Have `make check' succeed with CC=g++.
6100
6101	* tests/atspecific.m4 (AT_TEST_MACRO): Don't check `env-after' if
6102	the file does not exist, which may happen when a `configure' exits
6103	brutally.
6104	* tests/semantics.m4 (AC_CHECK_MEMBERS, AC_CHECK_TYPES): ANSI C++
6105	forbids members named like their hosting struct, so don't do it.
6106
61072000-04-11  Akim Demaille  <akim@epita.fr>
6108
6109	* autoscan.pl: Reindent using 2 spaces, not 4.
6110	Use `#' to denote Autoconf comments, not `dnl'.
6111	Put a few `\' here and there to avoid misfontification and
6112	misindentation.
6113	Use your base name when reporting errors.
6114	(parse_args::usage): Use $0, use the same order as the other
6115	executables.
6116	(parse_args): Don't dump `--help' on cmd line errors.
6117
61182000-04-11  Akim Demaille  <akim@epita.fr>
6119
6120	* acgeneral.m4 (AC_PROVIDE_IF): Rename as...
6121	(AC_PROVIDE_IFELSE): this.  Change all callers.
6122	Spread the use of AC_PROVIDE_IFELSE, no macro should know how
6123	AC_PROVIDE names its internal variables.
6124
61252000-04-11  Akim Demaille  <akim@epita.fr>
6126
6127	* acgeneral.m4: Simplify all the `foo="$bar"' into `foo=$bar'.
6128	* acspecific.m4: Likewise.
6129	* aclang.m4: Likewise.
6130
61312000-04-11  Akim Demaille  <akim@epita.fr>
6132
6133	Move obsolete macros' definitions out of the way.
6134
6135	* doc/autoconf.texi (Old Macro Names): Rename as...
6136	(Old Macros): this.  Change the @table enumeration into a list of
6137	@defmac.
6138	(AC_CHECKING, AC_CHECK_TYPE, AC_COMPILE_CHECK, AC_C_CROSS,
6139	AC_DYNIX_SEQ, AC_HAVE_LIBRARY, AC_IRIX_SUN, AC_LINK_FILES,
6140	AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_SCO_INTL, AC_VERBOSE,
6141	AC_XENIX_DIR): Move their descriptions into here.
6142	Kill a few TeX warnings.
6143
61442000-04-11  Akim Demaille  <akim@epita.fr>
6145
6146	* acgeneral.m4 (AC_MSG_ERROR_UNQUOTED): Remove.
6147	(AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED): Output to the log too.
6148	(AC_CHECKING, AC_VERBOSE): AU_ define.
6149
61502000-04-07  Akim Demaille  <akim@epita.fr>
6151
6152	* acgeneral.m4:	s/1>&/>&/g.
6153	(AC_FD_LOG): New macro, replaces...
6154	(AC_FD_CC): this.  Provide an AU definition.
6155	(_AC_ECHO_UNQUOTED, _AC_ECHO_N): Use m4_default.
6156
61572000-04-05  Akim Demaille  <akim@epita.fr>
6158
6159	At the end of `./configure', save the cache values, and the CPP
6160	values.
6161
6162	* acgeneral.m4 (_AC_CACHE_DUMP): New macro.
6163	(AC_CACHE_SAVE, AC_OUTPUT): Use it.
6164	(AC_OUTPUT): Dump confdefs.h into config.log.
6165	(_AC_INIT_PREPARE::config.log): Name the package being configured
6166	if you can.
6167
61682000-04-05  Steven G. Johnson  <stevenj@alum.mit.edu>
6169
6170	Disable caching by default, so as not to cause problems when
6171	newbies accidentally use a stale cache file.
6172
6173	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set cache_file to /dev/null
6174	to disable caching by default.
6175	(_AC_INIT_HELP): Adjust the --help message.
6176	(AC_CACHE_LOAD, AC_CACHE_SAVE): Don't print "loading/updating
6177	/dev/null" messages.
6178	* autoconf.texi: Note that caching is disabled, how to enable it,
6179	and that `./config.cache' is the traditional name of the cache file.
6180	* install.texi: Likewise.
6181
61822000-04-03  Akim Demaille  <akim@epita.fr>
6183
6184	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): If any option waiting for a
6185	directory receives a relative path, die (bindir, sbindir,
6186	libexecdir, datadir, sysconfdir, sharedstatedir, localstatedir,
6187	libdir, includedir, oldincludedir, infodir, mandir, exec_prefix,
6188	prefix).  Fixes Autoconf 42.
6189
61902000-04-03  Akim Demaille  <akim@epita.fr>
6191
6192	* doc/autoconf.texi (Canonicalizing): Officially recognize
6193	AC_CANONICAL_TARGET and AC_CANONICAL_BUILD.
6194
61952000-04-03  Akim Demaille  <akim@epita.fr>
6196
6197	* doc/autoconf.texi (Writing configure.in): Explain what Autoconf
6198	is.  Explain how to use the quotation scheme used in Autoconf.
6199	(Quoting): Update.  Do not advocate changequote.
6200
62012000-03-30  Steven G. Johnson  <stevenj@alum.mit.edu>
6202
6203	Fix F77 name-mangling macros to work with cached values (so
6204	they don't break the second time you run configure).
6205
6206	* aclang.m4 (AC_F77_NAME_MANGLING): Extract f77_case,
6207	f77_underscore from cache variable.
6208	(AC_F77_WRAPPERS): Get rid of ac_cv_f77_wrappers, it's useless.
6209	Simplify the nested case-esac into a single one.
6210	Simplify the documentation strings of CPP symbols.
6211
62122000-03-31  Akim Demaille  <akim@epita.fr>
6213
6214	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the accumulation in
6215	CONFIG_HEADERS.
6216
62172000-03-31  Akim Demaille  <akim@epita.fr>
6218
6219	* autoheader.sh: Catch up with the `mktemp -d' changes in
6220	autoconf.sh.
6221	* autoupdate.sh: Likewise.
6222
62232000-03-31  Steven G. Johnson  <stevenj@alum.mit.edu>
6224
6225	* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): bug fix in F77 test program
6226	(missing whitespace--F77 requires program statements to start in
6227	column 7).
6228
62292000-03-29  Akim Demaille  <akim@epita.fr>
6230
6231	Rewrite the autoheader chain on top of `autoconf --trace'.
6232
6233	* autoheader.m4: Dispatch the prototypes next to there AC_
6234	siblings.
6235	(AH_TEMPLATE, AH_VERBATIM): Move to...
6236	* acgeneral.m4: here.
6237	(AH_OUTPUT): New macro.
6238	* autoheader.sh: Run `autoconf --trace' instead of `m4 autoheader.m4'.
6239	* autoheader.m4: Remove.
6240	* Makefile.am: Adjust.
6241	* tests/tools.m4 (AH_DEFUN): Remove, no longer makes sense.
6242	* tests/actests.m4 (autoheader::AC_TATOOINE): Remove, was used by
6243	the test above.
6244
62452000-03-29  Akim Demaille  <akim@epita.fr>
6246
6247	silent.m4 depends upon the current quotation in m4, which changes
6248	if `-i' is used or not.
6249
6250	* autoconf.sh (trace::silent.m4): Removed.
6251	(trace::run_m4_trace): Pass -Derrprint.
6252
62532000-03-29  Akim Demaille  <akim@epita.fr>
6254
6255	Use `mktemp -d' when possible to create securely a tmp work dir.
6256
6257	* autoconf.sh: Use it when possible to create the dir $tmp.
6258	Stop using variables for tmp files, use their names in $tmp.
6259	[install]: Use the new features of autoconf --trace.
6260
62612000-03-28  Akim Demaille  <akim@epita.fr>
6262
6263	Probably all the versions of bash up to 2.04 fail on
6264	  fnmatch ("/tmp", "[/\\\\]")
6265	The backslash must not be last.
6266
6267	* acgeneral.m4 (_AC_INIT_HELP, AC_PATH_PROG, _AC_OUTPUT_FILES,
6268	_AC_OUTPUT_LINKS, _AC_OUTPUT_SUBDIRS): Always make `\\' be the
6269	first character in all the `[]' of `case' patterns.
6270
62712000-03-27  Akim Demaille  <akim@epita.fr>
6272
6273	* acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Rename back as
6274	AC_CHECK_TOOL_PREFIX since some packages rely on it.
6275
62762000-03-27  Akim Demaille  <akim@epita.fr>
6277
6278	Move all the language dependent macros into aclang.m4.
6279
6280	* aclang.m4: New file.
6281	* autoconf.m4: Include it.
6282	* autoheader.m4: Likewise.
6283	* autoupdate.m4: Likewise.
6284	* Makefile.am: Adjust.
6285	* test/Makefile.am: Likewise.
6286	* acgeneral.m4 (AC_LANG_CASE,AC_LANG_SAVE, _AC_LANG_DISPATCH,
6287	AC_LANG, _AC_LANG_CURRENT, AC_LANG_SOURCE, AC_LANG_PROGRAM,
6288	AC_LANG_CALL, AC_LANG(C), AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C),
6289	AC_LANG_CALL(C), AC_LANG(C++), AC_LANG_SOURCE(C++),
6290	AC_LANG_PROGRAM(C++), AC_LANG_CALL(C++), AC_LANG(FORTRAN77),
6291	AC_LANG_SOURCE(FORTRAN77), AC_LANG_PROGRAM(FORTRAN77),
6292	AC_LANG_CALL(FORTRAN77): Move to...
6293	* aclang.m4: here.
6294	* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77,
6295	AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS,
6296	AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU, AC_PROG_CC_G,
6297	AC_PROG_CXX_G, AC_PROG_F77_G, AC_PROG_GCC_TRADITIONAL,
6298	AC_PROG_CC_C_O, AC_PROG_F77_C_O, AC_PROG_CC_STDC, AC_PROG_CPP,
6299	AC_PROG_CXXCPP, AC_REQUIRE_CPP, AC_PROG_LEX, AC_TYPE_MODE_T,
6300	AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE, AC_C_BIGENDIAN,
6301	AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE, AC_C_STRINGIZE,
6302	AC_C_PROTOTYPES, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING,
6303	AC_F77_WRAPPERS): Move to...
6304	* aclang.m4: here.
6305
63062000-03-27  Akim Demaille  <akim@epita.fr>
6307
6308	* autoconf.sh (trace): Let translate_awk do the whole translation
6309	from `$trace' to the m4 program.
6310
63112000-03-27  Akim Demaille  <akim@epita.fr>
6312
6313	* acgeneral.m4 (AC_PACKAGE): Also define AC_PACKAGE_STRING.
6314	Use it here and there.
6315
63162000-03-27  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
6317
6318	* acgeneral.m4 (_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Fix the DOS
6319	absolute path pattern: s/?:[[/\\]]/?:[[/\\]]*/.
6320
63212000-03-25  Akim Demaille  <akim@epita.fr>
6322
6323	* acgeneral.m4 (_AC_CANONICAL_TARGET, _AC_CANONICAL_BUILD): Rename
6324	as (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD), although internal,
6325	too much foreign code depends upon them.
6326
63272000-03-25  Akim Demaille  <akim@epita.fr>
6328
6329	* autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable
6330	to systems without a real /dev/stderr in the file system or if not
6331	using one of the three free awks.  Use
6332	print message | "cat >&2"
6333	...
6334	END { close("cat >&2") }
6335	From Aharon Robbins.
6336
63372000-03-25  Akim Demaille  <akim@epita.fr>
6338
6339	* autoheader.sh (checking completeness): Be ready to recognize
6340	patterns with a value, and spaces between `#' and the directive, e.g.
6341	# define FOO FIXME:
6342	Reported by John Fortin.
6343
63442000-03-25  Akim Demaille  <akim@epita.fr>
6345
6346	* acgeneral.m4 (AC_RUN_IFELSE): New macro.
6347	(AC_TRY_RUN_NATIVE): Remove.
6348	(AC_TRY_RUN): Use AC_RUN_IFELSE, not AC_TRY_RUN_NATIVE.
6349
63502000-03-25  Akim Demaille  <akim@epita.fr>
6351
6352	* acgeneral.m4 (AC_CHECK_LIB): Ah ah!  I recognized you, even
6353	masked: you are AC_TRY_LINK_FUNC.
6354	Fix quotation.
6355	(AC_SEARCH_LIBS): Use AC_SHELL_IFELSE.
6356
63572000-03-25  Akim Demaille  <akim@epita.fr>
6358
6359	* tests/semantics.m4 (AC_TRY_LINK_FUNC, AC_CHECK_LIB): New tests.
6360
63612000-03-25  Akim Demaille  <akim@epita.fr>
6362
6363	* acgeneral.m4 (AC_LANG_CALL, AC_LANG_CALL(C), AC_LANG_CALL(C++),
6364	AC_LANG_CALL(FORTRAN77)): New macros.
6365	(AC_TRY_LINK_FUNC): Use it.
6366	(AC_TRY_CPP): Argument was output twice.
6367	(AC_COMPILE_IFELSE, AC_LINK_IFELSE): Output $3 only if needed.
6368
63692000-03-25  Akim Demaille  <akim@epita.fr>
6370
6371	* acgeneral.m4 (AC_TRY_COMPILER): Use AC_LINK_IFELSE.
6372	(AC_TRY_LINK_FUNC, AC_CHECK_LIB, AC_CHECK_FUNC): Don't check that
6373	the current language is C++ to output `extern "C"': the CPP
6374	condition is enough.
6375
63762000-03-25  Akim Demaille  <akim@epita.fr>
6377
6378	* acgeneral.m4 (AC_LINK_IFELSE, AC_COMPILE_IFELSE): New macros.
6379	(AC_TRY_LINK, AC_TRY_COMPILE): Use them.
6380	(AC_CHECK_MEMBER, AC_COMPILE_CHECK, AC_CHECK_DECL,
6381	_AC_CHECK_TYPE_NEW): Adjust.
6382	* acspecific.m4 (AC_DECL_YYTEXT, AC_PATH_XTRA): Adjust.
6383
63842000-03-23  Steven G. Johnson  <stevenj@alum.mit.edu>
6385
6386	* acspecific.m4 (AC_F77_NAME_MANGLING): Need to use
6387	AC_F77_LIBRARY_LDFLAGS when linking C and Fortran code.
6388
63892000-03-23  Akim Demaille  <akim@epita.fr>
6390
6391	* acgeneral.m4 (AC_LANG_PROGRAM, AC_LANG_PROGRAM(C),
6392	AC_LANG_PROGRAM(C++), AC_LANG_PROGRAM(FORTRAN77)): New macros.
6393	(AC_TRY_COMPILE, AC_TRY_LINK): Use them.
6394
63952000-03-23  Akim Demaille  <akim@epita.fr>
6396
6397	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Support --help={long, short,
6398	recursive}.
6399	(_AC_INIT_HELP): Propagate --help=recursive to CONFIG_SUBDIRS.
6400	Code stolen from...
6401	(AC_OUTPUT_SUBDIRS): s/ac_config_dir/ac_subdir/g.
6402
64032000-03-23  Lars J. Aas  <larsa@sim.no>
6404
6405	* libm4.m4 (m4_do): New macro.
6406
64072000-03-21  Akim Demaille  <akim@epita.fr>
6408
6409	Provide a language independent means to generate language specific
6410	programs.
6411
6412	* acgeneral.m4 (_AC_LANG_DISPATCH): New macro.
6413	(AC_LANG): Use it.
6414	(AC_LANG_SOURCE, AC_LANG_SOURCE(C), AC_LANG_SOURCE(C++),
6415	AC_LANG_SOURCE(FORTRAN77)): New macros.
6416	(AC_TRY_COMPILER, AC_EGREP_CPP, AC_TRY_RUN_NATIVE): Use
6417	AC_LANG_SOURCE.
6418
64192000-03-21  Akim Demaille  <akim@epita.fr>
6420
6421	Fix a bug: some macros (e.g., AC_REVISION, AC_COPYRIGHT etc.) can
6422	be used before AC_INIT, but they do require it.  But then, the
6423	argument of the explicit AC_INIT call is lost.
6424
6425	* acgeneral.m4 (AC_CONFIG_SRCDIR): New macro.
6426	(_AC_INIT_SRCDIR): Adjust.
6427	(_AC_INIT): Pass your argument to AC_CONFIG_SRCDIR.
6428
64292000-03-21  Akim Demaille  <akim@epita.fr>
6430
6431	* tests/semantics.m4 (AC_PATH_PROG, AC_PATH_PROGS): New tests.
6432
64332000-03-21  Akim Demaille  <akim@epita.fr>
6434
6435	Start the language support overhaul: Introduce AC_LANG().
6436
6437	* acgeneral.m4 (AC_LANG): Renamed as _AC_LANG_CURRENT.
6438	(AC_LANG, AC_LANG(C), AC_LANG(C++), AC_LANG(FORTRAN77)): New
6439	macros.
6440	(AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_FORTRAN): AU_DEFUN'ed.
6441	Adjust all callers.
6442	* acspecific.m4 (AC_F77_NAME_MANGLING): Remove the exceeding
6443	AC_LANG_RESTORE.
6444	* tests/Makefile.am (FILTER_MACROS): Add AC_LANG.
6445
64462000-03-21  Akim Demaille  <akim@epita.fr>
6447
6448	Speed ups.
6449
6450	* libm4.m4 (m4_append, m4_list_append): Use m4_define, not define.
6451	On my machine the former implementation takes 4mn 40s to run the
6452	test suite.  Using m4_define leads to 4mn 15s.
6453	* acgeneral.m4 (_AC_SUBST): Use AC_EXPAND_ONCE (which uses
6454	m4_define, not define).  4mn.
6455	(_AC_DIVERT): Don't use m4_case.  Starting from those 4mn, if you
6456	just move NORMAL* first in m4_case, the test suite is run in 3mn.
6457	If instead of using m4, you use an `associative array' plus a
6458	wrapper (current implementation), it falls to 2mn.
6459
64602000-03-21  Akim Demaille  <akim@epita.fr>
6461
6462	* tests/tools.m4 (autoconf --trace): New test.
6463
64642000-03-21  Akim Demaille  <akim@epita.fr>
6465
6466	* autoconf.sh (task trace): Pipe the output of the first m4 into
6467	the second one, instead of saving to a tmp file, so that we can
6468	trace endless configure.in expansion.
6469
64702000-03-21  Akim Demaille  <akim@epita.fr>
6471
6472	Uniform idioms.
6473
6474	* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
6475	_AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Prefer
6476	for i in : $is; do test $i = : && continue
6477	over
6478	for i in .. $is; do if test $i != ..; then
6479
64802000-03-21  Akim Demaille  <akim@epita.fr>
6481
6482	* acgeneral.m4 (_AC_INIT_PREPARE, _AC_INIT_PARSE_ARGS): Move more
6483	initializations to...
6484	(_AC_INIT_DEFAULTS): here.
6485
64862000-03-21  Akim Demaille  <akim@epita.fr>
6487
6488	Give a means to compute `srcdir' earlier in configure.
6489
6490	* acgeneral.m4 (_AC_INIT_SRCDIR): New macro, pulled out from...
6491	(_AC_INIT_PREPARE): No longer compute `srcdir'.
6492	(_AC_INIT): Use _AC_INIT_SRCDIR.
6493	(AC_INIT): Don't forget to pass the argument to _AC_INIT.
6494
64952000-03-20  Jim Meyering  <meyering@lucent.com>
6496
6497	* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Don't test for existence
6498	of $ac_xdir.  Not only is `test -e' not portable, but the test isn't
6499	necessary at all;  the following mkdir ends up accomplishing the
6500	same goal.  Suggestion from Alexandre Oliva.
6501
6502	* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT) [setting IFS]: Be careful
6503	to use space, tab and new line, in precisely that order.
6504
65052000-03-20  Akim Demaille  <akim@epita.fr>
6506
6507	* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Rename as _AC_OUTPUT_SUBDIRS.
6508	No argument, use AC_LIST_SUBDIRS.
6509	Adjust callers.
6510
65112000-03-20  Akim Demaille  <akim@epita.fr>
6512
6513	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Double quote the head
6514	of the help snippet.
6515
65162000-03-20  Akim Demaille  <akim@epita.fr>
6517
6518	Give an identity to `configure' scripts.
6519
6520	* acgeneral.m4 (AC_PACKAGE): New macro.
6521	(_AC_COPYRIGHT_SEPARATOR): Remove.
6522	(AC_COPYRIGHT): Adjust.
6523	(_AC_INIT_HELP, _AC_INIT_VERSION): Name the package you configure
6524	when you want.
6525	(_AC_INIT): Adjust.
6526	* configure.in (AC_PACKAGE): Add.
6527
65282000-03-20  Akim Demaille  <akim@epita.fr>
6529
6530	* acgeneral.m4: Formatting changes.
6531
65322000-03-20  Akim Demaille  <akim@epita.fr>
6533
6534	Don't rely on RS = "\0" to swallow the whole input as a single
6535	record, this is not portable: mawk and nawk understand it as RS =
6536	"".  gawk understands it as expected.
6537
6538	* autoconf.sh (translate_awk::BEGIN): No longer change RS.
6539	(translate_awk::body): Move to the END.
6540	Instead, accumulate the input in `request'.
6541
65422000-03-20  Akim Demaille  <akim@epita.fr>
6543
6544	* doc/autoconf.texi (Testing Values and Files): Be a subsection of
6545	`Portable Shell Programming'.
6546	(Shell Substitutions, Limitations of Usual Tools): New subsections.
6547
65482000-03-17  Akim Demaille  <akim@epita.fr>
6549
6550	Use a single tool to reformat the raw `configure' script output by
6551	m4.
6552	Suggested by Paul Eggert.
6553
6554	* autoconf.sh: Stop playing with 2 seds and an AWK to finalize
6555	`configure', a single AWK program is enough.
6556
65572000-03-17  Akim Demaille  <akim@epita.fr>
6558
6559	In Autoconf 2.13, although AC_OUTPUT_COMMANDS did double quote its
6560	arguments, AC_OUTPUT arguments 2 and 3 were not!  Currently,
6561	AC_OUTPUT over quotes too: stop that.
6562	Reported by Martin Buchholz.
6563
6564	* doc/autoconf.texi (Output): Don't expand on the ternary
6565	AC_OUTPUT.
6566	* acgeneral.m4 (AC_OUTPUT): Don't over quote $2 and $3.
6567
65682000-03-17  Joseph S. Myers  <jsm28@cam.ac.uk>
6569
6570	* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Security fixes: create
6571	the temp files in a private temporary directory, not directly in
6572	TMPDIR.
6573
65742000-03-17  Akim Demaille  <akim@epita.fr>
6575
6576	Install the IFS we need once for all.
6577
6578	* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): New macro.
6579	Handle the NLS envvars, and IFS.
6580	(_AC_INIT_PREPARE): Use it, no longer set the NLS envvars.
6581	(_AC_WHICH_A, AC_PATH_PROG): Rely on the default IFS.
6582	* acspecific.m4 (AC_PROG_INSTALL, AC_FUNC_SELECT_ARGTYPES):
6583	Likewise.
6584
65852000-03-17  Akim Demaille  <akim@epita.fr>
6586
6587	* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_TRY_COMPILE,
6588	AC_TRY_LINK, AC_TRY_RUN_NATIVE): Simplify the removal of the
6589	contest files: don't remove them before running the actions, just
6590	remove them at the end of the macro.
6591
65922000-03-16  Akim Demaille  <akim@epita.fr>
6593
6594	* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use
6595	  : ${foo='some words'}
6596	not
6597	  : ${foo=some words}
6598	since this is not portable: Digital Unix v5.0: `bad substitution'.
6599	From Nicolas Joly.
6600
66012000-03-16  Lars J. Aas  <larsa@sim.no>
6602
6603	* libm4.m4 (m4_assert, m4_shiftn): New macros.
6604	(m4_case,m4_match): Rewrite to use m4_shiftn (for readability reasons).
6605	(m4_for): Add the STEP argument and some argument-verifying asserts.
6606	(m4_split): Correct spaces to tabulator in regexp.
6607
66082000-03-15  Akim Demaille  <akim@epita.fr>
6609
6610	Revamp AC_FUNC_SELECT_ARGTYPES.
6611
6612	* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use a single cache
6613	variable instead of three.
6614	Use AC_CACHE_CHECK.
6615	Shorten the name of the var loops, they are no longer cached.
6616	Include sys/types.h unconditionally.
6617	`select' returns an int, fixes Autoconf/46.
6618	Don't display parens in the user messages.
6619
66202000-03-14  Akim Demaille  <akim@epita.fr>
6621
6622	* autoheader.sh: Use run_m4f, not run_m4.
6623
66242000-03-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6625
6626	* tests/actest.m4 (AC_ENV_SAVE): Don't consider RANDOM and LINENO
6627	which some shells update.  At least ksh on HP-UX 10.20 and sh on
6628	IRIX 6.5 do change their `RANDOM' even if `read' via `set'.
6629
66302000-03-14  Akim Demaille  <akim@epita.fr>
6631
6632	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): No use for @%:@ here,
6633	no need to over quote $1 in the comments.
6634
66352000-03-14  Akim Demaille  <akim@epita.fr>
6636
6637	* acgeneral.m4: Replace some ifelse with ifval or m4_default, or
6638	even nothing when not needed.
6639	* acspecific.m4: Likewise.
6640
66412000-03-14  Akim Demaille  <akim@epita.fr>
6642
6643	* acgeneral.m4 (_AC_INIT_PREPARE): Insert the Autoconf version in
6644	config.log, and the command line which ran configure.
6645	Kill a couple of useless quote around dollars.
6646
66472000-03-14  Akim Demaille  <akim@epita.fr>
6648
6649	* acgeneral.m4 (_AC_INIT_PREPARE): Kill a changequote in the
6650	building of `ac_configure_args'.
6651
66522000-03-14  Akim Demaille  <akim@epita.fr>
6653
6654	* acgeneral.m4 (AC_DIVERT): Rename _AC_DIVERT.
6655	(AC_DIVERT): New macro.
6656	Spread its use where better than a pair of AC_DIVERT_PUSH/POP.
6657
66582000-03-14  Akim Demaille  <akim@epita.fr>
6659
6660	* acgeneral.m4 (_AC_INIT_BINSH): Remove, useless now that...
6661	(AC_REVISION): Require AC_INIT, not _AC_INIT_BINSH.
6662	(AC_INIT): Do what _AC_INIT_BINSH used to.
6663	Don't require _AC_INIT_VERSION, just call it.
6664	Rename as _AC_INIT.
6665	(AC_INIT): New macro, single expansion wrapper around _AC_INIT.
6666	(_AC_COPYRIGHT_SEPARATOR): New.
6667	(AC_COPYRIGHT): Use it.
6668	Require AC_INIT, not _AC_INIT_VERSION.
6669	* doc/autoconf.texi (Versions): Promote as first section of
6670	`Setup'.
6671	Rename as `Notices'.
6672	Document AC_COPYRIGHT.
6673	Don't give false reasons for placing AC_REVISION before AC_INIT,
6674	the place no longer matters.
6675
66762000-03-14  Akim Demaille  <akim@epita.fr>
6677
6678	* autoconf.sh (trace_m4::smash): Double quote, we don't want the
6679	result to be evaluated.
6680
66812000-03-14  Akim Demaille  <akim@epita.fr>
6682
6683	* acgeneral.m4: s/@%:@line __oline__/#line __oline__/g. __oline__
6684	is not a macro, so there is just no use in avoiding `#'.
6685
66862000-03-14  Akim Demaille  <akim@epita.fr>
6687
6688	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): When there were no
6689	CONFIG_FILES, we had to expand _AC_OUTPUT_FILES into the KILL
6690	diversion, because it is AC_OUTPUT_FILES which undiverted the
6691	AC_SUBST sed script at its proper place, otherwise it would have
6692	been undiverted at the end of `configure', leading to an sh syntax
6693	error.
6694	Now that we no longer use a diversion, we don't need to call
6695	AC_OUTPUT_FILES if useless.
6696	(AC_OUTPUT_FILES): Rename as _AC_OUTPUT_FILES.
6697	(AC_OUTPUT_LINKS): Rename as _AC_OUTPUT_LINKS.
6698
66992000-03-14  Akim Demaille  <akim@epita.fr>
6700
6701	AC_ARG_PROGRAM must not be expanded twice, which is likely since
6702	Automake calls it, and usually users do too.  If it happens,
6703	`--program-prefix=g' actually prepend two (or more) `g'.
6704
6705	* acgeneral.m4 (AC_DEFUN_ONCE): New macro.
6706	(AC_ARG_PROGRAM): AC_DEFUNed_ONCE.  Or is it AC_DEFUN_ONCE'd? :).
6707	No longer AC_EXPAND_ONCE the help string, the macro itself is
6708	expanded at most once.
6709	Rename the here-doc tag EOF_SED as EOF.
6710
67112000-03-14  Akim Demaille  <akim@epita.fr>
6712
6713	Get rid of the ICMDS diversion.
6714
6715	* acgeneral.m4 (AC_DIVERT): Remove ICMDS.
6716	(_AC_OUTPUT_COMMANDS_INIT): New growing string.
6717	(_AC_CONFIG_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS): Adjust.
6718
67192000-03-14  Akim Demaille  <akim@epita.fr>
6720
6721	Introduce AC_SUBST(VAR, VAL).
6722
6723	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Stop global double quoting,
6724	failed experiment.
6725	Merge all the var=val AC_SUBST(var) into AC_SUBST(var, val).
6726	(AC_SUBST): Implement support for 2nd arg.
6727	* doc/autoconf.texi (Setting Output Variables): Adjust.
6728
67292000-03-13  Akim Demaille  <akim@epita.fr>
6730
6731	Simplify the diversions naming system.
6732	Suggested by Alexandre Oliva and Lars J. Aas
6733
6734	* libm4.m4 (ifndef): New macro.
6735	* acgeneral.m4 (AC_DIVERT): New macro, maps a diversion name to
6736	its value.  The diversions now have a short name, e.g., `NOTICE',
6737	instead of the former macros which had long names, e.g.,
6738	`AC_DIVERSION_NOTICE'.
6739	(AC_DIVERT_PUSH): Adjust.
6740	(AC_DIVERT_POP): Use ifndef.
6741	(AC_DIVERSION_CURRENT): Rename as `AC_DIVERT_DIVERSION' to stay
6742	within the `AC_DIVERT' name domain.
6743	Adjust all callers.
6744	* acspecific.m4: Adjust all callers.
6745
67462000-03-13  Akim Demaille  <akim@epita.fr>
6747
6748	* doc/autoconf.texi (Invoking autoconf): Update documentation of
6749	`autoconf --trace'.
6750
67512000-03-13  Akim Demaille  <akim@epita.fr>
6752
6753	* autoconf.sh (tmpbase): New var.  Adjust trap code and other tmp
6754	file names.
6755	(translate_awk::BEGIN): Set RS to "\0" so that the whole file be a
6756	single record.
6757	(translate_awk::trans): Convert from array to function.
6758	(translate_awk::error): New function.
6759	(translate_awk::main action): Implement support for ${sep}@ and
6760	${sep}*.  Use trans() and error().
6761	(translate_awk): Don't put space before user functions call, it is
6762	not portable.
6763	Remove trailing `;', this is not C :).
6764	(task trace): Quote `$traces' when you eval it, to protect the
6765	white spaces.
6766	Propagate `translate_awk' failures to `autoconf.sh'.
6767	Translate the quadrigraphs.
6768
67692000-03-13  Akim Demaille  <akim@epita.fr>
6770
6771	Trap on 0 is not executed when `exit' is called without argument.
6772
6773	* autoheader.sh (trap 1 2 13 15): s/exit/exit $?/.
6774	* autoconf.sh: Likewise.
6775	Remove translate_awk too.
6776	* autoupdate.sh: Likewise.
6777	Handle `--debug'.
6778
67792000-03-13  Akim Demaille  <akim@epita.fr>
6780
6781	More uniform style in scripts.
6782
6783	* autoheader.sh: s/-eq/=/.
6784	Uniform ordering of variable initializations, option handling.
6785	Don't use quotes where useless (foo=$1, not foo="$1").
6786	Propagate `run_m4' and `run_m4f'.
6787	Use `$0' in --help.
6788	* autoconf.sh: Likewise.
6789	* autoreconf.sh: Likewise.
6790	* autoupdate.sh: Likewise.
6791	* ifnames.sh: Likewise.
6792	* autoupdate.m4: Small bug: at the end `dnl' is disabled, so use
6793	`m4_dnl'.
6794
67952000-03-13  Akim Demaille  <akim@epita.fr>
6796
6797	`autoconf --trace': faster.
6798
6799	* autoconf.sh (initialization): New var, new option.
6800	(option loop): When you need an arg, make sure there is one.
6801	(run_m4f): New var, which content is that of the former...
6802	(run_m4): Don't use m4 frozen state files.
6803	Change all callers.
6804	Don't pass AC_LOCALDIR, not documented, and unused.
6805	(task trace): Honor `--verbose' and `--initialization'.
6806	(globally): Send `--verbose' messages in stderr.
6807	Fix random typos.
6808
68092000-03-13  Akim Demaille  <akim@epita.fr>
6810
6811	* acspecific.m4 (AC_PROG_BINSH): Removed.
6812
68132000-03-13  Akim Demaille  <akim@epita.fr>
6814
6815	Start revamping `autoconf --trace'.
6816
6817	* autoconf.sh (debug): New var, new option.
6818	Adjust the trap code.
6819	(task trace): Instead of decoding `m4 --trace' with sed, decode it
6820	with m4 itself.
6821	($silent_m4): New file, which disables m4's `errprint'.
6822	($trace_m4): New file.  Logistic for the m4 which is in charge of
6823	decoding the traces of the first.
6824	($translate_awk): Transform a user trace request into $trace_m4
6825	code.
6826
68272000-03-10  Akim Demaille  <akim@epita.fr>
6828
6829	Multiple `-e' to egrep are not portable.  On IRIX 6.5 and Solaris
6830	2.5.1 only the last one is honored:
6831	  > printf "foo\nbar\n" | egrep -e 'foo' -e 'bar'
6832	  bar
6833	  > printf "foo\nbar\n" | egrep -e 'bar' -e 'foo'
6834	  foo
6835	Reported by Nicolas Joly.
6836	An alternative would have been to use `sed', unfortunately
6837	alternation is not portable.
6838
6839	* tests/actest.m4 (join): New macro.
6840	(AC_ENV_SAVE): Join the egrep patterns into a single big one.
6841	* tests/Makefile.am (EGREP_EXCLUDE): Rename as FILTER_MACROS.
6842	Join the egrep patterns into a single big one.
6843
68442000-03-10  Jim Meyering  <meyering@lucent.com>
6845
6846	* acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Correct typos in definition:
6847	add `_' prefix to make the function name match comments and existing
6848	uses.  Remove leading prefix from _AC_CANONICAL_HOST.
6849
68502000-03-09  Ossama Othman  <ossama@debian.org>
6851
6852	* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Added some missing
6853	headers if they exist (needed for some missing prototypes) and
6854	corrects the signal handler prototype/definition.  The signal
6855	handler prototype is now prepended with an `extern "C"' for C++
6856	compilers since some platforms explicitly require an `extern "C"'
6857	signal handler.
6858
68592000-03-08  Akim Demaille  <akim@epita.fr>
6860
6861	* autoheader.m4 (autoheader::AC_CHECK_HEADERS_DIRENT): Rename as
6862	(autoheader::_AC_CHECK_HEADERS_DIRENT): to cope with the new name
6863	of the autoconf:: macro.
6864	Fixes autoconf/119, reported by Raja R Harinath.
6865
68662000-03-08  Akim Demaille  <akim@epita.fr>
6867
6868	* acgeneral.m4 (AC_PATH_PROG, AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS):
6869	Fix quotation problems in DOS path handling.
6870
68712000-03-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6872
6873	* acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_ALLOCA): Make them C++
6874	safe: include the right headers, cast the allocations etc.
6875
68762000-03-08  Akim Demaille  <akim@epita.fr>
6877
6878	The argument of AC_COPYRIGHT should be plain text, not an sh
6879	comment.
6880
6881	* libm4.m4 (m4_quote): s/$@/$*/.
6882	* acgeneral.m4 (AC_COPYRIGHT): Prepend `# ' to the lines that go
6883	on the top of `configure'.  Actually, prepend `@%:@ ' so that
6884	there are as many evaluations on both sides.
6885	(_AC_INIT_VERSION): No longer strip `# '.
6886
68872000-03-08  Akim Demaille  <akim@epita.fr>
6888
6889	* tests/Makefile.am (all-local): Remove.  It wastes time to have
6890	testsuite rebuilt each time an ac*.m4 file changes.  It is enough
6891	to build it for each `make check'.
6892
68932000-03-08  Akim Demaille  <akim@epita.fr>
6894
6895	Leave a diversion exclusively for Copyright notices.
6896
6897	* acgeneral.m4 (AC_DIVERSION_DEFAULTS): New diversion number.
6898	(_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
6899	here...
6900	(_AC_INIT_PREPARE): to here.
6901	(_AC_INIT_NOTICE): Play with your diversion yourself, don't let
6902	(AC_INIT): do it for you.
6903	(_AC_INIT_DEFAULTS): New macro.
6904	(AC_INIT): Use it.
6905
69062000-03-08  Akim Demaille  <akim@epita.fr>
6907
6908	Provide a means to specify more Copyright information in
6909	`configure'.  And after all, it suits to `configure --version' too.
6910
6911	* acgeneral.m4 (AC_DIVERSION_DEFAULTS, AC_DIVERSION_INIT_PREPARE):
6912	New diversion numbers.
6913	(AC_DIVERSION_INIT): Rename as...
6914	(AC_DIVERSION_INIT_PARSE_ARGS): this.
6915	(AC_DIVERT_POP): Instead of going into wild endless loops when
6916	there are more pops than pushes, die with dignity.
6917	(AC_COPYRIGHT): New macro.
6918	(_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
6919	here...
6920	(_AC_INIT_PREPARE): to here.
6921	(_AC_INIT_NOTICE): Remove.
6922	(AC_INIT): Use it to install Autoconf's Copyright.
6923	(_AC_INIT_DEFAULTS): New macro.
6924	(AC_INIT): Use it.
6925	(AC_PREFIX_DEFAULTS): Dump in AC_DIVERSION_DEFAULTS.
6926	(_AC_INIT_PARSE_ARGS): Dump in AC_DIVERSION_INIT_PREPARE.
6927
69282000-03-08  Akim Demaille  <akim@epita.fr>
6929
6930	We don't need _AC_ARG_*_HELP_PROLOGUE.
6931
6932	* acgeneral.m4 (AC_EXPAND_ONCE): AC_PROVIDE yourself, in case
6933	there is no AC_DEFUN associated with the text to expand.
6934	(_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
6935	_AC_ARG_VAR_HELP_PROLOGUE): Remove, instead...
6936	(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): do it yourself.
6937
69382000-03-08  Akim Demaille  <akim@epita.fr>
6939
6940	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix copy n' paste typos in
6941	`--with-*', `--without-*' and `*' decoding.
6942	Reported by Raja R Harinath.
6943	Fixes autoconf/118.
6944
69452000-03-08  Akim Demaille  <akim@epita.fr>
6946
6947	Don't dump AC_ARG_PROGRAM help messages if not used.
6948
6949	* acgeneral.m4 (_AC_INIT_HELP): Don't.
6950	(AC_ARG_PROGRAM): Do.
6951
69522000-03-08  Akim Demaille  <akim@epita.fr>
6953
6954	Don't dump X help messages when `configure' does not check for X.
6955
6956	* acgeneral.m4 (_AC_INIT_HELP): Don't dump X help messages.
6957	* acspecific.m4 (AC_PATH_X): Do it.
6958
69592000-03-08  Akim Demaille  <akim@epita.fr>
6960
6961	No longer rely on /bin/sh to compose the optional parts of
6962	`configure --help'.
6963
6964	* acgeneral.m4 (AC_DIVERSION_HELP_BEGIN, AC_DIVERSION_HELP_ENABLE,
6965	AC_DIVERSION_HELP_WITH, AC_DIVERSION_HELP_VAR,
6966	AC_DIVERSION_HELP_END): New diversion numbers.
6967	(AC_EXPAND_ONCE): New macro.
6968	(AC_PROVIDE_IF): New macro.
6969	(AC_BEFORE, AC_REQUIRE): Use it.
6970	(AC_REQUIRE): Don't use indir.
6971	(_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
6972	_AC_ARG_VAR_HELP_PROLOGUE): New macros.
6973	(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Expand once the
6974	_HELP_PROLOGUE macro which corresponds.
6975	(_AC_INIT_HELP): Adjust to AC_DIVERSION_HELP_BEGIN and
6976	AC_DIVERSION_HELP_END.
6977	(_AC_INIT_NOTICE, _AC_INIT_HELP): Remove the sh code which handled
6978	the optional help strings.
6979
69802000-03-08  Akim Demaille  <akim@epita.fr>
6981
6982	AC_OUTPUT_COMMANDS no longer uses a diversion.
6983
6984	* acgeneral.m4 (AC_DIVERSION_CMDS): Removed.
6985	(_AC_OUTPUT_CONFIG_STATUS): Don't undivert it.
6986
69872000-03-08  Akim Demaille  <akim@epita.fr>
6988
6989	* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix quoted/non quoted here
6990	document problems.
6991
69922000-03-08  Akim Demaille  <akim@epita.fr>
6993
6994	* acgeneral.m4 (AC_INIT_BINSH, AC_INIT_NOTICE, AC_INIT_PREPARE):
6995	Rename as...
6996	(_AC_INIT_BINSH, _AC_INIT_NOTICE, _AC_INIT_PREPARE): this.
6997	All callers adjusted.
6998
69992000-03-08  Akim Demaille  <akim@epita.fr>
7000
7001	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Rename as...
7002	(_AC_INIT_PARSE_ARGS): this.
7003	Move the display of help and version strings to...
7004	(_AC_INIT_HELP, _AC_INIT_VERSION): here.
7005	(AC_INIT): Adjust.  Also, fix quotation.
7006
70072000-03-08  Akim Demaille  <akim@epita.fr>
7008
7009	Some tests are failing with srcdir != builddir, because they can't
7010	find config.guess, install-sh etc.
7011	Reported by Erez Zadok.
7012
7013	* tests/atspecific.m4 (AT_TEST_MACRO): Set AC_CONFIG_AUX_DIR to
7014	top_srcdir in configure.in, and pass the value of top_srcdir to
7015	configure.
7016
70172000-03-08  Akim Demaille  <akim@epita.fr>
7018
7019	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH, AC_PATH_PROG,
7020	AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_PREFIX_PROGRAM,
7021	AC_EGREP_CPP, AC_TRY_LINK, AC_COMPILE_CHECK, AC_TRY_RUN_NATIVE):
7022	Use ifval instead of ifelse.
7023
70242000-03-07  Mark Elbrecht  <snowball3@bigfoot.com>
7025
7026	Support absolute DOS-style paths.
7027
7028	Any character before the colon is accepted because network drives
7029	can be assigned characters outside the [a-zA-Z] range. DOS-style
7030	relative paths (?:foo/bar) are also considered absolute for
7031	Autoconf's purposes since the path '../?:foo/bar' is invalid.
7032
7033	* acgeneral.m4 (AC_OUTPUT_FILES): Treat DOS-style paths (?:*') as
7034	absolute.
7035	(AC_OUTPUT_SUBDIRS): Likewise.
7036	(AC_PATH_PROG): Make pattern for matching DOS-style paths the same
7037	as that used in AC_OUTPUT_FILES and AC_OUTPUT_SUBDIRS.
7038
70392000-03-06  Akim Demaille  <akim@epita.fr>
7040
7041	* tests/atspecific.m4 (m4_match): Remove, no longer used.
7042
70432000-03-04  Jim Meyering  <meyering@lucent.com>
7044
7045	* autoheader.sh: Use `rm -f', not just `rm' when removing temporaries.
7046	Preserve exit status in trap handler.
7047	Based on suggestions from Paul Eggert.
7048
70492000-03-03  Paul Eggert  <eggert@twinsun.com>
7050
7051	Move the quadrigraphs out of the user name space.
7052
7053	* acgeneral.m4: 's/\@BKL@/@<:@/g', 's/\@BKR@/\@:>@/g',
7054	's/\@DLR@/\@S|@/g', 's/\@PND@/@%:@/g'.
7055	* acspecific.m4: Likewise.
7056	* autoconf.sh: Likewise.
7057
70582000-03-03  Akim Demaille  <akim@epita.fr>
7059
7060	* acgeneral.m4 (_AC_WHICH_A): New macro.
7061	(AC_CHECK_PROG): Use it.  Use ifval.
7062	(AC_CHECK_PROGS): Use ifval.  Fix the quoting.
7063	* tests/semantics.m4: Test AC_CHECK_PROG.
7064	* tests/Makefile.am (EGREP_EXCLUDE): Add /AC_CHECK_PROGS?/.
7065
70662000-03-02  Russ Allbery  <rra@stanford.edu>
7067
7068	* autoscan.pl (parse_args): Add support for -m <macrodir>.
7069
70702000-03-02  Akim Demaille  <akim@epita.fr>
7071
7072	The whole family supports -V = --version.
7073
7074	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V.
7075	* autoconf.sh: Likewise.
7076	* autoreconf.sh: Likewise.
7077	* autoupdate.sh: Likewise.
7078	* autoheader.sh: Likewise.
7079	* autoscan.pl: Likewise.
7080	* ifnames.sh: Likewise.
7081	In addition, don't dump --help on invalid options.
7082	* doc/autoconf.texi: Adjusted.
7083	* doc/install.texi: Likewise.
7084
70852000-03-02  Lars J. Aas  <larsa@sim.no>
7086
7087	* libm4.m4 (m4_noquote): New macro.
7088
70892000-03-02  Akim Demaille  <akim@epita.fr>
7090
7091	* acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable
7092	into the ac_ name space.
7093	Reported by Nicolas Joly.
7094
70952000-03-02  Akim Demaille  <akim@epita.fr>
7096
7097	* acspecific.m4: Move some macros to a better place.
7098
70992000-03-02  Akim Demaille  <akim@epita.fr>
7100
7101	Internal macros are named `_AC_'.
7102
7103	* acgeneral.m4 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD,
7104	AC_CANONICAL_THING, AC_CHECK_TOOL_PREFIX, AC_CONFIG_UNIQUE):
7105	Prepend `_' to their names.
7106	* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT,
7107	AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Prepend `_' to their names.
7108	* doc/autoconf.texi (Macro Names): Adjusted.
7109
71102000-03-02  Akim Demaille  <akim@epita.fr>
7111
7112	* acgeneral.m4: Formatting changes.
7113	* acspecific.m4: Likewise.
7114
71152000-03-01  Akim Demaille  <akim@epita.fr>
7116
7117	The empty regexp cannot be portably used in egrep's alternation.
7118	For instance with Digital Unix v5.0:
7119	   > echo "foo"  | egrep -e "^(|foo|bar)$"
7120	   > echo "|foo" | egrep -e "^(|foo|bar)$"
7121	   |foo
7122	   > echo "|bar" | egrep -e "^(|foo|bar)$"
7123	   > echo "bar"  | egrep -e "^(|foo|bar)$"
7124	   bar
7125	   > echo "bar" | egrep '^(foo|bar|)$'
7126	   > echo "bar|" | egrep '^(foo|bar|)$'
7127	   bar|
7128	   > echo "bar" | egrep '^(foo||bar)$'
7129	   > echo "|bar" | egrep '^(foo||bar)$'
7130	   |bar
7131	   > echo "foo" | egrep '^(foo||bar)$'
7132	   foo
7133	   > echo "foo|" | egrep '^(foo||bar)$'
7134	   >
7135	Reported by Nicolas Joly.
7136
7137	* src/actest.m4 (AC_ENV_SAVE): s/(|EXTRA_|PRE_)/(EXTRA_|PRE_)?/.
7138
71392000-03-01  Akim Demaille  <akim@epita.fr>
7140
7141	* acspecific.m4: Removed a few addresses, the map is...
7142	* THANKS: here.
7143
71442000-03-01  Lars Hecking  <lhecking@nmrc.ucc.ie>
7145
7146	* acspecific.m4 (AC_PATH_XTRA): On LynxOS 3.0.1/i386,
7147	gethostbyname(), getservbyname(), and inet_addr() are in -lbsd.
7148
71492000-03-01  Akim Demaille  <akim@epita.fr>
7150
7151	* tests/actest.m4 (AC_ENV_SAVE): Use multiple -e instead of
7152	multiple egrep.
7153
71542000-03-01  Akim Demaille  <akim@epita.fr>
7155
7156	* config.guess: Updated from master repository.
7157	* config.sub: Likewise.
7158
71592000-03-01  Akim Demaille  <akim@epita.fr>
7160
7161	Test suite: instead of using a full list of the AC macros and an
7162	AT macro with selects which are the AC macros to test, just
7163	produce the list of the AC macros we want to test.
7164
7165	* tests/atspecific.m4 (TEST_MACRO): Removed.
7166	* tests/Makefile.am (EGREP_EXCLUDE): New variable, performing the
7167	selection TEST_MACRO used to do.
7168	(macros.m4): Use it.  Use AT_TEST_MACRO, not TEST_MACRO.  Check
7169	also AU macros.
7170
71712000-03-01  Akim Demaille  <akim@epita.fr>
7172
7173	* doc/autoconf.texi: Tune the use of quotes, add missing
7174	@noindents, remove dead FIXME:s, promote #if ! over #ifndef,
7175	simplify duplicated text.
7176
71772000-03-01  Akim Demaille  <akim@epita.fr>
7178
7179	* doc/autoconf.texi (Configuration Commands): Document
7180	AC_CONFIG_COMMANDS_PRE and _POST.
7181
71822000-02-29  Akim Demaille  <akim@epita.fr>
7183
7184	Test suite: more debugging information.
7185
7186	* tests/atspecific.m4 (AT_TEST_MACRO): When verbose, report the
7187	content of config.log.
7188
71892000-02-29  Akim Demaille  <akim@epita.fr>
7190
7191	* Makefile.am (MAKEINFO): Removed.
7192	(INSTALL.txt): Call $(MAKEINFO) with --no-split.
7193	Reported by Nicolas Joly.
7194
71952000-02-28  Akim Demaille  <akim@epita.fr>
7196
7197	* doc/Makefile.am (MAKEINFO): s/makeinfo/@MAKEINFO@/.
7198	* missing: chmod +x.
7199
72002000-02-28  Akim Demaille  <akim@epita.fr>
7201
7202	* tests/Makefile.am (testsuite): Use $(M4), not m4.
7203	From Patrick Tullmann.
7204
72052000-02-25  Akim Demaille  <akim@epita.fr>
7206
7207	* src/acgeneral.texi (AC_INIT_NOTICE): Include inttypes.h in the
7208	ac_includes_default.
7209	* doc/autoconf.texi (Default Includes): Adjust.
7210
72112000-02-25  Akim Demaille  <akim@epita.fr>
7212
7213	Export the knowledge on disabling echo's trailing new line.
7214
7215	* acspecific.m4 (AC_PROG_ECHO_N): Rename as...
7216	(_AC_PROG_ECHO): this.
7217	Set ECHO_N, ECHO_C, ECHO_T instead of ac_n, ac_c and ac_t.
7218	All dependencies changed.
7219	* doc/autoconf.texi (Preset Output Variables): Document ECHO_C,
7220	ECHO_N and ECHO_T.
7221	* m4/atconfig.m4 (fp_PROG_ECHO): Removed.
7222	(AT_CONFIG): Don't use it.
7223
72242000-02-24  Akim Demaille  <akim@epita.fr>
7225
7226	* autoconf.sh (AC_ACLOCALDIR): Use `(aclocal) 2>/dev/null`, not
7227	`aclocal 2>/dev/null` if you want no complaints for missing
7228	aclocal.
7229	From Nicolas Joly.
7230
72312000-02-22  Pavel Roskin  <pavel_roskin@geocities.com>
7232
7233	* configure.in (HELP2MAN): Specify the third argument of
7234	AM_MISSING_PROG.  Fixes autoconf/116.
7235
72362000-02-21  Akim Demaille  <akim@epita.fr>
7237
7238	* tests/tools.m4 (syntax.sh): The logic of the previous patch was
7239	twisted.  Fix it so that it performs what claims the entry below.
7240	From Nicolas Joly.
7241
72422000-02-21  Akim Demaille  <akim@epita.fr>
7243
7244	* tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the
7245	child, since it means `/bin/sh -n' went loopy.
7246
72472000-02-18  Akim Demaille  <akim@epita.fr>
7248
7249	Some `diff' refuse to diff with /dev/null, such as Tru64's.
7250	Reported by Nicolas Joly.
7251
7252	* tests/atgeneral.m4 (empty): New dummy file.
7253	Changed various `diff /dev/null' as `diff empty'.
7254
72552000-02-18  Akim Demaille  <akim@epita.fr>
7256
7257	* tests/atspecific.m4 (TEST_MACRO): Don't run AC_PATH_TOOL and
7258	AC_PATH_PROG.
7259
72602000-02-18  Akim Demaille  <akim@epita.fr>
7261
7262	* tests/atgeneral.m4 (at_diff): Don't use `cmp -s', on DOS it
7263	differentiate between Unix and DOS EOL. `diff' does not.
7264	Reported by Eli Zaretski.
7265	Also, be ready to use a diff that does not support `-u'.
7266
72672000-02-18  Akim Demaille  <akim@epita.fr>
7268
7269	* tests/tools.m4 (Syntax of the scripts): Be robust to shells that
7270	never return on some `/bin/sh -n foo.sh'.
7271	Reported by Nicolas Joly.
7272
72732000-02-17  Akim Demaille  <akim@epita.fr>
7274
7275	Move the documentation into doc/.
7276	Some CVS tricks were used so that history is kept in both the top
7277	directory, and in doc/.
7278
7279	* doc/Makefile.am: New file.
7280	* Makefile.am: Adjusted.
7281	* configure.in: Adjusted.
7282	* autoconf.texi: Moved from here to...
7283	* doc/autoconf.texi: here.
7284	* make-stdts.texi: Likewise.
7285	* install.texi: Likewise.
7286	* texinfo.tex: Likewise.
7287
72882000-02-17  Akim Demaille  <akim@epita.fr>
7289
7290	* tests/actest.m4 (AC_ENV_SAVE): Added ALLOCA.
7291
72922000-02-17  Akim Demaille  <akim@epita.fr>
7293
7294	* tests/semantics.m4 (AC_CHECK_TYPES): `addr, addr' is not
7295	portable sed: use `addr,addr'.
7296
72972000-02-17  Akim Demaille  <akim@epita.fr>
7298
7299	Fix the `missing dummy.in' reported by the test suite.
7300	Reported by Erez Zadok.
7301
7302	* tests/torture.m4 (config.status under extreme conditions):
7303	Reorganized.  Because files required by this test were created
7304	outside the pair AT_SETUP/AT_CLEANUP, when the test fails and
7305	autotest extracts this test, the `debug' script does not contain
7306	the files it needs.  Now AT_SETUP/AT_CLEANUP encloses the full
7307	auto contained section.
7308
73092000-02-16  Akim Demaille  <akim@epita.fr>
7310
7311	* tests/actest.m4 (AC_ENV_SAVE): X_EXTRA_LIBS can be changed by
7312	AC_PATH_EXTRA.
7313	Reported by Erez Zadok.
7314
73152000-02-15  Akim Demaille  <akim@epita.fr>
7316
7317	Define HAVE_DECL_FOO both to 1 if found and 0 otherwise.
7318
7319	* acgeneral.m4 (AC_CHECK_DECLS): Define HAVE_DECL_FOO to 1 instead
7320	of NEED_FOO_DECL if found.  Define to 0 if not found.
7321	* autoheader.m4 (AC_CHECK_DECLS): Template HAVE_DECL_FOO.
7322	* tests/semantics.m4 (AC_CHECK_DECLS): Adjusted.
7323	* doc/autoconf.texi (Generic Declarations): Adjusted.
7324
73252000-02-15  Akim Demaille  <akim@epita.fr>
7326
7327	* doc/autoconf.texi (Generic Structures):
7328	s/AC_FATAL/AC_MSG_ERROR.
7329
73302000-02-15  Akim Demaille  <akim@epita.fr>
7331
7332	autoreconf had a silly syntax error, test it and fix it.
7333	Reported by Franc,ois Pinard and Rainer Orth.
7334
7335	* autoreconf.sh: Removed spurious `;;'.
7336	Formatting changes.
7337	* tests/tools.m4 (Syntax of the scripts): Run `sh -n' on all the
7338	shell scripts.
7339
73402000-02-15  Akim Demaille  <akim@epita.fr>
7341
7342	* autoconf.sh (options handling): --v* of --version was shadowing
7343	--verbose.
7344
73452000-02-11  Akim Demaille  <akim@epita.fr>
7346
7347	* tests/torture.m4: Nuke the trailing space in defs.
7348
73492000-02-11  Akim Demaille  <akim@epita.fr>
7350
7351	* tests/atspecific.m4: Really added to the CVS repository.
7352
73532000-02-11  Akim Demaille  <akim@epita.fr>
7354
7355	Don't use `cat -s' to single out new-lines, it is not portable.
7356	Also remove trailing blanks.
7357
7358	* tests/Makefile.am (testsuite): Use sed instead of cat.
7359	* tests/torture.m4: No longer check for a trailing space.
7360	* autoconf.sh: Likewise.
7361
73622000-02-10  Akim Demaille  <akim@epita.fr>
7363
7364	* tests/actest.m4 (AC_ENV_SAVE): OpenBSD-2.3's /bin/sh defines an
7365	envvar SECONDS which does change with time.
7366	KMEM_GROUP is set by AC_FUNC_GETLOADAVG.
7367	Reported by Volker Borchert.
7368
73692000-02-10  Akim Demaille  <akim@epita.fr>
7370
7371	* tests/Makefile.am (macros.m4): Better regex to build `macro'.
7372	Depend upon acgeneral.m4.
7373
73742000-02-10  Akim Demaille  <akim@epita.fr>
7375
7376	* autoheader.sh: Remove the duplicate trap code.
7377
73782000-02-10  Akim Demaille  <akim@epita.fr>
7379
7380	* acgeneral.m4 (AC_OUTPUT): When dispatching your arguments, use
7381	ifval, not ifset!
7382	Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
7383	avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
7384
73852000-02-10  Akim Demaille  <akim@epita.fr>
7386
7387	* acgeneral.m4 (AC_VERBOSE): This is a tab, not spaces.
7388
73892000-02-10  Akim Demaille  <akim@epita.fr>
7390
7391	Changequote busters II.
7392	They're back to save the world.
7393
7394	* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O,
7395	AC_PROG_MAKE_SET, AC_TYPE_GETGROUPS, AC_FUNC_GETLOADAVG,
7396	AC_FUNC_MKTIME, AC_STRUCT_TIMEZONE, AC_F77_LIBRARY_LDFLAGS): Blast
7397	that jelly o' changequote.  Set the quotes free.
7398
73992000-02-10  Akim Demaille  <akim@epita.fr>
7400
7401	Interrupting autoheader left temp files.
7402	From Jim Meyering.
7403
7404	* autoheader.sh (usage): The usage is to use $0 here.
7405	(ah_base): Be in TMPDIR.
7406	Install the `trap' before creating the first tmp file.
7407	Also trap on 0.
7408
74092000-02-10  Akim Demaille  <akim@epita.fr>
7410
7411	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): This is a routine of
7412	`configure', not `config.status', hence use `conftest' for tmp
7413	files, not `$ac_cs_root'.
7414	Removed forgotten developer comment.
7415	Double quoting the whole body is nicer than just the part that
7416	needs to be.
7417
74182000-02-10  Akim Demaille  <akim@epita.fr>
7419
7420	* tests/torture.m4: Also check the value of @DEFS@ when no
7421	CONFIG_HEADER is used.
7422
74232000-02-10  Akim Demaille  <akim@epita.fr>
7424
7425	Changequote-busters!
7426	From Dan Ackroyd.
7427
7428	* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
7429	AC_CACHE_SAVE, AC_PREFIX_PROGRAM, AC_OUTPUT,
7430	_AC_OUTPUT_CONFIG_STATUS, AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_FILES,
7431	_AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS, AC_OUTPUT_SUBDIRS): Quit
7432	playing with changequotes, @BKL@ and Co.!  Just quote properly.
7433
74342000-02-10  Akim Demaille  <akim@epita.fr>
7435
7436	Honor properly the `#define' config.h.in templates.
7437	Test it.
7438
7439	* acgeneral.m4 (AC_OUTPUT_HEADERS): Rename as...
7440	(_AC_OUTPUT_HEADERS): this.  All callers changed.
7441	Don't mess with changequote, just quote properly.
7442	Bug 1.  Because of the `#' in `ac_dA', the quotes <<>> were not
7443	removed, and therefore the sed script contained `<<define>>'
7444	instead of `define'.  Now that the block is properly quoted, there
7445	is no need to quote `define'.
7446	Bug 2.  Once a `#define' substitution performed, we were branching
7447	to the top of the sed script (`t top').  This resulted in an
7448	endless substitution of `#define foo 1' to `#define foo 1'.
7449	Branching is not enough: you also have to fetch the next input
7450	line, i.e., use `t' instead of `t t' in ac_dD, and don't output
7451	`: top' in `config.defines'.
7452	Though it was correct for `#undef' templates, just apply the same
7453	transformation to `ac_uD' and `config.undefs'.
7454	Bug 3.  Don't try to preserve what was behind the value in the
7455	template, since on
7456		#define NAME "bar baz"
7457	it leads to
7458		#define NAME 1 baz"
7459	Now `ac_dB' catches everything behind the NAME (making sure there
7460	is at least a space) and `ac_dC' only outputs a space.
7461	* tests/torture.m4: Check that various forms of `#define' header
7462	templates are properly handled.
7463
74642000-02-10  Akim Demaille  <akim@epita.fr>
7465
7466	Avoid calling `rm' without arguments.
7467
7468	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): It is smarter to use a
7469	quoted here doc to output the section providing defaults for
7470	CONFIG_*.
7471	Don't rm the CONFIG_FILES here but in..
7472	(AC_OUTPUT_FILES) [test -n "$CONFIG_FILES"]: here.
7473	Hm, actually, no, just don't remove them at all, let the newly
7474	created files replace the old ones, exactly as in
7475	AC_OUTPUT_HEADERS.
7476	From Graham Jenkins.
7477
74782000-02-10  Akim Demaille  <akim@epita.fr>
7479
7480	* acgeneral.m4 (AC_LIST_MEMBER_OF): s/ac_$exists/$ac_exists/!
7481
74822000-02-10  Akim Demaille  <akim@epita.fr>
7483
7484	* acgeneral.m4: Formatting changes.
7485	* acspecific.m4: Likewise.
7486
74872000-02-10  Akim Demaille  <akim@epita.fr>
7488
7489	* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't
7490	  : ${FOO="$foo"}
7491	but
7492	  : ${FOO=$foo}
7493	Since Ultrix will also assign the quotes to FOO.
7494	Reported by Harlan Stenn.
7495
74962000-02-10  Akim Demaille  <akim@epita.fr>
7497
7498	Keep `AC_CHECK_TYPE' backward compatibility and provide a proper
7499	`AC_CHECK_TYPE',
7500	Based on ideas from Paul Eggert and Alexandre Oliva.
7501
7502	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Rename as...
7503	(_AC_CHECK_TYPE_NEW): this.
7504	(AC_CHECK_TYPES): Adjusted.
7505	(AC_CHECK_TYPE): Rename as...
7506	(_AC_CHECK_TYPE_OLD): This.  Adjusted to _AC_CHECK_TYPE_NEW.
7507	No longer support extra includes, stick to 2.13's interface.
7508	(_AC_CHECK_TYPE_BUILTIN_P): New macro.
7509	(AC_CHECK_TYPE): New macro.
7510	* autoheader.m4 (autoheader::AC_CHECK_TYPE): Rename as...
7511	(autoheader::_AC_CHECK_TYPE_OLD): this.
7512	* tests/atspecific.m4 (TEST_MACRO): Skip /^_AC_/ macros.
7513	* tests/semantics.m4: Test the choices of AC_CHECK_TYPE (wrt _NEW
7514	or _OLD implementation).
7515	* doc/autoconf.texi (Generic Types): Reorganized.  Explain
7516	everything about AC_CHECK_TYPE and Co.
7517
75182000-02-10  Akim Demaille  <akim@epita.fr>
7519
7520	* libm4.m4 (near m4_split): Remove the buggy additional
7521	changequote.
7522	Quote properly `m4_split' when registering it.
7523
75242000-02-10  Akim Demaille  <akim@epita.fr>
7525
7526	The AU-glue code for AC_LINK_FILES was not fully compatible: in
7527	  AC_LINK_FILES($from, $to)
7528	`$from' and `$to' can be lists, hence `AC_CONFIG_LINKS($to:$from)'
7529	is wrong.
7530	Reported by H.J. Lu.
7531
7532	* acgeneral.m4 (AC_LINK_FILES): Replace the m4-glue code from
7533	AC_LINK_FILES to AC_CONFIG_LINKS, with sh-glue code.
7534	Give a detailed update message.
7535	(_AC_LINK_FILES_CNT): New variable.  Initialize.
7536	* tests/tools.m4 (autoupdate): No longer exercise `autoupdate'
7537	with AC_LINK_FILES.
7538
75392000-02-10  Akim Demaille  <akim@epita.fr>
7540
7541	* acspecific.m4 (AC_PROG_SED): Removed.
7542
75432000-02-10  Akim Demaille  <akim@epita.fr>
7544
7545	AC_CHECK_FILES has never worked properly.
7546
7547	* acgeneral.m4 (AC_CHECK_FILE): Use AC_CACHE_CHECK.
7548	* autoheader.m4 (AC_CHECK_FILES): AH-define.
7549	* tests/semantics.m4: Test AC_CHECK_FILES.
7550	* tests/atspecific.m4 (TEST_MACRO): Don't.
7551
75522000-02-10  Akim Demaille  <akim@epita.fr>
7553
7554	No longer use a diversion to store the sed program implementing
7555	AC_SUBST.
7556
7557	* acgeneral.m4 (_AC_SUBST): New macro.
7558	(_AC_SUBST_SED_PROGRAM): Initialize.
7559	(AC_SUBST): Use _AC_SUBST.
7560	(AC_SUBST_FILE): Likewise.
7561	(AC_DIVERSION_SED): Removed.  Renumber the AC_DIVERSIONs.
7562	(AC_OUTPUT_FILES): Instead on undiverting AC_DIVERSION_SED, output
7563	_AC_SUBST_SED_PROGRAM.
7564
75652000-02-10  Akim Demaille  <akim@epita.fr>
7566
7567	Standardize the error messages in the options handling of
7568	`configure' and `config.status'.
7569
7570	* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Rename as...
7571	(_AC_OUTPUT_CONFIG_STATUS): this.
7572	Change the error messages from
7573	  value: invalid feature name
7574	to
7575	  invalid feature: value
7576	Invite the user to try --help for invalid options.
7577	(AC_INIT_PARSE_ARGS): Likewise.
7578
75792000-02-10  Akim Demaille  <akim@epita.fr>
7580
7581	* acgeneral.m4 (AC_OUTPUT_COMMANDS_COMMANDS): Rename as...
7582	(_AC_OUTPUT_COMMANDS): This.  All callers changed.
7583	Disable the verbose message until Automake uses the new features
7584	of `config.status'.
7585	Reported by Jim Meyering.
7586
75872000-02-10  Akim Demaille  <akim@epita.fr>
7588
7589	Clean up a few changequotes.
7590
7591	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Instead of using changequote
7592	to protect a few `[ ]', double quote the constant sections.
7593
75942000-02-10  Akim Demaille  <akim@epita.fr>
7595
7596	Restore AC_HAVE_LIBRARY.
7597
7598	* acgeneral.m4 (AC_HAVE_LIBRARY): AU_DEFUNed in terms of
7599	AC_CHECK_LIB.
7600	* doc/autoconf.texi (Libraries): Document.
7601
76022000-02-09  Akim Demaille  <akim@epita.fr>
7603
7604	Fix the handling of `./configure foo=bar' and test it.
7605
7606	* acgeneral.m4 (AC_INIT_PARSE_ARGS, getopt loop): Always define
7607	ac_optarg as the rhs of the first `=', not only on `-.*=', so that
7608	`configure var=val' defines ac_optarg=val.
7609	Improve the robustness to shell special characters:
7610	 - Use grep when checking that shell variable names are valid.
7611	 - Quote the quotes in ac_optarg before `eval var='$ac_optarg''.
7612	 - Quote the quotes when building ac_configure_args.
7613
7614	* tests/torture.m4: Test that `./configure foo=bar' works properly.
7615
76162000-02-09  Akim Demaille  <akim@epita.fr>
7617
7618	Resynchronize `INSTALL' with the current `configure', and
7619	conversely...
7620
7621	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Let `configure' support `-h =
7622	--help' and `-n = --no-create'.
7623	Document -h, -n and -q in configure's help message.
7624	* install.texi (Operation Controls): Formatting changes.
7625	Document `configure -h'.
7626
76272000-02-09  Akim Demaille  <akim@epita.fr>
7628
7629	* README: Updated.
7630
76312000-02-09  Akim Demaille  <akim@epita.fr>
7632
7633	* ChangeLog.1: Formatting changes.
7634
76352000-02-09  Akim Demaille  <akim@epita.fr>
7636
7637	Clean up `make clean'.
7638
7639	* Makefile.am (CLEANFILES): Added autoupdate.m4f and autoconf.tmp.
7640	* tests/torture.m4: Rm dummy and dummy.in.
7641
76422000-02-09  Akim Demaille  <akim@epita.fr>
7643
7644	Test `autoupdate'.
7645
7646	* tests/tools.m4 (AH_DEFUN): Fix the comments.
7647	Quote properly.
7648	(autoupdate): New test.
7649
76502000-02-09  Akim Demaille  <akim@epita.fr>
7651
7652	AU_ glue code for AC_OUTPUT with arguments.
7653
7654	* acgeneral.m4 (AU_DEFINE): New macros, pulled out from AU_DEFUN.
7655	Defines a macro in `autoupdate::' with all the required wrapping
7656	for `autoupdate'.
7657	(AU_DEFUN): Use it.
7658	(AC_OUTPUT): When dispatching your arguments, use ifval, not
7659	ifset!
7660	Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
7661	avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
7662	(autoupdate::AC_OUTPUT): New macro.
7663	* doc/autoconf.texi (Writing configure.in, the example): Don't
7664	advocate AC_OUTPUT with args.
7665	(Output, AC_OUTPUT with args): Simplify the documentation, and
7666	provide the translation into the new scheme.
7667	Propagate what remained into the proper sections.
7668
76692000-02-09  Akim Demaille  <akim@epita.fr>
7670
7671	AU_ glue code for AC_OUTPUT_COMMANDS.
7672
7673	* acgeneral.m4 (AC_OUTPUT_COMMANDS): AU_DEFUNed in terms of
7674	AC_CONFIG_COMMANDS.
7675	(AC_OUTPUT_COMMANDS_CNT): New variable, declared both in
7676	`autoconf::' and `autoupdate::'.
7677	(AC_OUTPUT): Register your arguments to AC_OUTPUT_COMMANDS only if
7678	there are to avoid spurious `run autoupdate' messages.
7679	* doc/autoconf.texi (Libraries): Document the changes.
7680
76812000-02-09  Akim Demaille  <akim@epita.fr>
7682
7683	Avoid outputting `config_files' code in `config.status' if there
7684	are none.
7685
7686	* acgeneral.m4 (AC_OUTPUT): Don't register $1 to `AC_CONFIG_FILES'
7687	if $1 is empty.
7688	Normalize the names of the sections in `config.status --help'.
7689
76902000-02-09  Akim Demaille  <akim@epita.fr>
7691
7692	* README-alpha: New file, based on Automake's.
7693	* Makefile.am: Tuned.
7694
76952000-02-09  Akim Demaille  <akim@epita.fr>
7696
7697	Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS.
7698
7699	* acgeneral.m4 (_AC_CONFIG_COMMANDS_INIT): New macro which will
7700	collect the `INIT-CMDS'.
7701	(AC_CONFIG_COMMANDS, AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
7702	AC_CONFIG_FILES): Use it, and also temporarily divert to -1
7703	instead of spamming dnl everywhere.
7704	(AC_OUTPUT_CONFIG_STATUS): Make sure to output the INIT-CMDS
7705	before the other sections, it'd be a pity to initialize after the
7706	use :).
7707
7708	* doc/autoconf.texi (Configuration Actions): New section,
7709	documenting the common behavior of AC_CONFIG_FILES,
7710	AC_CONFIG_HEADERS, macro AC_CONFIG_COMMANDS, and AC_CONFIG_LINKS.
7711	(Configuration Files): Document $2 and $3 of AC_CONFIG_FILES.
7712	(Configuration Headers): Document $2 and $3 of AC_CONFIG_HEADERS.
7713	(Configuration Commands): Document $2 and $3 of AC_CONFIG_COMMANDS.
7714	(Configuration Links): Document $2 and $3 of AC_CONFIG_FILES.
7715
77162000-02-09  Akim Demaille  <akim@epita.fr>
7717
7718	* libm4.m4 (m4_sign, m4_cmp, m4_list_cmp): New macros.
7719	* acgeneral.m4 (AC_UNGNITS): Rename as...
7720	(_AC_VERSION_UNLETTER): this.  All callers changed.
7721	Implement the scheme proposed by Alexandre Oliva:
7722		Nl -> (N+1).-1.(l#)
7723	(_AC_VERSION_COMPARE): New macro.
7724	(AC_PREREQ): Use it.
7725
77262000-02-09  Akim Demaille  <akim@epita.fr>
7727
7728	* tests/base.m4: Really added to the CVS repository.
7729	* tests/tools.m4: Likewise.
7730
77312000-02-09  Akim Demaille  <akim@epita.fr>
7732
7733	* tests/base.m4: s/m4 -I ../m4 -I $at_top_srcdir/.
7734
77352000-02-08  Akim Demaille  <akim@epita.fr>
7736
7737	* autoheader.sh (debug): Initialize to `false', not 0.
7738
77392000-02-08  Akim Demaille  <akim@epita.fr>
7740
7741	Fix a bug: `libm4::define' was incorrectly registered.
7742
7743	* libm4.m4 (libm4::define): Not only register, define too.
7744
77452000-02-08  Akim Demaille  <akim@epita.fr>
7746
7747	* acgeneral.m4 (AC_COMPILE_CHECK): Use AU_DEFUN, remove the call
7748	to AC_OBSOLETE.
7749
77502000-02-08  Akim Demaille  <akim@epita.fr>
7751
7752	* acgeneral.m4 (AC_PROVIDE): Use `m4_define', not `define'.
7753	Because of the names pace machinery this change makes `autoconf'
7754	about four times faster on complex `configure.in's.
7755
77562000-02-08  Akim Demaille  <akim@epita.fr>
7757
7758	Open the access to AH_ to users.
7759
7760	* autoheader.m4 (autoheader::AH_DEFUN): New macro.
7761	* tests/tools.m4: New file, in charge of testing the scripts.
7762	All the dependencies adapted.
7763	* tests/actest.m4 (autoheader::AC_TATOOINE): New macro, used while
7764	testing autoheader.
7765	* tests/atspecific.m4: Create config.hin instead of config.h.in.
7766
77672000-02-08  Akim Demaille  <akim@epita.fr>
7768
7769	Because of commas and brackets, m4_split must mess with the
7770	quotes.
7771
7772	* libm4.m4 (m4_split): Quote the elements of the list you produce.
7773	* tests/base.m4: New file, testing libm4.
7774	All callers adapted.
7775	Test m4_wrap.
7776
77772000-02-08  Akim Demaille  <akim@epita.fr>
7778
7779	* acgeneral.m4 (AC_CONFIG_UNIQUE): Strip the `:foo.in' part
7780	yourself, in order to give better error messages.
7781	(AC_CONFIG_IF_MEMBER): Adapted to the above change.
7782	Quote some regexp active characters ([+.*]).
7783	Suggested by Alexandre Oliva.
7784
77852000-02-08  Akim Demaille  <akim@epita.fr>
7786
7787	* acgeneral.m4 (AC_INCLUDES_DEFAULT): Make it more robust to
7788	the fact it is used non quoted.
7789	Reported by Jim Meyering.
7790
77912000-02-08  Akim Demaille  <akim@epita.fr>
7792
7793	* acgeneral.m4 (AC_OUTPUT_FILES): Simplify some excess in
7794	changequote.
7795	(AC_OUTPUT_SUBDIRS): Likewise.
7796
77972000-02-08  Akim Demaille  <akim@epita.fr>
7798
7799	* autoupdate.sh: Don't dump --help on --wrong-option.
7800	* autoconf.sh: Reformatting, and use >&2 instead of 1>&2.
7801	* autoreconf.sh: Likewise.
7802	* autoheader.sh: Likewise.
7803
78042000-02-08  Akim Demaille  <akim@epita.fr>
7805
7806	* libm4.m4 (m4_namespace_push, m4_namespace_pop): Use the private
7807	macros to be robust to name space changes.
7808	(m4_popdef, m4_pushdef): New private macros.
7809
78102000-02-08  Akim Demaille  <akim@epita.fr>
7811
7812	Let the doc catch up.
7813
7814	* doc/autoconf.texi (Common Behavior): New section, to document
7815	the common behavior of the macros.
7816	(Standard Symbols): New subsection.  Describes the transformation
7817	of the AC_DEFINEd names.
7818	(Default Includes): New subsection.  Obvious content.
7819	All the ``callers'' updated.
7820
78212000-02-08  Akim Demaille  <akim@epita.fr>
7822
7823	* acgeneral.m4 (AC_OUTPUT_HEADERS): Don't use `break' to exit the
7824	while loops which are breaking conftest.defines and
7825	conftest.undefs into smaller snippets: just use the proper
7826	condition for the while.
7827	Suggested by Alexandre Oliva.
7828
78292000-02-08  Akim Demaille  <akim@epita.fr>
7830
7831	* doc/autoconf.texi (Configuration Commands): New section, for
7832	AC_CONFIG_COMMANDS.
7833	Move the definition of AC_OUTPUT_COMMANDS here.
7834	(Configuration Links): New section, for AC_CONFIG_LINKS and
7835	AC_LINK_FILES.
7836	(Configuration Files): New section, for AC_CONFIG_FILES.
7837	(Globally) Promote AC_CONFIG_HEADERS over AC_CONFIG_HEADER.
7838	(Using System Type): Don't document AC_CONFIG_LINKS and
7839	AC_LINK_FILES.
7840	(Invoking config.status): Mention CONFIG_COMMANDS.
7841	Document --file and --header.
7842	Talk first of the newest interface of config.status.
7843
78442000-02-08  Akim Demaille  <akim@epita.fr>
7845
7846	Introduce a concept index, and update a bit the documentation.
7847
7848	* doc/autoconf.texi (Concept Index): New section.
7849	Various entries added.
7850	(Typedefs): Rename as...
7851	(Types): this.  Pay attention to not limiting the documentation to
7852	the typedefs.
7853	(Particular Types): Mention the equivalent generic test.
7854	Promote the GNU coding style at various places.
7855
78562000-02-08  Akim Demaille  <akim@epita.fr>
7857
7858	Revamp the autoupdate/AC_OBSOLETE chain.  All the details are
7859	given in the prologue of acoldnames.m4.
7860
7861	* acgeneral.m4 (Prologue): Enter the `autoconf' name space.
7862	(AU_DEFUN): New macro.
7863
7864	* autoupdate.m4: New file.
7865	Disable the name spaces `autoconf', and `libm4'.  Disable libm4.
7866	* Makefile.am: Tuned to support the changes above.
7867
7868	* autoupdate.sh: Model after autoconf.sh.
7869	Can run on several files at once (for instance m4/*.m4).
7870	Don't touch files that are up to date.
7871	Run m4 on autoupdate.m4f instead of playing with sed.
7872
7873
7874	Use AU_DEFUN.
7875
7876	* acgeneral.m4 (AC_LINK_FILES, AC_ENABLE, AC_WITH): Use AU_DEFUN,
7877	remove the call to AC_OBSOLETE.
7878	* acspecific.m4 (AC_CYGWIN32): Likewise.
7879	* acoldnames.m4: Replaced all the definitions via `define' or
7880	`AC_DEFUN' to use `AU_DEFUN'.
7881
78822000-02-08  Akim Demaille  <akim@epita.fr>
7883
7884	Clean up some m4 files.
7885
7886	* acoldnames.m4: Use `#', not `dnl'.
7887	Don't spread `dnl' everywhere, anyway, we are in a divert(-1).
7888	* autoconf.m4: Likewise.
7889	* autoheader.m4: Likewise.
7890
78912000-02-08  Akim Demaille  <akim@epita.fr>
7892
7893	Clean up autoconf.
7894
7895	* autoconf.sh: Minor reorganizations to clearly separate the
7896	prologue, which is almost common to all the shell scripts of
7897	Autoconf, and the body.
7898
78992000-02-08  Akim Demaille  <akim@epita.fr>
7900
7901	Improve support of name spaces in libm4.  Put the m4 builtins
7902	in the `libm4' name space.
7903
7904	* libm4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
7905	m4_undefine): Private copies in the global name space.  Used by
7906	the name space mechanisms.
7907	(m4_namespace_register): New macro.
7908	(m4_namespace_define): Use it.
7909	(builtin, changequote, defn, dnl, esyscmd, ifdef, ifelse, indir,
7910	patsubst, popdef, pushdef, regexp, undefine, syscmd, sysval): Put
7911	in the `libm4' name space.
7912	(m4_disable, m4_enable): Use the private m4_indir, otherwise once
7913	`libm4' closed, there is no `indir' available, and therefore no
7914	means to reopen a name space.
7915
79162000-02-08  Akim Demaille  <akim@epita.fr>
7917
7918	Output really nothing if AC_INIT was not given.  Unconditional
7919	output can be problematic with autoupdate.
7920
7921	* acgeneral.m4 (AC_INIT_NOTICE): Output ac_includes_default.
7922	(Default includes section): No longer dump ac_includes_default in
7923	AC_DIVERSION_INIT.
7924
79252000-02-08  Akim Demaille  <akim@epita.fr>
7926
7927	* libm4.m4 (m4_namespace_define): Fix a bug: `m4_namespace'
7928	instead of `$1'.
7929	Simplify some excess in quoting.
7930	Use NAMESPACE::MACRONAME instead of `m4_defn(NAMESPACE,
7931	MACRONAME)'.
7932
79332000-02-08  Akim Demaille  <akim@epita.fr>
7934
7935	Adapt autoheader to use libm4's name spaces.
7936
7937	* autoheader.m4 (AH_HOOK): Removed.
7938	(AH_DEFUN): Define in the `autoheader' name space.
7939	Use only AH_DEFUN to define macros in this file.
7940	(epilogue): No longer run the `AH_HOOKS', enter the `autoheader'
7941	name space.
7942
79432000-02-08  Akim Demaille  <akim@epita.fr>
7944
7945	Clean up a bit the user interface.
7946
7947	* autoconf.sh: Give your name while reporting errors.
7948	Don't spit --help for errors on arguments.
7949	* autoreconf.sh: Likewise.
7950	* autoheader.sh: Likewise.
7951	More temporary files that one can browse when debugging.
7952	Don't ${var}, just $var.
7953	Don't dump --help when the arguments are invalid.
7954	(config_h): Use the empty value instead of `undefined' to check
7955	that it is defined.
7956	* acspecific.m4: Formatting changes.
7957
79582000-02-08  Akim Demaille  <akim@epita.fr>
7959
7960	Introduce name spaces in libm4.
7961
7962	* libm4.m4 (m4_namespace_push, m4_namespace_pop,
7963	m4_namespace_define, define, m4_disable, m4_enable, m4_rename):
7964	New macros.
7965	(_m4_foreach, _m4_for, m4_wrap): Use m4_define for temporaries.
7966	(m4_split): Don't mess with the quotes.
7967
7968	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_HEADERS): Quote
7969	`define'.
7970
79712000-02-08  Akim Demaille  <akim@epita.fr>
7972
7973	* doc/autoconf.texi (Introduction): m4 1.4 is now required.
7974	(Invoking autoconf): A better help on --trace.
7975	(Defining Symbols): Advocate a proper use of the quotes in m4
7976	code, including if the quotes are sometimes useless.  It is bad,
7977	very bad not to quote properly, so quote all the examples
7978	properly.
7979	(Cache Files): Use a unary call to define, instead of an empty
7980	$2.
7981	(Using System Type): Watch out TeX wrapping.
7982	(Pretty Help Strings): Don't give too long a snippet of --help.
7983	Promote the coding style of Autoconf.  Quote properly.
7984
79852000-02-08  Akim Demaille  <akim@epita.fr>
7986
7987	* acgeneral.m4 (AC_PRO): Use AC_PROVIDE instead of defining
7988	yourself.  This allows to see everything that is AC_PROVIDEd via
7989	autoconf --trace.
7990	(AC_SPECIALIZE): define'd, not AC_DEFUN'd.
7991	(AC_PROVIDE): Use define with a single arg, instead of an empty $2.
7992
79932000-02-08  Akim Demaille  <akim@epita.fr>
7994
7995	* acgeneral.m4 (ac_includes_default): Don't use simple quotes, but
7996	doubles quotes if you want to use \-continuation lines: this is
7997	not recognized by MIPS' sh.
7998
79992000-02-08  Akim Demaille  <akim@epita.fr>
8000
8001	* acgeneral.m4. Formatting changes.
8002	* acspecific.m4: Likewise.
8003
80042000-02-08  Akim Demaille  <akim@epita.fr>
8005
8006	* acgeneral.m4 (AC_CONFIG_HEADERS, AC_CONFIG_LINKS,
8007	AC_CONFIG_SUBDIRS): A space was missing to separate the arguments
8008	of m4_append.
8009
80102000-02-08  Akim Demaille  <akim@epita.fr>
8011
8012	Arrange that config.status creates the file with the AC_SUBSTing
8013	engine only if needed.
8014
8015	* acgeneral.m4 (AC_OUTPUT_FILES): Create the sed code only if test
8016	-n "$CONFIG_FILES".
8017
80182000-02-08  Akim Demaille  <akim@epita.fr>
8019
8020	Promote AC_LANG_CASE.
8021
8022	* acgeneral.m4 (AC_TRY_COMPILER, AC_TRY_LINK_FUNC, AC_CHECK_LIB,
8023	AC_TRY_COMPILE, AC_TRY_LINK, AC_TRY_RUN_NATIVE, AC_CHECK_FUNC):
8024	Use AC_LANG_CASE instead of ifelse (AC_LANG, ...).
8025	(AC_TRY_LINK_FUNC): Quote the body the the AC_DEFUN (whoa, how
8026	could this survive so long?!?).
8027
80282000-02-08  Akim Demaille  <akim@epita.fr>
8029
8030	* acgeneral.m4: Formatting changes.
8031	* acspecific.m4: Likewise.
8032
80332000-02-08  Akim Demaille  <akim@epita.fr>
8034
8035	Use the style we promote.
8036
8037	* doc/autoconf.texi (Header Templates): Promote #if over #ifdef;
8038	and #undef over #define in templates.
8039	* acspecific.m4 (AC_DECL_SYS_SIGLIST, AC_FUNC_MMAP,
8040	AC_FUNC_SETPGRP, AC_FUNC_VFORK, AC_FUNC_SELECT_ARGTYPES): Use #if,
8041	not #ifdef and #ifndef, indent CPP directives.
8042
80432000-02-08  Akim Demaille  <akim@epita.fr>
8044
8045	Quote properly AC_SHELL_IFELSE and callers.
8046
8047	* acgeneral.m4 (AC_SHELL_IFELSE): Don't overquote $1.
8048	(AC_VAR_IF_SET, AC_CHECK_MEMBER, AC_CHECK_LIB, AC_CHECK_HEADER,
8049	AC_CHECK_DECL, AC_CHECK_FUNC, AC_CHECK_TYPE_INTERNAL): Quote the
8050	first argument of AC_SHELL_IFELSE.
8051
80522000-02-08  Akim Demaille  <akim@epita.fr>
8053
8054	It seems quite delicate to have AC_INCLUDES_DEFAULT insert the
8055	default headers in the INIT section of configure: the reason is
8056	that AC_INCLUDES_DEFAULT is called unquoted, and this results in
8057	an un expected behavior.  Thanks to Roman V. Shaposhnick for the
8058	details.
8059
8060	The current implementation is not satisfying: the default headers
8061	are defined in the INIT section even if they are not used.
8062
8063	* acgeneral.m4 (Prologue of AC_INCLUDES_DEFAULTS): Dump the
8064	definition of ac_includes_default in the INIT section of
8065	configure.
8066	(AC_INCLUDES_DEFAULTS): Use it.
8067
80682000-02-08  Akim Demaille  <akim@epita.fr>
8069
8070	* TODO: Updated.
8071	* THANKS: Updated.
8072
80732000-02-08  Akim Demaille  <akim@epita.fr>
8074
8075	* libm4.m4 (m4_for): New macro.
8076
80772000-02-07  Akim Demaille  <akim@epita.fr>
8078
8079	Stay in Autoconf's name space.
8080
8081	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Prefixed with 'ac_':
8082	arg, save_arg, i, seen, previous_arg, ld_run_path.
8083	Rename f77_link_output as ac_link_output.
8084	* tests/actest.m4 (AC_ENV_SAVE): Don't note F77, FFLAGS, FLIBS,
8085	G77, f77_case, f77_underscore.
8086
80872000-02-07  Akim Demaille  <akim@epita.fr>
8088
8089	Use `#' for comments instead of `dnl'.
8090	Better highlighting of the sections in the sources.
8091
8092	* acgeneral.m4: Formatting changes.
8093	* acspecific.m4: Likewise.
8094	* autoheader.m4: Likewise.
8095	* acoldnames.m4: Likewise.
8096
80972000-02-07  Akim Demaille  <akim@epita.fr>
8098
8099	Create libm4.m4.
8100
8101	* Makefile.am: Adjusted for libm4.m4.
8102
8103	* acgeneral.m4 (m4_errprint, m4_warn, m4_fatal, m4_prefix,
8104	m4_eval, m4_shift, m4_format, m4_include_unique, m4_include,
8105	m4_sinclude, m4_quote, m4_split, m4_join, m4_strip, m4_append,
8106	m4_list_append, ifval, ifset, m4_default, m4_case, m4_match,
8107	m4_foreach): Moved from here, to...
8108	* libm4.m4: here.
8109	* acgeneral.m4 (AC_WRAP): Moved from here, to...
8110	* libm4.m4 (m4_wrap): here.  All callers changed.
8111
8112	* acgeneral.m4: Don't include acversion.m4.
8113	* autoconf.m4: Include libm4.m4 and acversion.m4.
8114	* autoheader.m4: Likewise.
8115
81162000-02-07  Akim Demaille  <akim@epita.fr>
8117
8118	AC_CHECK_SIZEOF: Fix a bug, use standard default headers, and
8119	test.
8120
8121	* acgeneral.m4 (AC_CHECK_SIZEOF): Don't over quote $1, some []
8122	were left in the C code, and had the macro fail.
8123	Use AC_INCLUDES_DEFAULT.
8124	* doc/autoconf.texi: Mention default includes.  Explain stdio.h
8125	must always be given.
8126
8127	* tests/atspecific.m4 (TEST_MACRO): Updated the list of
8128	exceptions.
8129	(AT_CHECK_DEFINES): New macro, to check the content of config.h.
8130	* tests/semantics.m4: All the tests are updated to use
8131	AT_CHECK_DEFINES.
8132	Test AC_CHECK_SIZEOF, AC_CHECK_HEADERS, and AC_CHECK_FUNCS.
8133
81342000-02-07  Akim Demaille  <akim@epita.fr>
8135
8136	Give explicit diagnostics when an input file (for config headers;
8137	config files etc.) does not exist.
8138	From Jim Meyering.
8139
8140	* acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADERS): Check for the
8141	existence of source files.
8142
81432000-02-07  Akim Demaille  <akim@epita.fr>
8144
8145	Torture test config.status, AC_SUBST and AC_DEFINE.
8146
8147	* tests/torture.m4: New file.
8148	* tests/suite.m4: Include it.
8149
81502000-02-07  Akim Demaille  <akim@epita.fr>
8151
8152	* tests/atspecific.m4 (m4_for, m4_foreach): New macros.
8153
81542000-02-07  Akim Demaille  <akim@epita.fr>
8155
8156	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Instead of defining an
8157	unused pointer to the type $1, use
8158	if (($1 *) 0) return 0;
8159	to avoid warnings from the compiler.
8160	From Paul Eggert.
8161
81622000-02-07  Akim Demaille  <akim@epita.fr>
8163
8164	* acgeneral.m4 (AC_INCLUDES_DEFAULT): Include sys/types.h
8165	Reported by Jim Meyering.
8166
81672000-02-07  Akim Demaille  <akim@epita.fr>
8168
8169	* tests/atspecific.m4: New file, for AT macros specific to
8170	Autoconf testing.
8171	* tests/suite.m4 (AT_TEST_MACRO): Moved to
8172	* tests/atspecific.m4 (AT_TEST_MACRO): here.
8173	* tests/syntax.m4 (TEST_MACRO): Moved to
8174	* tests/atspecific.m4 (TEST_MACRO): here.  Don't test /^AC_INIT/,
8175	nor /^AC_PROG_\(CC\|CXX\|F77\)_\(GNU\|WORKS\)$/: they are already
8176	tried elsewhere.
8177	* tests/Makefile.am: Adjusted.
8178
81792000-02-07  Akim Demaille  <akim@epita.fr>
8180
8181	* acgeneral.m4 (m4_case): Fixed a typo and a bug: one shift was
8182	missing.
8183	(m4_match): New macro.
8184	* tests/atgeneral.m4 (AT_CASE): Fixed.
8185
81862000-02-07  Akim Demaille  <akim@epita.fr>
8187
8188	* acgeneral.m4: Formatting changes.
8189	* acspecific.m4: Likewise.
8190
81912000-02-07  Akim Demaille  <akim@epita.fr>
8192
8193	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Don't use FFLAGS_SAVE
8194	but ac_save_FFLAGS.
8195	(AC_F77_NAME_MANGLING): Don't use foo_bar but ac_foo_bar.
8196
81972000-02-07  Akim Demaille  <akim@epita.fr>
8198
8199	* acspecific.m4 (AC_C_INLINE): Proceed as for AC_C_CONST:
8200	condition out the test case if __cpluscplus.
8201	Don't document the autoheader template twice, one is enough.
8202	* autoheader.m4 (AC_CONFIG_HEADER): don't hook on this guy, but
8203	on...
8204	(AC_CONFIG_HEADERS), since the former is defined on the latter.
8205
82062000-02-07  Akim Demaille  <akim@epita.fr>
8207
8208	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Use the scheme proposed
8209	by Alexandre Oliva for testing the definition of TYPE:
8210	TYPE *foo;
8211	sizeof (TYPE);
8212
82132000-02-07  Akim Demaille  <akim@epita.fr>
8214
8215	* acspecific.m4 (AC_C_CONST): Don't changequote, there is no need
8216	for it.  Just quote properly!
8217	condition out the test case if __cpluscplus.
8218	AC_REQUIRE AC_PROG_CC_STDC.
8219	Fix slightly the display of the result (formerly the first run
8220	says `none needed', and later, because of the cache `no').
8221	(AC_C_INLINE, AC_C_VOLATILE): AC_REQUIRE AC_PROG_CC_STDC.
8222	* doc/autoconf.texi (AC_C_CONST): Give a few hints on the
8223	motivation for trusting the C++ compilers.
8224
82252000-02-07  Akim Demaille  <akim@epita.fr>
8226
8227	* tests/atgeneral.m4: Updated.
8228	(AT_CASE): new macro.
8229	(AT_CHECK): Use it.  Don't changequote for patsubst, there is no
8230	need.
8231	* tests/syntax.m4 (TEST_MACRO): Don't run AC_ARG_VAR.
8232	Reported by Jim Meyering.
8233	Use AT_CASE.
8234
82352000-02-07  Akim Demaille  <akim@epita.fr>
8236
8237	Test that the macros respect the user variable name space.
8238
8239	* acgeneral.m4 (AC_CANONICAL_THING): define, not AC_DEFUN.
8240	Don't AC_PROVIDE, there is no need.
8241	When calling `config.sub`, also || exit 1, to catch failures from
8242	config.sub.
8243	* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Use ac_val, not val.
8244	(AC_EXEEXT): Use ac_file, not file.
8245	* tests/actest.m4: New file, holding extra Autoconf macros used
8246	during the testing.
8247	(AC_ENV_SAVE): New macro, save the sh variables in a file.
8248	* tests/suite.m4 (AT_TEST_MACRO, Generation of configure.in):
8249	include actest.m4, and call twice AC_ENV_SAVE to compare the
8250	variables before and after the macro.
8251	* tests/Makefile.am (macro.m4): Don't test macros that are
8252	required: they will be tested somewhere else.
8253
82542000-02-07  Akim Demaille  <akim@epita.fr>
8255
8256	* acgeneral.m4(AC_CONFIG_PRE_COMMANDS, AC_CONFIG_POST_COMMANDS):
8257	Rename as AC_CONFIG_COMMANDS_PRE, AC_CONFIG_COMMANDS_POST.  All
8258	dependencies changed.
8259	From Jim Meyering.
8260
82612000-02-07  Akim Demaille  <akim@epita.fr>
8262
8263	* acgeneral.m4: Formatting changes.
8264	* acspecific.m4: Likewise.
8265
82662000-02-07  Akim Demaille  <akim@epita.fr>
8267
8268	Start a new series of tests which check the semantics.
8269
8270	* acgeneral.m4 (AC_CHECK_MEMBER): It is not smart to define
8271	ac_Foo, and use AC_Foo.  Got rid of AC_Member_Aggregate and
8272	AC_Member_Member which were complicating more than simplifying.
8273	(AC_CHECK_DECLS): Use m4 lists.
8274	(AC_CHECK_TYPES): A comma was missing.
8275	* autoheader.m4: (AC_CHECK_DECLS): Use m4 lists.
8276	* doc/autoconf.texi (Generic Declarations): AC_CHECK_DELCS uses m4
8277	lists.
8278	* tests/semantics.m4: New file.  Collection of semantical tests:
8279	verify that the tests are positive and negative when appropriate.
8280	Test AC_CHECK_MEMBERS, AC_CHECK_DECLS and AC_CHECK_TYPES.
8281
82822000-02-04  Akim Demaille  <akim@epita.fr>
8283
8284	* tests/Makefile.am (macros.m4): Fix the sed snippet.
8285
82862000-02-04  Akim Demaille  <akim@epita.fr>
8287
8288	* testsuite/autoconf.g/init.exp: Removed, test performed by
8289	tests/syntax.m4.
8290	* testsuite/autoconf.g/sizeof.exp: Likewise.
8291	* testsuite/autoconf.s/defines.exp: Likewise.
8292	* configure.in (AC_OUTPUT): Adjusted.
8293	* Makefile.am (SUBDIRS): Adjusted.
8294
82952000-02-04  Akim Demaille  <akim@epita.fr>
8296
8297	* tests/syntax.m4: Test AC_CHECK_SIZEOF.
8298	* tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted.
8299	(macros.m4): Use tmp dest files ($@-t), not directly `$@'.
8300
83012000-02-04  Akim Demaille  <akim@epita.fr>
8302
8303	Hide AH_HOOK behind AH_DEFUN.
8304
8305	* autoheader.m4 (AH_DEFUN): New macro.  Combination of define and
8306	AH_HOOK.
8307	(AC_TRY_RUN, AC_DEFINE, AC_DEFINE_UNQUOTED, AC_CHECK_LIB,
8308	AC_CHECK_HEADERS, AC_CHECK_HEADERS_DIRENT, AC_CHECK_DECLS,
8309	AC_CHECK_FUNCS, AC_CHECK_SIZEOF, AC_PROG_LEX, AC_CHECK_MEMBERS,
8310	AC_CHECK_TYPE, AC_FUNC_ALLOCA, AC_CHECK_TYPES, AC_C_CHAR_UNSIGNED,
8311	AC_AIX, AC_F77_WRAPPERS, AC_CONFIG_HEADER): All the former calls
8312	to define and AH_HOOK in autoheader.m4 are replaced by AH_DEFUN.
8313
83142000-02-04  Akim Demaille  <akim@epita.fr>
8315
8316	* acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use
8317	to hide, you are DEFUNCT.
8318
83191999-11-14  Akim Demaille  <akim@epita.fr>
8320
8321	* autoconf.texi (Invoking ifnames): ifnames no longer supports
8322	--macrodir.
8323
83241999-11-13  Akim Demaille  <akim@epita.fr>
8325
8326	Run the `syntax' test on acgeneral macros too.
8327	Fix the bugs discovered.
8328
8329	* acgeneral.m4 (AC_CANONICAL_THING): Quote the
8330	AC_REQUIRE([AC_CANONICAL_HOST]).  Bug triggered by the use of
8331	AC_CANONICAL_BUILD alone in configure.in.  Also, quote the
8332	arguments of macros (eg, ifelse([$1]...), not ifelse($1...)).
8333	(m4_case): New macro.
8334	(AC_LINKER_OPTION): Don't clash with user's name space
8335	(s/i/ac_link_opt).
8336	(AC_LIST_MEMBER_OF).  You mean AC_FATAL, not AC_MSG_ERROR.
8337	Quote properly the argument.
8338	dnl out the empty lines that result from m4 pure code.
8339	Don't pollute the user name space.
8340	Use AC_SHELL_IFELSE.
8341	(AC_F77_NAME_MANGLING): Don't use `test -o'.  There are still
8342	name space problems.
8343	* tests/Makefile.am (macros.m4): Also fetch the macros from
8344	acgeneral.m4.
8345
83461999-11-13  Akim Demaille  <akim@epita.fr>
8347
8348	Really install this patch.
8349
8350	* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
8351	optional $2: exit status.
8352
83531999-11-13  Akim Demaille  <akim@epita.fr>
8354
8355	Check that the AC_DEFINEs from acspecific.m4 do have a template.
8356	Fix the discovered bugs.
8357
8358	* tests/atgeneral.m4 (AT_CHECK): Don't just exit 1 when you want
8359	to propagate the failure of a test: exit with the same exit
8360	status, at least to preserve 77 (=ignore).
8361	* tests/syntax.m4 (TEST_MACRO): Run also autoheader.  Don't run
8362	this test on all the macros, some just cannot run without
8363	arguments.
8364	* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): In the if egrep/fi for
8365	#define templates, add a `:' to prevent syntax errors in
8366	config.status when there are no AC_DEFINE performed.
8367	* autoheader.m4 (AH_TEMPLATE): Don't use _AC_SH_QUOTE here, use it
8368	in...
8369	(AH_VERBATIM): here.  Now AH_C_UNSIGNED_CHAR is no longer failing
8370	(formerly it would produce a non backslashed backquote, which
8371	made sh choke).
8372
83731999-11-13  Akim Demaille  <akim@epita.fr>
8374
8375	Introduce a means to distinguish failures of `configure' due to
8376	extern software (so that the test suite doesn't fail on them).
8377
8378	* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
8379	optional $2: exit status.
8380	* doc/autoconf.texi: Document.
8381	* acspecific.m4 (AC_PROG_CC_WORKS, PROG_CXX_WORKS,
8382	AC_PROG_F77_WORKS): Exit 77 if the compiler does not work.
8383
83841999-11-13  Akim Demaille  <akim@epita.fr>
8385
8386	Clean up a bit the handling of the LANG stack.  More is needed.
8387
8388	* acgeneral.m4 (AC_LANG_CASE): New macro.
8389	(AC_LANG_RESTORE): Use m4_case.
8390	(AC_LINKER_OPTION): Use AC_LANG_CASE.
8391
83921999-11-11  Akim Demaille  <akim@epita.fr>
8393
8394	* autoconf.texi (Generic Declarations): Fixed a typo which
8395	prevented `make distcheck' from succeeding.
8396	* texinfo.tex: Updated for the same reasons.
8397
83981999-11-11  Akim Demaille  <akim@epita.fr>
8399
8400	Introduce a new style of testing, independent from DejaGNU.
8401
8402
8403	Introduce the logistics.
8404
8405	* configure.in: Initialize AT, and output tests/atconfig, and
8406	tests/Makefile.
8407	* m4/atconfig.m4: New file.
8408	* m4/Makefile.am: Adjusted.
8409	* aclocal.m4: Include atconfig.m4.
8410	* Makefile.am: Adjusted.
8411	* tests/Makefile.am: New file.
8412	* tests/atgeneral.m4: Likewise.
8413	* tests/atconfig.in: Likewise.
8414
8415
8416	Write tests.
8417
8418	* tests/syntax.m4: New file, in charge of checking the validity of
8419	the sh code produced by the macros defined in acspecific.m4.
8420	acgeneral.m4 is not checked here, because these macros require
8421	arguments.
8422	* tests/suite.m4: New file.  Run syntax.m4.
8423
84241999-11-10  Akim Demaille  <akim@epita.fr>
8425
8426	A test suite will be introduced which tries to run all the
8427	specific macros, but hasbeen'd macro make configure die with bad
8428	exit status.  So we wish to distinguish live macros from defunct
8429	macros at the moment they are AC_DEFUN'd, not in their body.  Hm,
8430	defunct, defunct... Hey!  That's a good name!
8431
8432	* acgeneral.m4 (AC_DEFUNCT): New macro, comparable to AC_DEFUN,
8433	but for macros which are no longer defined.  Replaces AC_HASBEEN.
8434	(AC_HASBEEN): Defunct.  Well, removed in fact.
8435	(AC_HAVE_LIBRARY): Don't use AC_DEFUN and AC_HASBEEN, just
8436	AC_DEFUNCT.
8437	* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
8438	AC_INT_16_BITS, AC_LONG_64_BITS): Likewise.
8439	(AC_XENIX_DIR): It was defunct even before I declared it was: was
8440	depending upon AC_DIR_HEADER which is defunct.  So AC_DEFUNCT'ed
8441	now.
8442	(AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): While we're here, you
8443	too are defunct now.
8444	* autoconf.texi (Obsolete Macros): Replace the documentation of
8445	AC_HASBEEN with that of AC_DEFUNCT.
8446
84471999-11-10  Akim Demaille  <akim@epita.fr>
8448
8449	* autoconf.sh: Formatting changes.
8450	Removed development junk.
8451	* acspecific.m4: Formatting changes.
8452	* autoconf.m4: Likewise.
8453	* autoheader.m4: Likewise.
8454
84551999-11-10  Akim Demaille  <akim@epita.fr>
8456
8457	Let Autoconf use autoconf's `--install'.
8458
8459	* m4/Makefile.am: New file.
8460	* m4/init.am: New file, required by Automake.
8461	* m4/missing.am: Likewise.
8462	* m4/sanity.am: Likewise.
8463	* aclocal.m4: Include them.
8464	* configure.in (AC_OUTPUT): Added m4/Makefile.
8465
84661999-11-10  Akim Demaille  <akim@epita.fr>
8467
8468	Make autoconf support --install.
8469
8470	* autoconf.sh (task install): New task.  Extract the set of
8471	auxiliary m4 files a configure.in depends upon.  Install links
8472	from library files to the local dir so that the packages depends
8473	only on local extensions.  Check that the user includes exactly
8474	the files she needs.
8475
84761999-11-10  Akim Demaille  <akim@epita.fr>
8477
8478	Require GNU m4 1.4 (well 1.3 in fact).
8479
8480	Because we are ready to handle the case where there are no frozen
8481	files, we *have* to pass a -I, which is dangerous in conjunction
8482	with the silent including of `aclocal.m4': you may include things
8483	that were not expected.  Since anyway handling pre 1.3 complicates
8484	the task, just require an m4 which supports reloading of frozen
8485	files.
8486
8487	* acspecific.m4 (AC_PROG_GNU_M4): Check for --reload.
8488	* autoconf.sh: Likewise
8489	* autoheader.sh: Likewise.
8490	* configure.in: Explicitly state the m4 version you want.
8491
84921999-11-10  Akim Demaille  <akim@epita.fr>
8493
8494	No need for foo="`bar`", foo=`bar` is fine.
8495	Simplify ${foo} and ${1} into $foo and $1.
8496
8497	* acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
8498	* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
8499	* autoconf.sh: Likewise.
8500	* autoheader.sh: Likewise.
8501	* autoreconf.sh: Likewise.
8502	* autoupdate.sh: Likewise.
8503	* ifnames.sh: Remove all the code and messages related to
8504	AC_MACRODIR, since ifnames is not related to macros in anyway.
8505
85061999-11-10  Akim Demaille  <akim@epita.fr>
8507
8508	New version of AC_INCLUDE, which does not glob, nor rely upon the
8509	shell.  Add AC_INCLUDES too.  Help tracking multiple inclusions.
8510
8511	* acgeneral.m4 (m4_errprint, m4_warn, m4_fatal): New macros,
8512	variations around errprint.
8513	(m4_include_unique): New macro which registers what are the files
8514	already included, and warns if some are included several times.
8515	(m4_include, m4_sinclude): New macro, using m4_include_unique.
8516	(AC_INCLUDE): Is now just a wrapper of m4_include.
8517	(AC_INIT): Use m4_sinclude, not sinclude.
8518	(_AC_ERRPRINT): Removed, m4_errprint is here!
8519	(AC_WARNING, AC_FATAL): Wrappers of m4_warn and m4_fatal.
8520
85211999-11-01  Akim Demaille  <akim@epita.fr>
8522
8523	* autoheader.sh: No longer rely on a system acconfig.h.
8524
85251999-11-01  Akim Demaille  <akim@epita.fr>
8526
8527	Be kind to Automake: list the arguments of selected macros
8528	(for instance AC_SUBST will list each variable which may be
8529	substitued).
8530
8531	* autoconf.sh (--trace, --output): New options.
8532	Implement tracing of macros.
8533	trap also on 0, so that there is no need to rm here and there.
8534	* autoconf.texi (Output): Document --trace and --output.
8535
85361999-11-01  Akim Demaille  <akim@epita.fr>
8537
8538	Clean up the macros for testing members of aggregates.
8539
8540	* acgeneral.m4 (AC_CHECK_MEMBER): FATAL if $1 has no dot in it.
8541	Use AC_INCLUDE_DEFAULTS.
8542	(AC_C_STRUCT_MEMBER): Removed.
8543	* acspecific.m4 (AC_STRUCT_TIMEZONE): Adapted to AC_CHECK_MEMBERS.
8544	(AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Adapted to
8545	AC_CHECK_MEMBERS and obsoleted.
8546	(AC_STRUCT_ST_BLOCKS): Adapted to AC_CHECK_MEMBERS.
8547	* autoconf.texi (AC_STRUCT_ST_BLKSIZE, HAVE_STRUCT_STAT_ST_RDEV):
8548	Explain they are obsoleted, and how to migrate.
8549	(AC_STRUCT_ST_BLOCKS, AC_STRUCT_TIMEZONE): Explain that the
8550	AC_DEFINE changed (but the former #defines remain defined
8551	currently).
8552	(AC_C_STRUCT_MEMBER): Removed, replaced by the definitions of
8553	AC_CHECK_MEMBER and AC_CHECK_MEMBERS.
8554
85551999-11-01  Akim Demaille  <akim@epita.fr>
8556
8557	Install a uniform set of default includes.
8558
8559	* acgeneral.m4 (AC_INCLUDES_DEFAULT): New macro.  Expands in its
8560	argument if non empty, otherwise a default list of includes.
8561	(AC_CHECK_DECL, AC_CHECK_TYPE_INTERNAL): Use AC_INCLUDES_DEFAULT.
8562	* autoconf.texi: Adjusted.
8563
85641999-11-01  Akim Demaille  <akim@epita.fr>
8565
8566	* autoheader.m4 (AH_FUNC_ALLOCA, AH_C_CHAR_UNSIGNED, AH_AIX):
8567	Don't leave `[]dnl' in pseudo #-comment (actually CPP directives).
8568
85691999-11-01  Akim Demaille  <akim@epita.fr>
8570
8571	Fix a bit of the brokenness of AC_CHECK_TYPE.
8572
8573	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from
8574	the former AC_CHECK_TYPE.  This macro is exactly the one that
8575	ought to be named AC_CHECK_TYPE: it just checks, and executes user
8576	actions.  In the future, this macro ought to be renamed
8577	AC_CHECK_TYPE.
8578	There is a big difference with the former AC_CHECK_TYPE: instead
8579	of grepping in the headers, it tries to compile a variable
8580	declaration.  This is both safer, slower, and better, since now we
8581	can check for compiler types (e.g., unsigned long long).
8582	(AC_CHECK_TYPES): The looping and AC_DEFINEing version of the
8583	previous macro.  Uses m4 loops.
8584	(AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL.
8585	* autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros,
8586	hooked.
8587	* autoconf.texi (@ovar): New macro, for optional variables.
8588	(Generic Typedefs): Document AC_CHECK_TYPES.
8589	* autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros.
8590	(Epilogue): Hooks them.
8591
85921999-11-01  Akim Demaille  <akim@epita.fr>
8593
8594	Update autoupdate.
8595
8596	* acoldnames.m4:  Sort the two sections.
8597	* acoldnames.m4 (AM_CYGWIN32, AM_EXEEXT, AM_FUNC_FNMATCH,
8598	AM_FUNC_MKTIME, AM_PROG_LIBTOOL, AM_MINGW32, AM_PROG_INSTALL,
8599	fp_FUNC_FNMATCH): Added their new names.
8600
86011999-10-31  Akim Demaille  <akim@epita.fr>
8602
8603	Create man pages for the executables.
8604
8605	* Makefile.am (SUBDIRS): Add `man' and prepend `.' so that
8606	executables be built before help2man is run.
8607	* configure.in (AC_OUTPUT): Add man/Makefile.
8608	AC_MSG_ERROR, not AC_ERROR.
8609	Check for missing help2man.
8610	* man/Makefile.am: New file.
8611	* man/autoconf.x: Likewise.
8612	* man/autoreconf.x: Likewise.
8613	* man/autoheader.x: Likewise.
8614	* man/autoscan.x: Likewise.
8615	* man/autoupdate.x: Likewise.
8616	* man/ifnames.x: Likewise.
8617	* man/common.x: Likewise.
8618
86191999-10-31  Akim Demaille  <akim@epita.fr>
8620
8621	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Reformating of configure and
8622	config.status --help.
8623
86241999-10-31  Akim Demaille  <akim@epita.fr>
8625
8626	* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Implement `config.status
8627	--file' and `--header'.
8628
86291999-10-31  Akim Demaille  <akim@epita.fr>
8630
8631	* autoheader.m4 (AH_TEMPLATE): Quote $2 once, now _AC_SH_QUOTE
8632	behaves properly.
8633
86341999-10-31  Akim Demaille  <akim@epita.fr>
8635
8636	* acgeneral.m4: Formatting changes.
8637	* acspecific.m4: Likewise.
8638
86391999-10-31  Akim Demaille  <akim@epita.fr>
8640
8641	* acgeneral.m4 (AC_CONFIG_LINKS): Allow a second argument,
8642	commands to run, as AC_CONFIG_FILES and HEADERS.
8643	(AC_LIST_LINKS_COMMANDS): New growing string.  Initialize.
8644	(AC_OUTPUT_LINKS): Use it.
8645	(AC_OUTPUT_FILES, AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS): Don't
8646	pretend to have arguments: you don't depend upon it.
8647	(AC_OUTPUT): Call the previous macros without arguments.
8648
86491999-10-31  Akim Demaille  <akim@epita.fr>
8650
8651	* acgeneral.m4 (AC_PREFIX_PROGRAM): Don't use define/undefine, but
8652	pushdef/podef.  AC_UPCASE_NAME no longer exist.
8653
86541999-10-31  Akim Demaille  <akim@epita.fr>
8655
8656	* acgeneral.m4: Formatting changes.
8657
86581999-10-31  Akim Demaille  <akim@epita.fr>
8659
8660	* TODO: Updated.
8661
86621999-10-31  Akim Demaille  <akim@epita.fr>
8663
8664	Clean up dead comments/code.  Clean up the incompatibilities
8665	between quoted and non quoted _AC_ECHO and the like.
8666
8667	* acgeneral.m4: Remove the comments on the no longer defined AC_TR.
8668	(_AC_SH_QUOTE): Be robust to active symbols.
8669	(_AC_ECHO): Quote properly the argument.
8670	(AC_TRY_RUN): Don't quote [AC_TRY_RUN] in the warning.
8671
86721999-10-31  Akim Demaille  <akim@epita.fr>
8673
8674	* acspecific.m4: Formatting changes.
8675
86761999-10-31  Akim Demaille  <akim@epita.fr>
8677
8678	* acgeneral.m4 (AC_INIT_NOTICE, AC_INIT_PREPARE, AC_ARG_ENABLE,
8679	AC_ARG_WITH, AC, TRY_COMPILER, AC_TRY_RUN, AC_TRY_CPP,
8680	AC_EGREP_CPP): Use @PND@ instead of [#]: it looses the editors
8681	that try to match the pairs of (), [] etc.
8682
86831999-10-31  Akim Demaille  <akim@epita.fr>
8684
8685	Fix the compatibility of the compiling macros with C++.
8686
8687	* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK, AC_CHECK_SIZEOF): Use
8688	`int main () {...}', instead of `main () {...}'.
8689	* acspecific.m4 (AC_TYPE_GETGROUPS, AC_FUNC_CLOSEDIR_VOID,
8690	AC_FUNC_FNMATCH, AC_FUNC_GETPGRP, AC_FUNC_SETPGRP, AC_FUNC_VFORK,
8691	AC_FUNC_WAIT3, AC_FUNC_ALLOCA, AC_FUNC_UTIME_NULL,
8692	AC_FUNC_SETVBUF_REVERSED, AC_FUNC_MEMCMP, AC_C_CHAR_UNSIGNED,
8693	AC_C_LONG_DOUBLE, AC_C_BIGENDIAN, AC_SYS_RESTARTABLE_SYSCALLS):
8694	Likewise.
8695	* acspecific.m4 (AC_FUNC_FNMATCH): Call
8696	AC_CHECK_HEADERS(fnmatch.h), and include fnmatch.h in the compiled
8697	code.
8698
86991999-10-31  Akim Demaille  <akim@epita.fr>
8700
8701	* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
8702	AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
8703	[#]: it looses the editors that try to match the pairs of (), []
8704	etc.
8705	Formatting changes.
8706	* acspecific.m4: Formatting changes.
8707
87081999-10-31  Akim Demaille  <akim@epita.fr>
8709
8710	Allow standard beta version numbers.
8711
8712	* configure.in: Declare version 2.14a.
8713	* acgeneral.m4 (AC_UNGNITS): New macro which transform version
8714	numbers to pure digits (2.14a to 2.14.0.1, 2.15z to 2.15.0.26
8715	etc.).
8716	(AC_PREREQ): Normalize argument and AC_ACVERSION via AC_UNGNITS.
8717
87181999-10-31  Akim Demaille  <akim@epita.fr>
8719
8720	Fix the --version of all the executables.
8721
8722	* Makefile.am (editsh, editpl): Substitute also PACKAGE and
8723	VERSION.
8724	* autoconf.sh (version): New string.
8725	(--version): Use it.
8726	(--help) Output on stdout, not stderr.
8727	* autoheader.sh: Likewise.
8728	* autoreconf.sh: Likewise.
8729	* autoscan.pl: Likewise.
8730	* autoupdate.sh: Likewise.
8731	* ifnames.sh: Likewise.
8732
87331999-10-31  Akim Demaille  <akim@epita.fr>
8734
8735	Perform a better checking for missing templates in autoheader.
8736
8737	* autoheader.m4 (AH_HOOK): When hook AC_FOO on AH_FOO, define the
8738	new AC_FOO to be the expansion of both AH_FOO *and* AC_FOO.  See
8739	its definition for the motivations.
8740
8741	* autoheader.m4 (AH_FUNC_ALLOCA): Remove the now useless
8742	additional templates.
8743
87441999-10-31  Akim Demaille  <akim@epita.fr>
8745
8746	Work properly with Automake 1.4.
8747
8748	* Makefile.am (distpkgdataDATA): Replaces dist_pkgdata_DATA.
8749	(nodistpkgdataDATA): Replaces nodist_pkgdata_DATA.
8750	(EXTRA_DIST): Added $(distpkgdataDATA).
8751	(pkgdata_DATA): Adapted.
8752	(AUTOMAKE_OPTION): Require 1.4.
8753
87541999-10-31  Akim Demaille  <akim@epita.fr>
8755
8756	Fix a bug in templates of AC_CHECK_LIB.
8757
8758	* autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not
8759	HAVE_FOO.
8760
87611999-10-31  Akim Demaille  <akim@epita.fr>
8762
8763	* acspecific.m4: Formating changes.
8764
87651999-10-31  Akim Demaille  <akim@epita.fr>
8766
8767	* acgeneral.m4: Formating changes.
8768	* acspecific.m4: Likewise.
8769
87701999-10-31  Akim Demaille  <akim@epita.fr>
8771
8772	* Makefile.am (pkgdata_DATA): Split into dist_pkgdata_DATA and
8773	nodist_pkgdata_DATA.
8774
87751999-10-31  Akim Demaille  <akim@epita.fr>
8776
8777	* acspecific.m4 (AC_PROG_GNU_M4): New macro.
8778	* configure.in: Use it.
8779
87801999-10-31  Akim Demaille  <akim@epita.fr>
8781
8782	Provide a means to specify commands to run before config.status is
8783	created (and, for symmetry, after it is created).
8784
8785	This is typically needed by Automake so that AC_REPLACEd functions
8786	go through deansification via
8787
8788	LIBOBJS=`echo $LIBOBJS | sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8789
8790	and/or by Libtool which needs to define LTLIBOBJS and others:
8791
8792	LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
8793	AC_SUBST(LTLIBOBJS)
8794
8795	* acgeneral.m4 (AC_OUTPUT_PRE_COMMANDS): New growing string.
8796	Initialize.
8797	(AC_OUTPUT_POST_COMMANDS): Likewise.
8798	(AC_CONFIG_PRE_COMMANDS): New macro, grows AC_OUTPUT_PRE_COMMANDS.
8799	(AC_CONFIG_PRE_COMMANDS): Likewise.
8800	(AC_OUTPUT): Run AC_OUTPUT_PRE_COMMANDS before
8801	AC_OUTPUT_CONFIG_STATUS, and AC_OUTPUT_POST_COMMANDS after.
8802
88031999-10-31  Akim Demaille  <akim@epita.fr>
8804
8805	Remove spurious empty lines appearing in configures.
8806
8807	* acgeneral.m4 (AC_CONFIG_UNIQUE): Produce no output.  Instead of
8808	fighting with dnl, divert to KILL upon entry, and pop at exit.
8809
88101999-10-31  Akim Demaille  <akim@epita.fr>
8811
8812	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Avoid using double quotes
8813	inside "`...`": some shells parse this incorrectly.
8814
88151999-10-31  Akim Demaille  <akim@epita.fr>
8816
8817	* Makefile.am (pkgdata_DATA, EXTRA_DIST): Removed acconfig.h.
8818	* testsuite/autoconf.s/defines.exp: Commented out, there is no
8819	longer an acconfig.h.
8820
88211999-10-31  Akim Demaille  <akim@epita.fr>
8822
8823	* autoconf.m4: Insert -*- Autoconf -*-.
8824	* acgeneral.m4: Likewise.
8825	* acspecific.m4: Likewise.
8826	* acoldnames.m4: Likewise.
8827
88281999-10-31  Akim Demaille  <akim@epita.fr>
8829
8830	Create AC_CONFIG_HEADERS which has the same interface as the other
8831	AC_CONFIG_*S.
8832
8833	* acgeneral.m4 (AC_CONFIG_HEADERS): New macro, with the same
8834	interface as AC_CONFIG_LINKS and AC_CONFIG_FILES.
8835	(AC_LIST_HEADERS_COMMANDS): New growing string, initialize it.
8836	(AC_CONFIG_HEADER): Rename as...
8837	(AC_CONFIG_HEADERS): this, for consistency.
8838	(AC_CONFIG_HEADER): New macro, which calls AC_OUTPUT_HEADERS.
8839	(AC_OUTPUT_HEADERS): The square brackets for sed and grep were
8840	not properly quoted: use @BKL@ and @BKR@.
8841	(AC_OUTPUT_HEADERS): Run the AC_LIST_HEADERS_COMMANDS.
8842
8843	* acgeneral.m4 (AC_OUTPUT): Once config.status created, before
8844	running it, trap to `exit 1' so that config.status is not removed
8845	if configure is interrupted when config.status is complete.
8846
8847	* acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): When recognizing
8848	arguments, accept only foo, and no longer foo:foo.in etc.
8849
88501999-10-31  Akim Demaille  <akim@epita.fr>
8851
8852	* acgeneral.m4: Formating changes.
8853
88541999-10-31  Akim Demaille  <akim@epita.fr>
8855
8856	config.status: Speed up the creation of config headers (about four
8857	times faster on Linux).
8858
8859	The previous scheme had three sed commands for each AC_DEFINE: one
8860	for #define templates, and two for #undef templates (with or
8861	without trailing spaces).  Divide this in three sed scripts
8862	instead: a one liner that removes the trailing spaces, one for
8863	#defines, and then the last for #undef.
8864
8865	The real speed up comes from the fact that the #define script
8866	starts by checkin if the current input line has a #define, and if
8867	not the script immediately goes to the next line, without running
8868	the rest of the script as was the case before.  Equally for the
8869	#undef script.
8870
8871	Note that this way, users that don't use #define templates don't
8872	pay too much the overhead, since the sed script `realizes' quickly
8873	there are no #define lines.  My test case runs in 0.32s with
8874	#define templates, and 0.24s without.  To improve this common
8875	case, the whole code for #define templates is conditionalized by a
8876	proper egrep call.  The result runs is 0.24s, i.e., almost no cost
8877	at all.
8878
8879	I made one dangerous change that I carefully evaluated before
8880	commiting: the sed scripts are cut at 48 lines instead of 12 as
8881	before.  This produces here docs of about 4Kb.  I checked many
8882	`configure's and they all have big here documents, much bigger
8883	than the 12 lines (for instance AC_FUNC_MMAP produces a 150 lines
8884	long, 3800+ character here document).  So I moved to the well
8885	known HP UX sed limitations: no more than 100 commands, and there
8886	are two commands per line now, plus a two command preamble.  The
8887	speed up is noticeable.
8888
8889	* acgeneral.m4 (AC_OUTPUT_HEADERS): Remove the ac_e
8890	family.
8891	Changed ac_uD and ac_dD to `...;t t', instead of `...g'.
8892	Instead of creating `conftest.vals' with both ac_e, ac_d,
8893	and ac_u family, preprocess to strip the trailing spaces, and
8894	create `conftest.defines' with the ac_d family, and then
8895	`conftest.undefs' for the ac_e family.
8896	Break up both `conftest.defines' and `conftest.undefs'.  Insert a
8897	top label and a global test for `#defines' and `#undef' before.
8898	Call `conftest.defines' if there are #define in the input.
8899	Call `conftest.undefs'.
8900
89011999-10-31  Akim Demaille  <akim@epita.fr>
8902
8903	* acgeneral.m4: Prefer `>file' over `> file' etc.
8904	* acspecific.m4: Likewise.
8905
89061999-10-31  Akim Demaille  <akim@epita.fr>
8907
8908	Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
8909	but keep defining NEED_FOO_DECL when `foo' is not declared.  Files
8910	not using Autoconf behave better when declarations lacks than when
8911	they are wrong.  So the unset position should off, hence #if NEEDS
8912	instead of #if !HAVE (which is triggered when HAVE is not set).
8913
8914	* acgeneral.m4 (AC_NEED_DECL): Rename as...
8915	(AC_CHECK_DECL): This.  Make sure the arguments are the usual
8916	IF-FOUND, IF-NOT-FOUND.
8917	(AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
8918	* autoconf.texi (Generic Declarations): Document the changes
8919	aforementioned.
8920	* autoheader.m4 (AH_NEED_DECLS): Rename as
8921	(AH_CHECK_DECLS): This.
8922	(AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
8923	_NEED_.
8924
89251999-10-31  Akim Demaille  <akim@epita.fr>
8926
8927	Revamp the handling of the arguments of config.status: instead of
8928	looping over config_files etc. to recognize the file names, use
8929	the case which handles the options.
8930	Suggested by Alexandre Oliva.
8931
8932	* acgeneral.m4 (ifset): Rename as...
8933	(ifval): This.  All callers changed.
8934	(ifset): New macro, which tests if a macro is set to a non empty
8935	value.
8936
8937	* acgeneral.m4: Initialize growing lists and strings to empty, to
8938	ease the tests.
8939	(AC_CONFIG_HEADER): Quote AC_LIST_HEADERS in the define, to handle
8940	the case AC_LIST_HEADERS is initialized.
8941
8942	* acgeneral.m4: (AC_OUTPUT_CONFIG_STATUS): New macro, pulled out
8943	from...
8944	(AC_OUTPUT): Instead of using $1, $2 and $3, pass them to the
8945	official macros (AC_CONFIG_FILES, AC_OUTPUT_COMMANDS).
8946	Call AC_OUTPUT_CONFIG_STATUS.
8947	(option handling): Use the case-esac to recognize arguments.
8948	(AC_OUTPUT_COMMANDS): Fix the missing fi;done.
8949
89501999-10-31  Akim Demaille  <akim@epita.fr>
8951
8952	Add a means to specify commands to be run by config.status.  At
8953	the difference of AC_OUTPUT_COMMANDS, require that the set of
8954	commands be named, so that both
8955		CONFIG_COMMANDS=foo ./config.status
8956	and
8957		./config.status foo
8958	perform the Right Thing.
8959
8960	* acgeneral.m4 (AC_CONFIG_UNIQUE): Also check in
8961	AC_LIST_COMMANDS.
8962	(AC_CONFIG_FILES): Remove a dead pushdef.
8963	(AC_CONFIG_COMMANDS): New macro.
8964	(AC_LIST_COMMANDS): New config list.
8965	(AC_LIST_COMMANDS_COMMANDS): New growing string.
8966	(AC_OUTPUT_COMMANDS_COMMANDS): New macro, output config commands
8967	in config.status.
8968	(AC_OUTPUT): Take AC_LIST_COMMANDS into account.
8969	(AC_OUTPUT): Call AC_OUTPUT_COMMANDS_COMMANDS.
8970
89711999-10-31  Akim Demaille  <akim@epita.fr>
8972
8973	New macro: AC_CONFIG_FILES which is very much like AC_OUTPUT but
8974	that one associates commands to run when a config file is created.
8975	For instance for a shell script `foo', one uses
8976	AC_CONFIG_FILES(foo, chmod +x foo).
8977
8978	In addition, check that the same name is never used twice in
8979	config files, headers, subdirs and links.
8980
8981	* acgeneral.m4 (m4_append): Don't insert new line between
8982	elements.
8983	(m4_list_append): New macro.
8984	(AC_CONFIG_IF_MEMBER): New macro which tests if a file is member
8985	of a config list.
8986	(AC_CONFIG_UNIQUE): New macro which ensures that a config file
8987	name is not yet used.
8988	(AC_CONFIG_HEADER, AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS): Use
8989	AC_CONFIG_UNIQUE.
8990
8991	* acgeneral.m4 (AC_CONFIG_FILES): New macro.
8992	(AC_LIST_FILES): New list, which stores arguments of
8993	AC_CONFIG_LISTS the same as AC_LIST_LINKS stores AC_CONFIG_LINKS
8994	etc.
8995	(AC_OUTPUT): No longer rely on $1 to designate the config files:
8996	register them via AC_CONFIG_FILES.  All uses of $1 replaced by
8997	uses of AC_LIST_FILES.
8998	(AC_OUTPUT_FILES): Run the commands associated to the
8999	CONFIG_FILES.
9000
90011999-10-31  Akim Demaille  <akim@epita.fr>
9002
9003	* autoconf.sh (Looking for bugs): In addition to AC_, match AH_
9004	and AM_.
9005
90061999-10-31  Akim Demaille  <akim@epita.fr>
9007
9008	Provide the m4 infrastructure for defining AH_ hooks.
9009
9010	* autoheader.m4 (AH_HOOK): New macro.
9011	Hook all the AC_ macros to their AH_siblings in AH_HOOKS.
9012	Run AH_HOOKS.
9013
9014	* acgeneral.m4 (m4_append): New macro.
9015	(m4_list_append, m4_list_add): Removed.
9016
90171999-10-31  Akim Demaille  <akim@epita.fr>
9018
9019	* acspecific.m4: Formating changes.
9020	* acgeneral.m4: Likewise.
9021
90221999-10-31  Akim Demaille  <akim@epita.fr>
9023
9024	* acspecific.m4 (AC_CHECK_MEMBER, AC_CHECK_MEMBERS): New macros.
9025	* autoheader.m4 (AH_CHECK_MEMBERS): New macro.
9026	(epilogue): Hook AH_CHECK_MEMBERS on AC_CHECK_MEMBERS.
9027
90281999-10-31  Akim Demaille  <akim@epita.fr>
9029
9030	* autoheader.m4 (AC_FUNC_ALLOCA): Rename from this ...
9031	(AH_FUNC_ALLOCA): ... to this.  Includes all the needed templates.
9032	(AC_C_CHAR_UNSIGNED): Rename from this ...
9033	(AH_C_CHAR_UNSIGNED): ... to this.
9034
90351999-10-31  Ben Elliston  <bje@cygnus.com>
9036
9037	* Makefile.am (CLEANFILES): New explicit variable.
9038	(editsh): acdatadir is no longer defined, so use pkgdatadir.
9039	(editpl): Likewise. From Akim Demaille.
9040	* Makefile.in: Regenerate.
9041
9042	* configure: Regenerate.
9043	* aclocal.m4: Generate.
9044	* Makefile.in: Regenerate with Automake.
9045	* testsuite/Makefile.in: Likewise.
9046
90471999-10-31  Akim Demaille  <akim@epita.fr>
9048
9049	Use Automake.  Based on files from Ben Elliston.
9050
9051	* acgeneral.m4: No longer define AC_ACVERSION, include
9052	acversion.m4.
9053	* acversion.m4.in: New AC_CONFIG_FILE.
9054	* acspecific.m4: Few formating changes.
9055	* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
9056	include version.texi.
9057	AC_OUTPUT the Makefiles mentioned below and acversion.m4.
9058	* configure.in: Use AM_INIT_AUTOMAKE.
9059	Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
9060	* Makefile.am: New file.
9061	* mdate-sh: Likewise.
9062	* missing: Likewise.
9063	* testsuite/Makefile.am: Likewise.
9064
90651999-10-31  Ben Elliston  <bje@cygnus.com>
9066
9067	* acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
9068	Automake. From Franc,ois Pinard.
9069	* autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
9070	(C Compiler Characteristics): Document AC_C_PROTOTYPES.
9071
9072	* testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
9073	`xfail' and `xpass'. The test suite checks that acconfig.h
9074	templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
9075	the test is obsolete.
9076	* acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
9077	of the macro defined; the test suite does not recognize this
9078	syntax. From Akim Demaille.
9079
90801999-10-27  Ben Elliston  <bje@cygnus.com>
9081
9082	* autoconf.texi (Generic Programs): @defmac for AC_PATH_TOOL may
9083	not span multiple lines.
9084
90851999-10-26  Ben Elliston  <bje@cygnus.com>
9086
9087	* INSTALL: Regenerate.
9088
90891999-10-16  Ben Elliston  <bje@cygnus.com>
9090
9091	* acspecific.m4 (AC_PROG_CXX): gcc is not a C++ compiler.
9092	* autoconf.texi (AC_PROG_CXX): Update documentation.
9093
90941999-10-13  Ben Elliston  <bje@cygnus.com>
9095
9096	* acconfig.h: Reintroduce missing definitions due to test suite
9097	regressions.
9098
9099	* autoconf.texi (Configuration Headers): Document the potential
9100	trouble caused by autoheader and boilerplate files. Fix for
9101	PR autoconf/45.
9102
91031999-10-07  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9104
9105	* Makefile.in (dist): Fixed for srcdir != objdir.
9106
91071999-10-07  Akim Demaille  <akim@epita.fr>
9108
9109	* acspecific.m4 (AC_CHECK_HEADER_DIRENT): Reintroduce its
9110	AC_DEFUN.
9111
91121999-10-06  Akim Demaille  <akim@epita.fr>
9113
9114	* acspecific.m4: Various formatting changes.
9115	* acspecific.m4 (AC_PROG_CC_WORKS): Declare main returns an int.
9116
91171999-10-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9118
9119	Shell meta characters in an argument causes the configure script
9120	to freak out and generate a config.status file that contains
9121	syntax errors.
9122	Bug triggered by ./configure --with-foobar=\''`"$'.
9123
9124	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Quote single quotes that end
9125	up between single quotes.  Protect arguments of echo with double
9126	quotes.
9127	(AC_INIT_PREPARE): Likewise.
9128	(AC_PATH_PROG): Protect argument of test.
9129	(AC_OUTPUT): Quote meta characters in ac_configure_args.
9130
91311999-10-05  Ben Elliston  <bje@cygnus.com>
9132
9133	* autoconf.texi (AC_PATH_XTRA): Correctly document the behaviour
9134	when X is not available.
9135
91361999-10-05  Akim Demaille  <akim@epita.fr>
9137
9138	The sed quoting script depends on the shape of the commands used
9139	by AC_SUBST.  The latter was changed, but not the former.
9140	Bug triggered with FOO='%\c' AC_SUBST(FOO).
9141
9142	* acgeneral.m4 (AC_OUTPUT_FILES): Fix the sed quoting script.
9143
91441999-10-05  Akim Demaille  <akim@epita.fr>
9145
9146	When you rely on the `t' flag of sed for the immediately
9147	preceding substitution, use a combination of `: foo; t foo'.
9148	Bug triggered if you AC_DEFINE(FOO, "%").
9149	Additionally, work around a bug in IRIX sed.
9150	Suggested by Ken Pizzini.
9151
9152	* acgeneral.m4 (AC_OUTPUT_HEADER): Added a label and a test in the
9153	sed code of `$ac_cs_root.hdr'.
9154
91551999-10-05  Akim Demaille  <akim@epita.fr>
9156
9157	Implement AC_PATH_TOOL.
9158	Submited by Gary V. Vaughan.
9159
9160	* acgeneral.m4 (AC_PATH_TOOL): New macro.
9161	* autoconf.texi (Generic Programs): Document.
9162
91631999-10-05  Akim Demaille  <akim@epita.fr>
9164
9165	Handle arbitrary version numbers.
9166	Reported by H.J. Lu.
9167
9168	* acgeneral.m4 (m4_split): Support a second optional argument: a
9169	regexp to specify where to split.
9170	(m4_compare): New macro, compares arbitrary long m4 lists of
9171	integers.
9172	(AC_PREREQ_SPLIT, AC_PREREQ_CANON, AC_PREREQ_COMPARE): Removed,
9173	replaced by more generic macros.
9174	(AC_PREREQ): Reimplemented, using m4_compare and m4_split.
9175
91761999-10-04  Akim Demaille  <akim@epita.fr>
9177
9178	Beware of  the expansions of $n in comments.
9179
9180	* acgeneral.m4 (AC_OUTPUT): Changed $1 into $[1] in dnls.
9181
91821999-10-04  Akim Demaille  <akim@epita.fr>
9183
9184	Revert partially the previous changes: AC_CHECK_HEADERS_DIRENT is
9185	used by AC_HEADER_DIRENT.
9186
9187	* autoheader.m4: Restablish the hook for AC_CHECK_HEADERS_DIRENT.
9188
9189	* acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
9190	Reinserted.
9191
91921999-10-02  Akim Demaille  <demaille@inf.enst.fr>
9193
9194	* acgeneral.m4: Instead of just undefining eval, format, include
9195	and shift, rename them to m4_eval, etc.
9196
91971999-10-02  Akim Demaille  <akim@epita.fr>
9198
9199	AC_DIR_HEADERS is hasbeen'ed.
9200
9201	* acspecific.m4 (AC_DIR_HEADER): Raised from obsolete to hasbeen.
9202
9203	* acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
9204	Removed, were used only by AC_DIR_HEADER and were not documented.
9205
9206	* autoheader.m4: Remove the hooks for AC_CHECK_HEADERS_DIRENT.
9207
9208	* autoconf.texi (Particular Headers): Removed the documentation of
9209	AC_DIR_HEADER.
9210
9211	* autoconf.texi (Environment Variables): Remove the very last
9212	traces of documentation of --env-VAR.
9213
92141999-10-02  Akim Demaille  <akim@epita.fr>
9215
9216	Remove hasbeen'ed macros from the documentation.
9217
9218	* autoconf.texi (Obsolete Macros): Document AC_HASBEEN.
9219
9220	* autoconf.texi (Libraries): Remove the documentation of
9221	AC_HAVE_LIB.
9222	(Particular Headers): likewise for AC_UNISTD_H, AC_MEMORY_H,
9223	AC_USG.
9224	(C Compiler Characteristics): Likewise for AC_INT_16_BITS,
9225	AC_LONG_64_BITS.
9226
92271999-10-01  Akim Demaille  <akim@epita.fr>
9228
9229	Make the handling of the configuration links (AC_LINK_FILES)
9230	exactly the same as that of configurations files (AC_OUTPUT_FILES)
9231	and headers (AC_CONFIG_HEADERS).  As a result, it is sane to run
9232		./config.status src/libmy_lib
9233	or
9234		CONFIG_LINKS=src/lib_mylib:lib/lib_mylib ./config.status
9235
9236	* acgeneral.m4 (AC_LINK_FILES): Use AC_FATAL to diagnose bad
9237	number of argument.
9238	Obsoleted (but implemented) in favor of AC_CONFIG_LINKS.
9239
9240	* acgeneral.m4 (AC_CONFIG_LINKS): New macro.  Takes space
9241	separated list of DEST:SOURCES arguments.
9242
9243	* acgeneral.m4: Rename each occurence of AC_LIST_HEADER as
9244	AC_LIST_HEADERS for consistency.
9245
9246	* acgeneral.m4 (AC_OUTPUT, config.status prologue): Move the
9247	definition of config_files and config_headers to the top.
9248	Add the definition of config_links.
9249	Change the help message to use the aforementioned variables.
9250
9251	* acgeneral.m4 (AC_OUTPUT_LINKS): Adapted to the new scheme of
9252	AC_LIST_LINKS.
9253
9254	* autoconf.texi (Output, AC_OUTPUT): Mention AC_CONFIG_LINKS.
9255	(Invoking config.status): Mention CONFIG_LINKS.
9256
9257	* autoconf.texi (Using System Type): Document AC_CONFIG_LINKS.
9258	Explicit the obsoleteness of AC_LINK_FILES.
9259
92601999-10-01  Akim Demaille  <akim@epita.fr>
9261
9262	Moving most of the task of creating config.h.in from sh to m4.
9263	Getting rid of acconfig.h by supply a major new family of macros:
9264	AH_* which make it possible to insert arbitrary text into
9265	config.h.in.
9266
9267	* autoheader.m4: Major rewrite: introduction of a set of macros
9268	AH_ that produce code into config.h.in.  There are two sets of
9269	macros: generic macros, or specialized, documented below.  The
9270	basic idea is that an AC_FOO macro which needs an entry in
9271	config.h.in should have a sibling AH_FOO which expands into that
9272	entry.  In a near future, these macros will be moved next to their
9273	siblings.
9274
9275	* autoheader.m4 (AH_VERBATIM, AH_DEFINE, AH_DEFINE, AH_NEED_DECLS,
9276	AH_CHECK_SIZEOF, AH_CHECK_FUNCS, AH_CHECK_HEADERS,
9277	AH_CHECK_HEADERS, AH_CHECK_LIB, AH_PROG_LEX, AH_FUNC_ALLOCA,
9278	AH_C_CHAR_UNSIGNED, AH_AIX, AH_F77_WRAPPERS): New macros.
9279
9280	* autoheader.m4 (End section): Bind AC_ macros to their
9281	AH_siblings.
9282
9283	* autoheader.sh: Remove the sections in charge of SYMS, TYPES,
9284	FUNCS, HEADERS, LIBS and DECLS: autoheader.m4 is now in charge of
9285	these.
9286
9287	* autoheader.sh (options): Added -d, --debug, which does not
9288	remove the temporary files.
9289
9290	* autoheader.sh: Instead of redirecting stdout to the output
9291	stream, always output to a temporary file.  This allows to change
9292	slightly the consistency check: before autoheader would check that
9293	each non documented AC_DEFINE is templated in an acconfig.  Now it
9294	just checks whether the template is in the output file.
9295
9296	* acconfig.h: Completely emptied, the remaining templates
9297	(_ALL_SOURCE, __CHAR_UNSIGNED__, F77_FUNC, F77_FUNC_,
9298	HAVE_STRINGIZE, and STACK_DIRECTION) are now either associated to
9299	their AC_DEFINE, or to one of the new AH_ macros.
9300
9301	* acgeneral.m4: Reordering of the m4 macros which are not specific
9302	to Autoconf.
9303
9304	* acgeneral.m4 (AC_HAVE_LIB): Promoted from obsolete to hasbeen.
9305
9306	* acgeneral.m4 (AC_TR_CPP): Fixed quoting problem, and missing ^
9307	in patsubst.
9308	(AC_TR_SH): Fixed quoting problem.
9309
93101999-09-29  Akim Demaille  <akim@epita.fr>
9311
9312	* acgeneral.m4 (AC_WRAP): Don't output an extra space after the
9313	last word.
9314
93151999-09-29  Ben Elliston  <bje@cygnus.com>
9316
9317	* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
9318	function in libkstat (on systems such as Solaris). This family of
9319	functions is preferred since they don't require setgid permissions
9320	to use them. Fix for PR autoconf/65.
9321
93221999-09-29  Akim Demaille  <akim@epita.fr>
9323
9324	* acconfig.h: Commit the change announced below.
9325
93261999-09-29  Akim Demaille  <akim@epita.fr>
9327
9328	* acspecific.m4 (AC_C_CONST): Changed from
9329	const charset x;
9330	to
9331	const charset x = {0, 0};
9332	From Jim Meyering.
9333
93341999-09-28  Akim Demaille  <akim@epita.fr>
9335
9336	Start to get rid of acconfig.h.  It is an anachronism.
9337
9338	* acgeneral.m4 (_AC_SH_QUOTE): Both cases must be evaluated the
9339	same number of times.
9340
9341	* acconfig.h (_ALLOCA, CLOSEDIR_VOID, const, CRAY_STACKSEG_END,
9342	DGUX, DIRENT, GETGROUPS_T, GETLOADAVG_PRIVILEGED, GETPGRP_VOID,
9343	gid_t, HAVE_ALLOCA, HAVE_ALLOCA_H, HAVE_DOPRNT, HAVE_FNMATCH,
9344	HAVE_GETLOADAVG, HAVE_GETMNTENT, HAVE_LONG_DOUBLE,
9345	HAVE_LONG_FILE_NAMES, HAVE_MMAP, HAVE_RESTARTABLE_SYSCALLS,
9346	HAVE_ST_BLKSIZE, HAVE_ST_BLOCKS, HAVE_STRCOLL, HAVE_ST_RDEV,
9347	HAVE_STRFTIME, HAVE_SYS_WAIT_H, HAVE_TM_ZONE, HAVE_TZNAME,
9348	HAVE_UNISTD_H, HAVE_UTIME_NULL, HAVE_VFORK_H, HAVE_VPRINTF,
9349	HAVE_WAIT3, inline, INT_16_BITS, LONG_64_BITS, MAJOR_IN_MKDEV,
9350	MAJOR_IN_SYSMACROS, _MINIX, NDIR, NEED_MEMORY_H, NLIST_NAME_UNION,
9351	NLIST_STRUCT, NO_MINUS_C_MINUS_O, F77_NO_MINUS_C_MINUS_O,
9352	_POSIX_1_SOURCE, _POSIX_SOURCE, RETSIGTYPE, SELECT_TYPE_ARG1,
9353	SELECT_TYPE_ARG234, SELECT_TYPE_ARG5, SETPGRP_VOID,
9354	SETVBUF_REVERSED, STAT_MACROS_BROKEN, STDC_HEADERS, SVR4, SYSDIR,
9355	SYSNDIR, SYS_SIGLIST_DECLARED, TIME_WITH_SYS_TIME, TM_IN_SYS_TIME,
9356	uid_t, UMAX, UMAX4_3, USG, vfork, VOID_CLOSEDIR, WORDS_BIGENDIAN,
9357	X_DISPLAY_MISSING, YYTEXT_POINTER): Removed their autoheader
9358	template.  They are now documented with their own AC_DEFINE.
9359
9360	* acgeneral.m4 (AC_HASBEEN): New macro.  Same as AC_OBSOLETE, but
9361	dies.
9362
9363	* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_INT_16_BITS,
9364	AC_LONG_64_BITS): Promoted from obsolete to hasbeen.
9365
9366	* autoheader.m4 (AC_DEFINE_UNQUOTED): Define via AC_DEFINE, so
9367	that we program things only once.
9368	(AC_DEFINE): Use AC_WRAP and _AC_SH_QUOTE.  It is now safe to have
9369	backquotes and extra spaces in the third argument, without
9370	yielding a bad result.
9371
9372	* autoheader.m4: Instead of a huge `eval', use a temporary file.
9373	(option handling): Added --debug, to keep the temporary files.
9374	Fixed a couple of missing quotes.
9375
93761999-09-28  Akim Demaille  <akim@epita.fr>
9377
9378	Make AC_FOREACH be robust to active symbols.
9379
9380	* acgeneral.m4 (m4_split, m4_join, m4_strip): New macros.
9381	(AC_FOREACH_COMMA): Rename as...
9382	(m4_foreach): this.
9383	(_AC_CAR): Renamed as...
9384	(_m4_car): this.
9385	(_AC_FOREACH): Renamed as...
9386	(_m4_foreach): this.
9387	(_AC_COMMATIZE): Removed.
9388	(AC_FOREACH): Rewritten using m4_split, m4_join, m4_strip, and
9389	m4_foreach.
9390	* acgeneral.m4: Spell checked.
9391	* autoconf.texi: Likewise.
9392
93931999-09-28  Akim Demaille  <akim@epita.fr>
9394
9395	* acgeneral.m4 (AC_NEED_DECL): When $4 is given, don't provide
9396	defaults headers.
9397	Change the message from `have' to `need'.
9398	Change the actions for `if-(not-)found' to `if-(not-)needed.
9399	Remove trailing parentheses.
9400
9401	* acgeneral.m4 (AC_NEED_DECLS): Change the actions for
9402	`if-(not-)found' to `if-(not-)needed.
9403	Define NEED_DECL_foo, instead of NEED_foo_DECL.
9404
9405	* autoheader.sh (decls): Reflect this.
9406
9407	* autoconf.texi (Generic Declarations): Update.
9408
94091999-09-27  Akim Demaille  <akim@epita.fr>
9410
9411	* acgeneral.m4 (AC_OUTPUT): Divert AC_OUTPUT_FILE to
9412	AC_DIVERSION_KILL if there are no CONFIG_FILES.
9413	(AC_OUTPUT, ac_cs_usage): Output the list of files to instanciate
9414	only if there are.
9415
94161999-09-27  Akim Demaille  <akim@epita.fr>
9417
9418	* acgeneral.m4 (AC_CHECK_DECL): Renamed as...
9419	(AC_NEED_DECL): This.
9420	(AC_CHECK_DECLS): Renamed as...
9421	(AC_NEED_DECLS): This.
9422	(AC_NEED_DECL): Include <stdio.h>, <memory.h>, <string.h>,
9423	<strings.h>, <stdlib.h>, <stddef.h>, and <unistd.h>.
9424
9425	* autoconf.texi (Generic Declarations): Updated.
9426
94271999-09-27  Ben Elliston  <bje@cygnus.com>
9428
9429	* autoscan.pl (scan_files): Emit an AC_PROG_CC invocation to
9430	configure.scan if there are any C files present. Fix for PR
9431	autoconf/19.
9432
94331999-09-26  Akim Demaille  <akim@epita.fr>
9434
9435	* acgeneral.m4 (AC_WRAP): Rewritten.
9436	(AC_HELP_STRING): Wrapper of AC_WRAP.
9437	* acgeneral.m4 (_AC_SH_QUOTE): Rewritten.  Don't try to handle
9438	both backslashed and non backslashed backquotes in a single
9439	string: consider that either all the backquotes are quoted, or
9440	none.
9441
94421999-09-26  Akim Demaille  <akim@epita.fr>
9443
9444	* acgeneral.m4 (AC_PATH_PROG): Use a single case statement for
9445	Unix and DOS absolute paths.
9446
9447	* acgeneral.m4 (AC_CHECK_SIZEOF): Fix a typo.
9448	Allow a third default argument: extra headers.
9449	* autoconf.texi (C Compiler Characteristics): Document.
9450
9451	* acgeneral.m4 (AC_CHECK_TYPE): Convert to the AC_VAR_* family.
9452	Allow a third optional argument: extra includes.
9453	* autoconf.texi (Generic Typedefs): Documents.
9454
94551999-09-26  Ben Elliston  <bje@cygnus.com>
9456
9457	* acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from
9458	$ac_sources if this variable is otherwise empty. Fix for PR
9459	autoconf/30.
9460
94611999-09-25  Ben Elliston  <bje@cygnus.com>
9462
9463	* autoconf.texi (AC_FUNC_SETVBUF): Do not mention which systems
9464	might have their setvbuf() arguments reordered. It's difficult to
9465	accurately determine and is not essential. Fix for PR autoconf/7.
9466
9467	* acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
9468	number of arguments are collected. Fix for PR autoconf/10.
9469
94701999-09-25  Akim Demaille  <akim@epita.fr>
9471
9472	* acgeneral.m4 (AC_OUTPUT, handling of options): Make it possible
9473	to specify the files to configure on the command line instead of
9474	via envvars.  Document it.
9475
94761999-09-25  Akim Demaille  <akim@epita.fr>
9477
9478	* acgeneral.m4: Rename the occurences of the variable `confstat'
9479	as `ac_cs_root'.  The previous name was breaking the naming
9480	scheme.
9481
94821999-10-24  Akim Demaille  <akim@epita.fr>
9483
9484	* TODO: Updated.
9485	Added a section for 2.15 and 3.
9486
94871999-09-24  Ben Elliston  <bje@cygnus.com>
9488
9489	* acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER
9490	macros correctly on EBCDIC systems. Contributed by Kurt D.
9491	Zeilenga. Fix for PR autoconf/6.
9492
94931999-09-24  Jim Blandy  <jimb@zwingli.cygnus.com>
9494
9495	* acspecific.m4 (AC_C_VOLATILE): New test.
9496	* acconfig.h: Add new entry for `volatile'.
9497	* autoconf.texi (C Compiler Characteristics): Document it.
9498
94991999-09-24  Ben Elliston  <bje@cygnus.com>
9500
9501	* autoreconf.sh: Do not run autoheader if AC_CONFIG_HEADER is
9502	commented out in configure.in. Reported by Erez Zadok
9503	as a fix for PR autoconf/21.
9504
9505	* install.texi: Replace `can not' with `cannot'.
9506
95071999-09-23  Pavel Roskin  <pavel_roskin@geocities.com>
9508
9509	Avoid that comments from aclocal.m4 show up in configure when
9510	using AC_REVISION.
9511
9512	* acgeneral.m4: New diversion levels AC_DIVERSION_KILL and
9513	AC_DIVERSION_BINSH introduced. Use AC_DIVERSION_KILL as the
9514	initial value for AC_DIVERSION_CURRENT.
9515	(AC_INIT_BINSH): Set AC_DIVERSION_BINSH explicitly
9516	(AC_REVISION): Likewise.
9517	(AC_INIT): Set AC_DIVERSION_NOTICE when calling AC_INIT_NOTICE.
9518
95191999-09-23  Akim Demaille  <akim@epita.fr>
9520
9521	* NEWS: Document AC_ARG_VAR.
9522
9523	* acspecific.m4 (AC_C_LONG_DOUBLE): Avoid a needed execution by
9524	using a pure compilation test.  Excellent for cross compilation.
9525	From Kaveh R. Ghazi.
9526
95271999-09-22  Akim Demaille  <akim@epita.fr>
9528
9529	* install.texi: Give more details on envvar handling.
9530	* acgeneral.m4 (AC_HELP_STRING): Add a third argument to tune the
9531	width of the first column.
9532	(AC_INIT_NOTICE): Initialize ac_arg_enable_help, ac_arg_with_help,
9533	and ac_arg_var_help.
9534	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Remove the handling of
9535	--env-var=.  After debate, the solution chosen to specify envvars
9536	to configure is a` la make: ./configure VAR=VAL.
9537	(AC_INIT_PARSE_ARGS, --help): Output ac_arg_enable_help,
9538	ac_arg_with_help, and ac_arg_var_help.
9539	* acgeneral.m4 (AC_ARG_VAR): New macro, to register and document
9540	influent envvars.
9541	* acspecific.m4 (AC_PROG_CC): Document CFLAGS.
9542	This is mainly to test AC_ARG_VAR.  Var to document are to be
9543	defined.
9544
95451999-09-22  Akim Demaille  <akim@epita.fr>
9546
9547	* acgeneral.m4 (m4_default): New macro.
9548	(AC_CHECK_LIB): When ACTION-IF-FOUND is specified, don't perform
9549	the default action.
9550	Reported by Pavel.
9551
95521999-09-22  Ben Elliston  <bje@cygnus.com>
9553
9554	* config.guess: Clear the CCOPTS environment variable before
9555	invoking the C compiler on HP-UX. This is necessary to guarantee
9556	that the test program is compiled correctly. Reported by Dietmar
9557	P. Schindler.
9558
95591999-09-22  Linas Vepstas  <linas@linas.org>
9560
9561	* config.guess: Add OS/390 match pattern.
9562	* config.sub: Add mvs, openedition targets.
9563
95641999-09-21  Nick Clifton  <nickc@cygnus.com>
9565
9566	* config.sub: Add fr30 target.
9567
95681999-09-21  Ben Elliston  <bje@cygnus.com>
9569
9570	* configure.in: Check if an appropriate version of GNU m4 is
9571	installed at configure-time rather than at runtime. From Pavel
9572	Roskin. Fix for PR autoconf/2.
9573	* configure: Regenerate.
9574
95751999-09-21  Akim Demaille  <akim@epita.fr>
9576
9577	* acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
9578	heredocs to avoid problems with quotes.
9579
95801999-09-21  Akim Demaille  <akim@epita.fr>
9581
9582	* NEWS: Updated.
9583	* THANKS: Likewise.
9584
9585	* acgeneral.m4 (AC_CHECK_HEADER): Use AC_VAR_*.
9586	(AC_CHECK_HEADERS): Adapted.
9587
9588	* acgeneral.m4 (AC_TR): Remove, it is useless.
9589	(AC_TR_CPP): Updated version of formerly AC_TR_DEFINE, based on
9590	the model of AC_TR_SH.
9591	All callers changed.
9592
9593	* autoconf.sh (Checking for Bugs): Remove the indirection that
9594	made the `sort -u' useless.
9595
95961999-09-21  Akim Demaille  <akim@epita.fr>
9597
9598	* autoconf.sh (Last sed cmd): Change also @PND@ to `#', since this
9599	is also a symbol very hard to quote in m4.
9600
9601	* acgeneral.m4 (AC_CHECK_LIB): Use AC_VAR_*.
9602
9603	* acgeneral.m4: Use `m4_BUILTIN' instead of indirection via
9604	`builtin'.
9605
96061999-09-21  Akim Demaille  <akim@epita.fr>
9607
9608	* autoconf.texi	(Particular Structures): Move documentation of
9609	AC_HEADER_STAT and AC_HEADER_TIME from here...
9610	(Particular Headers): to here.
9611	(Declarations): New section.
9612	(Particular Headers): Move doc of AC_DECL_SYS_SIGLIST from here...
9613	(Particular Declarations): to here.
9614
96151999-09-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9616
9617	* acgeneral.m4 (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS): New
9618	macros.
9619
9620	* autoconf.texi (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS):
9621	Document.
9622
9623	* autoheader.m4: Add support for AC_CHECK_FUNC_DECLS.
9624
9625	* autoheader.sh: Likewise.
9626
96271999-09-21  Akim Demaille  <akim@epita.fr>
9628
9629	* acgeneral.m4 (AC_SHELL_IFELSE): New macro.
9630	(AC_VAR_IF_SET): Use it.
9631	(AC_CHECK_FUNC): Likewise.
9632
9633	* Makefile.in (${srcdir}/configure): Use autoconf.sh to build
9634	Autoconf's configure.  Before the building was performed running
9635	m4 at hand, but much was not done (e.g., __oline__,
9636	@BKL@... expansion)
9637
96381999-09-20  Akim Demaille  <akim@epita.fr>
9639
9640	* acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
9641	unconditionaly: it breaks the `config.h has not changed' trick.
9642
96431999-09-20  Ben Elliston  <bje@cygnus.com>
9644
9645	* autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin.
9646
96471999-09-20  Pavel Roskin  <pavel_roskin@geocities.com>
9648
9649	* autoheader.sh: Fix the tr invocation.
9650
96511999-09-17  Ben Elliston  <bje@cygnus.com>
9652
9653	* config.guess: Detect QNX version 4.
9654	* config.sub: Handle `qnx' and `i386-qnx' aliases.
9655
96561999-09-17  Erez Zadok  <ezk@cs.columbia.edu>
9657
9658	* config.guess: Eliminate the trailing dot if ${UNAME_RELEASE} is
9659	1.4-<SOMETHING>. Fix for PR autoconf/22.
9660
96611999-09-17  Akim Demaille  <akim@epita.fr>
9662
9663	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.
9664
9665	* acgeneral.m4 (AC_OUTPUT): Change the root of filenames of
9666	config.status from $conftest to $confstat.
9667	The previous patch to make config.status reentrant was wrong,
9668	because it changed some `conftest' that are used by configure into
9669	`$conftest', while it was for config.status only.  To avoid
9670	another confusion like this, all the filenames of config.status
9671	should be `$confstat*', and those of configure should be
9672	`conftest*'.
9673	(AC_OUTPUT): Rename the uses of `ac_file' for the sed fragments as
9674	`ac_sed_frag'.
9675
9676	* acgeneral.m4 (AC_OUTPUT): This macro used to open the here
9677	documents that configure uses to generate config.status, included
9678	that of the submacros.  Now, it no longer handles the here
9679	documents for its subroutines (it was far to hard to track).
9680	(AC_OUTPUT_FILES): Open and close your here documents to
9681	$CONFIG_STATUS.
9682	(AC_OUTPUT_HEADER): Likewise.
9683	(AC_OUTPUT_LINKS): Likewise.
9684
9685	* acgeneral.m4 (AC_OUTPUT_FILES): Move $ac_vpsub and $extrasub
9686	from the AC_SUBST substitutions (i.e., that of @SHELL@ etc.) to
9687	the specific section (that of @srcdir@ etc.).
9688	Now the ``general substitution'' section is absolutely uniform.
9689
9690	* acgeneral.m4 (AC_SUBST): Change sed call from `s%@from@%to%g'
9691	into `s%@from@%to%;t t'.
9692	(AC_SUBST_FILE): Likewise.
9693	(AC_OUTPUT_FILES): Optimize the sed scripts by branching if there
9694	are no `@' on the line. Impressive speed up.
9695
9696	* Makefile.in (DISTFILES): Add THANKS.
9697
9698	* THANKS: New file.
9699
97001999-09-15  Akim Demaille  <akim@epita.fr>
9701
9702	* acgeneral.m4 (AC_CHECK_FILE): Use ifset.
9703	(AC_CHECK_FUNC): Updated to use AC_VAR_*, and AC_CACHE_CHECK.
9704	(AC_CHECK_SIZEOF): Likewise.
9705	(AC_CACHE_CHECK): Use AC_MSG_RESULT_UNQUOTED.
9706	(AC_MSG_RESULT_UNQUOTED): New macro.
9707
97081999-09-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9709
9710	Fix for PR autoconf/28.
9711	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012, use
9712	`echo` followed by a non-blank, within quotes.
9713	* autoheader.sh (syms): Likewise.
9714	* configure: Rebuilt.
9715
97161999-09-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9717
9718	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012,
9719	use `echo` followed by a non-blank, within quotes.
9720	* autoheader.sh (syms): Likewise.
9721	* configure: Rebuilt.
9722	Reported by Christian Krone.
9723
9724	* acgeneral.m4 (AC_INCLUDE): New macro.
9725	* autoconf.texi: Document it.
9726
9727	* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Save INSTALL in
9728	ac_given_INSTALL, so that we can adjust relative pathnames for
9729	sub-configures.
9730
9731	* acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
9732	VAR=value.
9733	* autoconf.texi, install.texi: Document it.
9734	* configure: Rebuilt.
9735
97361999-09-14  Akim Demaille  <akim@epita.fr>
9737
9738	* acgeneral.m4 (AC_HELP_STRING): Rewrite in m4.  Have m4 work, and
9739	give a break to sh.
9740	(_AC_FOREACH): Be careful not to evaluate the arguments.  A loop
9741	over *quoted* macro names should loop over the macro names, not
9742	upon their expansion.
9743	(_AC_COMMATIZE): Also swallow end of lines.
9744
9745	* autoconf.texi (Pretty Help Strings): Updated to reflect the
9746	changes.
9747
97481999-09-13  Akim Demaille  <akim@epita.fr>
9749
9750	* acgeneral.m4 (ifset): New helpy tiny macro.
9751	(AC_OUTPUT): Improved --help of config.status.
9752	(AC_OUTPUT): Remove inconditionaly all the files to be updated.
9753	(AC_OUTPUT): Use pid to define the temporary file names in order
9754	to allow parallel builds.
9755
9756	* autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
9757	that these characters are more easily accessible from m4 without
9758	turning changequote juggling into a nightmare.
9759
9760	* acgeneral.m4 (AC_WRAP): New macro, for word wrapping.
9761
9762	* autoconf.texi: Update the direntry for more modern Texinfos.
9763	Add pointer to configure and config.status.
9764	Remove the dots from the menus: horizontal space is precious.
9765	(Invoking config.status): More traditional presentation of the options.
9766
97671999-09-07  Ben Elliston  <bje@cygnus.com>
9768
9769	* autoreconf.sh: Recognise -v as a synonym for --verbose.
9770
97711999-09-07  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
9772
9773	* Makefile.in (INSTALL, standards.info, autoconf.info):  MiKTeX
9774	for Windows treats all options after the first filename as
9775	additional filenames, so real options must appear before the first
9776	filename.
9777
97781999-09-07  Steven G. Johnson  <stevenj@alum.mit.edu>
9779
9780	* autoconf.texi (LDFLAGS, LIBS): Document that -L linker flags
9781	should be kept in LDFLAGS and not LIBS.
9782
97831999-09-07  Jim Meyering  <meyering@ascend.com>
9784
9785	* acgeneral.m4 (AC_SEARCH_LIBS): Use $ac_lib as the index, not $i.
9786
97871999-09-06  Ben Elliston  <bje@cygnus.com>
9788
9789	* acspecific.m4 (AC_FUNC_ALLOCA): Rename cache variable to avoid
9790	name clashes with AC_CHECK_HEADER(alloca.h).
9791
97921999-09-05  Steve Chamberlain  <sac@pobox.com>
9793
9794	* config.sub: Add support for configuring for picoJava (pj).
9795
97961999-09-05  Ben Elliston  <bje@cygnus.com>
9797
9798	* acgeneral.m4 (CONFIG_AUX_DIRS): Try running `shtool install'.
9799	Contributed by Ralf S. Engelschall.
9800
98011999-09-04  Ben Elliston  <bje@cygnus.com>
9802
9803	* config.guess: Use POSIX compliant shell code on DG/UX.
9804	Suggested by Stephen Gildea.
9805
98061999-09-04  Pavel Roskin  <pavel_roskin@geocities.com>
9807
9808	* acgeneral.m4 (AC_OUTPUT_FILES): Output comment to not only
9809	`Makefile', but also `makefile'.
9810
98111999-09-04  Jim Blandy  <jimb@zwingli.cygnus.com>
9812
9813	* Makefile.in (install): Don't freak if the M4FROZEN files were
9814	never generated.  m4 1.1 is supported, but doesn't freeze files.
9815
98161999-09-04  Scott Bambrough  <scottb@netwinder.org>
9817
9818	* config.guess: Autodetect ArmLinux using 2.9.1.xx linker
9819	emulation names and using the emulation names from the linker from
9820	the binutils CVS tree.
9821
9822	* config.sub: Change manufacturer name for the NetWinder alias
9823	from Corel to Rebel.
9824
98251999-09-04  Jeremy Elson  <jelson@circlemud.org>
9826
9827	* autoheader.m4 (AC_CHECK_HEADER): Define.
9828
98291999-09-02  Tom Tromey  <tromey@cygnus.com>
9830
9831	* autoheader.sh: Allow multiple spaces between #undef and symbol
9832	name.
9833
98341999-09-01  Akim Demaille  <akim@epita.fr>
9835
9836	* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
9837	experimental branch from the main trunk.
9838
9839	* acgeneral.m4 (AC_FOREACH_COMMA): New macro, to perform m4 loops
9840	on m4 lists (i.e., list='(item_1, item_2, ..., item_n)').
9841	(AC_FOREACH): New macro, to perform m4 loops on shell lists (i.e.,
9842	list='item_1 item_2 ... item_n').
9843
9844	* acgeneral.m4 (AC_DEFUN): Now accept two other optionnal
9845	parameters: the name of the macro which is specialized here, and
9846	the name of the first argument.  For instance `AC_CHECK_FNMATCH'
9847	should be declared as specializing `AC_CHECK_FUNC' for `fnmatch'
9848	as first argument.
9849
9850	* acgeneral.m4 (AC_CHECK_FILES): Use AC_FOREACH for looping,
9851	instead of the shell's loop.
9852
9853	* acgeneral.m4 (AC_TR): In addition to transliteration, provide a
9854	means to specify the valid destination alphabet and a default
9855	character for aliens characters.  This is in order to remove
9856	characters such as `+:-' etc. that may appear in file names, but
9857	are not valid for shell variables or #defines.
9858	(AC_TR_DEFINE): New macro, maps anything to a valid uppercase
9859	#define rhs.
9860	(AC_TR_UPCASE_NAME): Replaced by AC_TR_DEFINE.  All callers
9861	changed.
9862	(AC_TR_UPCASE_FILE): Likewise.
9863
9864	* acgeneral.m4 (AC_TR_SH): Don't use the generic AC_TR: there is a
9865	difficult problem of quoting between m4 and sh.  Use the variable
9866	$ac_tr_sh to work around this difficulty.
9867	(AC_VAR_TEST_SET): New macro, which tests if a variable is set.
9868	(AC_VAR_IF_SET): New `ifelse' macro.
9869	(AC_CACHE_VAL): Use AC_VAR_IF_SET.
9870	(AC_INIT_NOTICE): Define $ac_tr_sh.
9871
9872	* acgeneral.m4 (AC_CHECK_FILE): Converted to use AC_TR and AC_VAR
9873	families.
9874
9875	* acgeneral.m4: Fixed the regular expressions: `$' shall not be
9876	portably in a sed \(\) group.
9877
98781999-08-28  Ben Elliston  <bje@cygnus.com>
9879
9880	* config.guess: Once and for all, emit the correct string for
9881	Unixware 7! Contributed by Mike Hopkirk.
9882
9883	* acspecific.m4 (AC_C_INLINE): Qualify the return type of the
9884	dummy inlined function to satisfy newer C++ compilers. Fix for
9885	PR autoconf/49.
9886
98871999-08-26  Ben Elliston  <bje@cygnus.com>
9888
9889	* autoconf.texi (Changed Results): Correct an error in one of the
9890	examples. Fix for PR autoconf/38.
9891
98921999-08-25  Ben Elliston  <bje@cygnus.com>
9893
9894	* autoconf.texi (Cache Variable Names): Be more explicit about the
9895	requirements for cache variable names. Fix for PR autoconf/53.
9896
98971999-08-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
9898
9899	* autoreconf.sh: Run aclocal with the -I option only if
9900	aclocal_dir != `.'.  Fix for PR autoconf/44.
9901
99021999-08-22  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
9903
9904	* acspecific.m4 (AC_PROG_CC): Remove uname test for win32/Cygwin,
9905	and just test for `cl' as a last resort.
9906
9907	* autoconf.texi (Particular Programs): Document new optional
9908	argument to AC_PROG_CC, AC_PROG_CXX and AC_PROG_F77.  Document
9909	additions to the Fortran 77 compiler search list.
9910
9911	* acspecific.m4 (AC_PROG_F77): Add more Fortran 77 compilers to
9912	the search list.  Contributed by Steven G. Johnson.
9913
9914	(AC_PROG_CC): Likewise.
9915	(AC_PROG_CXX): Likewise.
9916	* acspecific.m4 (AC_PROG_F77): Add an optional first argument
9917	which gives the user an opportunity to specify an alternative
9918	search list for the compiler.
9919
99201999-08-18  Ben Elliston  <bje@cygnus.com>
9921
9922	* config.guess: Remove "/MP" from the release string on
9923	multiprocessor x86 machines running SVR4.0. Suggested by Tom
9924	Purcell.
9925
99261999-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9927
9928	* acgeneral.m4 (AC_CHECK_TYPE): Add optional third argument
9929	INCLUDES, which specifies the headers in which to search for the
9930	type in question. Also, pass a "description" argument to
9931	AC_DEFINE_UNQUOTED.
9932	* acconfig.h (mode_t, off_t, pid_t, size_t): Remove definitions.
9933	* autoconf.texi (AC_CHECK_TYPE): Document optional third argument.
9934
99351999-08-05  Jeffrey A Law  <law@cygnus.com>
9936
9937	* config.sub (-wrs case): Use os=-vxworks, not os=vxworks.
9938
99391999-08-05  Ben Elliston  <bje@cygnus.com>
9940
9941	* config.guess: Update patch submission address.
9942
99431999-08-05  Ben Elliston  <bje@cygnus.com>
9944
9945	* config.sub: Accept version number appended to OS name for MiNT.
9946	Contributed by Guido Flohr.
9947
99481999-08-04  Ben Elliston  <bje@cygnus.com>
9949
9950	* Makefile.in (INSTALL_SCRIPT): Substitute.
9951	(install): Install scripts with $(INSTALL_SCRIPT).
9952
99531999-07-20  Tom Tromey  <tromey@cygnus.com>
9954
9955	* autoheader.sh: Fixed regexp when searching for missing symbol.
9956	From Pavel Roskin.
9957
99581999-07-16  Tom Tromey  <tromey@cygnus.com>
9959
9960	* autoheader.sh: Be more stringent when looking to see if symbol
9961	is in a template file.
9962
99631999-07-15  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
9964
9965	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New implementation, to
9966	make maintenance easier.
9967	Grep the initial output so that we don't start parsing "-l" and
9968	"-L" too early.  From Christopher Lee.
9969
9970	* acgeneral.m4 (AC_LIST_MEMBER_OF): New "private implementation
9971	macro" use by AC_F77_LIBRARY_LDFLAGS.
9972	(AC_LINKER_OPTION): Likewise.
9973
99741999-07-11  Ben Elliston  <bje@cygnus.com>
9975
9976	* config.guess: Cray T3E has an Alpha CPU.
9977
99781999-07-04  Mark Elbrecht  <snowball3@bigfoot.com>
9979
9980	* acspecific.m4 (AC_PROG_CXX): Look for gpp after g++. gpp is the
9981	DJGPP C++ compiler, since `g++' is not a valid DOS filename.
9982
99831999-06-12  Ben Elliston  <bje@cygnus.com>
9984
9985	* config.guess: Detect Linux on ia64.
9986	* config.sub: Handle ia64.
9987
99881999-06-12  Ben Elliston  <bje@cygnus.com>
9989
9990	* config.guess: Handle `elf32ppclinux' from ld. Contributed by
9991	Cort Dougan.
9992
99931999-06-09  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
9994
9995	* autoconf.texi (Pretty Help Strings): Synchronize documentation
9996	with implementation.
9997
99981999-06-04  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
9999
10000	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Fix sed regexp for handling
10001	CPP macros with args.
10002
100031999-06-04  Nick Clifton  <nickc@cygnus.com>
10004
10005	* config.sub: Add mcore target.
10006
100071999-06-03  Ben Elliston  <bje@cygnus.com>
10008
10009	* acgeneral.m4 (AC_ACVERSION): Correct version number.
10010	* autoconf.texi (EDITION): Likewise.
10011	(VERSION): Likewise.
10012
100131999-06-02  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10014
10015	* autoconf.texi (Pretty Help Strings): Document and regenerate the
10016	indices.
10017	* acgeneral.m4 (AC_HELP_STRING): New macro.
10018
10019	* NEWS: Begin documenting "Major changes" for release 2.14.
10020
10021	* acconfig.h (F77_FUNC): Add.
10022	(F77_FUNC_): Likewise.
10023
100241999-06-01  Akim Demaille  <demaille@inf.enst.fr>
10025
10026	* acgeneral.m4 (AC_PREFIX_PROGRAM): Use macros of the AC_TR_
10027	family.
10028	(AC_HAVE_LIBRARY): Likewise.
10029	(AC_CHECK_FUNCS): Likewise.
10030	(AC_CHECK_FILES): Likewise.
10031	(AC_CHECK_SIZEOF): Likewise.
10032
10033	* acgeneral.m4 (AC_TR): New macro which performs transliteration
10034	by m4 when possible, or by `tr' at configure time.
10035	(AC_TR_UPCASE_NAME): New macro, transliteration 'a-z' to 'A-Z'.
10036	(AC_TR_UPCASE_FILE): New macro, transliteration 'a-z./-' to
10037	'A-Z___'.
10038	(AC_TR_SH): New macro, transliteration to valid sh var name.
10039
10040	* acgeneral.m4 (_AC_SH_QUOTE): New macro which protects non
10041	protected backquotes against shell expansion.
10042	(AC_MSG_CHECKING): Use it.
10043	(AC_CHECKING): Use it.
10044	(AC_MSG_RESULT): Use it.
10045	(AC_VERBOSE): Use it.
10046	(AC_MSG_WARN): Use it.
10047	(AC_MSG_ERROR): Use it.
10048
10049	* acgeneral.m4 (_AC_MESSAGE): New macro to report message at m4
10050	time.
10051	(AC_WARNING): New macro to report warnings at m4 runtime.
10052	(AC_FATAL): New macro, to report fatal error at m4 runtime.
10053
10054	* acspecific.m4 (AC_RSH): Use AC_FATAL.
10055	(AC_ARG_ARRAY): Idem.
10056	(AC_HAVE_BOUNDBANG): Idem.
10057
10058	* acgeneral.m4 (AC_VAR_IF_INDIR): New macro.
10059	(AC_VAR_SET): Likewise.
10060	(AC_VAR_GET): Likewise.
10061
100621999-05-30  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10063
10064	* autoheader.m4 (AC_DEFINE): Ignore CPP macro arguments.
10065	(AC_DEFINE_UNQUOTED): Likewise.
10066
10067	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
10068	recognize CPP macros that take arguments.  Reported, and based on
10069	a patch, by Steven G. Johnson.
10070	(AC_OUTPUT_HEADER): Likewise.
10071
10072	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
10073	new AC_F77_NAME_MANGLING macro.
10074
100751999-05-30  Steven G. Johnson  <stevenj@alum.mit.edu>
10076
10077	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
10078	new AC_F77_FUNC_WRAPPER macro.
10079
10080	* acspecific.m4 (AC_F77_WRAPPERS): New macro to define the
10081	F77_FUNC and F77_FUNC_ CPP macros to properly mangle the names of
10082	C identifiers so that they match the name mangling scheme used by
10083	the Fortran 77 compiler.
10084	(AC_F77_NAME_MANGLING): New macro to test for the name mangling
10085	scheme used by the Fortran 77 compiler.
10086
100871999-05-27  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10088
10089	* acgeneral.m4 (AC_CHECK_LIB): Translate the ":" character to a
10090	"_", which allows checking for member functions in C++ libraries.
10091
100921999-05-25  H.J. Lu  <hjl@gnu.org>
10093
10094	* config.guess (dummy): Changed to $dummy.
10095
100961999-05-22  Ben Elliston  <bje@cygnus.com>
10097
10098	* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake.
10099
101001999-05-17  Ben Elliston  <bje@cygnus.com>
10101
10102	Merge with the EGCS source tree.
10103
10104	* config.guess: Add detection for Interix and UWIN on Windows NT,
10105	OpenBSD on PA-RISC and UnixWare version 7.x.
10106	Improve usage of `tr' where sets are concerned.
10107	Detect all HP 9000 machines.
10108	Determine machine types more completely on older UnixWare systems.
10109	Determine C library version on GNU/Linux for the PowerPC.
10110	* config.sub: Numerous additions. Some cleanup.
10111
101121999-04-29  Ben Elliston  <bje@cygnus.com>
10113
10114	* config.sub: Handle `t3e' alias for Cray T3E. Contributed by
10115	James A. Lupo.
10116
101171999-04-19  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10118
10119	* acgeneral.m4 (AC_TRY_LINK_FUNC): Add support for Fortran 77.
10120
101211999-04-17  Paul Eggert  <eggert@twinsun.com>
10122
10123	* autoconf.texi, acspecific.m4 (AC_FUNC_MKTIME): New macro.
10124	taken from automake's AM_FUNC_MKTIME.
10125	* acfunctions: mktime now belongs to AC_FUNC_MKTIME.
10126
101271999-04-11  Philipp Thomas  <kthomas@gwdg.de>
10128
10129	* config.sub: Set basic_machine to i586 when target_alias = k6-*.
10130
101311999-04-11  Pavel Roskin  <pavel_roskin@geocities.com>
10132
10133	* autoheader.m4: Do not complain about using AC_TRY_RUN without a
10134	cross-compilation action--only autoconf should do this.
10135
101361999-04-11  Paul Eggert  <eggert@twinsun.com>
10137
10138	* acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
10139	shell variable.
10140
101411999-04-11  Ben Elliston  <bje@cygnus.com>
10142
10143	* acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.
10144	* acspecific.m4 (AC_STRUCT_TIMEZONE): Rewrite in terms of
10145	AC_C_STRUCT_MEMBER.
10146	(AC_STRUCT_ST_BLOCKS): Likewise.
10147	(AC_STRUCT_ST_BLKSIZE): Likewise.
10148	(AC_STRUCT_ST_RDEV): Likewise.
10149	* autoconf.texi (Structures): Update. Add menu for subnodes.
10150	(Particular Structures): New node.
10151	(Generic Structures): New node.
10152	(AC_C_STRUCT_MEMBER): Document.
10153
101541999-04-10  Ben Elliston  <bje@cygnus.com>
10155
10156	* mkinstalldirs: Add `-m' flag to specify the mode of a newly
10157	created directory. Add command line usage and `-h', `--help'
10158	options. Contributed by Jeff Garzik.
10159
101601999-04-08  Ben Elliston  <bje@cygnus.com>
10161
10162	* acspecific.m4 (AC_PROG_CC): Try using the `cl' C compiler under
10163	Cygwin. Contributed by Scott Stanton.
10164
10165	* config.sub: Handle MPE/iX.
10166
101671999-04-07  Ben Elliston  <bje@cygnus.com>
10168
10169	* config.guess: Add more CLIX machines. From Thomas Dickey.
10170
101711999-04-06  Ben Elliston  <bje@cygnus.com>
10172
10173	* config.guess: Avoid the possibility of `ld' on GNU/Linux systems
10174	being something other than the GNU linker (such as a directory, in
10175	the case of GNU binutils).
10176
101771999-04-05  Ben Elliston  <bje@cygnus.com>
10178
10179	* config.sub: Add modern Alpha processors. Reorganise.
10180
10181	* acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
10182	AC_TRY_COMPILE clean up after itself.
10183	(AC_MINGW32): Likewise.
10184	(AC_EMXOS2): Likewise.
10185
10186	* acspecific.m4 (AC_EMXOS2): New macro. Contributed by Ryuji Abe.
10187	(AC_EXEEXT): Handle case for OS/2.
10188	(AC_PROG_CC_WORKS): Show $CPPFLAGS when running the compiler.
10189	(AC_PROG_CXX_WORKS): Likewise.
10190
10191	* autoconf.texi (AC_EMXOS2): Document.
10192	(AC_EXEEXT): Mention OS/2.
10193	(AC_MINGW32): Move.
10194	(UPDATED): Update.
10195
101961999-04-02  Mike Stump  <mrs@wrs.com>
10197
10198	* acgeneral.m4 (AC_ARG_PROGRAM): Remove spaces, as there is one
10199	more pass through sh than you think.
10200
102011999-04-01  Ben Elliston  <bje@cygnus.com>
10202
10203	* standards.texi: Update from FSF.
10204
10205	* acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
10206	script belonging to HP `pwplus' when running the install
10207	program. Contributed by Steven G. Johnson and Dave Adams.
10208	(AC_EXEEXT): Do not consider `.xcoff' as a possible executable
10209	filename extension. Contributed by Robert S. Maier.
10210
102111999-03-28  Tom Tromey  <tromey@cygnus.com>
10212
10213	* autoconf.texi (AC_OUTPUT_COMMANDS): Add to macro index.
10214
102151999-03-22  Ben Elliston  <bje@cygnus.com>
10216
10217	* config.guess: Rename BUILD_CC to CC_FOR_BUILD; there is a
10218	precedent for the usual name of this environment variable.
10219
102201999-03-22  Pavel Roskin  <pavel_roskin@geocities.com>
10221
10222	* autoheader.sh: Report an error if AC_CONFIG_HEADER is not
10223	present in the configure input file.
10224
102251999-03-21  Ben Elliston  <bje@cygnus.com>
10226
10227	* config.guess: Correct typo for detecting ELF on FreeBSD.
10228
102291999-03-14  Alexandre Oliva  <oliva@dcc.unicamp.br>
10230
10231	* config.guess: Recognise HP 9000/8x0 machines.
10232
102331999-03-11  Ben Elliston  <bje@cygnus.com>
10234
10235	* config.sub: Recognise hppa2.0w. Contributed by Erez Zadok.
10236
102371999-03-11  Pavel Roskin  <pavel_roskin@geocities.com>
10238
10239	* config.guess: Prefer $HOST_CC over $CC when deciding on a C
10240	compiler to compile stub programs. Allow this to be overridden
10241	with the value of $BUILD_CC in cross-compilation environments
10242	where the native compiler must be used for running tests on the
10243	host.
10244
102451999-03-11  Ben Elliston  <bje@cygnus.com>
10246
10247	* config.guess: Recognise MiNT and TOS on Atari machines.
10248	Contributed by Guido Flohr.
10249
10250	* config.sub: Add aliases for MiNT.
10251
102521999-03-10  Ben Elliston  <bje@cygnus.com>
10253
10254	* config.guess: Recognise HP 9000/800. Merged from the master
10255	FSF version of this file.
10256
102571999-03-01  Gordon Matzigkeit  <gord@trick.fig.org>
10258
10259	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro
10260	symbols be valid C identifiers.
10261
102621999-02-28  Ben Elliston  <bje@cygnus.com>
10263
10264	* acspecific.m4 (AC_FUNC_VFORK): Allow test to behave correctly
10265	when $ac_cv_func_vfork_works is the empty string. Contributed by
10266	<red@nym.alias.net>.
10267
10268	* config.sub: Add `oskit' as a basic system type. From Godmar Back.
10269
102701999-02-26  Ben Elliston  <bje@cygnus.com>
10271
10272	* install-sh: Avoid trailing whitespace.
10273
10274	* autoscan.pl (parse_args): Make compatible with Perl version 4.
10275
102761999-02-24  Ben Elliston  <bje@cygnus.com>
10277
10278	* config.guess: Detect LynxOS 3.x. Contributed by Giuseppe
10279	Guerrini.
10280
102811999-02-23  Ben Elliston  <bje@cygnus.com>
10282
10283	* config.guess: Detect ReliantUNIX on MIPS. Contributed by Andrej
10284	Borsenkow.
10285	Also remove random trailing whitespace.
10286
102871999-02-22  Ben Elliston  <bje@cygnus.com>
10288
10289	* autoconf.texi (System Services): Explain the semantics of the
10290	AC_SYS_RESTARTABLE_SYSCALLS macro in greater detail. Suggested by
10291	Franc,ois Pinard.
10292
102931999-02-22  Stu Grossman  <grossman@cygnus.com>
10294
10295	* acgeneral.m4 (AC_CANONICAL_SYSTEM): Explicitly require
10296	AC_CANONICAL_HOST, AC_CANONICAL_TARGET and AC_CONICAL_BUILD.
10297	(AC_CONFIG_AUX_DIR): Run auxillary shell scripts through $SHELL.
10298	Do not rely on their magic number.
10299	(AC_CANONICAL_THING): New macro. Cache results.
10300	(AC_CANONICAL_HOST): Reimplement; use AC_CANONICAL_THING.
10301	(AC_CANONICAL_TARGET): Likewise.
10302	(AC_CANONICAL_BUILD): Likewise.
10303	(AC_OUTPUT): Use $SHELL.
10304	(AC_OUTPUT_SUBDIRS): Likewise.
10305
103061999-02-19  Ben Elliston  <bje@cygnus.com>
10307
10308	* config.guess: Make C code clean for C++ compilers. Contributed
10309	by Markus Oberhumer.
10310
103111999-02-19  Ben Elliston  <bje@cygnus.com>
10312
10313	* config.guess: Automatically recognise ELF on FreeBSD. From Niall
10314	Smart and improved by Andrew Cagney.
10315
103161999-02-19  Felix Lee  <flee@cygnus.com>
10317
10318	* acgeneral.m4 (AC_CACHE_VAL): Don't need backticks. This is a
10319	performance enhancement for about a 5% reduction in the runtime of
10320	the generated configure script.
10321
103221999-02-18  Ben Elliston  <bje@cygnus.com>
10323
10324	* config.guess: Detect NEC EWS4800. Contributed by Koji Arai.
10325
103261999-02-11  Ben Elliston  <bje@cygnus.com>
10327
10328	* standards.texi: Update from FSF.
10329
103301999-02-10  Tom Tromey  <tromey@cygnus.com>
10331
10332	* acgeneral.m4 (AC_CACHE_LOAD): Avoid sourcing special files.
10333	Works around bug in some versions of bash.
10334
103351999-02-02  Pavel Roskin  <pavel_roskin@geocities.com>
10336
10337	* autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and
10338	AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and
10339	AC_TRY_LINK_FUNC removed.
10340
103411999-01-29  Ben Elliston  <bje@cygnus.com>
10342
10343	* acspecific.m4 (AC_EXEEXT): Ignore C++ source files.
10344
103451999-01-28  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
10346
10347	* acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
10348	${INSTALL} so that automake doesn't propogate install time flags
10349	for INSTALL_PROGRAM into INSTALL_SCRIPT.
10350
103511999-01-25  Ben Elliston  <bje@cygnus.com>
10352
10353	* install-sh: Use $mkdirprog, not `mkdir' directly. Contributed by
10354	Jeff Garzik.
10355
10356	* Makefile.in (clean mostlyclean distclean maintainer-clean):
10357	Remove .m4f files.
10358
10359	* config.guess: Synchronise with master FSF version. Add detection
10360	for HP MPE/iX.
10361
10362	* config.sub: Likewise.
10363
103641999-01-23  Ben Elliston  <bje@cygnus.com>
10365
10366	* config.guess: Catch more NILE system models. Contributed by
10367	Akim Demaille and Graham Jenkins.
10368
10369	* autoheader.sh: Force $tmpout to close to avoid Windows file
10370	sharing conflicts. From Mark Elbrecht.
10371
103721999-01-21  Ben Elliston  <bje@cygnus.com>
10373
10374	* autoconf.texi (Introduction): Update bug reporting address.
10375
10376	* config.guess: Likewise.
10377
103781999-01-19  Pavel Roskin  <pavel_roskin@geocities.com>
10379
10380	* ifnames.sh: Source lines ending with backslash are prepended to
10381	the following line before further processing.
10382
103831999-01-19  Ben Elliston  <bje@cygnus.com>
10384
10385	* acspecific.m4 (AC_PROG_CXXCPP): Substitute @CXXCPP@ correctly
10386	when $CXXCPP is overridden in the supervisory shell. Contributed
10387	by Michael Schoene.
10388
103891999-01-16  Ben Elliston  <bje@cygnus.com>
10390
10391	* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 for prereleases.
10392
103931999-01-14  Scott Bambrough  <scottb@corelcomputer.com>
10394
10395	* config.guess: Recognise armv[234][lb] types (ie. `armv*').
10396
103971999-01-13  Ben Elliston  <bje@cygnus.com>
10398
10399	* autoconf.sh: Remove -v and --verbose from the command line usage
10400	help. They do not exist.
10401
104021999-01-12  Scott Bambrough  <scottb@corelcomputer.com>
10403
10404	* config.sub: Recognize armv[234][lb] types (ie. `armv*'). Add
10405	alias for the NetWinder; set company to `corel'.
10406
104071999-01-11  Akim Demaille  <demaille@inf.enst.fr>
10408
10409	* autoreconf.sh (verbose): use either `:' or `echo'.
10410	(aclocal_m4): Renamed from aclocal.
10411	(aclocal_flags): New var.
10412	Run aclocal using $aclocal_flags.
10413	Redirect ls' stderr to /dev/null to avoid spurious messages.
10414
104151999-01-11  Ben Elliston  <bje@cygnus.com>
10416
10417	* config.guess: Detect HP-UX on MPE/iX machines.
10418
10419	* acgeneral.m4 (AC_ACVERSION): Increment to 2.14.
10420
10421	* autoconf.texi (EDITION): Likewise.
10422	(VERSION): Likewise.
10423
104241999-01-10  Ben Elliston  <bje@cygnus.com>
10425
10426	* config.guess: Detect Rhapsody on PowerPC and other machines.
10427	Contributed by Wilfredo Sanchez.
10428
10429	* config.sub: Add rhapsody and openstep aliases.
10430
104311999-01-09  Ben Elliston  <bje@cygnus.com>
10432
10433	* Makefile.in (html): New target. Generate HTML documentation.
10434	(install-strip): Add.
10435	Contributed by Wilfredo Sanchez.
10436
10437	* autoconf.texi (AC_CHECK_LIB): Explain more. Contributed by Bob
10438	Friesenhahn.
10439	(UPDATED): Bump to 1999.
10440
10441	* config.guess: Distinguish between OpenStep and NeXTStep
10442	platforms. Contributed by Wilfredo Sanchez.
10443
104441999-01-09  J"orn Rennecke  <amylaar@cygnus.co.uk>
10445
10446	* acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.
10447
104481999-01-09  H.J. Lu  <hjl@lucon.org>
10449
10450	* config.guess: Permit multiple concurrent instances by including
10451	the process ID of the shell running this script in temporary
10452	filenames.
10453
104541999-01-08  Ben Elliston  <bje@cygnus.com>
10455
10456	* autoconf.sh: More useful and up-to-date help from the --help
10457	option. Contributed by Akim Demaille.
10458
10459	* autoheader.sh: Likewise.
10460
10461	* autoreconf.sh: Likewise.
10462
10463	* autoscan.pl: Likewise.
10464
10465	* autoupdate.sh: Likewise.
10466
10467	* ifnames.sh: Likewise.
10468
10469	* config.guess: Detect Cray T3E and NEC SX-4, SX-5 machines.
10470	Contributed by Andreas Schott.
10471
104721999-01-06  Ben Elliston  <bje@cygnus.com>
10473
10474	* autoconf.texi (AC_OBJEXT): Correct documentation.
10475
104761999-01-05  Ben Elliston  <bje@cygnus.com>
10477
10478	* Version 2.13.
10479
104801999-01-04  Ben Elliston  <bje@cygnus.com>
10481
10482	* autoconf.texi (AC_CHECK_FILE): Document.
10483	(AC_CHECK_FILES): Likewise.
10484	(AC_SEARCH_LIBS): Likewise.
10485	(AC_FUNC_SELECT_ARGTYPES): Use Jeff Garzik's version.
10486	(AC_C_STRINGIZE): Likewise.
10487	(AC_CYGWIN): Document.
10488	(AC_EXEEXT): Likewise.
10489	(AC_OBJEXT): Likewise.
10490	(AC_MINGW32): Likewise.
10491	(AC_TRY_LINK_FUNC): Likewise.
10492	(AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
10493
104941999-01-01  Ben Elliston  <bje@cygnus.com>
10495
10496	* NEWS: Update.
10497
10498	* acspecific.m4 (AC_PROG_CXX_WORKS): Specify an explicit return
10499	type for `main' to keep modern C++ compilers happy.
10500
105011998-12-28  Jeff Garzik  <jgarzik@pobox.com>
10502
10503	* autoconf.texi:
10504	 (AC_SEARCH_LIBS, AC_CHECK_FILE, AC_CHECK_FILES,
10505	  AC_TRY_LINK_FUNC): Document.
10506	 (AC_CHECK_LIB): Indicate the absence of
10507		action-if-not-found will not kill default action.
10508	 (AC_SYS_INTERPRETER): Alphabetize with rest of section,
10509		s/ac_cv_sys_interpreter/interpval/
10510
10511	* acgeneral.m4:
10512	 (AC_TRY_LINK_FUNC): Fix arg transposition.
10513	 (AC_SEARCH_LIBS): Require autoconf 2.13, add other-libs arg.
10514	 (AC_CHECK_FILES): Add underscore to HAVE_file define.
10515
10516	* acspecific.m4:
10517	 (AC_SYS_INTERPRETER): New shell var 'interpval' stores
10518		internal var ac_cv_sys_interpreter.
10519
105201998-12-27  Ben Elliston  <bje@cygnus.com>
10521
10522	* autoconf.texi (AC_PROG_INSTALL): Update.
10523	(AC_FUNC_ALLOCA): Correct code fragment.
10524	(AC_FUNC_SELECT_ARGTYPES): Document.
10525	(AC_C_STRINGIZE): Likewise.
10526	(AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
10527
10528	* acspecific.m4 (AC_CYGWIN): Rename from `AC_CYGWIN32'.
10529	(AC_CYGWIN32): Warn about deprecated usage. Forward to AC_CYGWIN.
10530
10531	* config.sub: Drop `32' from `Cygwin32'.
10532
10533	* config.guess: Likewise.
10534	Handle BSD/OS variants for non-x86 machines. Contributed by Chris
10535	P. Ross.
10536
10537	* NEWS: Update.
10538
10539	* configure: Rebuild.
10540
105411998-12-26  Ben Elliston  <bje@cygnus.com>
10542
10543	* autoreconf.sh (stamp): Add missing quote.
10544
10545	* mkinstalldirs: Write output which is not diagnostic to standard
10546	output and not standard error. Suggested by Steve Robbins.
10547
105481998-12-11  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10549
10550	* acconfig.h, acgeneral.m4, acspecific.m4, autoconf.texi: Change
10551	all of the Fortran 77 code to use the new `F77' prefix instead of
10552	the older `FC' prefix.
10553
105541998-12-11  Ben Elliston  <bje@cygnus.com>
10555
10556	* acgeneral.m4 (AC_ACVERSION): Bump to 2.13.
10557
10558	* autoconf.texi (EDITION): Likewise.
10559	(VERSION): Likewise.
10560
105611998-10-30  Jeff Garzik  <jgarzik@pobox.com>
10562
10563	* autoconf.texi: Document AC_CACHE_LOAD and AC_CACHE_SAVE. Explain
10564	how AC_CACHE_SAVE can be used as a means of syncing the cache to
10565	disk prior to doing something potentially fatal in configure.
10566
105671998-10-29  Alexandre Oliva  <oliva@dcc.unicamp.br>
10568
10569	* autoreconf.sh: Support several automake command line options,
10570	and run aclocal and automake when needed. Also, create stamp files
10571	just like automake's Makefiles would do for config headers.
10572	Additional contributions from Tom Tromey.
10573
105741998-10-24  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10575
10576	* acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
10577	since it was confusing the test suite.  Also make `f77' the default
10578	for FC, otherwise the test suite fails.
10579
10580	* autoconf.texi (Fortran 77 Compiler Characteristics): Added new
10581	node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
10582
10583	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
10584	the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
10585	and run-time libraries.
10586
105871998-10-24  Ben Elliston  <bje@cygnus.com>
10588
10589	* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): New macro. Detects the
10590	types of formal arguments to select(). Contributed by Lars Hecking.
10591
10592	* acconfig.h (SELECT_TYPE_ARG1): Add.
10593	(SELECT_TYPE_ARG234): Likewise.
10594	(SELECT_TYPE_ARG5): Likewise.
10595
10596	* config.guess: Hide warnings emitted by the HP linker when
10597	generating a PA 2.0 object file. Contributed by Marcus Thiessel.
10598
105991998-10-20  Ben Elliston  <bje@cygnus.com>
10600
10601	* acgeneral.m4 (AC_LANG_RESTORE): Fix a typo spotted by Noah
10602	Elliott.
10603
106041998-10-09  Tom Tromey  <tromey@cygnus.com>
10605
10606	* Makefile.in (autoconf.m4f): New target.
10607	(autoheader.m4f): Likewise.
10608
106091998-10-08  Ben Elliston  <bje@cygnus.com>
10610
10611	* acgeneral.m4 (AC_TRY_LINK_FUNC): Fix macro ordering.
10612
10613Sun Oct  4 21:57:20 1998  Tom Tromey  <tromey@cygnus.com>
10614
10615	* autoconf.texi (Defining Symbols): Documented third argument to
10616	AC_DEFINE.
10617	* autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
10618	assignment if third argument given.
10619	(AC_DEFINE): Likewise.
10620	* acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
10621	(AC_DEFINE_UNQUOTED): Likewise.
10622	* autoheader.sh: Echo $verbatim if not empty.
10623
106241998-10-03  Ben Elliston  <bje@cygnus.com>
10625
10626	* acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
10627	77 support.
10628
10629	* README: Update bug reporting address. Include maintainer info.
10630
106311998-10-02  Ben Elliston  <bje@cygnus.com>
10632
10633	* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): New macro. This
10634	macro can be used to ensure that a configure script will not run
10635	on a second system without removing the cache and re-running
10636	configure. Contributed by Alexandre Oliva.
10637
106381998-09-29  Ben Elliston  <bje@cygnus.com>
10639
10640	* acgeneral.m4 (AC_SEARCH_LIBS): New macro. Searches a series of
10641	libraries for a given function. Contributed by Jim Blandy.
10642	(AC_TRY_LINK_FUNC): New macro. Again, from Jim.
10643
106441998-09-28  Ben Elliston  <bje@cygnus.com>
10645
10646	* config.guess: Detect multiprocessor DC/OSx running on Pyramid
10647	MIServer machines.  Contributed by Graham K. Jenkins.
10648
10649	* acgeneral.m4 (AC_CHECK_PROG): Fix a bug if the supplied path
10650	contains colons. This was observed with some versions of NetBSD
10651	`sh' and some versions of `bash'.
10652	(AC_PATH_PROG): Likewise. Contributed by Tom Yu.
10653
106541998-09-27  Ben Elliston  <bje@cygnus.com>
10655
10656	* Makefile.in (all): Generate frozen .m4 files at build time.
10657	(install): Do not freeze .m4 files. Install pre-frozen .m4f files
10658	using $(INSTALL_DATA).
10659	(.m4.m4f): Freeze files if m4 supports stored internal state.
10660	Contributed by Karl Heuer.
10661
10662	* install-sh: Import latest version from the FSF.
10663
10664	* mkinstalldirs: Likewise.
10665
10666	* config.guess: Apply the sysconf(2) test to HP 9000/600-series,
10667	9000/802, 9000/804 and 9000/892 machines.  Contributed by Pavel
10668	Roskin.
10669	Detect UnixWare 7.  Contributed by Paul Gampe.
10670
10671	* acspecific.m4 (AC_PROG_INSTALL): Substitute `INSTALL_SCRIPT'.
10672	Contributed by Franc,ois Pinard
10673	(AC_C_STRINGIZE): New macro to test the availability of the
10674	stringizing operator in the C preprocessor. Contributed by Arnold
10675	Robbins on behalf of the GNU AWK project.
10676
10677	* acconfig.h (HAVE_STRINGIZE): Add for the AC_C_STRINGIZE macro.
10678
10679	* testsuite/Makefile.in (check): If DejaGNU is not installed,
10680	print a warning and skip the `dejacheck' target (which will fail).
10681	(site.exp): Use tests to guard commands from generating error
10682	messages if `site.exp' or `site.bak' do not exist. Contributed by
10683	Karl Heuer.
10684	(dejacheck): Remove unused target.
10685
106861998-09-26  Ben Elliston  <bje@cygnus.com>
10687
10688	* texinfo.tex: Import latest version from the FSF.
10689
10690	* config.guess: Treat all SPARC variant processors running BSD/OS
10691	as just `sparc' for compatibility reasons.  Contributed by Chris
10692	Torek.
10693
10694	* acgeneral.m4 (AC_CHECK_FILE): New macro. Checks for the
10695	existence of a file in the file system (native only).
10696	Contributed by Ken Raeburn.
10697	(AC_CHECK_FILES): Likewise.
10698
106991998-09-15  Didier Verna  <verna@inf.enst.fr>
10700
10701	* acspecific.m4 (AC_PATH_XTRA): use X_EXTRA_LIBS add-on libraries
10702	in the test for libICE. It is needed at least under Solaris.
10703
107041998-09-15  Ben Elliston  <bje@cygnus.com>
10705
10706	* config.guess: Handle strange processor ID assignments on AIX
10707	machines.  Contributed by Didier Desseaux.
10708
10709Sat Sep 12 16:25:00 1998  Aaron Crane  <aaronc@pobox.com>
10710
10711	* acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
10712	incorrectly assuming that if foobar_t is defined, then so is
10713	bar_t.
10714
10715Tue Sep  8 14:06:04 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10716
10717	* acgeneral.m4: Make the following macros Fortran 77 aware
10718	(i.e. conditionalize whether to `#include "confdefs.h"', etc.):
10719	(AC_TRY_COMPILE)
10720	(AC_TRY_LINK)
10721	(AC_CHECK_LIB)
10722
10723	* acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
10724	`AC_LANG_FORTRAN77'.  Change the Fortran 77 language macro from
10725	`FORTRAN' to `FORTRAN77'.
10726	(AC_LANG_RESTORE): Change the Fortran 77 language macro from
10727	`FORTRAN' to `FORTRAN77'
10728
10729	* autoconf.texi: Updated Fortran 77 documentation, particularly
10730	for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
10731
10732Thu Sep  3 09:34:39 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
10733
10734	* autoconf.texi: Added Fortran 77 documentation.
10735
10736	* acspecific.m4 (AC_PROG_FC): New macro.  Determine a Fortran
10737	compiler to use.
10738	(AC_PROG_FC_WORKS): New macro.
10739	(AC_PROG_FC_GNU): New macro.
10740	(AC_PROG_FC_G): New macro.
10741	(AC_PROG_FC_C_O): New macro.
10742
10743	* acgeneral.m4: Add FFLAGS (Fortran 77 flags).
10744	(AC_LANG_FORTRAN): New macro.
10745	(AC_LANG_RESTORE): Make Fortran 77 aware.
10746	(AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
10747	whether to `#include "confdefs.h"').
10748
10749Thu Jun 18 12:13:27 1998  Ian Lance Taylor  <ian@cygnus.com>
10750
10751	* acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
10752	there is no extension.
10753
10754Mon Jun  1 12:30:39 1998  Ian Lance Taylor  <ian@cygnus.com>
10755
10756	* acgeneral.m4 (AC_CHECK_PROG): Set IFS to just ":" when searching
10757	through PATH.
10758	(AC_PATH_PROG): Likewise.
10759	* acspecific.m4 (AC_PROG_INSTALL): Likewise.
10760	(AC_PROG_CC): On cygwin32, if neither gcc nor cc
10761	are found, look for cl.
10762	(AC_PROG_CXX): Look for cl after all other choices.
10763	* configure: Rebuild.
10764
10765Thu May 28 18:37:36 1998  Ian Lance Taylor  <ian@cygnus.com>
10766
10767	* acgeneral.m4 (AC_ACVERSION): Bump to 2.12.2.
10768
10769	Add support for Visual C++:
10770	* acgeneral.m4 (ac_exeext, ac_objext): New variables.
10771	(ac_link): Use ac_exeext.
10772	(AC_TRY_COMPILER, AC_TRY_LINK, AC_TRY_RUN_NATIVE): Likewise.
10773	(AC_TRY_CPP): Remove lines from stderr which contain only the name
10774	of the file.
10775	(AC_REPLACE_FUNCS): Use ac_objext.
10776	* acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
10777	even if it is not gcc.
10778	(AC_PROG_CXX): Likewise.
10779	(AC_PROG_CPP): Try running the compiler with the -nologo option.
10780	(AC_FUNC_ALLOCA): Check for _MSC_VER.  Use ac_objext.
10781	(AC_FUNC_MEMCMP): Use ac_objext.
10782	(AC_STRUCT_ST_BLOCKS): Likewise.
10783	(AC_OBJEXT): New macro.
10784	(AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
10785	* configure: Rebuild.
10786
10787	* Makefile.in (editsh): Substitute for SHELL.
10788	(Makefile, config.status): Use $(SHELL) when running
10789	config.status.
10790	* autoconf.sh: Change initial /bin/sh to @SHELL@.
10791	* autoheader.sh: Likewise.
10792	* autoreconf.sh: Likewise.
10793	* autoupdate.sh: Likewise.
10794	* ifnames.sh: Likewise.
10795
10796Thu Apr 30 16:29:00 1998  Syd Polk  <spolk@cygnus.com>
10797
10798	* acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
10799	to have unistd.h included or the DEC compiler does not
10800	flag the error that triggers setting the variable.
10801
10802Tue Nov 18 14:21:38 1997  Eric Mumpower  <nocturne@cygnus.com>
10803
10804	* autoreconf.sh: Do the right thing when AC_CONFIG_HEADER is
10805	given more than one filename. As noted in the "Invoking
10806	autoheader" node of the info files, autoheader will use the first
10807	file argument given to AC_CONFIG_HEADER. Prior to this patch,
10808	autoreconf would end up executing incorrect shell code (e.g.
10809	"test ! -f 1.h 2.h.in") in such cases.
10810	Patch submitted in parallel to bug-gnu-utils@prep.ai.mit.edu.
10811
10812Fri Oct  3 18:10:39 1997  Ian Lance Taylor  <ian@cygnus.com>
10813
10814	* acgeneral.m4 (AC_CACHE_SAVE): Add a grep when checking whether
10815	set quotes correctly, to avoid a cache overflow on HP-UX 9.
10816	* configure: Rebuild.
10817
10818Wed Sep 11 15:35:19 1997  Chris Provenzano  <proven@cygnus.com>
10819
10820	* acgeneral.m4 : Always set SHELL and substitute SHELL.
10821	When looking for a path for an executable allow the
10822	user to override with an DOS path.
10823	* configure : New configure generated by autoconf.
10824
10825Thu Sep  4 22:30:40 1997  Jeffrey A Law  (law@cygnus.com)
10826
10827	* acspecific (AC_PROC_INSTALL): Don't use installbsd on OSF.
10828
10829Wed Sep  3 23:00:44 1997  Chris Provenzano  <proven@cygnus.com>
10830
10831	* configure : New configure generated by autoconf.
10832	* Makefile.in : Set SHELL=@SHELL@. configure now substiutes
10833	${CONFIG_SHELL-/bin/sh} in for @SHELL@ at configure time.
10834
10835Mon Aug 11 01:40:37 1997  Jason Molenda  <crash@cygnus.co.jp>
10836
10837	* acspecific (AC_FUNC_VFORK): If cross-compiling, set
10838	$ac_cv_func_vfork_works to $ac_cv_func_vfork (assume vfork works
10839	if present).
10840
10841Tue Aug  5 23:00:05 1997  Ian Lance Taylor  <ian@cygnus.com>
10842
10843	* acgeneral.m4 (AC_VERSION): Set to 2.12.1.
10844	(AC_CANONICAL_HOST): Use CONFIG_SHELL to run $ac_config_sub and
10845	$ac_config_guess.
10846	(AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Likewise.
10847
10848Tue Dec 10 19:38:59 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10849
10850	* acgeneral.m4 (AC_CACHE_SAVE): Use grep to prevent overflowing
10851	HP-UX 9.05 /bin/sh buffer in case statement.  From Eric Backus.
10852
10853Mon Dec  9 23:39:17 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10854
10855	* acspecific.m4 (AC_FUNC_GETLOADAVG): Add a semicolon between
10856	shell variable assignments; the evaluation order varies between
10857	implementations.
10858
10859Tue Nov 26 13:00:28 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10860
10861	* Version 2.12.
10862
10863Wed Nov 20 13:00:21 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10864
10865	* Test release 2.11.2.
10866
10867	* acgeneral.m4 (AC_OUTPUT): Remove a now-wrong test for whether to
10868	make an unquoted here document.
10869	(AC_CACHE_SAVE): Double-up backslashes in double quotes.
10870	From Paul Eggert.
10871
10872	* Test release 2.11.1.
10873
10874	* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Make the final
10875	newline consistent with the other AC_TRY_* macros: no final dnl
10876	is needed to avoid extraneous blank lines.
10877	(AC_CHECK_LIB, AC_HAVE_LIBRARY, AC_COMPILE_CHECK): Remove
10878	extraneous dnl's.
10879	(AC_DIVERSION_CMDS, AC_DIVERSION_ICMDS): New macros.
10880	(AC_OUTPUT_COMMANDS, AC_OUTPUT): Use them instead of appending to
10881	list macros.
10882
10883	* acgeneral.m4 (AC_CACHE_SAVE): Handle cache variable values
10884	correctly even if they contain single quote, or are quoted by
10885	the shell.  From Paul Eggert.
10886	(AC_INIT_PREPARE): Set LC_MESSAGES to C if set.
10887	From Hans Olsson.
10888	Set LC_CTYPE to C if set.
10889	From Thomas Winder.
10890	* autoconf.sh, autoheader.sh: Likewise set LC_MESSAGES and LC_CTYPE.
10891
10892Tue Nov 19 10:29:06 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10893
10894	* testsuite/autoconf.g/sizeof.exp: Use the v2 macro name.
10895
10896	* acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADER): Support
10897	creating output files from multiple pieces, concatenated.
10898	Suggested by Theodore Ts'o.
10899	(AC_LINK_FILES): If called more than once, concatenate the
10900	arguments.  From Roland McGrath.
10901	(AC_CONFIG_SUBDIRS): Likewise.
10902	(AC_OUTPUT_COMMANDS): New macro.  Suggested by
10903	Tom Tromey.
10904	(AC_OUTPUT): Use the lists it sets.
10905
10906	* acgeneral.m4 (AC_TRY_RUN_NATIVE): Fail if linking fails, like
10907	AC_TRY_LINK.
10908	(AC_TRY_RUN): Don't require AC_C_CROSS.
10909	(AC_TRY_COMPILER): New macro.
10910	(AC_LANG_C, AC_LANG_CPLUSPLUS): Set cross_compiling.
10911	* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Use
10912	AC_TRY_COMPILER instead of AC_TRY_LINK.
10913	(AC_PROG_CC_GNU, AC_PROG_CC_G): Split out of AC_PROG_CC.
10914	(AC_PROG_CXX_GNU, AC_PROG_CXX_G): Split out of AC_PROG_CXX.
10915	For the *_G macros, make the cache variable names non-GNU-specific.
10916	(AC_C_CROSS): Mark obsolete, and otherwise a no-op.
10917
10918	* AUTHORS: New file.
10919	* Makefile.in (DISTFILES): Add it.
10920
10921	* acspecific.m4 (AC_FUNC_MMAP): Update the getpagesize
10922	declarations from getpagesize.h.  Check for unistd.h.
10923
10924	* acgeneral.m4 (AC_OUTPUT_FILES): Run the eval in a subshell.
10925
10926	* acfunctions: Map fnmatch, strftime, getpgrp, setpgrp to their
10927	own macros.
10928
10929	* acgeneral.m4 (AC_OUTPUT_HEADER): Check that $CONFIG_HEADERS is
10930	unset, not that it's empty.
10931
10932Mon Nov 18 10:24:50 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10933
10934	* Version 2.11.
10935
10936Sun Nov 17 20:12:05 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10937
10938	* acspecific.m4 (AC_FUNC_STRCOLL): Make the checking message more
10939	accurate.
10940
10941Thu Nov 14 11:15:27 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10942
10943	* acheaders: Add entry for malloc.h.  Make the strings.h entry
10944	suggest AC_CHECK_HEADERS instead of AC_HEADER_STDC.
10945
10946	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Move initialization of
10947	ac_max_here_lines here from AC_OUTPUT_HEADER.
10948
10949	* autoheader.sh: Take the multiple-include protection back out.
10950	It's not needed for a file that just #defines stuff, and, as Ken
10951	Raeburn pointed out in Apr 1994:
10952	Since you don't make it optional, and you don't give the writer of
10953	configure.in much control over the name of the symbol, it also would
10954	prevent one "config.h" file in a subdirectory from including
10955	"../config.h" as a way to avoid duplicating some common tests.
10956
10957	* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Don't try
10958	running a program, just try linking.
10959	(AC_C_CROSS): Make the wording clearer.
10960
10961Wed Nov 13 10:07:14 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10962
10963	* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Check whether the
10964	compiler works before checking whether it's a GNU compiler.
10965	(AC_FUNC_VFORK): Call _exit after perror.
10966	(AC_PATH_XTRA): Go back to using -R, as setting an env var as part
10967	of CC doesn't get eval'd correctly to actually work.
10968	Directly test whether a space is needed after -R.
10969	Don't add "-L" to LDFLAGS if $x_libraries is empty.
10970	(AC_FUNC_STRFTIME): Check for it in -lintl only if it's not in the
10971	normal libraries.
10972
10973	* Test release 2.10.3.
10974
10975	* testsuite/Makefile.in (dejacheck): New target, suggested by Tom
10976	Tromey.
10977	(check): Depend on dejacheck.
10978
10979Tue Nov 12 00:06:14 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
10980
10981	* acgeneral.m4 (AC_OUTPUT_FILES): Split the list of sed commands in
10982	conftest.subs into multiple files named conftest.s[1-9][0-9]*.
10983	Create a pipeline of sed commands that use these files, then delete
10984	the temporary files.  From John W. Eaton.
10985
10986	* acspecific.m4 (AC_AIX, AC_MINIX): Remove warnings about AC_TRY_LINK.
10987	These macros don't change the linkage options.
10988
10989	* Test release 2.10.2.
10990
10991	* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX) [GCC]: Use -O2 instead
10992	of -O.  Suggested by fnf@ninemoons.com (Fred Fish).
10993
10994	* acgeneral.m4 (AC_OUTPUT_HEADER): Support passing
10995	AC_CONFIG_HEADER a value containing shell variables.  Suggested by
10996	Markku Savela and Julian Onions.
10997	* acgeneral.m4 (AC_TRY_RUN_NATIVE, AC_TRY_LINK, AC_TRY_COMPILE,
10998	AC_TRY_CPP): Show the test program in config.log if the test fails.
10999	From Karl Berry.
11000
11001	* testsuite/config/unix.exp: Run the configure script as "./script"
11002	in case the user doesn't have "." in their PATH.
11003
11004Mon Nov 11 18:02:58 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
11005
11006	* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Deal with smart
11007	compilers that know that an unused function doesn't have to be
11008	linked in: call the function directly from main().
11009	(Removing a legacy from when they tried to run the code, I think-djm.)
11010	From fnf@ninemoons.com (Fred Fish).
11011
11012	* acspecific.m4 (AC_FUNC_GETLOADAVG): Rename ac_save_LIBS to avoid
11013	a clash with AC_CHECK_LIB.
11014	From Jim Meyering.
11015	(AC_FUNC_FNMATCH, AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
11016	AC_FUNC_STRCOLL, AC_FUNC_MEMCMP): Rename cache variables to avoid
11017	wrong results if someone calls AC_CHECK_FUNC for these functions.
11018
11019	* autoheader.sh: Don't cmp with config.h.in if it doesn't exist yet.
11020	Don't frob lines 1-@TOP@ or @BOTTOM@-end of acconfig.h's.
11021	Accept TAB as well as SPC after #undef in acconfig.h's.
11022
11023Sat Nov  9 01:54:04 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
11024
11025	* Test release 2.10.1.
11026
11027	* acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): New macros
11028	adapted from Bruno Haible.
11029	(AC_PROG_CC, AC_PROG_CXX): Use them.
11030	* acgeneral.m4 (AC_TRY_RUN_NATIVE): Split out of AC_TRY_RUN.
11031	(AC_TRY_LINK): Check that the executable exists after linking.
11032	(AC_EGREP_CPP): Disable m4 quote chars around egrep, so [] in regexps
11033	isn't eaten.
11034
11035	* autoheader.sh: Add multiple-inclusion protection for config.h.
11036
11037	* acgeneral.m4 (AC_PREFIX_PROGRAM): Pretty up the output.
11038	(AC_CHECK_LIB): Include the function being tested in the message.
11039	(AC_CHECK_PROG, AC_PATH_PROG): Add a dummy variable to force word
11040	splitting on the path.
11041
11042	* acspecific.m4 (AC_FUNC_MMAP): Remove check and uses of valloc.
11043	It turns out it's a separate issue, for GNU grep.
11044	Replace the test program with a new version from Mike Haertel.
11045
11046	* acgeneral.m4 (AC_CACHE_SAVE): Accept the HP-UX sh 'set' output
11047	format.  From Marcus Daniels.
11048
11049	* acgeneral.m4 (AC_MSG_CHECKING, AC_CHECKING): Write a message to
11050	config.log also.  From T.E.Dickey.
11051	(AC_CHECK_LIB, AC_CHECK_HEADER, AC_CHECK_HEADERS): Replace use of
11052	tr with sed, to avoid a bug in the AIX 4.1.3.0 tr reported by
11053	Alain Knaff.  He says that version of tr interprets \055 as a
11054	range specifier, like an unquoted -.
11055	* acspecific.m4 (AC_PROG_MAKE_SET, AC_CHECK_HEADER_DIRENT,
11056	AC_CHECK_HEADERS_DIRENT): Ditto.
11057
11058	* acspecific.m4 (AC_FUNC_SETPGRP): New macro.
11059	* acconfig.h (SETPGRP_VOID): New entry.
11060	From T.E.Dickey.
11061
11062	* acspecific.m4 (AC_PATH_X_DIRECT): Try /lib/usr/lib/X11 for A/UX.
11063	From Guillermo Gomez.
11064	(AC_PATH_XTRA): Replace -R with adding LD_RUN_PATH to CC in the
11065	Solaris kludge.  Suggested by Paul Eggert.
11066	Define X_DISPLAY_MISSING with AC_DEFINE, and
11067	if not using X, clear out the X variables.
11068	Check system-dependent libs before system-independent ones.
11069	Check for more system-dependent libs.
11070	From Karl Berry.
11071	Use AC_CHECK_FUNC in the system-dependent libs tests.
11072	From Larry Schwimmer.
11073	Wart removal: Don't require AC_ISC_POSIX.
11074	(AC_ISC_POSIX): Require AC_PROG_CC, since it uses $GCC.
11075	From gvran@uddeborg.pp.se.
11076	Don't blather about being called before AC_TRY_LINK,
11077	which is now called in AC_PROG_CC.  Don't encourage using this macro.
11078	* acconfig.h (X_DISPLAY_MISSING): Add entry.
11079
11080Fri Nov  8 16:02:08 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
11081
11082	* acspecific.m4 (AC_PATH_X_DIRECT): Search for /usr/X11 before
11083	/usr/X11Rn, etc.  From bostic@bsdi.com (Keith Bostic).
11084
11085	* acgeneral.m4 (AC_CHECK_TYPE) [STDC_HEADERS]: Check in stddef.h, too.
11086	From Glenn P. Davis.
11087	Don't require the second char after the type name to be a space.
11088	(AC_TRY_RUN): Remove the test files before executing the "failure"
11089	case code.
11090
11091	* acspecific.m4 (AC_PROG_CXX): Check for cc++ for NexT.
11092	From Carl Edman.
11093	(AC_PROG_CC, AC_PROG_CXX): Check whether -g works even if
11094	C[XX]FLAGS is set.  From T.E.Dickey.
11095	(AC_FUNC_FNMATCH): New macro.
11096	* acconfig.h (HAVE_FNMATCH): New entry.
11097
11098	* acgeneral.m4 (AC_REPLACE_FUNCS): Call AC_CHECK_FUNCS to do the work.
11099
11100Tue Oct 29 13:03:44 1996  Doug Evans  <dje@canuck.cygnus.com>
11101
11102	* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Fix thinko in computation of
11103	ac_sub_srcdir in relative but not "." case.
11104
11105Thu Oct 10 22:29:37 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
11106
11107	* acgeneral.m4 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET,
11108	AC_CANONICAL_BUILD): Allow the os part of the string returned by
11109	config.sub to contain dashes, as in "linux-gnu".
11110
11111Fri Jul 19 16:59:00 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11112
11113	* acgeneral.m4 (AC_CHECK_TYPE): Add dnl so regexp doesn't have a
11114	leading newline.
11115
11116Wed Jun 12 13:56:57 1996  David J MacKenzie  <djm@catapult.va.pubnix.com>
11117
11118	* acgeneral.m4 (AC_CHECK_TYPE): Remove extra ')'.
11119
11120	* Many files: Update the FSF street address.
11121
11122Sun Jun  9 17:54:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11123
11124	* acgeneral.m4 (AC_CHECK_LIB): Add missing \ in last change.
11125
11126Fri Jun  7 11:54:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11127
11128	* acgeneral.m4 (AC_CHECK_LIB): Identifierize lib name in $ac_tr_lib.
11129
11130Mon May 27 13:49:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11131
11132	* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
11133	existing, writable directory, then test it instead of /tmp, /var/tmp,
11134	and /usr/tmp for long file name support.
11135
11136	* acgeneral.m4 (AC_PREREQ): Prepend "FATAL ERROR: " to msg.
11137
11138Sun May 26 19:07:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11139
11140	* acspecific.m4 (AC_PROG_MAKE_SET): Sanitize $MAKE for use as
11141	identifier.
11142
11143	* acgeneral.m4 (AC_CHECK_TYPE): Tighten regexp so ulong doesn't match
11144	ulong_t.
11145
11146	* autoheader.sh: Put $syms in a temporary file and use fgrep -f.
11147
11148Tue May  7 13:20:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
11149
11150	* acgeneral.m4: Version 2.10 released.
11151
11152Tue Mar 26 13:03:12 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11153
11154	* acgeneral.m4 (AC_OUTPUT_HEADER): Make subdir if necessary.
11155
11156Thu Mar 21 10:52:03 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11157
11158	* acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
11159	name in test of it.
11160	(AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.
11161
11162Wed Mar 20 09:37:31 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11163
11164	* acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
11165	both lose with some tr.
11166
11167	* acspecific.m4 (AC_C_CONST): Remove check for gcc 2.7 bug.
11168	RMS wants everyone to lose until gcc is fixed.
11169
11170	* acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
11171	considered a range.
11172
11173	* acspecific.m4 (AC_C_CONST): Add check for gcc 2.7 bug.
11174	From Paul Eggert and Jim Meyering.
11175
11176	* acgeneral.m4 (AC_CHECK_LIB): Omit `char $2' decl when $2 is `main'.
11177
11178Wed Mar 13 22:10:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11179
11180	* acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when
11181	constructing cache variable name, to separate it from preceding
11182	text.
11183
11184Sat Mar 16 15:53:22 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11185
11186	* Version 2.9 released.
11187	* acgeneral.m4 (AC_ACVERSION): Updated to 2.9.
11188
11189Wed Mar 13 12:49:51 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11190
11191	* acgeneral.m4 (AC_OUTPUT_HEADER): Undo last change to $ac_dB,
11192	and instead change the code written into conftest.hdr.
11193
11194Tue Mar 12 02:51:24 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11195
11196	* acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
11197	AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
11198	space in confdefs.h.  Before configure would lose if all its trailing
11199	whitespace got stripped, and that can happen in mail.
11200
11201Sun Mar 10 20:30:09 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11202
11203	* acgeneral.m4 (AC_INIT_NOTICE): Add 95 and 96 to copyright years.
11204
11205Sat Mar  9 18:28:42 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11206
11207	* acgeneral.m4 (AC_CHECK_LIB): Add missing [.
11208
11209Fri Mar  8 15:06:48 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11210
11211	* acgeneral.m4 (AC_CHECK_LIB): Declare $2 to override gcc2 internal
11212	prototype.
11213
11214	* Version 2.8 released.
11215
11216Wed Mar  6 14:38:31 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>
11217
11218	* acgeneral.m4 (AC_CHECK_LIB): Use a cache variable name containing
11219	both the library and function name.
11220
11221Tue Jan 16 16:39:21 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11222
11223	* acgeneral.m4 (AC_CHECK_PROG): Take optional 6th arg, full name
11224	of program to reject if found in search path.
11225	* acspecific.m4 (AC_PROG_CC): If gcc not found use AC_CHECK_PROG
11226	for cc, rejecting /usr/ucb/cc.
11227	Fatal configure error if no $CC found at all.
11228
11229Mon Jan 15 15:57:36 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11230
11231	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Match `#define foo' without
11232	trailing space in confdefs.h.  Before configure would lose if
11233	all its trailing whitespace got stripped, and that can happen in mail.
11234
11235Fri Jan 12 14:38:37 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11236
11237	* acgeneral.m4 (AC_TRY_CPP): Use "" instead of '' when setting
11238	ac_try; we need one level of expansion there for $ac_cpp, then
11239	AC_TRY_EVAL does one more for its the expansion of $ac_cpp.
11240
11241Thu Jan 11 10:38:19 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11242
11243	* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Removed echo cmds
11244	from $ac_cpp, $ac_compile, and $ac_link.
11245	(AC_TRY_EVAL, AC_TRY_COMMAND): New macros for running tests' commands.
11246	Always put the configure source line and command line into config.log.
11247	(AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK): Use them.
11248	* acspecific.m4: Use AC_TRY_EVAL and AC_TRY_COMMAND for running
11249	all tests.
11250
11251Fri Jan  5 17:50:28 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11252
11253	* acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT):
11254	Rearrange logic: do no tests if $with_x=no; make incl and lib
11255	tests independent, and distinguish unset from empty.
11256
11257	* autoconf.sh (undefined macro check): \ sed \s inside "".  If
11258	grep $name in $infile misses, give error message that there must
11259	be an Autoconf bug.
11260
11261Tue Dec 19 10:49:20 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11262
11263	* autoconf.sh: Ignore undefined macros in shell comments.
11264
11265Mon Dec 11 22:12:54 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11266
11267	* acspecific.m4 (AC_PROG_CC_C_O): Rearrange logic to get the right
11268	answer for cc.
11269
11270Fri Nov 24 17:26:38 1995  Miles Bader  <miles@gnu.ai.mit.edu>
11271
11272	* autoconf.sh: Define $AWK from the subst @AWK@, and use it.
11273
11274Wed Nov 22 11:01:16 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11275
11276	* Version 2.7.
11277
11278	* autoheader.m4 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Expand the
11279	 optional action args.  From jj@jfch.vc.cvut.cz (Jakub Jelinek).
11280
11281	* acgeneral.m4 (AC_CHECK_LIB): Translate - in library names to _.
11282	(AC_ARG_PROGRAM): Use cat instead of echo to avoid SysV echo
11283	interpreting backslashes.  From kim@tac.nyc.ny.US (Kimmo Suominen).
11284	(AC_OUTPUT_FILES): Quote $ and \ for being in an unquoted here
11285	document.  From Paul Eggert.
11286
11287	* acspecific.m4 (AC_PATH_X_XMKMF): Use ${MAKE-make}, not plain make.
11288	(AC_C_CONST): Avoid a warning from g++.
11289	From tgl@sss.pgh.pa.us (Tom Lane).
11290	(AC_FUNC_MMAP): Check for valloc and getpagesize; don't rely on
11291	predefines.
11292	(AC_HEADER_STDC): If cross-compiling, assume the ctype macros are
11293	ANSI.  From dje@cygnus.com (Doug Evans).
11294	(AC_TYPE_SIGNAL) [__cplusplus]: Give a full prototype.
11295	From churritz@cts.com (Chad Hurwitz).
11296	(AC_FUNC_VFORK): If cross-compiling, use AC_CHECK_FUNC instead.
11297	From Steve Chamberlain.
11298
11299Tue Sep  5 20:37:48 1995  Paul Eggert  <eggert@twinsun.com>
11300
11301	* acspecific.m4 (X_LIBS): Use `-R lib', not `-Rlib', since Sun
11302	CC 3.0 requires this.
11303
11304Tue Aug  8 20:10:12 1995  Paul Eggert  <eggert@twinsun.com>
11305
11306	* acgeneral.m4: When creating config.status, start a new
11307	here-script just before building conftest.subs, to work around
11308	a bug in the HP-UX 9 HP9000-800 sh.
11309
11310Tue Nov 21 17:36:41 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11311
11312	* Makefile.in (install): Undo last ASCRIPTS panic change.
11313	The bug reporter hadn't cleaned up his source dir.
11314
11315Mon Nov 20 15:26:50 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11316
11317	* Version 2.6.
11318
11319	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Prettify usage message somewhat.
11320
11321	* Makefile.in: Use @bindir@, @datadir@, @infodir@.
11322	(install): Find ASCRIPTS in $(srcdir).
11323
11324Sat Nov 18 14:21:55 1995  Karl Berry  <karl@cs.umb.edu>
11325
11326	* autoconf.sh: Allow lowercase letters in the undefined-macro name.
11327
11328Fri Nov 17 15:05:44 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11329
11330	* Version 2.5 released.
11331
11332Fri Nov 17 15:23:04 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11333
11334	* acgeneral.m4 (AC_CHECK_LIB): Don't start tr argument with '+',
11335	 so as not to confuse old GNU tr's.  From
11336	 Ian Lance Taylor.
11337	 (AC_INIT_PARSE_ARGS): Make sure MFLAGS and MAKEFLAGS are empty.
11338	 From Paul Townsend (aab@cc.purdue.edu).
11339	 (AC_CHECK_LIB, AC_CHECK_HEADERS, AC_CHECK_FUNC): Remove
11340	 duplicate `d' from alphabets.
11341
11342	* acspecific.m4 (AC_USG): Define USG if we don't have rindex and
11343	 bzero, not if we do have them.
11344	 From Viktor Dukhovni.
11345
11346Sun Oct 29 15:13:37 1995  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
11347
11348	* acgeneral.m4 (AC_CHECK_PROG): Use arg 5 as search list, not arg 4.
11349
11350Wed Aug 30 17:34:48 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11351
11352	* acspecific.m4 (AC_PROG_CC_C_O): If $CC groks it and cc doesn't
11353	exist, choose yes.
11354
11355Wed Jul 26 00:03:26 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11356
11357	* Test release 2.4.2.
11358
11359	* acgeneral.m4 (AC_CHECK_SIZEOF): Take an optional size to
11360	 use when cross-compiling.
11361
11362	* acspecific.m4 (AC_FUNC_CLOSEDIR_VOID, AC_DIR_HEADER): If
11363	 cross-compiling, assume it returns void.  It's not a big loss.
11364	 From Karl Berry.
11365
11366	* acgeneral.m4 autoheader.sh: Change tr [a-z] [A-Z] into expansion
11367	 of the full alphabet, to combat losing AIX 4.1.1 tr when LANG
11368	 isn't set the way it likes.
11369
11370	* acspecific.m4 (AC_FUNC_GETMNTENT): Check in -lgen for Unixware.
11371	From miguel@roxanne.nuclecu.unam.mx (Miguel de Icaza).
11372
11373	* autoheader.m4 (AC_CONFIG_HEADER): Set config_h to the first
11374	 argument.  From ghudson@mit.edu (Greg Hudson).
11375
11376	* Makefile.in (all): Depend on info.
11377
11378	* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS,
11379	 AC_PATH_PROGS, AC_CHECK_TOOL): Add optional PATH
11380	 parameter.
11381
11382Mon Jul 24 17:27:11 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11383
11384	* acgeneral.m4 (AC_CHECK_LIB): Don't enclose tr args in [], for
11385	 SysV and POSIX.  From Karl Heuer.
11386
11387Wed Jul 19 17:43:44 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11388
11389	* acgeneral.m4 (AC_CHECK_LIB): Translate + to p in lib name.
11390
11391Wed Jun 28 13:45:16 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11392
11393	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Allow an empty value
11394	 for --enable and --with args.
11395	 (AC_CACHE_CHECK): New macro.
11396	* acspecific.m4: Use it where possible.
11397
11398Tue Jun 27 13:29:54 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11399
11400	* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE): Add options
11401	 --bindir, --libdir, etc.
11402
11403Mon Jun 26 20:54:36 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11404
11405	* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put the command
11406	 being run into the log file.
11407
11408Thu Jun 22 22:33:23 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11409
11410	* acspecific.m4 (AC_PROG_INSTALL): Don't cache a shell script path.
11411
11412	* acgeneral.m4 (AC_CHECK_LIB): Allow lib name to contain a . or /,
11413	by fixing the cache variable name.
11414
11415Wed Jun 14 23:07:20 1995  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
11416
11417	* Version 2.4.
11418
11419Sun May  7 08:09:12 1995  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
11420
11421	* acspecific.m4 (AC_PATH_X_XMKMF): Check for libX11.{so,sl} as
11422	well as .a when seeing whether LIBDIR or USRLIBDIR is right.
11423
11424Sat May  6 17:29:07 1995  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
11425
11426	* acspecific.m4 (AC_PROG_CPP): If CPP is already set, use that as
11427	the value and set the cache variable to it.
11428
11429Mon Mar 27 10:48:36 1995  David J. MacKenzie  <djm@churchy.gnu.ai.mit.edu>
11430
11431	* Version 2.3.
11432
11433	* acgeneral.m4 (AC_OUTPUT): Add quotes around the echo arguments
11434	in the trap, so backslashes aren't required for multiline input.
11435	From G.Wilford@ee.surrey.ac.uk.
11436	Also use the sed trick when not using a config header file.
11437
11438Thu Mar 23 18:02:25 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11439
11440	* acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put "-c" right
11441	 after compiler name.  Same for "-o conftest".
11442
11443	* ifnames.sh (AC_MACRODIR): Default to @datadir@, not a hardcoded
11444	 path.
11445
11446	* Test release 2.2.1.
11447
11448	* acgeneral.m4 (AC_OUTPUT): Use sed, not tr, so we only remove the
11449	 output config header, not the input one too.  From
11450	 muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
11451	 (AC_LANG_C): Undo Feb 7 change.  According to Roland McGrath,
11452	 most compilers require all options but -l... and -o to come first.
11453
11454	* Makefile.in (uninstall): Don't use $@, since the cd makes it
11455	 invalid when srcdir is relative.
11456
11457Wed Mar  8 17:05:06 1995  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
11458
11459	* Version 2.2.
11460
11461Wed Mar  8 12:44:34 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11462
11463	* Makefile.in: Follow cd commands with &&, not ;.
11464	From Franc,ois Pinard.
11465
11466Tue Mar  7 11:48:19 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11467
11468	* acspecific.m4 (AC_FUNC_ALLOCA): Keep sh variable name space
11469	clean.  Put newline after AC_DEFINE_UNQUOTED call to avoid Irix
11470	syntax error.
11471
11472Mon Mar  6 15:07:00 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11473
11474	* Test release 2.1.3.
11475
11476	* acspecific.m4 (AC_FUNC_ALLOCA): Replace nested AC_FUNC_CHECK
11477	 calls with a loop.
11478
11479	* acspecific.m4 (AC_FUNC_VPRINTF): Don't check for signal munging.
11480	 From Paul Eggert.
11481
11482	* acgeneral.m4 (AC_CACHE_SAVE): Tell the user whether the cache
11483	 changed or not.  From gnu@toad.com (John Gilmore).
11484
11485	* Makefile.in (install-info): Don't cd, to avoid breaking
11486	 install-sh references.
11487
11488Fri Mar  3 11:41:01 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11489
11490	* Makefile.in (autoconf.info, standards.info): Use --no-split to
11491	 avoid creating filenames > 14 chars.
11492
11493	* acgeneral.m4 (AC_CHECK_FUNC): Use assert.h,
11494	 to avoid protype conflicts from ctype.h (!!) on OSF/1 3.0.
11495
11496Sat Feb 25 01:56:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11497
11498	* acspecific.m4 (AC_C_BIGENDIAN): Check for BYTE_ORDER macro from
11499	sys/param.h before trying the test program which cannot be
11500	cross-compiled.
11501
11502Fri Feb 24 20:02:08 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11503
11504	* acgeneral.m4 (AC_CHECK_FUNC): Include errno.h instead of ctype.h
11505	in test program.
11506
11507Wed Feb 22 18:01:27 1995  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
11508
11509	* Test release 2.1.2.
11510
11511Tue Feb 21 13:00:07 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11512
11513	* acgeneral.m4 (AC_CACHE_VAL): Add extra quotes to work around AIX
11514	 4.1 bug reported by hyc@locus.com (Howard Chu).
11515
11516	* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for -lelf before -lkvm.
11517	Reported by Kaveh R. Ghazi.
11518	(AC_HEADER_STAT): Check whether S_IFDIR is defined, to work around
11519	ISC bug reported by rick@anasazi.com (Rick Coupland).
11520
11521	* autoheader.sh: Better solution to @BOTTOM@ printing.
11522	From Paul Eggert.
11523
11524Mon Feb 13 18:13:11 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11525
11526	* acspecific.m4 (AC_PROG_CC_C_O): Use sed filter to make sure
11527	${ac_cc} is always a valid shell variable name.
11528	(AC_PROG_MAKE_SET): Remove gratuitous backslashes in checking message.
11529
11530Sun Feb 12 18:42:35 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11531
11532	* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD,
11533	so both $build and $host are definitely set before we compare
11534	them.
11535
11536Sat Feb 11 04:37:30 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11537
11538	* acgeneral.m4 (AC_CHECK_TOOL): Rewritten.  Take optional third
11539	arg VALUE-IF-NOT-FOUND.  Check for
11540	${ac_tool_prefix}PROG-TO-CHECK-FOR first.  If not found and third
11541	arg given, and ${ac_tool_prefix} is nonempty, check for unadorned
11542	PROG-TO-CHECK-FOR as well.  Last choice use VALUE-IF-NOT-FOUND.
11543
11544Fri Feb 10 17:45:53 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11545
11546	* acgeneral.m4 (AC_OUTPUT): Fix sed command to produce $ac_dots
11547	for subdir configures.
11548
11549Thu Feb  9 14:42:20 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11550
11551	* testsuite/config/unix.exp (autoconf_load): Run the script with
11552	 /dev/null as the cache.
11553
11554	* acgeneral.m4 (AC_CHECK_TOOL_PREFIX, AC_CHECK_TOOL): New macros,
11555	 from Roland McGrath.
11556
11557	* acspecific.m4 (AC_DECL_YYTEXT): Cache the output file root.
11558	(AC_C_INLINE): If the compiler doesn't recognize it, define it
11559	away.  Try __inline__ too.  From Jim Avera.
11560	(AC_FUNC_GETPGRP): New macro.  From Arnold Robbins.
11561	* acconfig.h: New entry for it.
11562
11563	* configure.in: Check for new awk.
11564	* Makefile.in (editsh): Substitute in AWK.
11565
11566	* acspecific.m4 (AC_PROG_INSTALL): Allow trailing slashes in PATH
11567	 elements.
11568	* acgeneral.m4 (AC_PREFIX_PROGRAM): Ditto.
11569
11570Tue Feb  7 11:32:09 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11571
11572	* acgeneral.m4 (AC_CHECK_LIB, AC_HAVE_LIBRARY): Check and add the new
11573	 library before existing libs, not after, in case it uses them.
11574	* acspecific.m4 (AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
11575	 AC_FUNC_STRFTIME, AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): Ditto.
11576
11577	* autoheader.sh: Allow @BOTTOM@ to be the first line in
11578	 acconfig.h.  From iwj10@cus.cam.ac.uk (Ian Jackson).
11579
11580	* acspecific.m4 (AC_FUNC_GETLOADAVG): Add semicolons before
11581	 AC_DEFINE.  Check for -lkvm before -lutil.  Assume it needs setgid
11582	 if using -lutil.
11583
11584	* acgeneral.m4 (ac_compile, ac_link): Put the file name before the
11585	 variables, so they can contain -l options.
11586
11587	* acspecific.m4 (AC_FUNC_WAIT3): Sleep longer for HPUX.
11588	(AC_TYPE_SIGNAL): Declare signal as extern "C" for C++.
11589
11590	* Makefile.in testsuite/Makefile.in (maintainer-clean): Renamed
11591	 from realclean.
11592
11593	* autoconf.sh (TMPDIR): Inherit from environment, or set if not.
11594
11595	* acgeneral.m4 (AC_PREFIX_PROGRAM): Say we're checking the prefix.
11596
11597	* acspecific.m4 (AC_ISC_POSIX): Fix typo.
11598	(AC_PATH_X): Screen out bogus values from imake.
11599	(AC_PROG_LEX): Check for yywrap, not main, in the library.
11600
11601Thu Feb  2 11:32:07 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11602
11603	* acconfig.h (__CHAR_UNSIGNED): Protect with #ifndef.
11604	From marcus@ee.pdx.edu (Marcus Daniels).
11605
11606	* acgeneral.m4 (AC_CACHE_SAVE): Workaround Ultrix and 4.3BSD sh
11607	 bug in setting the high bit on variable values.
11608	 From Ken Raeburn.
11609	 (AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS): Ignore initial "./" to
11610	 avoid messing up the dot-dot counts.
11611	 (AC_OUTPUT_SUBDIRS): Pass INSTALL magic to subdirectories.
11612	 From Karl Berry.
11613
11614	* ifnames.sh: Speed up drastically by folding 3N+2 processes into 2.
11615	From Paul Eggert.
11616
11617Wed Feb  1 11:58:27 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
11618
11619	* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Add additional
11620	 quoting for internal consistency.
11621	 From junio@twinsun.COM (Jun Hamano).
11622
11623	* acspecific.m4 (AC_PATH_XTRA): R6 function name was wrong.
11624	From Karl Berry.
11625	(AC_C_CROSS): Fix typo in cache var name.
11626	From tgl@sss.pgh.pa.us (Tom Lane).
11627	(AC_PROG_MAKE_SET): Change / in the make program name into _ so it
11628	can be part of a shell variable name.
11629	(AC_DECL_YYTEXT): Fix arguments to AC_TRY_LINK.
11630	From interran@uluru.stanford.edu (John Interrante).
11631
11632	* acgeneral.m4 (AC_CHECK_SIZEOF): If test program fails, set the
11633	 variable to 0 as the doc sez.
11634	 From eisen@cc.gatech.edu (Greg Eisenhauer).
11635
11636	* acgeneral.m4, acspecific.m4: Remove *.core and core.* as well as
11637	 core, for recent BSD's.
11638
11639	* acspecific.m4 (AC_SYS_INTERPRETER): Use `#! /' instead of `#!/'.
11640	* acgeneral.m4 (AC_INIT_BINSH): Likewise.
11641	* All scripts: likewise.
11642	From woods@kuma.web.net (Greg A. Woods).
11643
11644	* acgeneral.m4 (AC_INIT_PREPARE): Use fd 6 instead of 4, to
11645	 prevent a conflict on the Kubota Titan.  From
11646	 muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
11647
11648	* autoconf.sh: Use a more concise syntax to set variables.
11649	From Karl Berry.
11650
11651	* acspecific.m4 (AC_FUNC_WAIT3): Check page fault measurements to
11652	 catch Linux.  From tobias@server.et-inf.fho-emden.de (Peter Tobias).
11653
11654	* acgeneral.m4 (AC_OUTPUT): If running config.status
11655	 fails, exit with a nonzero status.  From Ken Raeburn.
11656
11657Tue Dec  6 19:07:07 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11658
11659	* acspecific.m4 (AC_FUNC_GETLOADAVG): Use elf_begin in -lelf
11660	check, not elf_read.
11661
11662Mon Nov  7 18:18:11 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
11663
11664	* acspecific.m4 (AC_PROG_MAKE_SET): Fix msg; $MAKE is not useful
11665	Make syntax.
11666
11667Fri Nov  4 09:08:33 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11668
11669	* Version 2.1.
11670
11671	* autoreconf.sh: Add -f --force option.
11672	From Theodore Ts'o.
11673
11674Thu Nov  3 10:24:08 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11675
11676	* acgeneral.m4 (AC_TRY_RUN): Reword warning.
11677
11678	* acspecific.m4 (AC_PROG_CXX): Notify the user of the check for
11679	 GNU C++.
11680	 (AC_PROG_CXX, AC_PROG_CXXCPP): Use g++, not gcc, as default C++
11681	 compiler.
11682	* acgeneral.m4 (AC_LANG_CPLUSPLUS): Ditto.
11683
11684	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Move ac_usage string directly
11685	 into the here document to work around A/UX shell limitation.
11686
11687	* acgeneral.m4 (AC_COMPILE_CHECK): Mention the MSG macros in the
11688	 obsolete warning.
11689
11690	* autoscan.pl (output_programs): Use AC_CHECK_LIB, not
11691	 AC_HAVE_LIBRARY.
11692
11693	* acgeneral.m4 (AC_CHECK_FUNC): Move prototype outside of function
11694	 so it works with C++.  From ejb@era.COM (E. Jay Berkenbilt).
11695
11696Fri Oct 28 11:23:30 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11697
11698	* acspecific.m4 (AC_CHECK_HEADERS_DIRENT): Use define, not
11699	AC_DEFUN, so the test suite doesn't call it with no arguments,
11700	leading to a syntax error in the real Bourne shell.
11701
11702Wed Oct 26 18:40:41 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11703
11704	* Version 2.0.
11705
11706Tue Oct 25 11:04:16 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11707
11708	* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Change -
11709	in file names to _.
11710	* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT):
11711	Likewise.
11712
11713Mon Oct 24 11:28:20 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11714
11715	* Makefile.in (uninstall): Remove the transformed names.
11716	(SCRIPTS): Rename from PROGS.
11717	* configure.in: Likewise.
11718
11719Fri Oct 21 07:14:23 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11720
11721	* acgeneral.m4 (AC_TRY_COMPILE): New macro.
11722	(AC_LANG_C, AC_LANG_CPLUSPLUS): Set $ac_compile.
11723	(AC_TRY_LINK): Don't declare exit.
11724	* acspecific.m4 (AC_C_INLINE, AC_C_CONST, AC_CHECK_HEADER_DIRENT,
11725	AC_DECL_SYS_SIGLIST, AC_HEADER_SYS_WAIT, AC_TYPE_SIGNAL,
11726	AC_FUNC_GETLOADAVG, AC_HEADER_TIME, AC_STRUCT_TM,
11727	AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_BLKSIZE,
11728	AC_STRUCT_ST_RDEV): Use AC_TRY_COMPILE instead of AC_TRY_LINK.
11729	(AC_AIX, AC_MINIX, AC_ISC_POSIX): Must come before AC_TRY_COMPILE.
11730
11731	* acspecific.m4 (AC_PROG_LEX): Don't assume -ll if using lex;
11732	check for it.  From Mark Eichin.
11733
11734Thu Oct 20 07:11:22 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11735
11736	* acgeneral.m4 (AC_PARSE_ARGS): Ignore --site.
11737
11738	* autoscan.pl: Add more blank lines to the output.  Pacify perl -w.
11739
11740Wed Oct 19 09:14:50 1994  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
11741
11742	* acgeneral.m4 (AC_PREREQ_COMPARE): Allow secondary and ternary
11743	numbers >99.  From John Eaton.
11744
11745Wed Oct 19 00:06:40 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11746
11747	* ifnames.sh: Take comments out of sed script.
11748
11749Tue Oct 18 00:20:04 1994  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
11750
11751	* acgeneral.m4 (AC_INIT_NOTICE): Set ac_default_prefix.
11752	(AC_INIT_PARSE_ARGS, AC_SITE_LOAD, AC_OUTPUT): Use it.
11753	(AC_PREFIX_DEFAULT): New macro.
11754	From Ken Raeburn.
11755
11756	* testsuite/autoconf.s/syntax.exp: Renamed from specific.exp.
11757
11758	* acgeneral.m4 (AC_SITE_LOAD): Change where to look for config.site.
11759
11760	* configure.in: Call AC_ARG_PROGRAM.
11761	* Makefile.in (install): Use program_transform_name.
11762
11763	* acgeneral.m4 acspecific.m4 acoldnames.m4: Clarify copying terms.
11764
11765	* acgeneral.m4 (AC_CANONICAL_BUILD): Default build to host, not empty.
11766
11767	* acspecific.m4 (AC_PROG_CC): Recognize NeXT cpp as GNU C.
11768	From tom@basil.icce.rug.NL (Tom R.Hageman).
11769
11770Mon Oct 17 18:25:53 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
11771
11772	* acspecific.m4 (AC_PROG_CPP): Use assert.h (comes with gcc), not
11773	stdio.h (loses for new cross-compilers).  From Roland McGrath.
11774
11775Tue Oct 11 13:22:22 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
11776
11777	* acspecific.m4 (AC_PATH_XTRA): Add X_PRE_LIBS variable and assume
11778	-lSM if -lICE is found.  From Karl Berry.
11779
11780Mon Oct  3 20:12:36 1994  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
11781
11782	* testsuite/Makefile.in (AUTOCONF, AUTOCONFFLAGS): Test
11783	../autoconf, not installed autoconf.
11784
11785Sat Oct  1 04:43:43 1994  Paul Eggert  <eggert@twinsun.com>
11786
11787	* acspecific.m4: Catch `const' bug in NEC SVR4.0.2 mips cc.
11788
11789	* Makefile.in (.sh, .pl, configure): Do chmod before mv.
11790
11791	* acheaders, acspecific.m4 (AC_HEADER_SYS_WAIT): New entry.
11792
11793	* acconfig.h (HAVE_SYS_WAIT_H): New entry.
11794
11795Wed Sep 28 08:59:01 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
11796
11797	* Makefile.in: Set datadir to $(prefix)/share.
11798
11799Tue Sep 27 08:00:38 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
11800
11801	* Makefile.in: Use implicit rules to make scripts.
11802	From Jim Meyering.
11803
11804	* acconfig.h: Remove #undefs of unused symbols.
11805	From Paul Eggert.
11806	* testsuite/autoconf.s/defines.exp: New file.
11807	* testsuite/autoconf.s/specific.exp: Extract the list of macros to
11808	 test from acspecific.m4 instead of hardcoding it.
11809	* acspecific.m4 (AC_PROG_CXXCPP): Default CXX to gcc, not c++.
11810
11811Mon Sep 26 12:32:46 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
11812
11813	* acspecific.m4 (AC_HEADER_DIRENT): Only check for -lx if not
11814	 using dirent.
11815	* autoreconf.sh: Shorten sed label for OSF/1.
11816	* acgeneral.m4 acspecific.m4: Change licensing terms for output.
11817
11818Thu Sep 22 15:36:56 1994  David MacKenzie  <djm@churchy.gnu.ai.mit.edu>
11819
11820	* autoconf.sh (tmpin): Always set.
11821
11822Wed Sep 21 13:12:10 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
11823
11824	* acgeneral.m4 (AC_INIT_PREPARE): Remove trailing slashes from
11825	 srcdir.
11826
11827Mon Sep 19 17:11:39 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
11828
11829	* acgeneral.m4 (AC_INIT, AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM,
11830	 AC_ARG_PROGRAM): Make the default for program_transform_name be
11831	 a valid sed script, and substitute it always.
11832
11833Sat Sep 17 08:27:58 1994  David MacKenzie  <djm@geech.gnu.ai.mit.edu>
11834
11835	* autoheader.sh: Protect `for' loop from checking empty $syms.
11836
11837	* ifnames.sh: Use % instead of , as sed s separator.
11838
11839	* autoscan.pl: Update output comments.
11840
11841Fri Sep 16 11:20:02 1994  David MacKenzie  (djm@geech.gnu.ai.mit.edu)
11842
11843	* acspecific.m4 (AC_TYPE_GETGROUPS): Provide a cross compiling
11844	 default.  From Jim Meyering.
11845
11846	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Document
11847	 --program-transform-name.
11848
11849Thu Sep 15 16:26:36 1994  David MacKenzie  (djm@geech.gnu.ai.mit.edu)
11850
11851	* acgeneral.m4 (AC_INIT_NOTICE): Clarify copying notice.
11852	Fix up comments between sections.
11853
11854	* acspecific.m4 (AC_PROG_LEX): Omit extra checking message.
11855
11856	* autoreconf.sh: Give usage if non-option args are given.
11857	* autoconf.sh autoheader.sh: Define AC_LOCALDIR for configure.in.
11858
11859Thu Sep 15 11:31:13 1994  Ian Lance Taylor  (ian@airs.com)
11860
11861	* Makefile.in (check): Set AUTOCONFFLAGS from srcdir, not objdir.
11862
11863Thu Sep 15 09:06:40 1994  David MacKenzie  (djm@churchy.gnu.ai.mit.edu)
11864
11865	* acgeneral.m4 (AC_MSG_ERROR): Say that it's an error in the message.
11866
11867	* Makefile.in (check): Copy install-sh from srcdir if needed.
11868
11869	* autoreconf.sh: Only regenerate autoheader-generated header file
11870	 templates.  Pass relative macrodir properly.
11871	* autoconf.sh autoheader.sh autoreconf.sh: Add -l --localdir option.
11872	Based on work by Mark Eichin.
11873
11874	* ifnames.sh: Add -h option.
11875	* autoconf.sh autoheader.sh: Remove -v option.
11876
11877	* acgeneral.m4 (AC_CHECK_TYPE): Require AC_HEADER_STDC and check
11878	 stdlib.h if present.
11879
11880	* acgeneral.m4 (AC_OUTPUT): Protect cache save from interruptions.
11881
11882Tue Sep 13 09:46:23 1994  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
11883
11884	* Makefile.in (install): Use srcdir.  From Mark Eichin.
11885
11886	* acgeneral.m4 (AC_OUTPUT_FILES): Automatically add
11887	 configure_input comment to Makefiles again.
11888	* Makefile.in testsuite/Makefile.in: Remove configure_input ref.
11889
11890	* acgeneral.m4 (AC_LINK_FILES, AC_OUTPUT_LINKS): Reverse the order
11891	 of the arguments.  Support relative symlinks.
11892
11893	* acgeneral.m4 acspecific.m4: Remove some gratuitous {} in shell
11894	 variable references.
11895
11896	* acgeneral.m4 (AC_OUTPUT_FILES): New output variable
11897	 configure_input replaces big kludge for adding output comment.
11898	* Makefile.in, testsuite/Makefile.in: Use it.
11899
11900Mon Sep 12 23:06:08 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11901
11902	* acgeneral.m4 (AC_INIT_PREPARE, AC_OUTPUT_SUBDIRS): Make command
11903	 line quoting work for shell metachars besides blanks.
11904
11905Sun Sep 11 23:34:24 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11906
11907	* acspecific.m4 (AC_PATH_XTRA): Link with X_EXTRA_LIBS when
11908	 checking for -lSM.
11909
11910	* acfunctions (memcmp): Use AC_FUNC_MEMCMP.  From Paul Eggert.
11911
11912	* acgeneral.m4 (AC_COMPILE_CHECK): Mark obsolete.
11913
11914Sat Sep 10 10:59:19 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11915
11916	* Makefile.in (DISTFILES): Include install-sh, not install.sh.
11917
11918	* autoscan.pl: Check AC_MACRODIR.
11919
11920	* acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
11921	 AC_CONFIG_SUBDIRS, AC_OUTPUT_SUBDIRS): Make quoting of command
11922	 line options work.
11923	 (AC_CONFIG_AUX_DIRS): Check for install-sh over install.sh.
11924
11925	* acspecific.m4 (AC_FUNC_GETMNTENT): Only check for second lib if
11926	 first lib isn't found.  From Jim Meyering.
11927
11928Fri Sep  9 10:41:42 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11929
11930	* acspecific.m4 (AC_FUNC_MEMCMP): New macro, from Jim Meyering.
11931	* testsuite/autoconf.s/specific.exp: Test it.
11932
11933	* testsuite/Makefile.in (site.exp): Simplify.
11934
11935	* acgeneral.m4 (AC_CACHE_SAVE): Use a shorter syntax for setting
11936	 the variables.  Idea from Karl Berry.
11937	 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an action-if-not-found.
11938	 From Jim Meyering.
11939
11940	* acconfig.h: Add entries for getmntent and strftime.
11941	* acspecific.m4 (AC_C_CHAR_UNSIGNED): If GCC, don't run a test
11942	 program.
11943
11944Thu Sep  8 10:53:53 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11945
11946	* acspecific.m4 (AC_USG): Was passing too many args to AC_TRY_LINK.
11947	(AC_FUNC_STRFTIME, AC_FUNC_GETMNTENT): New macros.
11948	(AC_HEADER_DIRENT): Check for Xenix dir libs.
11949	(AC_XENIX_DIR, AC_SCO_INTL, AC_IRIX_SUN, AC_DYNIX_SEQ, AC_AIX,
11950	AC_ISC_POSIX, AC_MINIX): Go back to the v1 names.
11951	* acoldnames.m4: Delete their aliases.
11952	* testsuite/autoconf.s/specific.exp: Check them.
11953
11954	* acgeneral.m4 (AC_ARG_PROGRAM): Use `;' instead of `-e' to
11955	 separate sed arguments, to simplify Makefile usage and support
11956	 sed arguments containing spaces.
11957	 (AC_CANONICAL_HOST): Move check for config.sub here from
11958	 AC_CANONICAL_SYSTEM.
11959
11960	* autoheader.m4 (AC_CHECK_HEADERS_DIRENT): Redefine.  From Paul Eggert.
11961	(AC_CHECK_SIZEOF): Redefine this, not the old name.
11962	(AC_HAVE_LIBRARY): Redefine.
11963
11964Wed Sep  7 09:32:31 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
11965
11966	* testsuite/lib/common.exp: Ignore warnings about test programs.
11967	* testsuite/autoconf.s/specific.exp: Check AC_FUNC_CLOSEDIR_VOID.
11968
11969	* Makefile.in (*clean): Remove the new index.
11970	(dist): Undo adding write perms.  Screws up RCS.
11971	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Remove comments from sed
11972	 program.
11973	* acoldnames.m4: Change a couple of AC_DEFUN to define.
11974
11975Wed Sep  7 01:27:19 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11976
11977	* acgeneral.m4 (AC_SITE_LOAD): Check whether $CONFIG_SITE is empty.
11978
11979Tue Sep  6 09:55:30 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11980
11981	* acgeneral.m4 (AC_ARG_PROGRAM): New macro.
11982	(AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM): Do a little setup for it.
11983
11984	* acspecific.m4 (AC_PROG_INSTALL): Clarify comment.  Remove check
11985	 for bsdinst, since it's no better than our install.sh.
11986	 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT): New macros.
11987	 (AC_HEADER_DIRENT, AC_DIR_HEADER): Use them.
11988	 (AC_PROG_CC, AC_PROG_CXX): Check whether GCC accepts -g.
11989
11990	* acgeneral.m4 (AC_INIT_PREPARE): Call AC_PROG_ECHO_N.
11991	Use define instead of AC_DEFUN for some frequently called or
11992	internal macros that aren't involved in ordering constraints.
11993
11994Mon Sep  5 17:37:36 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11995
11996	* acspecific.m4 (AC_C_CROSS): Provide default argument to AC_TRY_RUN.
11997
11998Fri Sep  2 09:30:41 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
11999
12000	* acgeneral.m4 (AC_TRY_CPP): Use a temp file so sh -x works.
12001	From Mark Nudelman.
12002
12003	* acgeneral.m4: --norecursion -> --no-recursion.
12004	(AC_OUTPUT_LINKS): Reset srcdir to ac_given_srcdir.
12005
12006	* acspecific.m4 (AC_PATH_X): Call AC_ARG_WITH(x, ...).
12007	(AC_PROG_INSTALL): Search for bsdinst too.
12008
12009	* Makefile.in (dist): Make distribution files writable.
12010
12011	* acgeneral.m4 (AC_OUTPUT): Move trap 0 commands to near the end
12012	 of configure, to work around shell bug in failing to execute the
12013	 trap when there are commands after AC_OUTPUT.
12014
12015Sat Sep  3 19:47:06 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
12016
12017	* acgeneral.m4 (AC_OUTPUT_FILES): Write CONFIG_FILES defn
12018	unquoted, so $1 can contain references to shell variables in configure.
12019
12020Thu Sep  1 15:34:15 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
12021
12022	* acgeneral.m4 (AC_TRY_RUN): Always warn if no cross-compile
12023	 default is given.
12024	* acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
12025	 AC_FUNC_UTIME_NULL, AC_FUNC_STRCOLL): Provide a default
12026	 for AC_TRY_RUN.
12027	 (AC_FUNC_CLOSEDIR_VOID): New macro, broken out of AC_HEADER_DIRENT.
12028
12029Thu Sep  1 00:06:38 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12030
12031	* acgeneral.m4 acspecific.m4: Discard all output until AC_INIT is
12032	 called.  Remove now-unnecessary dnl's between macro definitions.
12033	 (AC_OUTPUT): Add exit 0 and optional unquoted here document to
12034	 end of config.status.
12035
12036Wed Aug 31 00:11:28 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12037
12038	* acspecific.m4 (AC_PATH_X_DIRECT): Use AC_TRY_LINK instead of
12039	 AC_CHECK_LIB, so we don't add the library to $LIBS or print anything.
12040	 (AC_PATH_XTRA): Remove initial checking message.
12041	 (AC_HEADER_STDC): In test program, default to no STDC headers if
12042	 cross compiling.
12043
12044Tue Aug 30 16:16:29 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12045
12046	* autoreconf.sh: Add -h option.
12047	* autoupdate.sh: Remove -v option.
12048
12049	* acgeneral.m4 (AC_EGREP_CPP, AC_TRY_CPP): Add parens around eval
12050	 for old shells.  From Kaveh Ghazi.
12051	 (AC_TRY_RUN): Warn when generating configure, if called without
12052	 a default parameter and AC_CANONICAL_SYSTEM has been called.
12053
12054	* autoheader.sh: Don't run `for' loops on empty lists.
12055	From Ken Raeburn.
12056
12057	* autoconf.sh autoheader.sh: Print the version number using grep
12058	 like the other scripts, not using m4.
12059	* acgeneral.m4: Remove conditional for printing version number.
12060	It broke with frozen files.
12061
12062	* autoheader.m4: New file.
12063	* autoheader.sh: Use it; the frozen version if possible.
12064	* Makefile.in (install): Install a frozen autoheader.m4f if possible.
12065	* autoconf.m4: Don't sinclude acsite.m4 here.
12066	* acgeneral.m4 (AC_INIT): Include it here.
12067
12068Tue Aug 30 14:02:07 1994  David J. MacKenzie  (djm@mole.gnu.ai.mit.edu)
12069
12070	* acgeneral.m4 (AC_CHECK_LIB): Use AC_DEFINE_UNQUOTED.
12071	From Jim Meyering.
12072
12073	* acgeneral.m4: Revise diversions, to topologically order
12074	macros called via AC_REQUIRE.
12075	(AC_DIVERT_PUSH, AC_DIVERT_POP): New macros.
12076	(AC_INIT, AC_ARG_ENABLE, AC_ARG_WITH, AC_SUBST, AC_SUBST_FILE,
12077	AC_REQUIRE): Use them.
12078	From Franc,ois Pinard (bless his soul!).
12079	(AC_PRO, AC_EPI): New macros.
12080	(AC_DEFUN): Use them.
12081	(AC_INIT): sinclude aclocal.m4 herea.
12082	* autoconf.m4: Not here.
12083
12084	* autoconf.sh: Use a freeze file if available and m4 can do it.
12085	* Makefile.in (install): Install a freeze file if m4 supports it.
12086
12087Mon Aug 29 16:18:22 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
12088
12089	* acgeneral.m4 (AC_TRY_CPP): Remove subshell and move quotes.
12090
12091Sun Aug 28 17:37:26 1994  David J. MacKenzie  (djm@bennett.eng.umd.edu)
12092
12093	* acspecific.m4 (AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE,
12094	 AC_C_INLINE): Don't AC_REQUIRE AC_PROG_CC.
12095
12096	* acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): Define
12097	 to print error messages.
12098
12099	* acgeneral.m4 (AC_OUTPUT_LINKS): Insert ac_links and ac_files
12100	 into config.status using an *un*quoted here document.
12101	 From Ken Raeburn.
12102
12103Sat Aug 27 13:31:58 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
12104
12105	* acgeneral.m4 (AC_OUTPUT_HEADER): Remove comments from within sed
12106	script.  From Kaveh Ghazi.
12107
12108Fri Aug 26 17:03:18 1994  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
12109
12110	* autoconf.sh, acgeneral.m4: __LINE__ -> __oline__.
12111
12112	* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Append any error output
12113	to config.log.
12114	(AC_EGREP_CPP): Don't use a temp file.
12115
12116	* acspecific.m4 (AC_FUNC_ALLOCA): Require CPP.
12117
12118	* acgeneral.m4 (AC_INIT_PREPARE): Replace AC_SUBST_DEFAULT calls
12119	with AC_SUBST.
12120	(AC_SUBST_DEFAULT): Macro removed.
12121	* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): If CFLAGS or CXXFLAGS
12122	was not set already, give it a default value according to whether
12123	we have gcc.
12124
12125	* acspecific.m4 (AC_PATH_XTRA): Use AC_CHECK_LIB, not AC_HAVE_LIBRARY.
12126
12127Fri Aug 26 00:34:11 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12128
12129	* acconfig.h (HAVE_UNION_WAIT): Entry removed; it wasn't defined
12130	anywhere.
12131
12132	* acgeneral.m4 (AC_OUTPUT_HEADER): rm files before mv onto them.
12133	(AC_OUTPUT): Remove explicit exit at end of configure, to allow
12134	code after AC_OUTPUT (needed for Emacs).
12135
12136	* acgeneral.m4 (AC_CANONICAL_SYSTEM): Move setting of alias vars
12137	into submacros.
12138
12139	* acspecific.m4 (AC_PROG_CPP): If $CPP is set and is a directory,
12140	ignore it.
12141
12142Thu Aug 25 09:26:36 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12143
12144	* acspecific.m4 (AC_SYS_INTERPRETER): Move hash mark out of macro
12145	 call.
12146	 (AC_FUNC_MMAP): If C++, put malloc decls in extern "C".
12147
12148	* acgeneral.m4 (AC_INIT_PARSE_ARGS): Untabify help message
12149	and indent options.
12150
12151	* Makefile.in (DISTFILES): Remove ChangeLog.0.
12152
12153	* acgeneral.m4 (AC_CHECK_LIB): Do uppercasing of library name at
12154	 runtime.
12155	 (AC_HAVE_LIBRARY): Retain old behavior.
12156
12157	* acspecific.m4 (AC_FUNC_VFORK): If C++, use a prototype for the
12158	 function in the test program.
12159	 (AC_C_ARG_ARRAY): Macro deleted.
12160	* acoldnames.m4, acconfig.h, testsuite/autoconf.s/specific.exp:
12161	 Remove references to it.
12162
12163	* autoupdate.sh: Make sure $infile can be read, and $tmpout has
12164	 the same permissions.  Make sure $infile can be written.  From
12165	 Paul Eggert.
12166
12167	* acgeneral.m4 (AC_INIT*): Remove now-incorrect AC_BEFORE calls.
12168	(AC_CHECK_FUNC): If C++, use extern "C".
12169	(AC_TRY_LINK, AC_TRY_RUN): If C++, declare exit.
12170
12171	* acspecific.m4 (AC_PATH_XTRA): Check for more libraries.
12172	From Karl Berry.
12173
12174	* acgeneral.m4 (AC_INIT_PREPARE): Substitute CPPFLAGS.
12175	(AC_LANG_C, AC_LANG_CPLUSPLUS): Include CPPFLAGS in the commands.
12176
12177	* acgeneral.m4 (AC_OUTPUT_FILES): Move protection for right side
12178	 of sed substitution here from AC_MAKE_DEFS, so it applies to all
12179	 AC_SUBST'd variables.
12180
12181	* Makefile.in (install): Use for loops.  From Jim Meyering.
12182
12183	* acgeneral.m4: Revise diversions to rely on implicit flushing at
12184	 the end of the m4 run.  Idea from Franc,ois Pinard.
12185	 (AC_INIT_PREPARE, AC_ARG_ENABLE, AC_ARG_WITH, AC_PREFIX_PROGRAM):
12186	 Write to the appropriate diversions.
12187	 (AC_ENABLE, AC_WITH): Supply default help string.
12188	 (AC_ENABLE_INTERNAL, AC_WITH_INTERNAL, AC_PREFIX_INTERNAL):
12189	 Macros removed.
12190	 (AC_CONFIG_SUBDIRS): Set `subdirs' here instead of in
12191	 AC_INIT_PREPARE.
12192	 (AC_PREFIX): Macro removed.
12193	* acoldnames.m4 (AC_PREFIX): Make it an alias for AC_PREFIX_PROGRAM.
12194
12195	* acoldnames.m4: We don't officially support calling
12196	 the subroutines of AC_INIT directly, or replacing them, so don't
12197	 document it.
12198
12199Wed Aug 24 00:19:05 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12200
12201	* acgeneral.m4 (AC_EGREP_CPP, AC_TRY_LINK, AC_TRY_RUN,
12202	 AC_TRY_CPP): Add #line directives.
12203	* autoconf.sh: Make the #line directives accurate.
12204	From Franc,ois Pinard.
12205
12206	* acgeneral.m4 (AC_OUTPUT): Set ac_given_INSTALL from INSTALL.
12207	(AC_SUBST_FILE): Replace with what was AC_INSERT_FILE.
12208	(AC_SUBST_DEFAULT): New macro.
12209	(AC_INIT_BINSH): Renamed from AC_BINSH.
12210	(AC_INIT_PREPARE): Call AC_SUBST_DEFAULT for CFLAGS, CXXFLAGS, and
12211	LDFLAGS.
12212
12213	* acspecific.m4 (AC_HEADER_MAJOR): Don't nest caching tests.
12214
12215	* Makefile.in (clean): Remove the new index files.
12216
12217	* configure.in: Check for gm4 before gnum4.
12218
12219	* acspecific.m4 (AC_PROG_RSH): Macro removed.
12220
12221	* Makefile.in (install): Install autoconf.m4.
12222
12223	* acspecific.m4 (AC_SYS_INTERPRETER): New name and calling
12224	 convention for AC_HAVE_POUNDBANG.
12225	 (AC_OS_XENIX): Check ac_header_dir instead of DEFS.
12226
12227	* testsuite/autoconf.s/specific.exp: Add AC_HEADER_DIRENT.
12228	Remove AC_SYS_REMOTE_TAPE.  Replace AC_HAVE_POUNDBANG with
12229	AC_SYS_INTERPRETER.
12230
12231	* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Reword messages.
12232
12233	* acgeneral.m4 (AC_CHECK_LIB): Use our standard alternate m4 quote
12234	 characters << and >> instead of /.
12235
12236	* acspecific.m4 (AC_C_CONST, AC_TYPE_GETGROUPS,
12237	 AC_PROG_GCC_TRADITIONAL): Don't put the test program in a
12238	 temporary variable.
12239
12240	* acgeneral.m4 (AC_CHECK_HEADERS, AC_CHECK_FUNCS): Use
12241	 AC_DEFINE_UNQUOTED.
12242	* autoheader.sh (AC_DEFINE_UNQUOTED): Define.
12243
12244Tue Aug 23 00:03:06 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12245
12246	* acgeneral.m4: Improve comments on some macros.
12247	Fix improperly quoted undefine calls.
12248	(AC_QUOTE_DQUOTE, AC_QUOTE_SQUOTE, AC_QUOTE_HERE, AC_QUOTE_SED,
12249	AC_QUOTE_TOKEN, AC_DEFINE_QUOTE, AC_DEFINE_SEDQUOTE,
12250	AC_QUOTE_IDENTITY): Macros removed.
12251	(AC_DEFINE, AC_DEFINE_UNQUOTED): Only write the (correct) value to
12252	confdefs.h.
12253	(AC_OUTPUT_MAKE_DEFS): New macro.
12254	(AC_OUTPUT): Call it.  Move AC_SUBST calls to AC_INIT_PREPARE.
12255	(AC_OUTPUT_FILES): Put most variable substitutions in a here document
12256	instead of a string, to avoid unwanted changes to the values.
12257	(AC_OUTPUT_HEADER): Generate the sed script to transform
12258	config.h.in from conftest.h.  Only split up the sed script in
12259	configure, not also in config.status.
12260
12261	* acspecific.m4 (AC_PROG_ECHO_N): Work around some greps lacking -e.
12262
12263	* acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT,
12264	 AC_PATH_XTRA): Fix cache use and message printing.
12265
12266	* acgeneral.m4 (AC_SITE_LOAD): Check env var CONFIG_SITE first.
12267	(AC_OUTPUT_HEADER): New macro broken out of AC_OUTPUT.
12268
12269	* acgeneral.m4, acspecific.m4 (AC_FD_MSG, AC_FD_CC): New
12270	 symbolic constants.
12271
12272	* acgeneral.m4, acoldnames.m4 (AC_INIT_PARSE_ARGS): Renamed from
12273	 AC_INIT_PARSEARGS.
12274
12275	* autoupdate.sh: Use $SIMPLE_BACKUP_SUFFIX, if set.
12276
12277	* autoheader.sh (AC_CHECK_LIB): Reflect the added arg.
12278
12279	* autoconf.m4: New file.
12280	* Makefile.in (DISTFILES): Add it.
12281	* autoconf.sh, autoheader.sh, Makefile.in: Use it.
12282
12283	* acspecific.m4 (AC_SYS_REMOTE_TAPE): Macro removed.
12284
12285	* acfunctions, acheaders, acidentifiers, acmakevars, acprograms,
12286	 autoscan.pl: Use new macro names.
12287
12288	* acgeneral.m4 (AC_MSG_ERROR): Enclose within {} so it acts like a
12289	 single statement.  From mjshield@nyx.cs.du.edu (Michael Shields).
12290	 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Only compute the uppercase
12291	 name if we're going to define that symbol.
12292	 (global): Remove AC_DIVERSION_VAR.
12293	 (AC_OUTPUT): Adjust quoting and substitutions to replace most
12294	 variable values directly in the sed script.  Handle srcdir,
12295	 top_srcdir, and INSTALL specially.
12296	 Add .cpp and .hpp to c-ish suffixes list.
12297
12298	* configure.in: Use the new macro names.
12299
12300	* ChangeLog.0: New file, broken out of ChangeLog.1.
12301	* Makefile.in (DISTFILES): Add it.
12302
12303	* autoupdate.sh: Update the regexps to account for changes to
12304	 acoldnames.m4.
12305
12306Mon Aug 22 23:57:18 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12307
12308	* testsuite/autoconf.s/specific.exp: Use new macro names.
12309
12310Fri Aug 12 10:15:51 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12311
12312	* acspecific.m4 (AC_HEADER_DIRENT, AC_DIR_HEADER): Use one cache
12313	 variable for each header file, not one for all of them.
12314
12315	* acgeneral.m4 (AC_CACHE_SAVE): Print a message noting when cache
12316	 is unwritable.
12317	 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an optional arg to
12318	 execute on a match.
12319
12320	* acspecific (AC_OS_AIX, AC_OS_MINIX, AC_OS_ISC): Don't need to be
12321	 called before AC_TRY_CPP, since that doesn't use CFLAGS.
12322
12323	* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Print a result
12324	 whether or not we found the program.
12325	 (AC_CHECKING): Not obsolete.
12326	 (AC_WITH, AC_ENABLE, AC_INIT_PREPARE): Merge the --enable and
12327	 --with diversions.
12328
12329	* acgeneral.m4 (AC_DEFUN): New macro.
12330	Use it globally to define macros that are used as functions,
12331	as opposed to macros that are used as variables.  Remove calls to
12332	AC_PROVIDE.
12333
12334Thu Aug 11 08:25:08 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12335
12336	* acspecific.m4 (AC_OS_XENIX): Fix assignments.  From Franc,ois
12337	 Pinard.
12338	 (AC_SYS_REMOTE_TAPE): Fix typo.
12339
12340Wed Aug 10 09:30:11 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12341
12342	* acspecific.m4 (AC_C_CHAR_UNSIGNED): Don't lie about the result
12343	 if gcc, just ignore it.
12344
12345	* acgeneral.m4 (AC_CHECK_LIB): Add a function argument.
12346	* acgeneral.m4 (AC_HAVE_LIBRARY): Make it a wrapper around
12347	 AC_CHECK_LIB.
12348	* acoldnames.m4: Remove its alias.
12349	* acspecific.m4: Add argument to callers.
12350
12351	* acspecific.m4 (AC_PROG_ECHO_N): Move from acgeneral.m4 AC_MSG_ECHO_N.
12352	* acgeneral.m4: Callers changed.
12353
12354	* acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_SITE_LOAD,
12355	 AC_MSG_CHECKING): Aesthetic changes to messages, suggested by
12356	 Franc,ois Pinard.
12357
12358	* acspecific.m4 acgeneral.m4 acoldnames.m4: Rename
12359	AC_TRY_CROSS to AC_C_CROSS.
12360
12361	* acgeneral.m4 (AC_INIT_PARSEARGS): Don't mention --verbose in
12362	 help message.
12363	(AC_INIT_PREPARE): Use file descriptor 5 for config.log, and 6 for
12364	nothing.  --verbose no longer does anything.
12365	(AC_MSG_ECHO_N): New macro.
12366	(AC_MSG_CHECKING, AC_MSG_RESULT, AC_CACHE_VAL): Require it and use
12367	the shell variables it sets.
12368	(AC_MSG_RESULT, AC_VERBOSE): Print unless --silent/--quiet is given,
12369	not only when --verbose is given.
12370	(AC_DEFINE): Don't echo anything.
12371	(AC_CACHE_VAL): Use a custom echo instead of AC_MSG_RESULT.
12372	* acgeneral.m4 (AC_CHECKING, AC_VERBOSE): Put back real versions,
12373	 marked obsolete.
12374	* acoldnames.m4: Delete their aliases.
12375	* acgeneral.m4, acspecific.m4 (many macros): Make sure each call
12376	 to AC_MSG_CHECKING has exactly one matching AC_MSG_RESULT, and
12377	 make the result messages make sense with the checking messages.
12378
12379	* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Use echo, not AC_MSG_RESULT,
12380	 to print recursion notice.
12381
12382Tue Aug  9 00:17:28 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12383
12384	* acgeneral.m4 (AC_OUTPUT): Add comment mentioning config.log.
12385
12386	* ChangeLog.1: File split out of ChangeLog.
12387	* Makefile.in (DISTFILES): Add it.
12388
12389	* acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER), autoheader.sh:
12390	 Support optional input-file specification in output-file names.
12391	* autoheader.sh: Support top and bottom comments for config.h.in
12392	 in acconfig.h.
12393
12394	* acgeneral.m4, README: Say more about requiring GNU m4.
12395
12396	* autoheader.sh: In the list of symbols to get template entries
12397	 for, start each symbol with a blank.
12398
12399	* autoupdate.sh: Add sed substitutions for replacing macro
12400	 calls without parameters.
12401
12402	* acgeneral.m4 (AC_CACHE_VAL): Omit the cache var name from the
12403	 result message.
12404
12405	* acspecific.m4 (AC_DIR_HEADER): Define to be similar to
12406	 AC_HEADER_DIRENT, but only define the old cpp macros.
12407	 (AC_HEADER_DIRENT): Only define the new ones.
12408	* acoldnames.m4: Don't say that those two macros are synonyms.
12409	* acconfig.h: Add the new cpp macros.  Add <> to some comments.
12410
12411	* acgeneral.m4 (AC_OUTPUT): Don't mess with $INSTALL if it starts
12412	 with a $, due to user intervention.
12413
12414	* Makefile.in, testsuite/Makefile.in: Fix *clean targets.
12415
12416	* acgeneral.m4 (AC_CACHE_SAVE, AC_CACHE_LOAD, AC_SITE_LOAD):
12417	Use echo instead of AC_MSG_RESULT.
12418	(AC_INIT_PARSEARGS): Group options by topic in help message.  Idea
12419	from Franc,ois Pinard.
12420
12421	* TODO: New file.
12422
12423Mon Aug  8 23:04:01 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12424
12425	* acgeneral.m4 (AC_OUTPUT): Tighten up srcdir handling code slightly.
12426	Add one or more ../ to $INSTALL when it's a relative path and
12427	creating a file in a subdirectory.
12428
12429Tue Aug  2 19:54:26 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12430
12431	* autoheader.sh: Read acoldnames.m4.  Redefine the new macro names.
12432	Only define HAVE_LIBFOO where AC_CHECK_LIB is called with only one
12433	argument.
12434
12435Sat Jul 30 09:53:38 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12436
12437	* acgeneral.m4 acspecific.m4: The Great Renaming.
12438	 (Well, I think it's great.  You may have your own opinion.)
12439
12440	* acspecific.m4 (AC_DIR_HEADER): Define HAVE_<path>_H as well as
12441	 the old DIRENT, SYSDIR, etc.
12442
12443	* acgeneral.m4 acspecific.m4: Add missing spaces between arguments
12444	 to m4 calls.  From Franc,ois Pinard.
12445
12446	* autoconf.sh: Read acoldnames.m4.
12447	* Makefile.in (DISTFILES, PROGS, install, clean): Add
12448	 acoldnames.m4 and autoupdate.sh.
12449
12450Tue Jul 26 08:52:17 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12451
12452	* testsuite/Makefile.in (check): Print a message noting that
12453	 runtest is part of DejaGNU.
12454
12455	* autoscan.pl: Remove unneeded backslash.
12456
12457Sun Jul 24 23:30:27 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12458
12459	* Makefile.in (clean mostlyclean distclean realclean): Recurse
12460	 into testsuite directory.
12461
12462Wed Jul 20 09:38:29 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12463
12464	* Makefile.in (install): Add missing else and fi.
12465	* acspecific.m4 (GETGROUPS_T, RETSIGTYPE, STACK_DIRECTION): Use
12466	AC_DEFINE_UNQUOTED rather than AC_DEFINE.
12467	From Jim Meyering.
12468
12469Tue Jul 19 14:49:02 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12470
12471	* acspecific.m4 (AC_MEMORY_H): Add more quotes.
12472
12473	* acgeneral.m4 (AC_TEST_RUN): Check for cross_compiling = yes, not
12474	 whether it's non-empty.
12475
12476	* acspecific.m4 (AC_MINUS_C_MINUS_O, AC_SET_MAKE): Eval the cache var
12477	 assignments.
12478	 (AC_YYTEXT_POINTER): Fix typo.
12479
12480	* testsuite/autoconf.s/specific.exp,
12481	testsuite/autoconf.g/sizeof_type.exp,
12482	testsuite/autoconf.g/init.exp: New files.
12483	* testsuite/lib/common.exp, testsuite/config/unix.exp: Many
12484	 changes to make them work.
12485
12486	* acgeneral.m4 (AC_DEFINE): Use redirection for echo, not $verbose.
12487
12488Sat Jul  2 22:07:18 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12489
12490	* acspecific.m4 (AC_REMOTE_TAPE): Substitute PROGS.
12491
12492Thu Jun 30 16:29:15 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12493
12494	* acgeneral.m4 (AC_SUBST_FILE): New version from Ken Raeburn.
12495
12496	* ifnames: Add --help, --version, --macrodir options.
12497
12498Fri Jun 24 06:03:35 1994  Paul Eggert  (eggert@twinsun.com)
12499
12500	* acspecific.m4 (AC_VFORK): Improve test for the gcc-sparc vfork bug.
12501
12502Thu Jun 30 09:47:17 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12503
12504	* acgeneral.m4 (AC_OUTPUT_SUBDIRS): Pass correct --srcdir option
12505	to sub configures.  Quote args containing spaces.
12506	(AC_PREPARE): Set and substitute `subdirs'.  Quote args containing
12507	spaces.
12508	(AC_CANONICAL_HOST, AC_CANONICAL_TARGET, AC_CANONICAL_BUILD):
12509	Substitute the cpu, vendor, os variables.
12510
12511	* acspecific.m4 (AC_PROG_INSTALL): Look for ginstall before other
12512	names.
12513
12514	* acgeneral.m4 (AC_TEST_LINK): Add newlines around argument code.
12515	From mjshield@nyx.cs.du.edu (Michael Shields).
12516
12517Wed Jun 29 16:56:28 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12518
12519	* autoscan.pl: Add --macrodir option.
12520
12521	* acgeneral.m4 (AC_CACHE_SAVE): Capture stderr for Ultrix sh.
12522
12523Tue Jun 28 18:05:00 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12524
12525	* Makefile.in: Make INSTALL from install.texi.
12526
12527Thu Jun 23 02:03:19 1994  David J. MacKenzie  (djm@vortex.eng.umd.edu)
12528
12529	* ifnames.sh: New file.
12530	* Makefile.in: Add it in various places.
12531
12532Tue Jun 14 12:58:38 1994  David J. MacKenzie  (djm@bleen.eng.umd.edu)
12533
12534	* Makefile.in (DISTFILES): Add testsuite files.
12535
12536	* autoconf.sh: Print version number on stdout, not stderr.
12537	* acgeneral.m4: Ditto.
12538
12539	* acgeneral.m4 (AC_HAVE_LIBRARY): Add OTHER-LIBRARIES arg.
12540	Treat empty commands args as if they weren't given.
12541
12542Thu Jun  9 11:39:14 1994  David J. MacKenzie  (djm@bleen.eng.umd.edu)
12543
12544	* acgeneral.m4 (AC_CHECK_TYPE): New macro.
12545
12546	* acspecific.m4 (AC_PROG_CPP, AC_PROG_CXXCPP, AC_YYTEXT_POINTER,
12547	AC_LN_S, AC_RSH, AC_STDC_HEADERS, AC_MAJOR_HEADER, AC_DIR_HEADER,
12548	AC_STAT_MACROS_BROKEN, AC_SYS_SIGLIST_DECLARED, AC_GETGROUPS_T,
12549	AC_UID_T, AC_RETSIGTYPE, AC_MMAP, AC_VFORK, AC_WAIT3, AC_ALLOCA,
12550	AC_GETLOADAVG, AC_UTIME_NULL, AC_STRCOLL, AC_SETVBUF_REVERSED,
12551	AC_STRUCT_TM, AC_TIME_WITH_SYS_TIME, AC_TIMEZONE, AC_ST_BLOCKS,
12552	AC_ST_BLKSIZE, AC_ST_RDEV, AC_CROSS_CHECK, AC_CHAR_UNSIGNED,
12553	AC_LONG_DOUBLE, AC_WORDS_BIGENDIAN, AC_ARG_ARRAY, AC_INLINE,
12554	AC_CONST, AC_HAVE_POUNDBANG, AC_REMOTE_TAPE, AC_LONG_FILE_NAMES,
12555	AC_RESTARTABLE_SYSCALLS, AC_FIND_X, AC_FIND_X_XMKMF,
12556	AC_FIND_X_DIRECT): Cache results.
12557	(AC_SIZE_T, AC_PID_T, AC_OFF_T, AC_MODE_T): Use AC_CHECK_TYPE.
12558	(AC_DIR_HEADER_CHECK): Macro removed.
12559
12560Wed Jun  8 18:03:45 1994  David J. MacKenzie  (djm@bleen.eng.umd.edu)
12561
12562	* acspecific.m4 (AC_MINUS_C_MINUS_O): Cache results.
12563
12564Thu May 26 09:43:37 1994  David J. Mackenzie  (djm@poseidon.cygnus.com)
12565
12566	* acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Cache results.
12567	Eliminate temp file in gcc test.
12568	(AC_GCC_TRADITIONAL): Cache results.
12569
12570Wed May 25 14:45:44 1994  David J. Mackenzie  (djm@poseidon.cygnus.com)
12571
12572	* acspecific.m4 (AC_VPRINTF): Use AC_FUNC_CHECK.
12573
12574	* acgeneral.m4 (AC_CONFIG_AUX_DIR): Renamed from AC_CONFIG_AUXDIR.
12575	(AC_SUBST_FILE): Macro deleted; didn't work, not clear it's needed.
12576
12577	* acgeneral.m4 (AC_SITE_LOAD): New macro.
12578	(AC_PREPARE): Call it.
12579
12580Wed May 25 08:18:07 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
12581
12582	* acgeneral.m4: m4exit if --version, to reduce needless delay.
12583
12584	* acgeneral.m4 (AC_PREPARE): Redirect file descriptor 6 to
12585	config.log.
12586	(AC_LANG_C, AC_LANG_CPLUSPLUS): Send compiler messages to desc 6.
12587	* acspecific.m4 (AC_MINUS_C_MINUS_O): Likewise.
12588	* Makefile.in (distclean): Remove config.log.
12589
12590	* acgeneral.m4 (AC_PREPARE): Add AC_BEFORE calls for AC_CONFIG_HEADER,
12591	AC_REVISION, AC_PREREQ, and AC_CONFIG_SUBDIRS.
12592	Add AC_PROVIDE calls to those macros and AC_ARG_ENABLE and AC_ARG_WITH.
12593
12594	* acgeneral.m4 (AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST,
12595	AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Add "ICAL" to names.
12596	(AC_LINK_FILES): Renamed from AC_MAKE_LINKS.
12597	(AC_TEST_RUN): Renamed from AC_TEST_PROGRAM, which is now an alias.
12598	* acspecific.m4: Change callers to use new name.
12599
12600	* acgeneral.m4 (AC_PREFIX_INTERNAL): Renamed from AC_PREFIX.
12601	(AC_PREFIX): Obsolete wrapper for it.
12602	(AC_PREFIX_PROGRAM): Define a variable.
12603	(AC_PREPARE): Call AC_PREFIX_INTERNAL if that variable is set.
12604
12605Tue May 24 18:49:35 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
12606
12607	* acspecific.m4 (AC_ALLOCA): Don't declare alloca if it's already
12608	defined.  From Bill Sommerfeld.
12609
12610	* acgeneral.m4 (AC_TEST_PROGRAM): Verbosely note when using the
12611	cross-compiling default.
12612	(AC_CACHE_WRITE): Set the cache values only if not already set.
12613	(AC_PARSEARGS, AC_OUTPUT): Allow giving an empty prefix or exec_prefix.
12614
12615	* acgeneral.m4, acspecific.m4: Rename AC_CONFIG_AUX* to
12616	AC_CONFIG_AUXDIR*.
12617
12618	* acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER): Add an env var
12619	CONFIG_STATUS to allow overriding the name of config.status.
12620
12621	* acspecific.m4 (AC_MINUS_C_MINUS_O): If $CC=cc, don't duplicate
12622	the check.  From Jim Meyering.
12623
12624	* acgeneral.m4 (AC_TEST_PROGRAM): Add missing newline.
12625	Always include 'fi' for cross-compiling if.
12626	From Jim Meyering.
12627
12628	* Makefile.in (prefix, exec_prefix): Use @ substitutions.
12629
12630	* acgeneral.m4: Make default cache file ./config.cache,
12631	so PATH is not used by "." command.  From Jim Meyering.
12632
12633Thu May 19 06:05:07 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
12634
12635	* acspecific.m4 (AC_STRUCT_TM): Fixed checking message to be less
12636	confusing.
12637
12638Wed May 18 22:11:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
12639
12640	* acgeneral.m4 (AC_BINSH): New macro.
12641	(AC_INIT, AC_REVISION): Require AC_BINSH first thing.
12642
12643Wed May 18 09:08:39 1994  David J. MacKenzie  (djm@burnout.eng.umd.edu)
12644
12645	* acgeneral.m4: Rename some internal macros.
12646	Give the diversions symbolic names.
12647	(AC_ARG_ENABLE, AC_ARG_WITH, AC_ENABLE_INTERNAL, AC_WITH_INTERNAL):
12648	New macros.
12649	(AC_PARSEARGS): Print --with and --enable help strings.
12650	(AC_ENABLE, AC_WITH): Make wrappers around _INTERNAL functions.
12651	Mark obsolete.
12652	(AC_PREPARE): Execute any saved up --with or --enable code.
12653
12654Tue May 17 15:18:00 1994  David J. MacKenzie  (djm@bleen.eng.umd.edu)
12655
12656	* acgeneral.m4 (AC_REVISION): Move quotes around to make it work
12657	again.
12658
12659Sat May 14 07:30:57 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12660
12661	* acgeneral.m4, acspecific.m4: Clean up some comments.
12662
12663Tue May 10 09:50:12 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12664
12665	* acspecific.m4 (AC_PROG_INSTALL): set the _path_ cache variable,
12666	not the _program_ one.
12667	* acgeneral.m4 (AC_PREFIX): Call AC_PROGRAM_PATH instead of
12668	duplicating it.
12669	(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): If the user set the variable
12670	in the environment, cache that value.
12671	(AC_PREPARE, AC_CHECKING, AC_VERBOSE): Use file descriptors 4 and
12672	5 for checking and results messages.  Idea from metaconfig 3.0.
12673
12674Mon May  9 08:20:14 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12675
12676	* acgeneral.m4 (AC_TEST_PROGRAM): If no default for
12677	cross-compiling is given, but we are cross-compiling, give an error.
12678	(AC_PROGRAM_EGREP, AC_TEST_LINK, AC_TEST_PROGRAM, AC_TEST_CPP):
12679	Don't add an extra blank line after the if-clause.
12680	(AC_REVISION): Merge AC_DOREV into this macro.
12681	Rename some macros:
12682	AC_SYSTEM_TYPE	->	AC_CANON_SYSTEM
12683	AC_HOST_TYPE	->	AC_CANON_HOST
12684	AC_TARGET_TYPE	->	AC_CANON_TARGET
12685	AC_BUILD_TYPE	->	AC_CANON_BUILD
12686	(AC_OUTPUT): Don't do Cygnus-style magic
12687	substitutions on prefix and exec_prefix, just initialize and
12688	substitute them normally.
12689
12690Sun May  8 01:09:42 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12691
12692	* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Don't call
12693	AC_BEFORE for AC_HEADER_EGREP, to avoid require loops.
12694	* acgeneral.m4 (AC_HEADER_EGREP): Call AC_PROGRAM_EGREP instead of
12695	duplicating most of it.
12696
12697Fri May  6 15:26:48 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12698
12699	* acspecific.m4 (AC_YYTEXT_POINTER): Use AC_TEST_LINK, not
12700	AC_TEST_PROGRAM.
12701
12702Fri May  6 00:45:29 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12703
12704	* acspecific.m4, acgeneral.m4: Add dnl after AC_PROVIDE,
12705	AC_REQUIRE, and AC_BEFORE calls.
12706	Use AC_CHECKING and AC_TEST_LINK instead of AC_COMPILE_CHECK.
12707
12708	* acgeneral.m4 (AC_TEST_LINK): New macro.
12709	(AC_COMPILE_CHECK): Mark obsolete.  Call AC_CHECKING and
12710	AC_TEST_LINK.
12711	(AC_PROGRAM_CHECK, AC_PROGRAM_PATH, AC_HAVE_LIBRARY, AC_HEADER_CHECK,
12712	AC_FUNC_CHECK, AC_SIZEOF_TYPE): Print "checking" messages even if
12713	using cached values.  Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
12714	* acspecific.m4 (AC_PROG_INSTALL): Ditto.
12715
12716	* acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Fix nesting in
12717	cache use.
12718
12719	* acspecific.m4 (AC_PROG_INSTALL): Ditto.
12720
12721	* acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Adjust relative cache
12722	file paths before passing them to sub-configures.  Omit existing
12723	--cache-file arguments.
12724
12725Thu May  5 21:38:51 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12726
12727	* acgeneral.m4 (AC_FUNC_CHECK, AC_HEADER_CHECK): Combine redundant
12728	code.  Use AC_CACHE_VAL.
12729	(AC_SIZEOF_TYPE): Use AC_CACHE_VAL.
12730
12731Thu May  5 12:51:32 1994  David J. MacKenzie  (djm@gamera.eng.umd.edu)
12732
12733	* Makefile.in (all): Don't depend on info files.
12734	(install): Don't install INSTALL.
12735	(installcheck, install-info): New targets.
12736
12737Thu May  5 08:49:39 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12738
12739	* Makefile.in (dist): chmod the dist directory, not the current
12740	directory.  Don't depend on DISTFILES.
12741
12742	* autoconf.sh: Go back to old way of doing NLS nuisance test.
12743	* autoheader.sh: Ditto.
12744	* acgeneral.m4: Ditto.
12745
12746Thu May  5 08:36:19 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12747
12748	* acgeneral.m4: Use "yes" and "no" or "" uniformly for boolean
12749	variables' values.  Don't assume default values.
12750	(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Always set the cache variable
12751	and use different ones.
12752
12753	* acspecific.m4: Use "yes" and "no" or "" uniformly for boolean
12754	variables' values.  Don't assume default values.
12755	(AC_STDC_HEADERS, AC_ALLOCA): Untangle nested tests.
12756
12757Thu May  5 07:51:38 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12758
12759	* Makefile.in (distclean): Remove config.cache.
12760
12761Wed May  4 19:41:35 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12762
12763	* acgeneral.m4 (AC_HAVE_LIBRARY): Use AC_CACHE_VAL.
12764
12765	* Makefile.in (install): Depend on all again.
12766	(install-info): Depend on info again.
12767
12768Wed May  4 15:05:11 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12769
12770	* acspecific.m4 (AC_PROG_INSTALL): Use AC_CACHE_VAL.
12771	* acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Use AC_CACHE_VAL.
12772	(AC_REPLACE_FUNCS): Use AC_FUNC_CHECK.
12773	Rearrange general tests into 4 categories:
12774	Checking for files - fundamental (caching)
12775	Checking for files - derived (caching)
12776	Checking for C features - fundamental (no caching)
12777	Checking for C features - derived (caching)
12778
12779	* acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_CACHE_VAL):
12780	New macros.
12781	(AC_PREPARE): Call AC_CACHE_LOAD.
12782	(AC_OUTPUT): Call AC_CACHE_SAVE.
12783	(AC_PARSEARGS): Add --cache-file=FILE option.
12784	(AC_CONFIG_SUBDIRS): Pass --cache-file to subdirectory configures.
12785
12786	* acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Renamed from
12787	AC_CONFIG_SUBDIRS.
12788	(AC_CONFIG_SUBDIRS): Just define AC_SUBDIR_LIST.
12789	(AC_OUTPUT): Call AC_OUTPUT_CONFIG_SUBDIRS if AC_SUBDIR_LIST is
12790	defined.
12791	Make config.status --recheck pass --norecursion to configure.
12792
12793	* acspecific.m4 (AC_SETVBUF_REVERSED): Print "checking" message.
12794
12795Wed May  4 10:40:56 1994  David J. MacKenzie  (djm@burnout.eng.umd.edu)
12796
12797	* autoreconf.sh: Add options [--help] [--macrodir=dir] [--verbose]
12798	[--version].
12799
12800	* acspecific.m4 (AC_GCC_TRADITIONAL, AC_SET_MAKE, AC_RSH,
12801	AC_GETLOADAVG, AC_CROSS_CHECK): Print results verbosely.
12802	(AC_GETLOADAVG): Name space cleanup.
12803
12804Wed May  4 09:32:04 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12805
12806	* autoheader.sh, autoconf.sh, acgeneral.m4: Make the NLS
12807	nuisance test actually do something.
12808
12809Mon May  2 16:31:33 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12810
12811	* configure.in: Check for standards.texi.
12812	* Makefile.in: Put everything back into one directory.
12813	Don't assume standards.* exist.
12814
12815Sat Apr 30 09:37:06 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12816
12817	* acgeneral.m4 (AC_OUTPUT): Change >> to > in sed command.
12818
12819Fri Apr 29 21:56:33 1994  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
12820
12821	* Makefile.in (all): Make autoreconf too.
12822
12823Fri Apr 29 21:03:48 1994  David J. MacKenzie  (djm@aria.eng.umd.edu)
12824
12825	* acgeneral.m4 (AC_OUTPUT): When doing substitutions on files, if
12826	the file starts with "#!", put the "automatically generated"
12827	comment on the second line instead of the first.
12828
12829Fri Apr 29 12:53:53 1994  David J. MacKenzie  (djm@burnout.eng.umd.edu)
12830
12831	* acgeneral.m4 (AC_CONFIG_AUX, AC_CONFIG_AUX_DEFAULT,
12832	AC_CONFIG_AUX_DIRS, AC_SYSTEM_TYPE, AC_HOST_TYPE, AC_TARGET_TYPE,
12833	AC_BUILD_TYPE, AC_SUBST_FILE, AC_MAKE_LINKS, AC_OUTPUT_MAKE_LINKS,
12834	AC_CONFIG_SUBDIRS): New macros.
12835
12836	* acspecific.m4 (AC_PROG_INSTALL): Use install.sh from ac_aux_dir.
12837
12838	* Makefile.in: Remove references to standards.*.
12839	Add autoreconf.
12840
12841Thu Apr 28 12:01:01 1994  David J. MacKenzie  (djm@burnout.eng.umd.edu)
12842
12843	* Makefile.in (dist): Add .., ../etc, and ../texinfo files.
12844
12845	* acspecific.m4 (AC_LN_S): Add verbose messages.
12846
12847	* Makefile.in, configure.in: Add autoscan and its data files.
12848	Check for perl.
12849
12850-----
12851
12852Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free
12853Software Foundation, Inc.
12854
12855This file is part of GNU Autoconf.
12856
12857GNU Autoconf is free software; you can redistribute it and/or modify
12858it under the terms of the GNU General Public License as published by
12859the Free Software Foundation; either version 2, or (at your option)
12860any later version.
12861
12862GNU Autoconf is distributed in the hope that it will be useful,
12863but WITHOUT ANY WARRANTY; without even the implied warranty of
12864MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12865GNU General Public License for more details.
12866
12867You should have received a copy of the GNU General Public License
12868along with autoconf; see the file COPYING.  If not, write to
12869the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12870Boston, MA 02110-1301, USA.
12871