1 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
3 * doc/autoconf.texi (Running the Compiler, Running the Linker):
4 Changes the macro arguments in summaries to match the
7 2006-02-04 Stepan Kasal <kasal@ucw.cz>
9 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
10 hint as ``a workaround for a bug.''
12 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 * bin/autoreconf.in: New option `--no-recursive'.
15 Improve wording for subpackages a bit.
16 * doc/autoconf.texi (autoreconf Invocation): Updated.
19 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
20 in environment of `configure', not the command line.
21 Reported by Howard Chu <hyc@highlandsun.com>.
23 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
25 * doc/autoconf.texi (Limitations of Builtins): Document the
26 problem with "trap -".
28 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
30 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
31 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
32 messages to differentiate Fortran and Fortran 77 tests.
33 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
34 AC_LANG_ASSERT, to allow use in mixed-language projects.
36 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
38 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
39 FOO" to "defined (FOO)".
40 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
41 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
42 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
43 * tests/tools.at (ifnames): Likewise.
45 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
47 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
48 * lib/Autom4te/General.pm (mktmpdir): Likewise.
49 (END): Improve error message a bit.
50 Reported by Bruce Korb <bkorb@gnu.org>.
52 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
55 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
57 2006-01-11 Stepan Kasal <kasal@ucw.cz>
59 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
60 requires sys/stream.h. Reported by Oliver Kiddle.
62 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
63 Stepan Kasal <kasal@ucw.cz>
65 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
66 before the removals of test dirs, use `find' to avoid modification
67 of symlinked directories.
69 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
71 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
72 Don't ignore the macro arguments.
74 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
76 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
77 declaration that works for MSVC.
79 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
81 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
82 Add `*.map' and `.inf' for Green Hills compiler.
83 Reported by Stefan Seefeld <stefan@codesourcery.com>.
85 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
86 correctly: pad with spaces after FIRST_PREFIX if necessary,
87 and compute string lenghts with `m4_qlen' instead of `m4_len'.
88 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
89 * tests/m4sh.at (AS_HELP_STRING): Test extended.
91 Reported by numerous people, numerous times.
93 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
95 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
96 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
97 * lib/autoconf/general.m4, lib/autoconf/status.m4:
98 * lib/autotest/general.m4, tests/local.at:
99 Update copyright year to 2006.
101 * Makefile.maint (sc_root_tests): Use recommend style s/a/b/ for
103 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
104 for file names, again. Reported by Noah Misch.
105 (Coding Style): Explain that s|a|b| is preferred for file names.
106 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
107 (AC_OUTPUT_MAKE_DEFS): Likewise.
108 * lib/autotest/general.m4 (AT_INIT): Likewise.
109 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
110 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
112 Fix Posix-conformance bugs re use of { command in sed scripts,
113 and improve the sed-related documentation a bit.
114 * doc/autoconf.texi (Installation Directory Variables): Use
115 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
116 rather than "sed" when talking about Sed in general.
117 (Particular Programs): Likewise.
118 (Coding Style): y is like s with respect to / and ,.
119 (Limitations of Usual Tools): Document the weird restrictions
120 that Posix has about { }. Use better quoting.
121 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
122 Rewrite to conform to Posix rules about { } in sed scripts.
123 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
124 * tests/foreign.at (Libtool): Likewise.
125 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
126 Use our own style advice re 's,a,b,' versus 's|a|b|'.
128 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
130 * lib/autoconf/status.m4: Fix typo.
132 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
133 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
134 `-def', for the benefit of Portland `pgf90 -Mipa'.
135 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
137 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
139 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
140 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
141 shell from zsh to bash.
143 2005-12-31 Stepan Kasal <kasal@ucw.cz>
145 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
146 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
148 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
150 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
151 parentheses in $(...). Problem reported by Eric Blake.
153 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
155 * doc/autoconf.texi (Limitations of Usual Tools):
156 Mention which characters can be escaped with \ in portable regular
157 expressions used in grep, sed, expr. Mention the leading ^ problem
158 with expr. Clean up some confusing wording. Mention which
159 grep options are portable.
161 2005-12-09 Stepan Kasal <kasal@ucw.cz>
163 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
165 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
167 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
168 patch, noted by Ralf Wildenhues.
170 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
173 posix' unconditionally, for pdksh in `native sh' emulation.
175 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
177 * doc/autoconf.texi (Shellology): Document eval $? problem
179 (Limitations of Builtins): Likewise.
181 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
184 CONFIG_SHELL in the environment of the configure rerun.
185 * doc/autoconf.texi (Here-Documents, config.status Invocation):
186 Suggest passing CONFIG_SHELL absolute, and in the environment
187 rather than as option.
189 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
192 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
193 Fix macro quoting. Fix output for n * 98 substituted variables.
195 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
198 `tmp' to avoid file removal race.
200 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
202 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
203 ac_clean_files and LIBOBJS.
205 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
207 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
208 Factor functionality to..
209 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
210 `AC_SUBST($1)' in the public version.
211 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
212 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
215 2005-11-01 Stepan Kasal <kasal@ucw.cz>
217 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
220 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222 * NEWS: Move AH_HEADER mention to right place.
224 2005-10-27 Stepan Kasal <kasal@ucw.cz>
226 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
227 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
229 2005-10-25 Stepan Kasal <kasal@ucw.cz>
231 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
233 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
235 2005-10-24 Stepan Kasal <kasal@ucw.cz>
237 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
238 conftest.o, to see whether the compiler really obeys; rm the object
239 file before and after the test and register it with ac_clean_files.
240 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
242 2005-10-21 Stepan Kasal <kasal@ucw.cz>
244 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
245 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
246 code so that the most common case requires less forks.
248 2005-10-20 Stepan Kasal <kasal@ucw.cz>
250 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
251 not portable; thanks to Paul Eggert and Alexandre.
253 * NEWS: Fix an old typo.
255 2005-10-20 Jim Meyering <jim@meyering.net>
257 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
258 the latter'', in two places.
260 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
262 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
263 AC_LANG_PROGRAM, fixing a typo. Don't give details about
264 the inner workings of AC_LANG_FUNC_LINK_TRY.
265 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
266 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
267 by the function rather than ignoring it.
268 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
269 comparing its address. Intel's interprocedural optimization was
270 outsmarting the old heuristic. Problem reported by
273 2005-10-19 Stepan Kasal <kasal@ucw.cz>
275 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
277 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
279 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
280 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
282 2005-10-04 Stepan Kasal <kasal@ucw.cz>
284 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
285 before removing it (chmod -R u+rwx); there are three instances of this.
287 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
288 Stepan Kasal <kasal@ucw.cz>
290 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
291 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
292 make its content writable before removing it. Remove an errorneous
293 comment from the end, where the logs of the failed tests are copied
294 to the main log file.
296 2005-09-27 Stepan Kasal <kasal@ucw.cz>
298 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
299 in case the computer is too quick. Double quote the configure.ac
302 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
303 problems if the testsuite were running too fast.
305 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
307 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
308 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
309 (which belong to Xt, not X itself). See Debian bug 327655.
310 * NEWS: Mention this.
312 2005-09-07 Stepan Kasal <kasal@ucw.cz>
314 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
316 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
318 * config/move-if-change: Don't output "$2 is unchanged";
319 suggested by Ben Elliston. Handle weird characters correctly.
321 2005-09-06 Stepan Kasal <kasal@ucw.cz>
323 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
324 calls, so that the final expansion of this macro is shorter.
325 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
326 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
327 the cleanup there. Use AS_VAR_* macros, to be more general.
328 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
330 * lib/autoconf/general.m4: Use AS_IF where appropriate.
332 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
334 2005-09-01 Stepan Kasal <kasal@ucw.cz>
336 * doc/autoconf.texi (Configuration Headers): Add an index entry
339 2005-08-26 Pavel Roskin <proski@gnu.org>
341 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
342 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
345 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
347 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
348 The previous patch didn't work, so try a better one.
350 2005-08-26 Stepan Kasal <kasal@ucw.cz>
352 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
353 in the example. Reported by Bruno Haible.
354 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
355 "if $undefined_var;" succeeds with my shell.
357 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
358 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
359 but change the m4_divert_text to m4_divert_once.
361 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
363 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
364 Work around bug in Solaris /usr/xpg4/bin/awk.
365 The bug is present in at least Solaris 8 through 10.
367 2005-08-24 Stepan Kasal <kasal@ucw.cz>
369 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
370 some evil values and relying on the fact that $* concatenates the
371 parameters by the first character from IFS.
373 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
374 Stepan Kasal <kasal@ucw.cz>
376 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
377 first header appears, define AH_HEADER.
378 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
379 Update limitations about when to call AC_CONFIG_HEADERS.
380 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
381 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
382 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
383 ``Configuration Actions''; fix their index entries.
385 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
386 options correctly. Process N-M as M-N if M is smaller than N.
387 Process ranges correctly so that N-N will run only N.
388 Sort and uniquify the tests that will be run. If there is more
389 than one test, reinsert the banners for the tests.
390 * tests/autotest.at (Keywords): Unmark XFAIL.
392 2005-08-23 Stepan Kasal <kasal@ucw.cz>
394 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
395 before passing the macro name to AH_TEMPLATE.
397 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
398 now opens log after option processing; in particular, --version
399 and --help do not touch config.log.
401 * Makefile.maint: Revert the change from 2005-08-12.
403 2005-08-22 Stepan Kasal <kasal@ucw.cz>
405 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
407 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
409 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
412 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
415 * doc/autoconf.texi (Defining Symbols, Changed Results):
416 Prepend to LIBS, not append, in examples.
418 2005-08-16 Stepan Kasal <kasal@ucw.cz>
420 When building in place, set srcdir="."; suggested by Tim Van Holder.
422 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
423 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
424 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
425 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
426 does not mean "no --srcdir option".
428 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
430 * tests/autoscan.at (autoscan): New file.
431 * tests/suite.at: Use it.
432 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
433 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
435 * tests/autotest.at (Keywords): Test keywords combinations.
437 2005-08-12 Stepan Kasal <kasal@ucw.cz>
439 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
440 add "2>&1"; gzip 1.2.4 prints help on stderr.
442 2005-07-27 Stepan Kasal <kasal@ucw.cz>
444 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
445 was pushdef'ed twice while popped only once. Push it only once.
446 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
448 2005-07-26 Stepan Kasal <kasal@ucw.cz>
450 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
451 prefixed by mere "===", not "configure: === ".
453 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
455 * Makefile.maint: Update from Bison.
457 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
458 "<tab>" in comment, so that the point is understandable.
460 2005-07-25 Stepan Kasal <kasal@ucw.cz>
462 Rewrite substantial part of lib/autoconf/status.m4.
463 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
464 and CONFIG_COMMANDS are not processed in four separate loops.
465 Instead, there is one main loop. This alows that the common code
466 is expanded only once, thus config.status (and configure) is smaller.
468 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
469 the AC_LIST_FILES and cousins macros are no longer used.
471 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
472 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
473 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
474 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
475 contain the initialization, nor the for loop, nor the associated
476 commands; all these go to ...
477 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
478 _AC_OUTPUT_CONFIG_STATUS.
479 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
480 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
481 (_AC_OUTPUT_FILE): The creation of the sed script ...
482 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
483 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
484 _AC_OUTPUT_MAIN_LOOP.
485 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
486 _AC_CONFIG_COMMANDS): Use ...
487 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
488 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
489 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
490 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
491 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
492 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
494 (_AC_CONFIG_UNIQUE): Update.
495 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
497 (_AC_LIST_TAGS): ... new common macro.
498 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
499 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
500 (_AC_LIST_TAG_COMMANDS): ... new common macro.
501 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
502 this didn't belong to the `config commands' section.
503 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
504 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
505 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
506 to the `config commands' section either.
507 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
508 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
510 ... and many changes to the comments nearby.
512 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
513 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
514 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
515 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
516 (#define header templates): The comment at the top of the generated
517 header now includes the name(s) of the source file(s).
519 Several unrelated small changes:
521 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
522 parameter to AC_DIAGNOSE.
523 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
524 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
525 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
526 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
528 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
529 in AC_OUTPUT doesn't double-quote it either.
530 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
533 2005-07-10 Stepan Kasal <kasal@ucw.cz>
535 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
536 versions of Portland Group compiler produce single- and double-quoted
537 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
538 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
540 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
542 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
543 This is a corrected version of yesterday's patch.
545 2005-07-07 Stepan Kasal <kasal@ucw.cz>
547 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
548 path, too; insert a "===" to emphasize the line.
550 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
551 ac_cv_build_alias to ac_build_alias.
552 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
554 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
555 change eliminates it. Problem reported by Alexandre Duret-Lutz.
556 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
557 (AC_ARG_VAR): ... here.
558 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
561 Keep a list of all precious variables and process them with one simple
562 for loop, instead of expanding all commands, or, OTOH, complicated
563 processing of output of "set".
564 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
565 variable names in new macro...
566 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
567 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
568 a loop to assign all ac_env_* and ac_cv_env_* variables.
569 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
571 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
572 its value to shell variable ac_precious_vars and call
573 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
574 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
575 _AC_ARG_VAR_VALIDATE.
577 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
578 and the AC_SUBSTs ...
581 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
582 the ac_subst_files section in config.log.
584 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
586 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
588 * NEWS: New macro AC_C_TYPEOF.
589 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
590 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
591 * tests/c.at (C keywords): Test AC_C_TYPEOF.
593 Fix problems reported by Nicolas Joly.
594 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
595 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
596 They are generated by the Tru64 v5.1B shell.
598 2005-07-05 Stepan Kasal <kasal@ucw.cz>
600 Fix my changes from 2005-07-01; reported by Noah Misch.
601 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
602 description, the macro now accepts only a single tag.
603 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
605 Fix cases when the varsions of Autoconf and Autotest don't match.
606 Reported by Noah Misch.
607 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
608 at_top_builddir, for compatibility with older autotest.
609 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
610 is not set, use at_top_builddir, for compatibility with older
611 versions of autoconf.
613 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
615 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
616 Problem reported by Patrick Welche.
618 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
620 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
621 sed substitution command, so that we allow | in program prefixes
622 and program suffixes. (& is a problem anyway; we're not fixing
624 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
625 configure_input, top_builddir, srcdir, etc.
626 * lib/autotest/general.m4 (AT_INIT): Likewise, for
627 PATH_SEPARATOR in AUTOTEST_PATH.
629 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
631 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
632 for loop over config.site files using `set', to allow
633 directory names containing IFS characters.
635 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
637 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
638 directories with weird names. Apparently some people like living
639 on the edge. However, improve the test that "pwd" actually does
640 report a name for the working directory.
641 * NEWS: Remove the claim that we test for funny chars in dir names.
643 2005-07-01 Stepan Kasal <kasal@ucw.cz>
645 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
647 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
648 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
649 Now accept a single tag, not whitespace separated list.
650 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
652 2005-06-30 Stepan Kasal <kasal@ucw.cz>
654 * doc/autoconf.texi (Configuration Headers): Change the explanation
655 about #include <config.h>.
656 (Generic Functions): Mention the Gnulib project.
657 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
659 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
660 document to output the default config_* lists to config.status.
661 Don't recognize option --file, if the functionality is not there.
662 Likewise for --header; moreover, recognize --he and --h as shortcuts
663 for --help in that case.
665 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
666 matches the order of execution. No code changed.
668 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
670 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
671 single-quoted -cmdline argument in Portland Group compiler.
672 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
674 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
676 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
678 2005-06-29 Stepan Kasal <kasal@ucw.cz>
680 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
681 descriptors to child processes; reported by Norman Gray.
683 2005-06-29 Stepan Kasal <kasal@ucw.cz>
685 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
687 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
688 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
690 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
691 the directory specific variables; but don't call it for configure_input.
693 2005-06-28 Derek Price <derek@ximbiot.com>
695 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
698 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
700 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
701 directory have inherent problems with special characters like spaces,
702 due to limitations in Make syntax. Problem reported by Alexandre
704 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
705 Also, fix Tru64 porting problem with shell patterns,
706 reported by Ralf Wildenhues.
708 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
710 * doc/autoconf.texi (Subdirectories): Fix markup typos.
712 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
714 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
716 Fix some more shell quoting problems. Prompted by a bug report
717 from Justace Clutter.
718 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
719 variable into diagnostic. Make the diagnostic an error, not a warning,
720 because we really don't support spaces and suchlike in dir names.
721 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
722 Don't worry about backslashes in srcdir; it can't happen now.
723 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
724 Simplify ac_optarg handling.
725 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
727 2005-06-22 Stepan Kasal <kasal@ucw.cz>
729 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
730 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
731 * tests/atlocal.in: Propagate $EGREP and $SED.
732 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
733 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
735 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
736 that '\|' is not allowed in BREs; recommend using newline separated
737 list of patterns instead of multiple -e options.
739 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
741 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
743 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
745 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
747 2005-06-21 Stepan Kasal <kasal@ucw.cz>
749 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
750 b, t, r, w commands require single space, while : cannot have any.
751 (Special Shell Variables): Fix sed code this in the example.
752 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
753 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
755 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
756 expand to the empty list. Don't use two pairs of m4_changequote,
759 2005-06-20 Derek Price <derek@ximbiot.com>
761 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
763 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
765 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
767 Don't mention Solaris versions so much, if a
768 problem is common to all extant versions of Solaris. Say "SunOS
769 4" instead of "SunOS" for SunOS 4.
770 (awk): Mention more of the limitations of traditional Awk.
771 (cat): Don't talk about cat -v.
773 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
775 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
776 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
777 but the implementation is entirely different and is designed
778 to be compatible with glibc strverscmp.
779 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
781 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
782 on Mac OS X 10.4 reported by Peter O'Gorman in:
783 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
784 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
785 Use shell builtins rather than 'expr', to work around expr bug.
787 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
789 * doc/autoconf.texi: "filesystem" -> "file system".
790 "behaviour" -> "behavior".
791 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
792 * lib/autoconf/general.m4: Omit blank after ":" sed command,
794 * lib/m4sugar/m4sh.m4: Likewise.
795 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
796 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
798 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
799 (.x.1): Ignore the time stamp in the .TH line when deciding whether
800 to update the man page. That way, we don't have to check in new
801 man pages every month.
803 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
804 quotes and backslashes. Patch from Derek Price.
806 2005-06-10 Derek Price <derek@ximbiot.com>
808 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
811 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
813 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
814 -u, since it outputs chatter if the input files are the same.
815 Problem reported by Ralf Menzel.
817 2005-06-08 Derek Price <derek@ximbiot.com>
819 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
820 renaming them since they are about to be redefined anyhow.
822 2005-06-08 Derek Price <derek@ximbiot.com>
824 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
825 redefined M4 macros to this node. Document m4_include & m4_sinclude.
826 Move m4_undefine to alphabetical order.
828 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
830 * README: Recommend GNU M4 1.4.3 or later.
831 * doc/autoconf.texi (Introduction): Likewise.
832 Reword to avoid some formatting glitches.
833 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
834 Clarify explanation of HP compiler bug.
835 Redo example output tp match current CVS snapshot.
836 Use @example.org in email addresses when the examples
837 might get inadvertently cut-and-pasted into user code.
838 Remove example of autom4te usage that doesn't seem to work now.
839 Use modern AC_INIT (except when the example is meant to be
840 shown with Autoconf 2.13).
841 Update ksh info for Solaris 9 and later.
843 Modernize description of Automake versions a bit.
844 Don't claim a future version of Autoconf is near.
845 * doc/install.texi: Reword to avoid some formatting glitches.
847 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
849 * doc/autoconf.texi: Add [] to examples, so that the manual
850 follows its own advice about quoting better.
851 Reword to avoid some formatting glitches.
852 * doc/installt.exi: Reword to avoid some formatting glitches.
854 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
855 Tru64 ksh pattern matching bug. Reported against Libtool by
856 Albert Chin <libtool@mlists.thewrittenword.com> and
857 Nicolas Joly <njoly@pasteur.fr>.
859 2005-06-06 Stepan Kasal <kasal@ucw.cz>
861 m4_cdr of one-member list was [[]] (one-member list containing an
862 empty string) instead of [] (an empty list. Callers were skewed to
863 match this misbehaviour. As a consequence of this:
864 - m4_foreach([x], [], [foo]) expanded to `foo', while
865 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
866 This bug has been fixed:
868 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
869 expand to an empty string; print error msg if called without
871 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
872 misbehaviour; handle [] and [[]] correctly.
874 2005-06-06 Stepan Kasal <kasal@ucw.cz>
876 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
877 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
878 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
880 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
882 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
883 swallow records with more than 99 fields.
884 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
887 2005-06-04 Stepan Kasal <kasal@ucw.cz>
889 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
890 swallow literals longer than 399. Reported by Ralf Wildenhues.
891 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
892 to workaround this limitation.
894 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
896 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
897 to gfortran, and make these the first two compiler names
898 checked (following the general autoconf preference for gcc).
900 2005-06-03 Stepan Kasal <kasal@ucw.cz>
902 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
903 (DISTCLEANFILES): Remove $(check_SCRIPTS).
904 (testsuite): Make sure autotest.m4f is up-to-date before using it.
906 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
908 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
909 expression of unbounded size when processing the --list
910 option. This runs afoul of a limit of 399 bytes per regular
911 expression on AIX. Problem reported by Ralf Wildenhues.
913 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
915 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
916 * doc/autoconf.texi (Particular Headers): Reword example
917 for multiline stdbool replacement.
918 (Setting Output Variables): Reword text a bit. Don't
919 give all the details about |#_!!_#|.
920 Reword description of line replacement.
922 2005-05-31 Dan Manthey <dan_manthey@partech.com>
924 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
925 now contain newlines, and substituted files must be referenced on
926 a line alone; the sed scripts to substitute them are now very
928 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
929 commands can be put in a sed script portably.
930 * doc/autoconf.texi (Setting Output Variables): Document above
931 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
932 use of multiline substitution.
933 * tests/torture.at: No longer expect substitution of newline to fail.
935 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
937 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
938 From Ralf Menzel (trivial change).
940 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
942 * tests/local.at: Don't attempt to check for negated character
943 classes in shell scripts. The test was too brittle.
945 2005-05-25 Stepan Kasal <kasal@ucw.cz>
947 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
948 * doc/autoconf.texi (Limitations of Builtins): Document this
951 2005-05-24 Stepan Kasal <kasal@ucw.cz>
953 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
954 common code; used in many places in the tree.
955 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
956 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
958 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
960 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
961 messages when ac_unique_file is not found.
962 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
963 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
964 commands, for consistency with AC_MSG_ERROR and such.
966 * bin/autoconf.as: Make more use of "shift 2" in option processing.
968 * bin/Makefile.am: Merge the two rules for creating scripts.
970 2005-05-23 Stepan Kasal <kasal@ucw.cz>
972 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
973 obsolete; it was never documented.
974 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
976 2005-05-20 Stepan Kasal <kasal@ucw.cz>
978 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
979 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
980 (ac_top_builddir): ... this ...
981 (ac_top_build_prefix): ... to this; the old name is also kept, for
982 backward compatibility.
983 (ac_top_builddir_sub): New variable, without the trailing slash,
985 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
986 * doc/autoconf.texi (Configuration Actions): Rename
987 ac_top_builddir to ac_top_build_prefix.
988 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
989 at_top_builddir to at_top_build_prefix.
990 * lib/autotest/general.m4 (AT_INIT): Likewise.
992 2005-05-20 Stepan Kasal <kasal@ucw.cz>
994 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
997 2005-05-17 Stepan Kasal <kasal@ucw.cz>
999 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
1000 argument to m4_foreach. I guess it was necessary in the past,
1001 but I think it's a no-op now.
1003 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1005 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
1006 ``cat <<_ACEOF'' commands to one.
1007 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
1008 * lib/autoconf/status.m4: On various places, use expr instead of
1010 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
1011 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
1012 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
1014 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
1015 the wrong patterns between ``case'' and ``esac.'' The previous
1016 code had false positives.
1018 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1020 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
1022 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
1025 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
1027 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
1028 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
1029 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
1030 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
1031 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
1032 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
1033 config/config.guess, config/config.sub, config/elisp-comp,
1034 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
1035 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
1036 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
1037 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
1038 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
1039 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
1040 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
1041 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
1042 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
1043 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
1044 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
1045 lib/autoconf/general.m4, lib/autoconf/headers.m4,
1046 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1047 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
1048 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1049 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
1050 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
1051 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
1052 lib/autotest/general.m4, lib/emacs/Makefile.am,
1053 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
1054 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
1055 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
1056 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
1057 tests/compile.at, tests/foreign.at, tests/fortran.at,
1058 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
1059 tests/semantics.at, tests/suite.at, tests/tools.at,
1060 tests/torture.at, tests/wrapper.as:
1061 Update FSF postal mail address.
1063 2005-05-13 Stepan Kasal <kasal@ucw.cz>
1065 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
1067 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
1068 enough arguments, similarly as in m4_bpatsubsts.
1070 2005-05-12 Stepan Kasal <kasal@ucw.cz>
1072 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
1075 2005-05-11 Stepan Kasal <kasal@ucw.cz>
1077 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
1078 for absolute directory names in one loop.
1079 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
1080 abbreviations of --version and --debug.
1082 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
1084 * doc/autoconf.texi (Autoconf Language): Be more precise about
1085 quoting rules. Problems noted by Stepan Kasal.
1086 Also, throughout this document, be more careful about white space.
1087 "blank", "white space", and "space" all have different meanings
1088 and we should be careful to say what we mean.
1090 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1092 Fix C++ related problems reported by Werner Lemberg.
1093 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
1094 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
1095 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
1096 avoid problems with C++ and throw.
1097 * tests/compile.at: .cpp, not .cc.
1099 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
1101 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1103 * doc/autoconf.texi (Generic Functions): Typos.
1105 2005-05-02 Gary V. Vaughan <gary@gnu.org>
1107 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
1108 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
1109 set by latest automake.
1111 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1113 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
1114 outputs 0 on GNU/Linux these days.
1116 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
1118 * doc/autoconf.texi (Autoconf Language): Add more description
1119 about quoting heuristics.
1120 (Limitations of Builtins): Describe "set -" problems.
1122 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1124 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
1127 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
1128 by AC_DEFINE; it was a mistake.
1129 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
1131 2005-04-25 Stepan Kasal <kasal@ucw.cz>
1133 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
1135 2005-04-22 Stepan Kasal <kasal@ucw.cz>
1137 * doc/autoconf.texi (External Software): Quadrigraphs are not
1138 processed correctly in AS_HELP_STRING; avoid this in the examples.
1139 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
1140 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
1141 comment and reduce m4_default([foo], []) to [foo].
1142 (m4_strip): Update the explanation.
1144 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
1146 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
1147 Remove core.conftest.* too; it's generated by Tru64 5.1.
1148 Problem reported by Jennis Pruett.
1149 * lib/autoconf/functions.m4
1150 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1151 Don't bother to remove core files; AC_RUN_IFELSE should do that
1154 2005-04-19 Stepan Kasal <kasal@ucw.cz>
1156 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
1158 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
1160 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
1161 Report from Horst Wente.
1163 2005-04-15 Stepan Kasal <kasal@ucw.cz>
1165 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
1168 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
1170 * doc/autoconf.texi (External Software, Package Options): Add
1171 examples showing how to implement --with-* and --enable-* options.
1173 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
1175 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
1176 as well as configure.in. Problem reported by Gregorio Guidi.
1178 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
1180 * doc/autoconf.texi (Particular Functions): Use gnulib's current
1181 pattern for alloca snippet.
1183 2005-04-04 Stepan Kasal <kasal@ucw.cz>
1185 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
1187 2005-04-01 Stepan Kasal <kasal@ucw.cz>
1189 * doc/autoconf.texi (Generic Programs): Fix a typo.
1191 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
1193 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
1194 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
1196 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1198 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
1199 Merge `-z option' as well for the benefit of Solaris link flags. Pass
1200 whole-archive (-zallextract, -zdefaultextract) options in the hope of
1201 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
1202 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
1204 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
1206 * NEWS: The configure command now warns you if you attempt to use
1207 a directory whose name contains a special character like space,
1209 * doc/autoconf.texi (Installation Directory Variables): Allow
1210 "," in file names. Do not use \@; it's not a portable regexp.
1211 * bin/Makefile.am (edit): Likewise.
1212 * lib/Makefile.am (edit): Likewise.
1213 * tests/Makefile.am (edit): Likewise.
1214 * tests/semantics.at: Likewise.
1215 * tests/torture.at: Likewise.
1216 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
1217 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
1218 * doc/autoconf.texi (File System Conventions): Warn about
1219 unportable file names.
1220 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
1222 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
1223 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
1224 ac_pwd, and quote srcdir.
1225 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
1227 * doc/autoconf.texi: Fix some systematic formatting problems.
1228 ".)" needs a following @: if not at the end of a sentence, and
1229 similarly for "!)". "etc." should be preceded by a comma.
1230 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
1232 2005-03-22 Bruno Haible <bruno@clisp.org>
1234 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
1235 argument is often called 'build-aux'.
1237 2005-03-07 Stepan Kasal <kasal@ucw.cz>
1239 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
1240 macro AC_TRY_LINK is obsolete.
1241 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
1244 2005-02-24 Stepan Kasal <kasal@ucw.cz>
1246 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
1247 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
1248 from a Common Lisp's `cl'.
1249 (AC_PROG_CXX): Behave according to the documentation: don't
1250 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
1251 make the variable CCC precious; use `cl.exe', not `cl'.
1253 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1254 Alexandre Duret-Lutz <adl@gnu.org>
1256 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
1257 /dev/null, as "configure" shouldn't read stdin, and this insulates
1258 us from problems (e.g., when testing for "cl"). Also, do this
1259 redirection before invoking "hostname" or "uname", and keep the
1260 original input stream available via...
1261 (AS_ORIGINAL_STDIN_FD): ... this new macro.
1262 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
1263 bother with "</dev/null" since it's now done at the top of
1265 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
1266 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1267 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1268 * doc/autoconf.texi (File Descriptor Macros): New section.
1269 (Printing Messages): Mention it.
1270 * tests/base.at (Input/Output): New test.
1272 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1274 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
1275 newline if neither \c nor -n work, as that would output two
1276 newlines. Prefer -n to \c. Reported by Stepan Kasal.
1278 2005-02-12 Stepan Kasal <kasal@ucw.cz>
1280 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
1281 This causes that any required macros inside will get before the if.
1282 * doc/autoconf.texi (autom4te.cache): A typo.
1284 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
1286 Undo previous change, except keep the change to
1287 lib/autoconf/programs.m4 that replaced grep with shell
1288 pattern-matching. This is because net-snmp configure reads stdin.
1289 Reported by Noah Misch.
1291 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
1293 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
1294 from /dev/null, as "configure" shouldn't read stdin, and this
1295 insulates us from problems (e.g., when testing for "cl").
1296 Suggested by Alexandre Duret-Lutz. Also, do this redirection
1297 before invoking "hostname" or "uname".
1298 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1299 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
1300 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
1301 "</dev/null" since it's now done at the top of 'configure'.
1302 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1303 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1304 Also, replace grep with shell pattern-matching, to save a process.
1306 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
1308 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1309 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
1310 avoid thinking that Allegro Common Lisp's "cl" command is a C++
1313 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
1315 * doc/autoconf.texi (Limitations of Usual Tools): Document that
1316 grep -q isn't portable. Improve grep -s explanation.
1317 Problem reported by Dan Manthey.
1319 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
1321 * doc/autoconf.texi (Special Shell Variables): Clarify
1322 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
1324 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
1326 * doc/autoconf.texi: Use @acronym for DJGPP.
1327 Fix some @code's that should have been @env's, and vice versa.
1328 Sort environment variable names.
1329 Mention that shells no longer inherit IFS.
1330 Don't recommend PATH_SEPARATOR=';' so strongly.
1331 Mention that $RANDOM might expand to the empty string.
1332 "symlink" and "soft link" -> "symbolic link".
1333 Improve mktemp description (reported by Bruno Haible).
1335 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
1337 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
1338 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
1340 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
1343 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
1345 * NEWS: Mention AT_COPYRIGHT.
1347 * tests/local.at (AT_CMP): Use diff directly on input files rather
1350 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
1351 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
1353 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1354 and Paul Eggert <eggert@cs.ucla.edu>
1356 * tests/autotest.at (Empty test suite): New test.
1357 * tests/torture.at (Substitute and define special characters)
1358 (Substitute a 2000-byte string, Define to a 2000-byte string)
1359 (Substitute a newline, Define a newline): New tests.
1361 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1363 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
1364 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
1365 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
1366 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
1367 (Standard regular expressions): New test.
1368 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
1369 excess test name quoting.
1370 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
1371 CPPFLAGS to `configure' instead of setting it in `configure'.
1373 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
1374 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
1377 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
1378 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
1380 * tests/local.at (AT_CMP): New macro.
1381 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
1382 (AC_SAVE_STATE): Move environment grep...
1383 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
1384 (AT_CONFIG_CMP): New macro.
1385 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
1386 * tests/c.at (Extensions): Do not exit early.
1387 * tests/atlocal.in: Inherit $GREP.
1389 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
1390 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
1392 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
1393 (AC_COPYRIGHT): Factor header comment portion out and move into...
1394 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
1395 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
1396 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
1398 * tests/local.at: Add Autoconf test suite copyright notice.
1399 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
1401 2005-02-04 Bruno Haible <bruno@clisp.org>
1402 and Paul Eggert <eggert@cs.ucla.edu>
1404 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
1406 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1408 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
1409 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
1411 Try not to generated lines of unlimited length, as POSIX places a
1412 2047-byte limit on line length of portable text files.
1413 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
1414 Use newline as a separator, not space.
1415 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
1416 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
1419 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1421 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
1422 as_func_*. Add test to check whether positional parameters
1423 are restored after function return.
1425 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1427 * doc/autoconf.texi (Special Shell Variables): Mention _,
1428 BIN_SH, DUALCASE. Say that variables other than "status" are safe
1429 if they contain a lower-case letter. The DUALCASE problem was
1430 reported by Ralf Wildenhues.
1432 * bin/autoconf.as: Don't exit with status 0 after write failure
1433 with --help or --version.
1434 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
1435 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
1437 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1439 * doc/autoconf.texi (Limitations of Usual Tools):
1440 Unicos 9 sed limitations.
1441 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
1442 to get the option-enhanced interface on older Crays. Try ftn for
1443 Fortran 95 (newer Crays).
1445 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
1447 * man/Makefile.am (.x.1): Go back to the simple solution, but take
1448 care to echo the commands, so the user knows what's going on.
1449 Modified from a suggestion by Stepan Kasal.
1451 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
1452 with a cross reference. Derived from a suggestion by Bruce Korb.
1454 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
1456 * doc/autoconf.texi (config.status Invocation): Warn about
1457 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
1458 * doc/install.texi (Defining Variables): Likewise.
1459 Based on a proposed patch by Ralf Wildenhues.
1461 * man/Makefile.am (.x.1): Make sure the required generated files
1462 are up to date. Problem and original solution proposed by Stepan Kasal.
1463 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
1464 implicit-man-prerequisites): New rules, used by the above.
1466 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1467 * config/config.guess, config/config.sub, config/install-sh: Likewise.
1468 * config/missing, config/texinfo.tex: Likewise.
1470 2005-01-29 Stepan Kasal <kasal@ucw.cz>
1472 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
1473 Update the long comment explaining it.
1475 m4_require no longer writes an ``is required by'' line to the
1476 execution stack. It contains only one bit of non-redundant
1477 information: that the macro was required, not called. And even
1478 this bit is useless in most situations: have you ever met a macro
1479 which both calls and requires the same macro?
1481 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
1482 (_m4_defun_pro_outer): ... only via this macro, for the outermost
1484 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
1485 (m4_expansion_stack_pop): Remove the misplaced comment.
1486 (m4_require): Don't put the ``is required by'' line to the
1487 execution stack; slightly improve the out-of-a-defun error message.
1488 (_m4_divert_grow): New macro, counter for the temporary diversions.
1489 (_m4_require_call): Use it.
1490 * tests/m4sugar.at (m4_require): Expect output without the
1491 ``is required by'' messages.
1493 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1495 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
1496 rather than x for expr.
1498 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
1500 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
1501 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1502 * lib/autotest/general.m4 (AT_INIT): Likewise.
1503 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
1504 * tests/mktests.sh: Likewise.
1506 2005-01-27 Akim Demaille <akim@epita.fr>
1508 Have autoheader honor --force.
1510 * doc/make-stds.texi, doc/standards.texi: Update from masters.
1511 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
1512 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
1513 from masters, so that FileUtils.pm's update_file provide --force
1515 * bin/autoheader.in: Pass $force to update_file so that
1516 config.h.in is always recreated when --force.
1518 2005-01-24 Stepan Kasal <kasal@ucw.cz>
1520 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
1522 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
1524 * doc/autoconf.texi (Limitations of Builtins): Clarify that
1525 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
1527 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1529 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
1530 Warn about newline stripping in `` and $(). Update Solaris
1532 (Limitations of Builtins): Use expr "X...", not expr "x...", as
1533 X insulates us from future changes to Posix.
1534 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
1537 2005-01-19 Stepan Kasal <kasal@ucw.cz>
1539 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
1540 you cannot use AC_DEFINE to define macros containing `[' or `]'.
1542 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
1544 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
1545 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
1546 bug-tar mailing list.
1548 2005-01-05 Stepan Kasal <kasal@ucw.cz>
1550 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
1552 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
1554 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
1555 ulongval to be static, to avoid unwanted GCC warning. Problem
1556 reported by Michael Jennings via Daniel Reed; see
1557 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
1559 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1561 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
1562 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
1563 datadir, infodir, and mandir. Adjust argument parsing code.
1564 (_AC_INIT_HELP): Update help text.
1565 * doc/autoconf.texi (Installation Directory Variables): Document
1568 2005-01-04 Noah Misch <noah@cs.caltech.edu>
1570 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
1571 not seem to work, assume it does set $(MAKE).
1572 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
1574 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1576 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
1578 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1580 A cleanup of the diversion support in m4sugar.
1582 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
1583 (_m4_divert_n_stack): New macro; the expansion is
1584 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
1586 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
1587 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
1588 stored in _m4_divert_diversion or _m4_divert_dump.
1589 (m4_divert_pop): When the parameter is given, compare the symbolic
1590 name with the last diversion pushed on the stack. Previously, the
1591 current diversion was compared with the numeric value of the
1592 diversion given as the parameter.
1593 (m4_require): If the macro hasn't been expanded yet, call ...
1594 (_m4_require_call): this new macro.
1596 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1598 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
1599 Workarounds for documented `case' limitations.
1601 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1603 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
1604 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
1606 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
1608 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
1609 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
1610 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
1612 Patch from Roger Leigh (with some minor changes) as follows:
1613 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
1614 Resurrect AC_PROG_CC_STDC.
1615 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
1616 AC_PROG_CC_C89, AC_PROG_CC_C99.
1617 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
1618 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
1619 AC_PROG_CC_C99): New macros.
1620 (AC_PROG_CC_STDC): Use them.
1621 (_AC_PROG_CC_STDC): Remove.
1622 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
1623 * THANKS: Add Roger Leigh.
1625 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1627 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
1628 signals that the package uses Automake; a `Makefile.am' is typical but
1629 not essential. Reported by Magnus Therning.
1630 * tests/torture.at (autoreconf.): New banner.
1631 (autoreconf and non-AC configure): Rename to `Non-Autoconf
1633 (autoreconf an empty directory): Rename to `Empty directory'.
1634 (Unusual Automake input files): New test.
1636 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1638 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
1639 (AT_SETUP): Clear AT_capture_files.
1640 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
1641 (AT_KEYWORDS): Fix comment typo.
1642 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
1643 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
1644 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
1646 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
1648 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1649 If the variable to set is already set, set ac_cv_path_$1
1650 to the preset value so caller can assume ac_cv_path_$1
1651 is available. (trivial change)
1653 2004-12-27 Noah Misch <noah@cs.caltech.edu>
1655 * BUGS (Minor Problems): Warn about makefile limitations.
1656 * Makefile.am: Find and update `INSTALL' in $(srcdir).
1657 * man/Makefile.am: Find and update manual pages in $(srcdir).
1659 2004-12-24 Eric Blake <ebb9@byu.net>
1661 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
1662 shells in subshell, to avoid noise from ash. (trivial change)
1664 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1666 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1667 problems with SunOS ksh and backslash escaping, Bourne shells and
1668 closing brackets (both within character classes). Bug reported
1669 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
1670 <read>: New entry. Mention non-availability of -r.
1672 2004-12-21 Akim Demaille <akim@epita.fr>
1674 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
1675 avoid cluttering displayed messages. Rather, prepend srcdir where
1676 AT_LINE is used for log files.
1678 2004-12-21 Stepan Kasal <kasal@ucw.cz>
1680 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
1681 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
1682 no longer part of the macro, quote the occurrence of ``$tmp''.
1683 * doc/autoconf.texi (Forbidden Patterns): Typo.
1685 2004-12-21 Akim Demaille <akim@epita.fr>
1687 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
1688 separated from the test title by forcing a white space.
1690 2004-12-21 Akim Demaille <akim@epita.fr>
1692 Enable Emacs navigation within testsuite.log files.
1694 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1695 use the compilation mode.
1696 (AT_LINE): Point to the srcdir.
1698 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1700 * tests/Makefile.am (installcheck-local): Use $(bindir).
1701 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1702 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1703 Makefile.am scheme Autoconf now uses.
1705 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1707 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1708 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1710 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1712 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1713 (_AT_CHECK): Use it.
1714 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1715 (AS_ESCAPE): Fix comment.
1716 * tests/autotest.at: Adjust section banner comments.
1717 (AT_CHECK_AT): Accept STATUS and STDERR.
1718 (AT_CHECK_AT_TEST): Likewise.
1719 (Invalid brace-enclosed parameter expansion)
1720 (Multiline command from M4 expansion)
1721 (Double-M4-quoted command): New tests.
1723 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1725 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1727 2004-12-17 Akim Demaille <akim@epita.fr>
1729 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1731 Suggested by Alexandre Duret-Lutz.
1732 * doc/autoconf.texi (Setting Output Variables): Catch up.
1734 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1736 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1738 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1740 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1741 remove the comment which said we cannot.
1743 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1745 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1746 Reini Urban and Paul Eggert for reporting the dependencies.
1748 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1749 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1750 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1752 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1754 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1755 so that eg. ``autoscan --help'' doesn't truncate it.
1757 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1759 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1760 generated conftest files.
1762 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1764 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1765 tracing on commands with possibly-escaped newlines.
1766 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1767 discontinued behavior and its implications.
1768 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1769 (BSx641-newline in command, BS-BS-newline in command)
1770 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1771 (Single-quote-BS-newline in command)
1772 (Single-quote-newline-BS-newline in command): New tests.
1774 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1776 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1777 on platforms where it works.
1778 (_AS_TEST_PREPARE): Test for ``test -x''.
1779 (_AS_BROKEN_TEST_PREPARE): Nuke.
1781 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1783 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1784 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1785 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1786 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1787 create the temporary directory.
1788 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1790 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
1792 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1795 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
1797 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1799 2004-12-11 Noah Misch <noah@cs.caltech.edu>
1801 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1802 to avoid using a negated character class. Reported by Nicolas Joly.
1803 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1805 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
1807 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1808 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1809 Don't depend on .x file explicitly, since "make" does that for us.
1810 Suggested by Stepan Kasal.
1812 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1814 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1815 ifnames): Factor common code. And they said it couldn't be done!
1817 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1819 * bin/.cvsignore: Add autoconf.in.
1820 * tests/.cvsignore: Add wrapper.in.
1821 * lib/autotest/general.m4: Escape '$' in case pattern.
1823 2004-12-09 Noah Misch <noah@cs.caltech.edu>
1825 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1827 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1829 * tests/autotest.at: New file.
1830 * tests/suite.at: Include it.
1831 * tests/Makefile.am: Distribute it.
1833 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1834 shell tracing on a command that could contain multiple lines.
1835 * doc/autoconf.text: Document that fact and its implications.
1836 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1837 * tests/autotest.at (Multiline backquote command substitution,
1838 Multiline parameter expansion, Literal multiline command,
1839 Multiline parenthetical command substitution): Remove XFAIL.
1841 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1843 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1844 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1846 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1848 * configure.ac (test suite): Cease to generate wrapper scripts.
1849 * configure: Regenerate.
1850 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1851 (m4f_dependencies): Adjust accordingly.
1852 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1853 (wrapper.in): Generate it in the build directory.
1854 (MAINTAINERCLEANFILES): Delete wrapper.in.
1855 (CLEANFILES): Add wrapper.in.
1856 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1857 the output. Replace each $as_me with a @wrap_program@.
1858 * tests/wrapper.in: Delete it; we always build it.
1860 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1861 (EXTRA_DIST): Remove autoconf.in.
1862 (CLEANFILES): Add autoconf.in.
1863 (autoconf): Find autoconf.in in the build directory.
1864 * bin/autoconf.in: Delete it; we always build it.
1866 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1868 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1869 PATH members so as to not prepend an empty element. Move a comment.
1870 * Makefile.am (SUBDIRS): Build in `tests' last.
1871 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1873 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1875 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1876 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1877 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1878 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1880 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1882 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1885 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1887 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1888 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1889 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1891 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1893 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1894 out the common code to ...
1895 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1896 value of the #define--default to 1, iff the macro was called
1897 with exactly one parameter.
1899 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1901 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1902 "char c = '\200';" rather than "char c = 0x80;" as the
1903 latter doesn't conform to the strict C standard due to
1904 overflow on signed char hosts.
1906 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1907 to -qlanglvl=ansi. We don't want to disable extensions.
1909 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1911 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1912 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1913 Reword slightly to avoid some English-language problems noted
1914 by Ralf Wildenhues in:
1915 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1917 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1919 * NEWS: Add ^L above each release.
1921 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1923 Fix documentation problems reported by Russ Boylan in
1924 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1925 along with some nearby cruft.
1926 * doc/autoconf.texi (Libtool): Libtool can be used without
1927 Automake (not without Autoconf).
1928 (Introduction): Mention lists.gnu.org.
1929 * BUGS: Don't mention bugs.gnu.org.
1930 Remove mention of ancient libtool compatibility problem.
1931 * NEWS: Mention that bugs.gnu.org is kaput.
1932 * README: Likewise. Mention where mailing list archives can be found.
1934 2004-11-28 Stepan Kasal <kasal@ucw.cz>
1936 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1937 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1939 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1941 * doc/autoconf.texi (Pretty Help Strings): Go back to
1942 single-quoting assignments to cache variables.
1944 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1946 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1947 with the examples; fix the bug in MY_ARG_WITH example reported
1948 by Alexandre Duret-Lutz.
1949 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1950 expansion of $1 in the comment emitted to configure.
1952 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1954 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1955 in my editing of the previous patch. Problem reported
1956 by Alexandre Duret-Lutz.
1958 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1960 * doc/autoconf.texi (Autoconf Language): Explain that
1961 ``descriptions'' may not be double quotes.
1962 (Quotation Rule Of Thumb): Likewise.
1963 (Pretty Help Strings): Likewise; remove the wrong comment;
1964 simplify the examples and improve their quoting.
1966 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1968 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1969 the $1_found variable, don't test whether the file is executable;
1970 Both things are checked ...
1971 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1972 the former ``test -f''.
1973 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1975 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1977 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1980 2004-11-10 Derek R. Price <derek@ximbiot.com>
1982 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1983 limitations. Reorder paragraphs for clarity.
1985 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1987 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1988 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1989 variants", "Unix", and some related minor wording fixups.
1991 (Shellology, Special Shell Variables): Document that the Zsh
1992 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1993 to Alexandre Duret-Lutz for this info.
1995 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1997 * doc/autoconf.texi (One-Shot Macros): New node.
1999 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
2001 * doc/autoconf.texi (Function Portability): Fix misdescription
2002 of putenv. Problem reported by Michael Wardle.
2004 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
2006 * doc/autoconf.texi (auindex): New macro.
2007 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
2008 Problem reported by Stepan Kasal.
2010 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
2012 Fix problems reported by Andreas Buening in:
2013 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
2014 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
2016 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
2017 readable; it's not true in OS/2-emx.
2019 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
2021 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
2022 "/usr/include", clear ac_x_includes instead of leaving it as "no"
2023 (trivial change). Problem and patch reported by Andrew Church in:
2024 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
2026 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
2028 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
2029 three args in examples. Problem reported by Frederik Fouvry in:
2030 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
2031 Also, fix some minor spacing and punctuation bugs.
2033 2004-09-02 Akim Demaille <akim@epita.fr>
2035 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
2036 "case" to restore ordering.
2037 Reported by Stepan Kasal.
2039 2004-08-26 Akim Demaille <akim@epita.fr>
2041 * doc/autoconf.texi: Minor typos and stylos.
2043 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2045 * configure.ac (AC_INIT): Bump to 2.59c.
2047 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2051 * README: Add advice about m4 1.4.2.
2053 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
2054 texinfo.tex for now (done by hand now).
2055 * Makefile.maint (wget_files, cvs_files):
2056 Remove ansi2knr.c; nobody uses it.
2057 (ansi2knr.c-url_prefix): Remove.
2058 (cvs-update): Fix test for failure. I don't know why it ever
2061 * doc/autoconf.texi: Update URLs, some of which went stale.
2062 Use @uref rather than @href.
2064 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
2065 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
2067 * config/config.guess, config/config.sub, config/elisp-comp,
2068 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
2069 doc/fdl.texi, doc/standards.texi: Sync with master copy.
2071 * NEWS, TODO, configure.ac, bin/autoscan.in,
2072 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
2073 doc/install.texi, lib/Autom4te/Configure_ac.pm,
2074 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
2075 lib/autoconf/programs.m4, lib/autoconf/status.m4,
2076 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
2077 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
2078 tests/tools.at, tests/torture.at:
2079 Use "file name" rather than "filename" or "path",
2080 to be consistent with the terminology of the GNU coding standards.
2082 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2084 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
2085 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
2086 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
2087 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
2089 More fixes to support spaces in the name of the build directory.
2090 This isn't a complete fix but it's an improvement.
2092 * bin/autoconf.as (autom4te_options): New var.
2093 Use it instead of appending to AUTOM4TE, so that we can allow
2094 spaces in the build directory's absolute name.
2095 * bin/autoheader.in ($autoconf): Allow spaces in file names.
2096 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
2097 AT_CHECK_NOESCAPE): Likewise.
2098 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
2099 main program): Likewise.
2101 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
2103 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
2104 From Ralf Corsepius in:
2105 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
2107 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2109 * doc/autoconf.texi (Function Portability): Document isinf and
2110 and isnan. From a suggestion by Kevin Ryde.
2112 * lib/Autom4te/General.pm (END): Return correct exit status even
2113 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
2115 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2117 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
2118 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
2119 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
2121 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2123 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
2124 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
2125 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
2126 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
2127 * lib/autom4te.in (Automake-preselections): Preselect
2128 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
2130 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
2132 * lib/autom4te.in (Automake-preselections): Preselect
2133 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
2136 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
2138 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
2140 * doc/autoconf.texi (Shellology): Mention BIN_SH.
2141 Document problem with "`""`" in pdksh POSIX mode.
2143 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
2145 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
2146 with pdksh, too. Problem reported by Patrick Welche via
2148 * doc/autoconf.texi (Shellology): Note that set -o posix is
2149 useful for pkdsh, too.
2151 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
2153 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
2154 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
2155 Don't fail if ENV or BASH_ENV is readonly.
2156 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
2157 etc. are read only. Problem reported by Ludovic Courtes.
2159 2004-06-23 Noah Misch <noah@cs.caltech.edu>
2161 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
2162 zsh, disable GLOB_SUBST to avoid backslash handling problems.
2165 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
2167 * doc/autoconf.texi (File System Conventions): Warn about
2168 names like "aux". Problem reported by Eric Blake.
2170 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
2171 by zero instead of array size, so that we can use any arithmetic
2172 constant expression (instead of requiring an integer constant
2173 expression). This allows us to test expressions like DBL_MAX <
2174 LDBL_MAX, which didn't conform to the C standard using the old
2176 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
2177 now that we can do floating-point tests at compile time.
2179 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
2181 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
2182 and LDBL_EPSILON, as the resulting expression isn't an
2183 integer constant expression and violates the C standard.
2184 Problem reported by Nelson H. F. Beebe. Also, check
2185 for "L" suffix, and check that long double doesn't have
2186 worse range or precision than double, that mixed-mode
2187 arithmetic doesn't generate a diagnostic, that double
2188 constants fit in long double.
2190 2004-06-03 Kevin Ryde <user42@zip.com.au>
2192 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
2193 malloc(0) and realloc(NULL,size).
2195 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
2198 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2200 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
2201 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
2204 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
2206 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
2207 can be rewritten using if-then-else. Suggested by Bruno Haible.
2209 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
2211 * doc/autoconf.texi (testsuite Scripts): Fix typo.
2212 Problem reported by Stepan Kasal.
2214 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
2216 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
2217 change). Patch reported by Ralf Wildenhues in
2218 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
2220 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
2221 function F exists if the compiler and linker let you compile an
2222 expression like (F != 0). Recent versions of GCC optimize away
2223 the reference to F in that case, since every function address must
2224 be nonzero, so the link succeeds even if F does not exist.
2225 Problem reported by Manu in
2226 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
2228 * doc/autoconf.texi (Systemology): Standardize on the spelling of
2229 "Unix". Many uses changed.
2230 (Limitations of Builtins): Explain better why the ! command isn't
2233 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
2235 * lib/autom4te.in (Automake-preselections): Preselect
2236 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2238 2004-05-19 Kevin Ryde <user42@zip.com.au>
2240 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
2241 referencing AC_FUNC_STRERROR_R.
2243 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
2244 note pessimistic assumption when cross compiling.
2246 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2248 * doc/autoconf.texi (Limitations of Make): Note that BSD make
2249 (until 2004) invoked subcommands with sh -e, contra POSIX.
2250 Reported by Kevin Ryde.
2252 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
2254 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
2255 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
2256 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
2257 `test -f " /usr/bin/grep"', which _always_ failed.
2258 (AC_PROG_SED): Ditto bogus PATH fix.
2259 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
2260 requires that grep correctly supports _multiple_ `-e' options, rather
2261 than stating only that grep should accept `-e'.
2263 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
2265 Port to C99, which requires that 'exit' be declared.
2267 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
2268 to ensure that stdlib.h is included.
2269 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
2270 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
2271 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2272 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2273 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2274 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
2275 when using 'exit' in a test; C99 requires that 'exit' be declared.
2277 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
2279 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
2280 now prefers 'grep' implementations that accept -e.
2281 (Limitations of Usual Tools): Describe problems of traditional
2282 egrep and fgrep with long input lines, and of traditional grep
2284 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
2285 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
2286 All callers changed. Append /usr/xpg4/bin to the PATH, for
2288 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
2289 the user with complaints about multiple -e options.
2290 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
2291 Define it with AC_PROG_GREP.
2292 * configure.ac (AC_PROG_GREP): Add.
2293 * lib/freeze.mk (GREP): New macro.
2295 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
2297 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
2298 a possible candidate only after all others fail, rather than
2299 consulting it first. This improves backward compatibility by
2300 better reflecting the way shell selection occurred in previous
2301 versions of Autoconf, and should help to avoid triggering latent
2302 problems in other packages, such as the one in Automake where zsh
2303 is not handled robustly:
2304 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
2305 Although it is not Autoconf's responsibility to work around
2306 problems in Automake, it nevertheless makes sense to avoid
2307 introducing unnecessary incompatibilites.
2309 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
2310 Gary V. Vaughan <gary@gnu.org>
2312 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
2313 how deeply nested we are when a suitable tool is found, set the
2314 ac_path_TOOL_found flag.
2315 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
2316 nested we are in this macro. Break out of all 3 nested loops if
2317 ac_path_TOOL_found is set.
2319 2004-04-21 Gary V. Vaughan <gary@gnu.org>
2321 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
2322 of the _AS_PATH_WALK loop too if GNU flavor is found.
2324 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
2326 * doc/autoconf.texi (Limitations of Make): Update documentation
2327 for `$<'. New entry `Long lines', based on a report from Simon
2328 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
2329 paragraph about DJGPP, based on a mail from Richard Dawe.
2331 2004-04-20 Paul Eggert <eggert@twinsun.com>
2333 * tests/c.at (C keywords): Don't assume that GCC supports
2334 "restrict" and "inline", as sufficiently-old GCC versions do not
2335 (also, GCC configured to be in pedantic C89 mode does not).
2336 Problem reported by Sumit Pandya in:
2337 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
2339 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
2340 consider -g to work if it generates warnings when plain compiles
2341 don't. Problem reported by Braden McDaniel in:
2342 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
2344 * doc/autoconf.texi (Slashes): New section, to document a problem
2345 reported by Jim Meyering in:
2346 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
2348 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
2349 linker output files before linking, to work around IRIX 6 linker bug.
2350 Problem reported by Rainer Orth in:
2351 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
2353 2004-04-20 Gary V. Vaughan <gary@gnu.org>
2355 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
2356 best tool so far counter rely on the tool path variable name to
2357 avoid checks for one tool being affected by the results of running
2358 the length check on a previous tool.
2360 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
2361 match expression argument, as different greps have different
2362 regular expression flavours.
2363 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
2365 (AC_PROG_EGREP): Pass 'EGREP$'.
2366 (AC_PROG_GREP): Pass 'GREP$'.
2368 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
2370 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
2371 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2373 2004-03-29 Paul Eggert <eggert@twinsun.com>
2375 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
2376 Types, Specific Compiler Characteristics, System Services,
2377 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
2378 etc. consistently instead of 'long', 'short', 'unsigned' etc.
2379 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
2380 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
2382 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
2383 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
2384 AC_TYPE_OFF_T): Likewise.
2385 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
2388 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
2389 pacify libtool 1.5.2. Fix quoting problems in sed command.
2391 2004-03-28 Paul Eggert <eggert@twinsun.com>
2393 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
2394 now defines HAVE_DECL_TZNAME if it is declared, when
2395 HAVE_STRUCT_TM_TM_ZONE is not defined.
2396 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
2397 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
2400 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
2402 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
2403 superfluous backslashing of quotes (") in sed expressions;
2404 thanks to Paul Eggert.
2406 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
2408 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
2409 Fortran compiler is ifort, also added pghpf; thanks to Nelson
2410 H. F. Beebe for the bug report.
2412 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
2414 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
2415 quoted -cmdline argument in Portland Group compiler (bug
2416 reported by Jeffrey J. Barteet).
2418 2004-03-25 Kevin Ryde <user42@zip.com.au>
2420 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
2421 (Run Time): ... here, where it's now mentioned.
2423 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2425 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
2426 inherits from language Autoconf-without-aclocal-m4.
2427 (Customizing autom4te): Adjust example; the cache must now be
2428 disabled for language Autoconf-without-aclocal-m4.
2430 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
2431 Nathanael Nerode <neroden@twcny.rr.com>
2433 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
2434 AC_CHECK_TOOLS): Warn if a cross-tool is found without
2436 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2437 AC_CHECK_TARGET_TOOLS): New macros.
2438 * doc/autoconf.texi (Generic Programs): Document
2439 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2440 AC_CHECK_TARGET_TOOLS, and warn for future changes
2441 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
2443 (Specifying Names): Document the reason for these future
2445 * tests/mktests.sh: Do not generate tests for the
2447 * NEWS: Document these changes.
2449 * doc/autoconf.texi: Avoid macros with unbraced arguments,
2450 they make TeX hang up.
2452 2004-03-15 Paul Eggert <eggert@bogus.example.com>
2454 * NEWS: New macro AC_CHECK_ALIGNOF.
2455 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
2456 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
2457 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
2459 (AC_CHECK_ALIGNOF): New macro.
2460 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
2461 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
2464 2004-03-03 Paul Eggert <eggert@twinsun.com>
2466 * bin/Makefile.am (edit): Don't use $< in a context where
2467 POSIX doesn't require support for it. Use $@.in instead.
2468 Problem reported by Anthony N. Frasso in
2469 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
2470 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2472 2004-02-23 Gary V. Vaughan <gary@gnu.org>
2474 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
2475 from the next generation of Libtool.
2476 * lib/autom4te.in (Autoreconf-preselections): Ditto.
2478 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2480 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
2481 is not always thread-safe. Report from Nathanael Nerode.
2483 2004-02-18 Paul Eggert <eggert@twinsun.com>
2485 Fix a dependencies problem, stemming from a Autoconf 2.59 build
2486 problem on QNX reported by Stephen Rasku in
2487 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
2489 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
2490 $(m4sh_m4f_dependencies); this removes a FIXME.
2491 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
2492 (MAINTAINERCLEANFILES): Split into pieces,
2493 one per related section. Add $(srcdir)/wrapper.in.
2495 2004-02-09 Paul Eggert <eggert@twinsun.com>
2497 * doc/autoconf.texi (Setting Output Variables): Emphasize that
2498 AC_SUBST provides no portable way to escape literal newlines.
2500 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
2501 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
2502 Darwin uses -lcrt2.o and there's little point to cataloging all
2503 the system variants. Partial fix reported by Andreas Waechter in:
2504 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
2505 for bug reported by Nelson H. F. Beebe in:
2506 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2508 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
2510 * doc/autoconf.texi (AU_DEFUN): Fix English,
2511 suggested by Paul Eggert.
2512 * lib/autoconf/autoupdate.m4: Correct reference to
2513 acobsolete.m4, suggested by Alexandre Duret-Lutz.
2515 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
2517 * bin/autoupdate.in: Define __file__ so that warnings
2518 refer to the correct file.
2519 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
2520 the behavior of the third argument.
2521 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
2522 correctly the behavior of the third argument. Document
2523 what the three macros that AU_DEFUN defines do. Fix
2524 warning message when the third argument includes $0
2525 (reported by Alexandre Duret-Lutz).
2527 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2528 Eric Sunshine <sunshine@sunshineco.com>
2529 Paul Eggert <eggert@twinsun.com>
2531 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
2532 (AS_INIT): Output shell initialization there. Removed optional
2533 parameter. Expand _AS_SHELL_FN_SPY.
2534 (AS_INIT_WITH_SHELL_FN): Removed.
2535 (_AS_SHELL_FN_SPY): New macro.
2536 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
2538 (AS_SHELL_SANITIZE): Remove loop to find better shell
2539 and documentation for the parameter.
2540 (_AS_DETECT_BETTER_SHELL): Move it here.
2541 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
2542 (_AS_RUN): Move it here, support testing with eval.
2543 (AS_REQUIRE_SHELL_FN): Require shell functions when
2545 (_AS_LINENO_WORKS): Put around braces, we do not
2546 trigger the bash bug anymore.
2547 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
2548 use AS_INIT_WITH_SHELL_FN.
2549 * bin/autoconf.in, tests/wrapper.in: Regenerated.
2551 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2553 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
2554 * doc/autoconf.texi: Don't say that the third parameter
2556 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
2557 (AU_DEFUN): Honor the third parameter, create autoupdate
2558 macros with AU_DEFINE.
2559 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
2560 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
2561 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2562 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
2563 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
2564 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
2565 AC_XENIX_DIR): Likewise.
2566 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
2567 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
2568 * lib/autoconf/status.m4: Remove FIXME.
2569 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
2570 that the macro is not present anymore in the updated
2572 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
2575 2004-01-28 Paul Eggert <eggert@twinsun.com>
2577 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
2579 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2580 2003 (except 1997) to the list of copyright years. This undoes
2581 the 2003-05-22 change, which removed the older years from the list.
2582 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2584 2004-01-27 Gary V. Vaughan <gary@gnu.org>
2585 Albert Chin-A-Young <china@thewrittenword.com>
2587 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
2588 grep or ggrep program in PATH that accepts as long lines as
2590 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
2592 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
2593 egrep and fgrep respectively if $GREP -E/-F don't work.
2594 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
2595 _AC_PROG_GREP, and AC_PROG_SED.
2596 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
2597 longest input length accepted by a command.
2598 (AC_PROG_SED): Use it.
2599 * doc/autoconf.texi (Particular Programs): Document the changes.
2602 2004-01-27 Paul Eggert <eggert@twinsun.com>
2604 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
2605 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2606 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
2607 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2609 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
2610 bin/autoconf.in, config/Makefile.in, config/config.guess,
2611 config/config.sub, config/install-sh, config/mdate-sh,
2612 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
2613 lib/Makefile.in, lib/Autom4te/Makefile.in,
2614 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
2615 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
2616 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
2617 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
2618 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
2619 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
2620 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
2621 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
2622 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
2623 tests/actypes.at: Regenerate and/or sync with original
2626 2004-01-26 Paul Eggert <eggert@twinsun.com>
2628 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
2629 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
2630 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
2631 not <inttypes.h>. Problem reported by Tim Mooney in
2632 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
2633 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2636 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
2637 otherwise "make check" fails because it forbids cmp (I guess
2638 because cmp treats files as binary on DOS-like systems).
2640 * tests/mktests.sh: Update copyright date to 2004, since some tests
2641 have changed in 2004.
2643 2004-01-23 Gary V. Vaughan <gary@gnu.org>
2645 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
2646 non-truncating sed or gsed program in PATH.
2647 * tests/acprograms.at: Add it.
2648 * doc/autoconf.texi (Particular Programs): Document it.
2651 2004-01-15 Paul Eggert <eggert@twinsun.com>
2653 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
2654 -std1 disables some useful extensions on Tru64. Problem reported
2656 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2658 2004-01-14 Paul Eggert <eggert@twinsun.com>
2660 * doc/autoconf.texi (Programming in M4sh): Document that
2661 AS_MKDIR_P succeeds if the destination is a symbolic link
2662 to an existing directory.
2663 (Limitations of Usual Tools): Note that mkdir -p might not
2664 succeed on symlinks to directories.
2666 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
2668 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
2669 * bin/autoheader.in: Grammar fix in message.
2670 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
2671 Test for dir before calling mkdir -p. (trivial changes)
2673 2004-01-13 Eric Blake <ebb9@byu.net>
2675 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
2676 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2678 2004-01-10 Jim Meyering <jim@meyering.net>
2680 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2682 2004-01-09 Paul Eggert <eggert@twinsun.com>
2684 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
2685 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
2686 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
2687 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
2688 AC_COMPILE_IFELSE, since we now assume our caller invokes
2689 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
2690 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
2691 of AC_RUN_IFELSE; this avoids the warning mentioned above.
2692 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2694 2004-01-07 Paul Eggert <eggert@twinsun.com>
2696 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2697 `"'...'"`, as it's confusing (and I suspect it may not work on
2698 some platforms). The code was incorrect anyway, as it assumed
2699 that \$ evaluated to itself in that context. Reported by
2700 Alexandre Duret-Lutz.
2702 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2704 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2705 and _LT_AC_TAGCONFIG.
2707 2004-01-06 Paul Eggert <eggert@twinsun.com>
2709 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2710 example, and add more examples. Reported by Eric Sunshine.
2712 2004-01-05 Paul Eggert <eggert@twinsun.com>
2714 * doc/autoconf.texi (Limitations of Usual Tools):
2715 Remove warning against "rm -fr" introduced yesterday; it
2718 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2719 autoscan, autoupdate, ifnames): Don't use chmod -w.
2720 * lib/Makefile.am (autom4te.cfg): Likewise.
2721 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2724 2004-01-04 Paul Eggert <eggert@twinsun.com>
2725 Paolo Bonzini <bonzini@gnu.org>
2727 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2728 by doing lineno substitution only on lines containing "$LINENO".
2730 2004-01-04 Paul Eggert <eggert@twinsun.com>
2732 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2733 Use "rm -f" to remove conftest.sed, not plain "rm".
2734 Bug reported by David Relson in
2735 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2737 * Makefile.am (autom4te-update):
2738 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2739 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2740 * doc/autoconf.texi (Guidelines): Likewise.
2741 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2742 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2743 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2744 * lib/autotest/general.m4 (AT_INIT): Likewise.
2745 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2746 * tests/Makefile.am (clean-local): Likewise.
2747 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2749 * doc/autoconf.texi (Limitations of Usual Tools):
2750 Warn against "rm -fr".
2752 2004-01-03 Paul Eggert <eggert@twinsun.com>
2754 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2755 -c -o might not work. From a suggestion by Kevin Ryde.
2756 (C Compiler, Generating Sources, Limitations
2757 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2758 Don't put '-o' after non-options, as POSIX doesn't allow this.
2759 Mention that cc's name might be gcc or c89 or whatever.
2761 2004-01-04 Kevin Ryde <user42@zip.com.au>
2763 * doc/autoconf.texi: Add various further index entries.
2765 2003-12-29 Paul Eggert <eggert@twinsun.com>
2767 * bin/autoreconf.in (autoreconf_current_directory):
2768 Fix typo: mkdir without umask arg.
2770 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2772 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2773 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2774 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2775 explanation clearer.
2777 2003-12-24 Andreas Schwab <schwab@suse.de>
2779 * doc/autoconf.texi (Default Includes): Fix misspelling of
2780 AC_INCLUDES_DEFAULT.
2782 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2784 * configure.ac: Test if sh -n works.
2785 * configure: Regenerate.
2786 * tests/atlocal.in: Store the result here.
2787 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2788 tools.at, looking in atlocal's ac_cv_sh_n_works instead
2789 of explicitly testing.
2790 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2791 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2792 * tests/tools.at (Syntax of the shell scripts): Simplify
2793 using AT_CHECK_SHELL_SYNTAX.
2794 (Syntax of the Perl scripts): Remove definition of
2795 AT_CHECK_PERL_SYNTAX.
2797 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2799 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2800 stderr to /dev/null.
2801 * bin/autoconf.in: Regenerate.
2802 * bin/wrapper.in: Regenerate.
2804 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
2806 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2807 Extracted from AS_SHELL_SANITIZE.
2808 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2810 (AS_SHELL_SANITIZE): Move reinvocation code from
2811 _AS_LINENO_WORKS, use it to find out if shell
2813 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2815 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2816 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2818 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2819 * bin/autoconf.in: Regenerate.
2820 * tests/wrapper.in: Regenerate.
2821 * tests/tools.at: Test the syntax of tests/autoconf
2822 and tests/testsuite.
2824 2003-11-24 Akim Demaille <akim@epita.fr>
2826 * config/announce-gen (&print_locations, &print_signatures)
2829 No longer rely on Gnus to inline the list of signatures: compute
2832 2003-11-24 Akim Demaille <akim@epita.fr>
2834 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2835 override some files.
2836 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2837 From Debian Autoconf 2.58.
2839 2003-11-24 Akim Demaille <akim@epita.fr>
2841 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2843 From Debian Autoconf 2.58.
2845 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2847 * TODO: Remove already done things. Update the part about finding
2848 tools for the target.
2850 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2852 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2853 Make wording more consistent.
2854 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2855 Explain the transition better.
2856 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2857 the transition better.
2859 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2861 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2862 parameter of AU_DEFUN.
2863 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2864 (AU_DEFUN): Remove the third parameter, it was not used.
2865 Use AC_DEFUN directly, not AU_DEFINE.
2866 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2867 the expanded body, consistently with other macros such as AC_USG.
2869 2003-11-17 Paul Eggert <eggert@twinsun.com>
2871 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2872 into the initial confdefs.h, to work around a bug in NextStep 3.3
2873 patch 3 reported by Eric Sunshine.
2875 2003-11-15 Kevin Ryde <user42@zip.com.au>
2877 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2878 than $target since the latter is not usual, add guidelines on when to
2879 use or not use the system type.
2881 2003-11-12 Derek Price <derek@ximbiot.com>
2883 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2884 typo misrepaired by an auto-spellcheck.
2886 2003-11-12 Akim Demaille <akim@epita.fr>
2888 * bin/autoreconf.in (&parse_args): Don't call automake with
2889 --force-missing unless it actually supports it.
2890 From Debian #219336.
2892 2003-11-12 Akim Demaille <akim@epita.fr>
2894 * configure.ac: Bump to 2.59a.
2897 2003-11-06 Akim Demaille <akim@epita.fr>
2901 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2903 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2904 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2905 and ac_abs_top_srcdir are absolute paths.
2906 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2908 2003-11-05 Akim Demaille <akim@epita.fr>
2910 * configure.ac: Bump to 2.58a.
2912 2003-11-05 Kevin Ryde <user42@zip.com.au>
2914 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2915 it provokes a warning from makeinfo about looking like a cross
2916 reference in info output.
2918 * doc/autoconf.texi (Function Portability): Add notes on signal
2919 handler return type, as per AC_TYPE_SIGNAL.
2921 2003-11-04 Akim Demaille <akim@epita.fr>
2924 * doc/standards.texi: Update from master.
2926 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2928 2003-11-04 Akim Demaille <akim@epita.fr>
2930 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2931 computing the absolute path to d1 in the source hierarchy: it may
2932 not exist at all. So don't cd into it.
2933 From Alexandre Duret-Lutz.
2934 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2936 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2937 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2938 * doc/autoconf.texi (Programming in M4sh): Document.
2939 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2941 2003-11-03 Pavel Roskin <proski@gnu.org>
2943 * doc/autoconf.texi (Generic Structure Checks): Describe
2944 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2946 2003-10-31 Akim Demaille <akim@epita.fr>
2948 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2950 * doc/autoconf.texi (Language Choice): Document.
2951 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2952 the current language is Fortran.
2954 2003-10-31 Akim Demaille <akim@epita.fr>
2956 * bin/autom4te.in (&freeze): Use a less likely warning separator
2957 than `\n\n', so that `\n\n\n' is valid in warnings.
2958 Reported by Steve Huston.
2960 2003-10-28 Akim Demaille <akim@epita.fr>
2962 * Makefile.cfg (local_updates, executable-update): Tweak to be
2963 robust to parallel makes.
2964 Suggested by Alexandre Duret-Lutz.
2966 2003-10-27 Akim Demaille <akim@epita.fr>
2968 * Makefile.cfg (executable-update): New.
2969 (local_updates): Call it.
2971 2003-10-27 Akim Demaille <akim@epita.fr>
2973 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2974 Don't remove core.* as it may remove valid user files.
2975 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2976 (AC_FUNC_UTIME_NULL): Likewise.
2978 2003-10-23 Akim Demaille <akim@epita.fr>
2981 * config/config.guess, config/config.sub: Upgrade from masters.
2983 2003-10-23 Akim Demaille <akim@epita.fr>
2985 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2986 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2989 2003-10-23 Akim Demaille <akim@epita.fr>
2991 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2992 Don't forget to remove conftest.err.
2994 2003-10-23 Akim Demaille <akim@epita.fr>
2996 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2997 same object file in $LIBOBJS.
2998 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2999 * doc/autoconf.texi (Generic Functions): Adjust.
3001 2003-10-20 Paul Eggert <eggert@twinsun.com>
3003 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
3004 Use 'eval', so that the resulting configure scripts work even if
3005 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
3007 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3009 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
3010 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
3011 (_AC_LINK_IFELSE): Check the werror flag.
3012 * doc/autoconf.texi (Generic Compiler Characteristics): Document
3016 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3018 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
3019 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
3020 override AC_LINK_IFELSE.
3022 2003-10-15 Paul Eggert <eggert@twinsun.com>
3024 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
3025 pdksh 5.2.14. Bug reported by Ralf Corsepius.
3026 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
3027 Mention /usr/dt/bin/dtksh on Solaris.
3028 (Shell Substitutions): Warn about $((...)).
3029 (Parentheses): New section.
3031 2003-10-15 Kevin Ryde <user42@zip.com.au>
3033 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
3034 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
3036 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
3038 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
3041 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
3043 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
3044 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
3046 2003-10-10 Andreas Schwab <schwab@suse.de>
3048 * bin/autoheader.in: Avoid empty first line in --version and
3050 * bin/ifnames.in: Likewise.
3052 2003-10-09 Paul Eggert <eggert@twinsun.com>
3054 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
3055 Issue a more-informative diagnostic.
3056 Problems reported by Eric Sunshine.
3058 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3060 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
3061 -mGLOB_options_string stuff for Intel ifc, which can cause
3062 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
3063 pattern-matching instead of grep.
3065 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3067 * doc/autoconf.texi: Document new FC Fortran macros.
3069 2003-10-08 Gary V. Vaughan <gary@gnu.org>
3071 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
3072 that future autopoint/aclocal/automake/autoreconf will be able
3073 to trace to find where to install local m4 macros.
3074 * doc/autoconf.texi (Input): Document it.
3077 2003-10-06 Gary V. Vaughan <gary@gnu.org>
3079 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
3080 -lcrtbegin.o to list of ignored flags and fix underquoting of
3083 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
3085 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
3086 cache variable instead of $G77 to decide whether to include -O2,
3087 since $G77 is specific to Fortran 77.
3089 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3091 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
3092 free" flag. Re-order flags tested into rough order of popularity.
3094 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3096 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
3097 arguments so that it can be used with syntax identical to
3098 AC_PROG_F77, and so that we can more easily decide to
3099 remove/deprecate the DIALECT optional argument in the future if it
3101 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
3102 non-freeform-supporting compilers. Document freeform flags.
3104 2003-10-03 Akim Demaille <akim@epita.fr>
3106 * configure.ac: Look for emacs, not macs.
3107 Reported by Eric Sunshine.
3109 2003-10-03 Akim Demaille <akim@epita.fr>
3111 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
3112 * bin/autoreconf.in (autoreconf_current_directory): Create the
3113 AUX_DIR if needed, for sake of automake --add-missing etc.
3114 Suggested by Alexandre Duret-Lutz.
3116 2003-10-03 Akim Demaille <akim@epita.fr>
3118 * configure.ac: Quotation and formatting changes.
3119 (EMACS): Don't set it if it is not recent enough to support
3123 2003-10-02 Akim Demaille <akim@epita.fr>
3125 * bin/ifnames.in (&scan_file): Skip C++ comments.
3128 2003-10-01 Pavel Roskin <proski@gnu.org>
3130 * doc/autoconf.texi (Particular Structure Checks):
3131 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
3133 2003-10-01 Akim Demaille <akim@epita.fr>
3137 2003-09-30 Paul Eggert <eggert@twinsun.com>
3139 * lib/Autom4te/XFile.pm: Use Errno.
3140 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
3141 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
3143 2003-09-30 Akim Demaille <akim@epita.fr>
3145 * config/announce-gen (&print_news_deltas): Extracted from...
3146 (&print_changelog_deltas): here.
3147 (&news_file): Rename as...
3150 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
3152 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
3153 have been created when invoking the compiler.
3154 * tests/fortran.at (GNU Fortran 77): Quote $G77.
3156 2003-09-29 Akim Demaille <akim@epita.fr>
3160 * config/mkinstalldirs: Upgrade.
3162 2003-09-28 Paul Eggert <eggert@twinsun.com>
3164 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
3165 Problem reported by Lars J. Aas in
3166 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
3167 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
3168 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
3169 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
3171 2003-09-26 Akim Demaille <akim@epita.fr>
3173 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
3174 directory for AC_CONFIG_COMMANDS' first argument exists.
3175 This makes valid the invocation of _AC_SRCPATH that follows.
3176 Reported by Eric Sunshine.
3177 * doc/autoconf.texi (Configuration Commands): Adjust.
3179 2003-09-26 Akim Demaille <akim@epita.fr>
3181 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
3182 Reported by Ralf Corsepius.
3184 2003-09-26 Akim Demaille <akim@epita.fr>
3186 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
3188 Actually, use AU_ALIAS.
3191 2003-09-26 Paul Eggert <eggert@twinsun.com>
3193 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
3194 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
3195 Problem reported by Eric Sunshine in:
3196 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
3198 2003-09-26 Akim Demaille <akim@epita.fr>
3200 The test suite are sometimes assigning timings incorrectly.
3201 Reported by Henk Krus.
3202 Diagnosed by Nicolas Joly.
3204 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
3206 Instead of making AT_help a sequence of assignments to grow
3207 $at_help_all, just make AT_help_all be the growing contents of
3208 $at_help_all, and make a single assignment in...
3210 (at_times_skip): Flip the meaning and rename as...
3212 (AT_INIT): When summarizing the test that ran, remove
3213 $at_times_file after use, and check it is present before trying to
3216 2003-09-25 Akim Demaille <akim@epita.fr>
3220 * bin/Makefile.am (edit): Handle '@configure_input@'.
3221 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
3222 (ifnames): chmod -w.
3223 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
3224 executables, not bin/ executables! Otherwise all the magic needed
3225 to find non installed files is turned off. This caused a failure
3226 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
3227 as found in its environment (sent by tests/autoreconf): pointing
3228 to bin/autom4te that could not find its files.
3229 * tests/mktests.sh: Force the replacement of generated files, for
3230 the sake of "mv" program that are interactive when overwriting a
3232 * config/install-sh: Upgrade from CVS Automake.
3234 2003-09-23 Paul Eggert <eggert@twinsun.com>
3236 * doc/autoconf.texi (Limitations of Builtins): Document test -h
3237 versus test -L issues.
3239 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
3240 Paul Eggert <eggert@twinsun.com>
3242 Trivial change to support GCC's configuration procedure.
3243 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
3244 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
3245 about inconsistency if the preprocessor is set to give errors for
3247 * doc/autoconf.texi (C Compiler Characteristics): Document this.
3249 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
3251 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
3252 and XFile.pm from Automake.
3253 * lib/Autom4te/XFile.pm: Update from Automake.
3255 2003-09-12 Akim Demaille <akim@epita.fr>
3259 2003-09-12 Akim Demaille <akim@epita.fr>
3261 * config/config.guess, config/config.sub, config/missing,
3262 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
3265 2003-09-12 Akim Demaille <akim@epita.fr>
3267 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
3270 2003-09-11 Akim Demaille <akim@epita.fr>
3272 * doc/autoconf.texi (Header Portability): linux/random.h.
3273 From Peter Hendrickson.
3275 2003-09-10 Akim Demaille <akim@epita.fr>
3277 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
3278 willing to edit the output files.
3280 2003-09-10 Akim Demaille <akim@epita.fr>
3282 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
3284 * tests/mktests.sh: Skip AC_FC_SRCEXT.
3285 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
3287 2003-09-09 Akim Demaille <akim@epita.fr>
3289 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
3290 Reported by Gary Vaughan.
3291 * bin/autom4te.in (handle_m4): Likewise.
3293 2003-09-09 Akim Demaille <akim@epita.fr>
3295 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
3298 2003-09-07 Paul Eggert <eggert@twinsun.com>
3300 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
3301 Improve the accuracy of the wording about obsolescence.
3302 From a suggestion by Ian Lance Taylor in
3303 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
3305 2003-09-05 Paul Eggert <eggert@twinsun.com>
3307 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
3308 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
3310 2003-09-04 Akim Demaille <akim@epita.fr>
3312 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
3315 2003-09-04 Akim Demaille <akim@epita.fr>
3317 * bin/autom4te.in: Use &fatal where more appropriate than &error.
3318 (freeze): When exiting, use $exit_code.
3319 * lib/autoconf/fortran.m4: Comment changes.
3321 2003-09-04 Akim Demaille <akim@epita.fr>
3323 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
3325 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
3327 Add support for newer Fortran dialects. The F77 interface is
3328 unchanged, and continues to support Fortran 77. New FC macros
3329 correspond to all the old F77 macros, with output variables FC,
3330 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
3331 available dialect, but older dialects can be specified. There are
3332 new macros AC_FC_SRCEXT to set the source extension, and
3333 AC_FC_FREEFORM to accept free-form source files.
3335 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
3337 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
3338 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
3339 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
3340 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
3341 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
3342 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
3343 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
3344 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
3345 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
3346 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
3347 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
3348 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
3349 AC_FC_SRCEXT, AC_FC_FREEFORM):
3351 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
3352 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
3353 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
3354 Rewrite in terms of the above.
3355 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
3356 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
3357 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
3358 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
3360 2003-09-02 Paul Eggert <eggert@twinsun.com>
3362 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
3363 Document problems with timestamp resolution that 'make', 'cp -p', and
3366 2003-08-27 Akim Demaille <akim@epita.fr>
3368 * tests/m4sugar.at (cross_warning): Make sure to enable the
3369 output, so that we can track spurious m4sugar output.
3370 * tests/local.at: Require 2.57.
3371 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
3372 are defaulted by AT_CHECK anyway.
3373 Use AT_CHECK_AUTOM4TE.
3374 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
3377 2003-08-27 Akim Demaille <akim@epita.fr>
3379 * bin/autoheader.in: Issue the "Using auxiliary..." message only
3380 when -Wobsolete is set.
3381 Set it on by default.
3382 Suggested by Klee Dienes.
3384 2003-08-27 Akim Demaille <akim@epita.fr>
3386 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
3390 2003-08-26 Akim Demaille <akim@epita.fr>
3392 * doc/autoconf.texi (Output): Make clear that one can run code
3395 2003-08-25 Akim Demaille <akim@epita.fr>
3397 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
3400 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
3402 * bin/autoreconf.in (parse_args): Do not pass --no-force to
3403 Automake versions prior to 1.8.
3405 2003-08-25 Akim Demaille <akim@epita.fr>
3407 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
3410 2003-08-24 Akim Demaille <akim@epita.fr>
3412 * configure.ac: Bump to 2.57c.
3414 2003-08-22 Akim Demaille <akim@epita.fr>
3418 * Makefile.cfg (local-checks-to-skip): New.
3419 * Makefile.maint (local-check): Rename as...
3420 (local-checks-available): this.
3423 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
3424 * configure.ac: Require Automake 1.7.6.
3426 2003-08-22 Akim Demaille <akim@epita.fr>
3428 Output stack traces in warnings.
3430 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
3431 Replace the former...
3432 (m4_warn): Pass the call stack to _m4_warn.
3433 * bin/autom4te.in: Adjust to output the call stack.
3434 * tests/m4sugar.at (m4@&t@_warn): Adjust.
3436 2003-08-22 Akim Demaille <akim@epita.fr>
3438 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
3439 * bin/autom4te.in: Adjust.
3441 2003-08-21 Akim Demaille <akim@epita.fr>
3443 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
3445 (&getopt): Adjust the note and verb channels, depending upon
3447 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
3448 * bin/autoupdate.in: Adjust.
3449 Use &verb, not &verbose.
3451 2003-08-21 Akim Demaille <akim@epita.fr>
3453 * bin/autoheader.in (&parse_args): Use &parse_warnings and
3455 ($help): Use Autom4te::ChannelDefs::usage.
3456 * bin/autoscan.in: Use Autom4te::ChannelDefs.
3457 * lib/Autom4te/General.pm: Don't export error: you don't own it.
3459 2003-08-21 Akim Demaille <akim@epita.fr>
3461 First stab at preserving warnings between calls to autom4te,
3462 including when the cache is used.
3464 There are still several issues: (i) there are too many runs of m4
3465 (one for include, one for warnings, and some more), (ii) warnings
3466 spreading on several lines are not handled gracefully, (iii) the
3467 code meant to have the call stack display for errors does not work
3468 (its handling should move from m4 to autom4te).
3470 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
3472 (@preselect): Add m4_warn.
3473 ($exit_status): Remove, use $exit_code.
3474 ($help): Use Autom4te::ChannelDefs::usage.
3475 (&handle_m4): No longer define the m4_warnings.
3476 At each run, extract and report the warnings.
3477 Always cache the result, including if the exit status is on
3478 failure, since if nothing changes, we should result in the same
3479 failure, hence we can use the cache.
3480 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
3481 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
3483 (m4_warn): Redefine as a do-nothing: it is its invocation that
3484 matters, as warnings are now reported via traces.
3485 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
3486 the contents of m4_warn: make it _call_ m4_warn, so that tracing
3487 the latter reveals calls to the former.
3491 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
3493 2003-08-21 Akim Demaille <akim@epita.fr>
3495 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
3498 2003-08-21 Akim Demaille <akim@epita.fr>
3500 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
3502 * lib/Autom4te/ChannelDefs.pm: Doc typos.
3503 (&parse_warnings): Accept a list of warning requests.
3504 (&usage): Return a string, not a side effect.
3505 (cross): New warning category.
3507 2003-08-21 Akim Demaille <akim@epita.fr>
3509 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
3510 (&require_configure_ac): Accept an optional directory argument.
3511 ($configure_ac): Remove.
3512 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
3514 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
3515 * bin/autoscan.in: Adjust.
3517 2003-08-20 Akim Demaille <akim@epita.fr>
3519 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
3520 Reported by Alexandre Duret-Lutz.
3522 2003-08-20 Akim Demaille <akim@epita.fr>
3524 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
3525 * bin/autom4te: Adjust.
3526 In particular, be Autoconf tools are really silent when properly
3527 working, bind the verbosity of the 'note' channel to $verbose.
3528 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
3529 (&xsystem, &contents): Remove, since they are exported by...
3530 * lib/Autom4te/FileUtils.pm: this.
3532 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
3533 * lib/Autom4te/FileUtils.pm: here.
3535 2003-08-20 Akim Demaille <akim@epita.fr>
3537 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
3538 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
3541 2003-08-20 Akim Demaille <akim@epita.fr>
3543 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
3544 (autom4te-update): New.
3545 * Makefile.cfg (update): Bind autom4te-update.
3547 2003-08-19 Derek Price <derek@ximbiot.com>
3549 * lib/autotest/general.m4: Comment various HELP_* diversions.
3550 (PARSE_ARGS_BEGIN): New section for option parsing related
3552 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
3553 package specific options and associated help.
3555 2003-08-19 Akim Demaille <akim@epita.fr>
3557 * config/announce-gen, Makefile.cfg: New.
3558 * Makefile.am: Adjust.
3559 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
3561 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3563 * lib/autom4te.in (Automake-preselections): Preselect
3564 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
3567 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3569 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
3570 (Autoconf-without-aclocal-m4): ... this new language.
3571 * doc/autoconf.texi (autom4te Invocation): Mention
3572 Autoconf-without-aclocal-m4.
3574 2003-08-18 Derek Price <derek@ximbiot.com>
3576 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
3577 RUN-IF-PASS optional arguments.
3579 2003-08-18 Derek Price <derek@ximbiot.com>
3581 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
3583 2003-08-16 Derek Price <derek@ximbiot.com>
3585 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
3586 STDOUT & STDERR arguments.
3588 2003-08-14 Derek Price <derek@ximbiot.com>
3590 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
3591 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
3592 shorter column three. Add DESCRIPTION to log file content.
3594 2003-08-13 Derek Price <derek@ximbiot.com>
3596 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
3599 2003-08-12 Derek Price <derek@ximbiot.com>
3601 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
3602 (AT_CHECK_NOESCAPE): Move core functionality to...
3603 (_AT_CHECK): ...this new macro.
3605 2003-08-07 Derek Price <derek@ximbiot.com>
3607 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
3608 (AT_CHECK_NOESCAPE): ...to this new macro.
3610 2003-07-31 Paul Eggert <eggert@twinsun.com>
3612 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
3613 in Bash 2.01. Problem reported by Brian Gough in
3614 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
3616 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
3618 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
3619 -lcrt1.o, for OS X. (trivial change)
3621 2003-07-07 Paul Eggert <eggert@twinsun.com>
3623 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
3624 inside '#ifndef __cplusplus'. Problem reported by
3627 2003-07-06 Bill Clarke <llib@computer.org>
3629 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
3630 'long', not 'int', for benefit of Sun's recent C++ compilers
3631 (trivial change). See:
3632 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
3633 (This really should be 'intptr_t', not 'long', but that would
3636 2003-06-25 Akim Demaille <akim@epita.fr>
3638 * lib/Makefile.am (autom4te.cfg): Make it read only.
3639 Depend on Makefile since it contains substitutions.
3641 * lib/autom4te.in (args): Add local.at? for Autotest args.
3642 This change was made on autom4te.cfg which is generated.
3643 Reported by Raja R. Harinath.
3645 2003-06-25 Akim Demaille <akim@epita.fr>
3647 * doc/autoconf.texi (Header Portability): sys/mount.h.
3648 From Gareth McCaughan.
3650 2003-06-23 Akim Demaille <akim@epita.fr>
3652 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
3653 not all of them. This fixes 1. the fact that when testing
3654 Autoconf there are many many config.log, 2. the incorrect use of
3655 top_srcdir to find config.log.
3656 Don't mix the detailed output of failed test with the summary of
3657 failures. Rather, append detailed log afterwards.
3659 2003-06-23 Akim Demaille <akim@epita.fr>
3661 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
3662 always run: output config.log on $at_group_log.
3664 2003-06-23 Akim Demaille <akim@epita.fr>
3666 * tests/torture.at (#define header templates): Don't use quotes in
3667 C++ comments as it puzzles Emacs' sh font-lock-mode.
3669 2003-06-23 Akim Demaille <akim@epita.fr>
3671 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
3672 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
3673 * tests/atspecific.m4: Rename as...
3674 * tests/local.at: This.
3675 * tests/suite.at: Move the globals into...
3676 * tests/local.at: here.
3677 * tests/Makefile.am: Adjust.
3678 * doc/autoconf.texi (testsuite Scripts): Adjust.
3680 2003-06-21 Kevin Ryde <user42@zip.com.au>
3682 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
3683 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
3684 ensuring we add -std1 for full-ANSI.
3686 * doc/autoconf.texi (hdrindex): New macro.
3687 Add index entries for portability of various standard header files.
3689 2003-06-20 Akim Demaille <akim@epita.fr>
3691 * configure.ac: Bump to 2.57b.
3693 2003-06-20 Akim Demaille <akim@epita.fr>
3697 2003-06-20 Akim Demaille <akim@epita.fr>
3699 * bin/autom4te.in: Don't rely on $HOME being defined.
3700 Reported by Marc Espie as PR/233.
3702 2003-06-20 Akim Demaille <akim@epita.fr>
3704 * lib/autotest/general.m4: Use at_times_file only if used.
3707 2003-06-20 Akim Demaille <akim@epita.fr>
3709 * config/config.guess, config/config.sub, config/elisp-comp,
3710 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3711 Update from masters.
3713 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3715 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3716 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3717 (TEST_SCRIPT): New diversion.
3718 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3719 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3720 (AT_INIT): Support for expected failures.
3722 2003-06-02 Akim Demaille <akim@epita.fr>
3724 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3726 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3727 Autoconf nor Automake.
3728 (&contents): New, from Automake.
3731 2003-05-28 Paul Eggert <eggert@twinsun.com>
3733 * NEWS, doc/autoconf.texi (Particular Functions),
3734 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3735 is the inverse of localtime.
3737 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3739 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3740 (handle_exec_errors): New function. Work around $! being
3741 altered by WEXITSTATUS.
3742 (xqx, xsystem): Use handle_exec_errors.
3744 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3746 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3747 Do not call `_exit()', simply modify `$?'.
3748 (xsystem): Reset $! before running system, and check it afterward.
3749 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3750 63 for version mismatches.
3752 2003-05-23 Akim Demaille <akim@epita.fr>
3754 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3755 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3756 the middle of a line).
3757 * lib/m4sugar/m4sugar.m4: Likewise.
3758 Remove useless spaces in comments.
3760 2003-05-23 Akim Demaille <akim@epita.fr>
3762 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3763 exit 63, so that we (or Automake's "missing") can tell the
3764 difference with a plain failure.
3765 * doc/autoconf.texi (Notices): Adjust.
3767 2003-05-23 Akim Demaille <akim@epita.fr>
3769 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3770 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3771 White spaces cleanup.
3773 2003-05-22 Jim Meyering <jim@meyering.net>
3774 Paul Eggert <eggert@twinsun.com>
3776 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3777 Remove `#include <stdlib.h>' from the list; we should never
3778 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3779 resulting namespace pollution would cause other tests to fail.
3780 Configure scripts run with some older versions of g++ and HP's
3781 aCC would fail due to such an #include. Problems reported by
3782 Matthew Mueller in <http://bugs.debian.org/120704> and by
3784 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3785 In the test, use the test declaration before including <stdlib.h>,
3786 as that's closer to how it'll be used.
3788 2003-05-23 Akim Demaille <akim@epita.fr>
3790 * doc/autoconf.texi (Header Portability): ucred.h.
3793 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3795 Overhaul Autotest's logging: generate separate log files
3796 in testsuite.dir/NNN/testsuite.log, and append them to
3797 testsuite.log instead of re-running the test verbosely.
3799 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3800 file descriptor, write 0 to at_status_file instead of setting
3801 at_status=0, initialize some new variables (at_status_file,
3802 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
3803 to rerun the tests, instead append the at_group_log to the
3804 at_suite_log when a test fails.
3805 (AT_SETUP): pipe the test case's output into at_tee_pipe,
3806 with the AS_MESSAGE_LOG_FD redirected to stdout.
3807 (AT_CLEANUP): save the output status in $at_status_file
3808 and restore it, redirect the AS_MESSAGE_LOG_FD back to
3810 (AT_CHECK): since tests are run with a redirected stdout,
3811 and used to be re-run in verbose mode, turn some $at_verbose
3812 into echo, and don't redirect the output of testing stdout
3815 * lib/autotest/autoconf.texi (testsuite Scripts): Update
3816 the name of the debugging directory and information about
3819 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3821 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3824 2003-05-22 Akim Demaille <akim@epita.fr>
3826 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3827 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3828 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3829 * lib/autoconf/status.m4: Fix and adjust copyright notices.
3831 2003-05-22 Akim Demaille <akim@epita.fr>
3833 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3834 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3835 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3836 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3837 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3838 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3839 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3840 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3841 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3842 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3843 * tests/tools.at, tests/torture.at:
3844 Whitespace clean up.
3845 Suggested by Jim Meyering.
3847 2003-05-22 Akim Demaille <akim@epita.fr>
3849 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3850 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3851 Reported by Jim Meyering.
3853 2003-05-22 Akim Demaille <akim@epita.fr>
3855 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3856 Add AC_HELP_STRING to the obsolete macros section.
3858 Use '@.' for sentences that ended in a capital letter.
3861 2003-05-22 Akim Demaille <akim@epita.fr>
3863 * config/config.guess, config/config.sub, config/elisp-comp,
3864 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3865 * config/texinfo.tex, doc/standards.texi: Update from masters.
3867 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3869 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3872 2003-05-21 Akim Demaille <akim@epita.fr>
3874 * bin/autoupdate.in ($m4): Fix quotation.
3875 Reported by Martin Mokrejs.
3877 2003-05-19 Paul Eggert <eggert@twinsun.com>
3879 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3880 Remove non-ASCII characters.
3882 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3884 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3885 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3886 AC_CHECK_HEADERS_NEW): New tests.
3888 2003-05-17 Akim Demaille <akim@epita.fr>
3890 * lib/autoconf/functions.m4: Use the default includes so that
3891 memcmp be declared before being tested.
3892 Reported by Sander Niemeijer.
3893 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3894 * doc/autoconf.texi (Default Includes): Document
3895 AC_INCLUDES_DEFAULT.
3897 2003-05-17 Akim Demaille <akim@epita.fr>
3899 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3900 * doc/autoconf.texi (Obsolete Macros): Adjust.
3901 Reported by Werner LEMBERG and Debian Bug 190886.
3903 2003-05-16 Akim Demaille <akim@epita.fr>
3905 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3906 user name space clashes.
3907 Reported by Bruno Haible.
3909 2003-05-16 Akim Demaille <akim@epita.fr>
3911 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3912 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3913 them uniform, and more robust to Perl special characters.
3914 Reported by Martin Mokrejs.
3916 2003-05-14 Akim Demaille <akim@epita.fr>
3918 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3920 2003-05-14 Akim Demaille <akim@epita.fr>
3922 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3925 2003-05-12 Akim Demaille <akim@epita.fr>
3927 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3929 From Matthias Andree.
3931 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3933 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3936 2003-05-06 Akim Demaille <akim@epita.fr>
3938 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3939 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3940 by aclocal.m4 is changed it might require the importing of another
3941 m4 extension file, i.e., aclocal must be run.
3943 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3944 (&parse_args): Use --force with aclocal if required and supported.
3945 (&autoreconf_current_directory): Use &run_aclocal.
3947 2003-05-06 Akim Demaille <akim@epita.fr>
3949 Lock autom4te's cache.
3951 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3952 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3953 argument instead of a file name, so that the request file remains
3954 open during the whole autom4te run.
3955 ($icache_file): New.
3956 (&freeze): Lock the $icache_file.
3958 2003-04-29 Derek Price <derek@ximbiot.com>
3960 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3961 seperator with m4_append_uniq(). It doesn't work.
3962 (AT_CLEANUP): Add `;' to end of at_help_all.
3963 (AT_INIT): Allow --keywords to be specified more than once. When
3964 grepping $at_help_all for keywords, use the field and keyword
3965 seperators to ensure a complete keyword match. Alter at_prev handling
3966 to support the new --keywords behavior.
3968 2003-04-27 Karl Berry <karl@freefriends.org>
3970 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3971 align better with others. I also made some of the individual
3972 entries on one line, for brevity and to make it easier for me to
3973 sort my dir-example file in the Texinfo distribution :).
3975 2003-04-12 Jim Meyering <jim@meyering.net>
3977 * NEWS: Mention the new macro.
3978 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3979 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3980 * tests/c.at: Test AC_C_RESTRICT.
3981 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3983 2003-04-08 Akim Demaille <akim@epita.fr>
3985 * bin/ifnames.in: Skip C++ comments.
3988 2003-04-08 Akim Demaille <akim@epita.fr>
3990 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3991 From Ilya Zakharevich.
3993 2003-04-08 Akim Demaille <akim@epita.fr>
3995 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3998 2003-04-01 Derek Price <derek@ximbiot.com>
4000 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
4001 from Akim's checkin of 2003-03-29.
4003 2003-04-01 Derek Price <derek@ximbiot.com>
4005 * tests/torture.at (Configuring subdirectories): Add missing
4006 close-quote for Akim's change from 2003-03-28.
4008 2003-04-01 Akim Demaille <akim@epita.fr>
4010 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
4011 (AC, AT, MS): these.
4012 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
4015 * doc/Makefile.am (CLEANFILES): Adjust.
4016 (TEXI2DVI): Make it --batch.
4018 2003-03-31 Derek Price <derek@ximbiot.com>
4020 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
4021 which removed the main loop.
4022 Thanks to Akim Demaille.
4024 2003-03-29 Akim Demaille <akim@epita.fr>
4026 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
4028 From Ilya Zakharevich.
4030 2003-03-29 Akim Demaille <akim@epita.fr>
4032 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
4033 documentation to read is Autoconf's.
4034 Suggested by Paul Eggert.
4036 2003-03-28 Akim Demaille <akim@epita.fr>
4038 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
4039 reading the section "Present But Cannot Be Compiled" when the
4040 header causes problems.
4042 2003-03-28 Akim Demaille <akim@epita.fr>
4044 * tests/torture.at (Configuring subdirectories): Require aclocal
4045 1.4, otherwise the test fails, as it does support configure.ac.
4046 This fixes the "test 40 failed" bug reports.
4048 2003-03-28 Akim Demaille <akim@epita.fr>
4050 * doc/autoconf.texi (C Compiler): `#line' portability.
4051 From Paul Eggert and Nelson H. F. Beebe.
4053 2003-03-27 Derek Price <derek@ximbiot.com>
4055 * lib/autotest/general.m4: Eliminate main loop and reorganize test
4056 layout in order to allow scripting around test groups.
4058 2003-03-27 Derek Price <derek@ximbiot.com>
4060 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
4061 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
4062 use new diversions in preparation for accepting new arguments and
4063 allowing scripting around tests.
4064 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
4066 2003-03-26 Derek Price <derek@ximbiot.com>
4068 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
4069 obsolete AC_HELP_STRING.
4070 (AC_HELP_STRING): AU_DEFUN to...
4071 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
4072 * tests/m4sh.at (AS_HELP_STRING): New test.
4074 * tests/acgeneral.at: Regenerated.
4076 2003-03-26 Derek Price <derek@ximbiot.com>
4078 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
4079 sense. Verbosify the diversion definitions comment.
4081 2003-03-26 Derek Price <derek@ximbiot.com>
4083 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
4086 2003-03-21 Eric Siegerman <eric_97@pobox.com>
4088 * doc/autoconf.texi (Present But Cannot Be Compiled):
4089 Grammar fixes and minor rewording. (trivial change)
4091 2003-03-06 Paul Eggert <eggert@twinsun.com>
4093 Work around a problem noted by Nelson H. F. Beebe with coreutils
4094 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
4095 2002/05/09) rejects '#line 32768 "configure"' because the line
4097 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
4099 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
4100 * doc/autoconf.texi (Generating Sources): Document this.
4102 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
4104 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
4105 file name for the m4 program, when it has an "exe" file extension.
4106 DJGPP's error messages include the error code in brackets -
4107 remove the error code during normalization.
4109 2003-02-28 Akim Demaille <akim@epita.fr>
4111 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
4113 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
4115 * doc/autoconf.texi (Limitations of Make): Remove the section
4116 about `$<' in inference rules, it was a bogus interpretation of
4117 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
4118 Tru64 make in the "target lookup" section.
4119 (Automake): Automake 1.5+ no longer requires special tools to be
4120 present on the developer's host.
4122 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
4124 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
4125 to a shell that can handle redirection or quoting correctly.
4126 Override SHELL with the shell detected by configure.
4127 Use of $^O suggested by Tim van Holder.
4128 * bin/autom4te.in (BEGIN): Likewise.
4129 * bin/autoreconf.in (BEGIN): Likewise.
4130 * bin/autoscan.in (BEGIN): Likewise.
4131 * bin/autoupdate.in (BEGIN): Likewise.
4132 * bin/ifnames.in (BEGIN): Likewise.
4134 * bin/ifnames.in: Add final newline to help and version messages.
4136 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
4137 to cope with DOS-style absolute paths, when constructing
4140 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
4141 When constructing paths with IFS=:, quote the path. If we're
4142 constructing a DOS-style absolute path, we don't want to split it
4145 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
4148 2003-02-25 Pavel Roskin <proski@gnu.org>
4150 * bin/autoheader.in: Add missing newline when printing
4151 suggestion how change AC_DEFINE call.
4153 2003-02-24 Paul Eggert <eggert@twinsun.com>
4155 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
4156 2002-09-01 patch by replacing "test -n" with "test -z".
4157 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
4158 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
4160 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
4161 to fix a mismatch between example and discussion.
4163 2003-02-24 Kevin Ryde <user42@zip.com.au>
4165 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
4166 format starting with "-".
4168 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4170 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
4171 is not portable inside Makefile.
4173 2003-02-20 Akim Demaille <akim@epita.fr>
4175 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
4176 compiler says yeah, but preproc says nope, compiler is right.
4177 Conversely, prompt the reader to send a bug report to the
4178 maintainers of the package, not of Autoconf.
4180 2003-02-20 Klee Dienes <kdienes@apple.com>
4182 * bin/autoreconf.in (autoreconf_current_directory): Properly
4183 handle an empty aclocal.m4.
4185 2003-02-20 Akim Demaille <akim@epita.fr>
4187 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
4191 2002-12-23 Paul Eggert <eggert@twinsun.com>
4193 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
4194 innocuous variant befor including <limits.h> or <assert.h>. This
4195 works around a bug reported by Albert Chin: HP-UX 11i
4196 (and earlier versions) have a <limits.h> that declares
4197 gettimeofday and many other functions.
4199 2002-12-03 Paul Eggert <eggert@twinsun.com>
4203 * NEWS, configure.ac: Update version.
4205 * doc/fdl.texi: Upgrade to FDL version 1.2.
4207 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
4208 nontrivially in main's body, so that f's external declaration is
4209 not optimized away in AIX. This should fix the bug reported by
4211 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
4213 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
4214 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
4215 defined, to support freestanding compilers. This should fix the
4216 bug reported by Momchil Velkov in
4217 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
4219 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
4220 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
4221 obsolete AC_CHECK_TYPE. The missing empty arg was reported
4222 by Simon Josefsson in
4223 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
4225 * Makefile.maint (www-gnu): New macro.
4226 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
4227 the location has moved.
4229 2002-12-02 Martin Frydl <martin@systinet.com>
4231 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
4232 \(.*\) match is too long and there is something more to be checked.
4233 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
4235 2002-11-15 Akim Demaille <akim@epita.fr>
4239 * config/install-sh: chmod +x.
4241 * config/move-if-change: Indenting changes.
4242 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
4243 * configure.ac (AM_INIT_AUTOMAKE): here.
4246 2002-11-14 Akim Demaille <akim@epita.fr>
4250 * config/config.guess, config/config.sub, config/install-sh:
4251 Update from masters.
4253 2002-11-14 Akim Demaille <akim@epita.fr>
4255 * Makefile.maint: Sync with Bison, i.e.:
4256 (po-check): Scan .l and .y files instead of the
4257 .c and the .h files that they generate. This fixes the bug
4258 reported by Tim Van Holder in:
4259 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
4260 Look for N_ as well as for _. Try to avoid matching #define for
4264 2002-11-14 Akim Demaille <akim@epita.fr>
4266 * doc/autoconf.texi (C Compiler): Compiling several files at once.
4267 From Paul Eggert and Albert Chin-A-Young.
4269 2002-11-14 Akim Demaille <akim@epita.fr>
4271 * doc/autoconf.texi (C Compiler): Solitary backslashes.
4272 From Paul Eggert and Albert Chin-A-Young.
4274 2002-11-14 Kevin Ryde <user42@zip.com.au>
4276 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
4277 than assigning in main, to avoid HP cc +O3 optimizing it away.
4279 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
4281 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
4282 option. Process --recheck after parsing all options. Pass -q
4283 option to configure on --recheck.
4284 (AC_OUTPUT): Pass -q from configure to config.status.
4285 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
4286 arguments to record.
4287 * doc/autoconf.texi (config.status Invocation): Document
4288 config.status -q option.
4290 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
4292 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
4293 Makefile.in if Makefile.am exists.
4294 (output): Strip `.am' from Makefiles. Don't
4295 output AC_CONFIG_FILES if no Makefiles were found.
4297 2002-11-07 Akim Demaille <akim@epita.fr>
4299 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
4300 (local_updates): New.
4301 * Makefile.maint: Update, from CVS Bison.
4302 (local_updates): New.
4304 2002-11-06 Akim Demaille <akim@epita.fr>
4306 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
4307 declaration in extern "C" too.
4308 Reported by Roberto Bagnara.
4310 2002-11-06 Akim Demaille <akim@epita.fr>
4312 * tests/torture.at (Configuring subdirectories): Don't use grep
4314 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
4315 Reported by Ezra Peisach.
4317 2002-11-05 Akim Demaille <akim@epita.fr>
4319 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
4321 We _have_ to stop using the old compatibility scheme that tried to
4322 avoid useless backslashes because Libtool 1.4.3 contains a
4323 AC_DEFINE([error_t], [int],
4324 [Define to a type to use for \`error_t' if it is not
4325 otherwise available.])
4326 We _have_ to quote the single quote and backslashes with \. The
4327 old compatibility scheme saw that ` was backslashed, and therefore
4328 did not quote the single quote. Hence before this patch, Autoconf
4329 was not compatible with Libtool.
4331 2002-11-04 Paul Eggert <eggert@twinsun.com>
4333 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
4334 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
4335 LC_NAME, LC_PAPER, LC_TELEPHONE.
4336 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
4338 2002-11-04 Akim Demaille <akim@epita.fr>
4342 * Makefile.maint (update, cvs-update, po-update, do-po-update):
4344 * config/texinfo.tex: Update.
4346 2002-11-03 Akim Demaille <akim@epita.fr>
4348 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
4350 (&autoreconf): here.
4351 ($help, $make, &parse_args, &autoreconf_current_directory):
4353 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4355 2002-10-31 Bruno Haible <bruno@clisp.org>
4357 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
4358 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
4359 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
4360 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
4361 to ac_cv_func_realloc_0_nonnull.
4362 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
4364 2002-10-31 Akim Demaille <akim@epita.fr>
4366 The test suite was no longer checking for trailing envvars and files.
4368 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
4369 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
4371 2002-10-31 Akim Demaille <akim@epita.fr>
4373 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
4374 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
4375 Make variable, not a shell variable.
4376 Suggested by Bruno Haible.
4378 2002-10-31 Akim Demaille <akim@epita.fr>
4380 * bin/autom4te.in (load_configuration): Reject #args out of any
4383 2002-10-31 Akim Demaille <akim@epita.fr>
4385 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
4386 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
4387 (_AC_RUN_IFELSE): Use it.
4388 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
4389 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
4390 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
4393 2002-10-30 Akim Demaille <akim@epita.fr>
4395 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
4396 * doc/autoconf.texi (autom4te Invocation): Adjust.
4397 Suggested by Tim van Holder.
4399 2002-10-29 Paul Eggert <eggert@twinsun.com>
4401 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
4402 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
4403 Problem reported by Bruno Haible.
4405 2002-10-29 Akim Demaille <akim@epita.fr>
4407 * doc/autoconf.texi (Header Templates): Put also in words what the
4408 pictures says to assist free style readers.
4409 (Customizing autom4te): s/--cache=/--cache /.
4411 2002-10-29 Akim Demaille <akim@epita.fr>
4413 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
4415 sparc_address_test returns void.
4416 Use it with an argument, as prototyped.
4419 2002-10-29 Akim Demaille <akim@epita.fr>
4421 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
4422 configure.in, not configure.ac.
4423 Reported by Bruno Haible.
4425 2002-10-29 Akim Demaille <akim@epita.fr>
4427 * tests/torture.at (Deep Package): New test.
4428 (Configuring subdirectories): Don't use a testSubDir as Autotest
4431 2002-10-29 Akim Demaille <akim@epita.fr>
4433 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
4434 * doc/autoconf.texi (Invoking autom4te): Rename as...
4435 (autom4te Invocation): this, for consistency with the other nodes.
4437 2002-10-29 Akim Demaille <akim@epita.fr>
4439 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
4440 Reported by Ralf Corsepius.
4442 2002-10-29 Akim Demaille <akim@epita.fr>
4444 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4445 characters is a back as an `obsolete' warning now.
4446 Reported by Ralf Corsepius.
4448 2002-10-28 Akim Demaille <akim@epita.fr>
4450 * configure.ac: Bump to 2.54c.
4452 2002-10-28 Akim Demaille <akim@epita.fr>
4456 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
4458 2002-10-28 Akim Demaille <akim@epita.fr>
4460 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
4461 m4 executable names, and different GNU M4 version.
4462 Reported by Ezra Peisach and Paul Jarc.
4464 2002-10-27 Akim Demaille <akim@epita.fr>
4466 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
4469 2002-10-27 Akim Demaille <akim@epita.fr>
4471 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
4472 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
4473 Die when a simple Fortran program cannot be compiled.
4474 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
4475 Issue a warning if no function is given.
4477 2002-10-27 Akim Demaille <akim@epita.fr>
4479 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
4480 Move the documentation of AC_TRY_RUN to...
4481 (Obsolete Macros): here.
4482 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
4483 (autoconf Invocation): Remove the duplicates with `invoking
4485 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
4486 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4488 2002-10-27 Akim Demaille <akim@epita.fr>
4490 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
4491 and AC_LANG_FUNC_LINK_TRY.
4492 (Examining Libraries): Rename as...
4493 (Running the Linker): this.
4494 Document AC_LINK_IFELSE.
4495 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
4496 (Obsolete Macros): here.
4497 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
4498 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
4499 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
4500 * lib/autoconf/headers.m4 (AC_USG): Likewise.
4502 2002-10-27 Akim Demaille <akim@epita.fr>
4504 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
4506 More `check config.log' messages.
4508 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
4509 * doc/autoconf.texi (Printing Messages): Document it.
4510 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
4512 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
4513 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
4514 (_AC_COMPILER_OBJEXT): Likewise.
4515 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
4516 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
4518 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
4521 Deprecate macros with unusual interfaces.
4523 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
4524 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
4526 Document the new ones, and proper style.
4528 * doc/autoconf.texi (Generating Sources): New.
4529 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
4530 (Examining Declarations): Rename as...
4531 (Running the Preprocessor): this.
4532 Document AC_PREPROC_IFELSE.
4533 (Examining Syntax): Rename as...
4534 (Running the Compiler): this.
4535 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
4536 (Obsolete Macros): Move the definition of AC_TRY_CPP and
4537 AC_TRY_COMPILE here.
4539 2002-10-27 Akim Demaille <akim@epita.fr>
4541 Move sections around.
4543 * doc/autoconf.texi (Customizing autom4te): Remove a lost
4545 Reported by Burno Haible.
4546 (Language Choice): Now the first section of...
4547 (Writing Tests): this section.
4548 Make the introduction less C-centric.
4549 (Guidelines, Test Functions): Move to...
4550 (Writing Test Programs): this new section.
4551 (Test Programs): Merge into...
4554 2002-10-27 Akim Demaille <akim@epita.fr>
4556 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
4557 autom4te.in that resulted in the need for two `make' runs.
4559 2002-10-27 Akim Demaille <akim@epita.fr>
4561 * configure.ac: Bump to 2.54b.
4563 2002-10-25 Akim Demaille <akim@epita.fr>
4567 * Makefile.maint: Update from the Coreutils.
4568 (AMTAR): Remove, obsolete.
4569 (automake_repo): Update to redhat.com.
4571 Adjust to the fact that ansi2knr is now hosted by Automake.
4572 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
4573 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
4574 Update from masters.
4575 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
4576 autoscan.pre is not to be installed, and autoscan.list is not to
4578 (CLEANFILES): Add autoscan.list.
4579 (autoscan.list): Disable the cache.
4580 * bin/Makefile.am: Include freeze.mk.
4582 2002-10-25 Akim Demaille <akim@epita.fr>
4584 * bin/autom4te.in (&load_configuration): Take the file as
4586 (&parse_args): Handle -C, --cache.
4588 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
4589 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
4590 * doc/autoconf.texi (Invoking autom4te): Document --cache.
4591 Now a subsection of...
4592 (Using autom4te): This new section.
4593 (Customizing autom4te): New.
4594 (autom4te.cache): Adjust.
4596 2002-10-25 Akim Demaille <akim@epita.fr>
4598 * doc/autoconf.texi (Generic Headers): More information on how to
4599 use AC_CHECK_HEADERS.
4601 2002-10-25 Akim Demaille <akim@epita.fr>
4603 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
4606 2002-10-25 Akim Demaille <akim@epita.fr>
4608 * bin/autoscan.in (output): Output AC_PREREQ.
4609 (%needed_macros): Add AC_PREREQ so that configure.ac without one
4612 2002-10-23 Akim Demaille <akim@epita.fr>
4614 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
4617 2002-10-23 Akim Demaille <akim@epita.fr>
4619 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
4620 Reported by Peter Eisentraut.
4622 2002-10-23 Akim Demaille <akim@epita.fr>
4624 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
4627 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
4628 Eggert's recommandations.
4630 2002-10-22 Akim Demaille <akim@epita.fr>
4632 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
4633 Bison, by Paul Eggert.
4634 * doc/autoconf.texi (Particular Headers): Document it.
4636 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
4638 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
4639 `$ac_configure_args'.
4641 2002-10-22 Akim Demaille <akim@epita.fr>
4643 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
4644 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
4647 2002-10-22 Akim Demaille <akim@epita.fr>
4649 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
4651 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4652 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
4653 (_AC_CHECK_HEADER_NEW): Rename as...
4654 (AC_CHECK_HEADER): this.
4656 2002-10-22 Akim Demaille <akim@epita.fr>
4658 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
4659 words about HP-UX cmp: it was actually a user-written cmp.
4661 2002-10-22 Akim Demaille <akim@epita.fr>
4663 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
4665 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4666 Quote for Perl '' strings, not "".
4667 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
4670 2002-10-22 Akim Demaille <akim@epita.fr>
4672 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4673 characters is a syntax warning now.
4674 (_AS_QUOTE): Accept $2 as list of characters to quote.
4675 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4676 Quote for Perl, not sh.
4677 * bin/autoheader.in: When $debug, report the file which is
4679 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
4680 `@', to tickle Perl's lists.
4681 Reported by Carlos Velasco.
4683 2002-10-18 Akim Demaille <akim@epita.fr>
4685 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
4686 missing included files _are_ errors.
4687 Thanks to Alexandre Duret-Lutz.
4688 * tests/tools.at (autom4te cache): Adjust.
4689 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
4690 (AT_CHECK_M4SUGAR): Use it.
4691 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4693 * tests/tools.at (autom4te): Now it does exit 1.
4695 2002-10-17 Akim Demaille <akim@epita.fr>
4697 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4698 Fixes the `AC_ARG_VAR' test failures.
4699 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4700 * lib/freeze.mk (check-forbidden-patterns): New.
4701 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4702 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4703 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4705 Reported months ago by H. Merijn Brand.
4707 2002-10-17 Akim Demaille <akim@epita.fr>
4709 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4711 2002-10-16 Paul Eggert <eggert@twinsun.com>
4713 * Makefile.maint (wget_files): Remove ansi2knr.c.
4714 (ansi2knr.c-url_prefix): Remove.
4716 2002-10-16 Akim Demaille <akim@epita.fr>
4718 Because of caching, some files that no longer exist and are no
4719 longer required can still cause errors.
4720 Reported by Alexandre Duret-Lutz.
4722 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4723 to frozen files in @ARGV, as @ARGV must remain being a list of
4724 files. Rather, at M4 call sites, use this...
4725 (&files_to_options): New function.
4726 (&freeze): Use &error.
4727 (&up_to_date): If a file that was included according to the cache
4728 is no longer there, then the output is out dated.
4729 (&main): Don't even check whether a file is up to date is anyway
4731 * tests/tools.at (autom4te cache): New.
4733 2002-10-16 Akim Demaille <akim@epita.fr>
4735 * bin/autoconf.as: Kill dead options.
4736 * bin/autoupdate.in (&parse_args): Kill old options.
4737 * bin/autoreconf.in (&parse_args): Remove dead options.
4739 (&autoreconf): Report the directories we enter *and leave*, so
4740 that error messages can be easily located, and use GNU Make
4741 format, so that Emacs' compile mode understands us.
4742 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4743 if some file was changed instead of `print'.
4744 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4745 (&parse_args): Remove the dead options.
4746 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4747 autoheader's quiet mode.
4748 (AT_CHECK_AUTOUPDATE): Likewise.
4749 * tests/tools.at (autoupdate): Adjust.
4750 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4752 2002-10-11 Akim Demaille <akim@epita.fr>
4754 No longer use CPP to check for the existing of headers: use CC to
4755 check for compilability.
4757 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4758 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4759 (_AC_CHECK_HEADER_NEW): Rename as...
4760 (AC_CHECK_HEADER): this.
4762 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4763 numbers in the Subject suggestion.
4765 2002-10-11 Akim Demaille <akim@epita.fr>
4767 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4768 Suggest using AC_CHECK_DECLS instead.
4770 2002-10-11 Akim Demaille <akim@epita.fr>
4772 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4775 2002-10-11 Akim Demaille <akim@epita.fr>
4777 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4778 file name to enable parallel executions.
4779 From Sam Varshavchik.
4781 2002-10-08 Akim Demaille <akim@epita.fr>
4783 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4784 aclocal invocation, as Gettext macros might not be visible to
4786 Instead of blindly running autopoint, scan configure.ac (not the
4787 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4788 Reported by Paul D. Smith.
4790 2002-10-08 Paul Eggert <eggert@twinsun.com>
4792 Work around problems found when POSIXLY_CORRECT=1 is set.
4793 None of this seems to have anything to do with POSIX, really,
4794 but it's how Perl getopt works.
4795 * bin/autom4te.in (parse_args): Configure GetOpt with
4797 * doc/autoconf.texi (Invoking autom4te):
4798 --warning -> --warnings.
4799 * lib/autom4te.in: --warning -> --warnings.
4801 2002-09-28 Akim Demaille <akim@epita.fr>
4803 * doc/autoconf.texi (autom4te.cache): New section.
4805 2002-09-28 Akim Demaille <akim@epita.fr>
4807 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4808 (Automake-preselections): Update.
4809 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4811 2002-09-28 Akim Demaille <akim@epita.fr>
4813 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4814 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4815 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4816 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4818 2002-09-28 Akim Demaille <akim@epita.fr>
4820 * tests/torture.at (Configuring subdirectories): Be robust to
4821 users who use config.site to require for a cache: in this case,
4822 the two last configure runs, using two different sets of
4823 arguments, trigger a legitimate error.
4825 2002-09-28 Akim Demaille <akim@epita.fr>
4827 * tests/m4sh.at (Functions Support, Functions and return Support):
4830 2002-09-28 Akim Demaille <akim@epita.fr>
4832 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4833 autoheader are Perl programs.
4834 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4835 (autom4te): Specify that the sources are in the $srcdir.
4836 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4838 2002-09-28 Akim Demaille <akim@epita.fr>
4840 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4841 (tm_zone): Move their rules to...
4842 * lib/autoconf/types.m4: here, using AN_ macros.
4843 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4844 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4845 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4846 * lib/autoconf/programs.m4: here.
4847 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4848 (ETAGS_FOR_AUTOCONF): New.
4851 2002-09-28 Akim Demaille <akim@epita.fr>
4853 * lib/autoconf/autoscan.m4: New file.
4854 * lib/autoconf/autoconf.m4: Include it.
4855 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4856 that were listed in the original autoscan.list.
4857 * lib/autoconf/headers.m4: Similarly with headers.
4858 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4859 (.m4.m4f): Don't pass --prepend-include, since that's done by
4860 tests/autom4te itself.
4861 * lib/autoscan/Makefile.am: Include freeze.mk.
4862 (autoscan.list): New target --this file is no longer a source.
4863 (autoscan.pre): New file.
4865 2002-09-28 Akim Demaille <akim@epita.fr>
4867 * bin/autoscan.in (@kinds): Make them singular.
4869 (&init_tables): When --debug, report the list of rules to ease
4870 tracking changes in autoscan.list.
4871 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4873 2002-09-28 Akim Demaille <akim@epita.fr>
4875 * lib/autoscan/functions, lib/autoscan/headers,
4876 * lib/autoscan/identifiers, lib/autoscan/makevars,
4877 * lib/autoscan/programs: Merge into...
4878 * lib/autoscan/autoscan.list: this.
4879 * bin/autoscan.in (&init_tables): Adjust.
4881 2002-09-28 Akim Demaille <akim@epita.fr>
4883 * lib/autoscan/functions, lib/autoscan/headers,
4884 * lib/autoscan/identifiers, lib/autoscan/makevars,
4885 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4886 `functions' line is now prefixed with `function:'.
4887 * bin/autoscan.in (&init_tables): Adjust.
4889 2002-09-28 Akim Demaille <akim@epita.fr>
4891 From now on, autoscan files must always map a macro name to a
4892 word: there is no `default' macro for autoscan.
4894 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4896 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4899 2002-09-28 Akim Demaille <akim@epita.fr>
4901 * bin/autoscan.in (%c_keywords): Remove.
4902 (&used): Keep only track of the words we might be interested in.
4903 (&output_kind): It is no longer needed to look for non active
4906 2002-09-27 Akim Demaille <akim@epita.fr>
4908 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4909 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4910 * lib/autoscan/functions: Adjust.
4911 * doc/autoconf.texi (Particular Functions): Adjust.
4913 2002-09-27 Akim Demaille <akim@epita.fr>
4915 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4917 Thanks to Bill Moseley and Paul Eggert.
4918 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4919 the tmpdir must be created.
4920 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4921 dir be in the build tree, instead of $TMPDIR.
4923 2002-09-27 Akim Demaille <akim@epita.fr>
4925 * bin/autoscan.in: Improve the comments.
4926 (&parse_args): Drop obsolete undocumented options.
4927 (&output_kind): Output warnings.
4928 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4929 (getwd): Trigger a warning.
4931 2002-09-26 Akim Demaille <akim@epita.fr>
4933 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4934 Reported by Ralf Corsepius.
4935 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4937 2002-09-26 Akim Demaille <akim@epita.fr>
4939 Single suffix rules and seperated dependencies are not portable.
4941 * doc/autoconf.texi (Installation Directory Variables): Update.
4942 (Limitations of Make): Some about `Single Suffix Rules and
4943 Separated Dependencies'.
4944 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4945 (ifnames, autoscan, autom4te): Un-factor into several rules.
4947 2002-09-25 Paul Eggert <eggert@twinsun.com>
4949 * BUGS (Interoperability bugs): New section. Mention libtool
4950 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4952 2002-09-24 Paul Eggert <eggert@twinsun.com>
4954 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4955 make handles suffix-rules differently from GNU make.
4957 * bin/Makefile.am (SUFFIXES, .in): Remove.
4958 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4959 Move the body of the old .in rule here.
4961 2002-09-16 Akim Demaille <akim@epita.fr>
4963 i960 compilers create `b.out' files by default.
4964 Reported by Ralf Corsepius.
4966 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4967 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4969 2002-09-13 Paul Eggert <eggert@twinsun.com>
4971 * doc/autoconf.texi (Particular Headers): Remove obsolete
4972 reference to `struct timezone' in the description of
4975 2002-09-13 Akim Demaille <akim@epita.fr>
4979 * config/config.sub, config/config.guess: Update.
4980 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4981 * Makefile.am: Adjust.
4983 2002-09-13 Akim Demaille <akim@epita.fr>
4985 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4986 reading config.log when the compiler is rejected.
4987 Suggested by Guido Draheim.
4989 2002-09-13 Akim Demaille <akim@epita.fr>
4991 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4992 (chdir_init) might hang when stat'ing mounted directories.
4993 Reported by Vance Shipley.
4995 2002-09-12 Akim Demaille <akim@epita.fr>
4997 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
5000 2002-09-12 Akim Demaille <akim@epita.fr>
5002 * doc/autoconf.texi (Defining Symbols): Present two different
5003 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
5004 difference between 1 argument calls, and 2-3 argument calls.
5006 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
5008 * doc/autoconf.texi: Review grammar and punctuation.
5010 2002-09-11 Paul Eggert <eggert@twinsun.com>
5012 * doc/autoconf.texi: Fix minor formatting, spelling, and
5014 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
5015 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
5018 2002-09-11 Akim Demaille <akim@epita.fr>
5020 * doc/autoconf.texi (Questions): Rename as...
5022 (Defining Directories): New.
5024 2002-09-09 Akim Demaille <akim@epita.fr>
5026 * doc/autoconf.texi (Making testsuite Scripts): Update.
5027 Suggested by Nishio Futoshi.
5029 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
5031 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
5032 plain `@' is wanted.
5034 2002-09-09 Akim Demaille <akim@epita.fr>
5036 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
5037 `duplicates', since the algorithm was too naive and could keep
5038 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
5039 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
5040 Reported by Ralf Corsepius.
5041 * tests/torture.at (Configuring subdirectories): Exercise these
5044 2002-09-09 Akim Demaille <akim@epita.fr>
5046 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
5047 looking for a replacement file.
5048 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
5049 directory is relative.
5050 * doc/autoconf.texi (Generic Functions): Clarify the replacement
5051 directory definition.
5052 Reported by Andreas Schwab and Jim Meyering.
5054 2002-09-06 Akim Demaille <akim@epita.fr>
5056 * doc/autoconf.texi (Setting Output Variables): Clarify what
5057 precious variables are.
5058 Suggested by Pontus Skoeld.
5060 2002-09-05 Akim Demaille <akim@epita.fr>
5062 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5063 (ifnames, autoscan, autom4te): Since we don't only depend on
5064 configure.ac variables (such as VERSION etc.), but also on prefix
5065 and so forth, depend on Makefile, not configure.ac.
5066 Reported by Alexandre Duret-Lutz.
5067 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5069 2002-09-05 Kevin Ryde <user42@zip.com.au>
5071 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
5072 doesn't seem to be confined to ia64, just say "some versions".
5074 2002-09-04 Akim Demaille <akim@epita.fr>
5076 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
5078 * Makefile.am (maintainer-clean-local): Remove.
5079 (MAINTAINERCLEANFILES): Remove COPYING.
5081 2002-09-03 Paul Eggert <eggert@twinsun.com>
5083 * doc/autoconf.texi (Configuration Commands): Remove obsolete
5084 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
5087 2002-09-03 Akim Demaille <akim@epita.fr>
5089 * configure.ac: Bump to 2.53d.
5090 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
5091 as of today, on Automake's team suggestion.
5093 2002-09-03 Akim Demaille <akim@epita.fr>
5097 2002-09-02 Akim Demaille <akim@epita.fr>
5099 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
5101 * configure.ac: Disable SITE_MACRO_DIR.
5103 2002-09-02 Jim Meyering <meyering@lucent.com>
5105 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
5106 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
5107 Also, tweak grammar: s/make sure to/be sure to/.
5109 2002-09-02 Paul Eggert <eggert@twinsun.com>
5111 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
5112 directory names are generally preferable to physical names.
5114 2002-09-02 Akim Demaille <akim@epita.fr>
5116 * lib/Autom4te/General.pm (&update_file): s/die/error/.
5117 Reported by Raja R. Harinath.
5118 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
5119 * bin/autoupdate.in: Use error instead of die.
5121 2002-09-01 Paul Eggert <eggert@twinsun.com>
5123 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
5124 ordinary shell concatenation rather than echo+tr+sed command that
5125 runs afoul of a long-line-related sed bug in Solaris 8.
5127 * bin/autoheader.in (parse_args): --warning -> --warnings.
5129 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
5130 stdout, as traditional "ls" does.
5131 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
5132 _AC_COMPILER_EXEEXT_O): Likewise.
5133 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
5135 * bin/autoconf.as: Add --prepend-include option. This patch was
5136 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
5137 but bin/autoconf.in is generated automatically from bin/autoconf.as.
5139 * bin/autoconf.in, configure: Regenerate.
5141 * doc/autoconf.texi (Special Shell Variables): Mention
5142 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
5144 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
5145 MAILPATH and set PS1, PS2, PS4 to default values, to work
5146 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
5147 For LC_ALL etc, first try to set to "C" as POSIX requires and as
5148 the Autoconf documentation specifies; fall back to "unset" only if
5149 this fails. Use a shell for-loop for this rather than an m4 loop,
5150 to shorten the output script.
5152 2002-08-30 Paul Eggert <eggert@twinsun.com>
5154 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
5155 1003.1-2001's requirements for CDPATH. Give a simpler workaround
5156 for the CDPATH problem. Document PWD.
5157 (Limitations of Builtins): Document the problem that "cd $foo" and
5158 "ls $foo" may refer to different directories in shells conforming
5159 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
5160 example, since the old example is now out of date.
5162 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
5163 FOO" and "ls FOO" talk about different directories; this catches
5164 problems when POSIX 1003.1-2001 "cd" fails due to symlink
5167 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
5168 of rolling our own unset.
5169 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
5170 in practice we needn't worry about CDPATH if unset doesn't work.
5172 * Makefile.in, aclocal.m4, bin/Makefile.in,
5173 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
5174 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
5175 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
5176 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
5177 tests/Makefile.in: Regenerate with Automake 1.6.3.
5179 * config/config.guess, config/config.sub, config/mkinstalldirs:
5182 * configure: Regenerate with self.
5184 2002-08-30 Kevin Ryde <user42@zip.com.au>
5186 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
5189 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5191 * bin/autom4te.in (Request::load): Correctly test for "do" read
5194 2002-08-29 Akim Demaille <akim@epita.fr>
5196 * lib/Autom4te/General.pm (&xqx): New.
5197 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
5198 hand, which is not portable.
5200 * bin/autom4te.in: Use them.
5201 Use &error instead of die.
5202 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5205 2002-08-17 Paul Eggert <eggert@twinsun.com>
5207 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
5208 default list of compilers to try, since it was long ago superseded
5209 by the ksh fc builtin. Suggested by Steven G. Johnson.
5211 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
5213 * doc/autoconf.texi (Invoking autom4te): End the option table,
5214 fixing a bug introduced by the previous patch.
5215 (Limitations of Make): Add a 'target lookup' subentry in the
5216 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
5218 2002-07-29 Mark D. Roth <roth@feep.net>
5220 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
5221 options and use $AUTOM4TE_PATH.
5222 * doc/autoconf.texi: Remove documentation of autom4te
5223 --include-envvar and --site-macro-subdir options and document
5224 use of $AUTOM4TE_PATH.
5225 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
5226 arguments from each language section.
5228 2002-07-29 Paul Eggert <eggert@twinsun.com>
5230 * doc/install.texi: Include copyright symbol in copyright notice.
5232 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
5234 (AM_MAKEINFOFLAGS): New macro.
5235 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
5236 * Makefile.am (INSTALL): Use the new macros.
5237 Use -o rather than --output, since "missing" does not grok --output.
5239 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5241 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
5242 comments do not always work. Never trust the exit status of
5245 2002-07-24 Kevin Ryde <user42@zip.com.au>
5247 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
5248 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
5250 2002-07-23 Paul Eggert <eggert@twinsun.com>
5252 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
5253 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
5254 apparently treats PATH="nonexistent" as if it contained ".".
5255 Bug reported by Stefan `Sec' Zehl.
5257 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5259 * doc/autoconf.texi (Limitations of Make): Mention the special
5260 handling of the obj/ directory by BSD make.
5262 2002-07-20 Kevin Ryde <user42@zip.com.au>
5264 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
5267 2002-07-19 Akim Demaille <akim@epita.fr>
5269 * doc/autoconf.texi (Function Portability): `exit'.
5270 (Programming in M4sh): Ethymology of M4sh.
5272 2002-07-19 Akim Demaille <akim@epita.fr>
5274 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
5276 2002-07-18 Akim Demaille <akim@epita.fr>
5280 2002-07-18 Akim Demaille <akim@epita.fr>
5282 * config/config.guess, config/config.sub: Update.
5284 2002-07-18 Akim Demaille <akim@epita.fr>
5286 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
5289 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
5290 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
5291 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
5293 2002-07-18 Akim Demaille <akim@epita.fr>,
5294 Alexandre Duret-Lutz <duret_g@epita.fr>
5296 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
5297 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
5299 2002-07-17 Russ Allbery <rra@stanford.edu>
5301 * doc/autoconf.texi (Initializing configure): Clarify the
5302 description of the tarname default.
5304 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
5306 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
5307 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
5310 2002-07-17 Akim Demaille <akim@epita.fr>
5312 * lib/Autom4te/General.pm (find_file): Browse the directories in
5313 the order they are given.
5315 2002-07-17 Akim Demaille <akim@epita.fr>
5317 * tests/wrapsh.as, tests/wrappl.as: Merge into...
5318 * tests/wrapper.as: this.
5319 * tests/Makefile.am, configure.ac: Adjust.
5321 2002-07-17 Mark D. Roth <roth@feep.net>
5323 * configure.ac: Add --enable-site-macro-dir option.
5324 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
5325 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
5326 --site-macro-subdir options.
5327 * bin/autoconf.in: Add --prepend-include option.
5328 * bin/autoheader.in: Add --prepend-include option.
5329 * bin/autoreconf.in: Add --prepend-include option.
5330 * bin/autoscan.in: Add --prepend-include option.
5331 * bin/autoupdate.in: Add --prepend-include option.
5332 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
5333 macro directory, remove note that include path directories are
5334 used in reverse order, and document --prepend-include option.
5335 * lib/autom4te.in: Use --prepend-include instead of --include.
5336 * tests/wrapsh.in: Use --prepend-include instead of --include.
5338 2002-07-17 Akim Demaille <akim@epita.fr>
5340 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
5342 * doc/autoconf.texi (Initializing configure): Adjust.
5344 2002-07-17 Akim Demaille <akim@epita.fr>
5346 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
5347 (_AC_FUNC_MALLOC): New.
5348 (AC_FUNC_MALLOC): Use the latter.
5349 Define HAVE_MALLOC to 0 if broken.
5350 * doc/autoconf.texi (Particular Functions): Adjust.
5352 2002-07-16 Akim Demaille <akim@epita.fr>
5354 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
5355 * doc/autoconf.texi (C Compiler): Adjust.
5357 2002-07-09 Akim Demaille <akim@epita.fr>
5359 * doc/autoconf.texi: Properly set the ``header'' part.
5361 2002-07-09 Akim Demaille <akim@epita.fr>
5363 * doc/autoconf.texi (Systemology): Some about Darwin.
5365 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5367 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5368 Don't use AC_REQUIRE in AU_DEFUN.
5370 2002-07-09 Art Haas <ahaas@neosoft.com>
5372 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
5374 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
5376 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5377 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
5378 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
5379 so that Emacs setups GNU style for perl-mode and cperl-mode.
5381 2002-06-27 Paul Eggert <eggert@twinsun.com>
5383 * config/install-sh: Quote $src. Prefer || to test's -o option,
5384 as per "Limitations of Builtins".
5385 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
5386 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5388 * tests/mktests.sh: Use grep instead of fgrep, as per
5389 "Limitations of Builtins".
5391 2002-06-15 Paul Eggert <eggert@twinsun.com>
5393 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
5394 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
5395 so that we consistently test the just-built programs.
5396 * tests/wrappl.as: Likewise.
5398 2002-06-12 Paul Eggert <eggert@twinsun.com>
5400 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
5401 name, so that symlinks to 'autoconf' work properly. Bug reported
5403 * bin/autoheader.in (AUTOM4TE): Likewise.
5404 * bin/autoreconf.in (autoconf, autoheader): Likewise.
5405 * bin/autoscan.in (autom4te): Likewise.
5406 * bin/autoupdate.in (autom4te): Likewise.
5408 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
5409 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
5412 2002-06-11 Andreas Schwab <schwab@suse.de>
5414 * doc/autoconf.texi: Add more dir entries.
5416 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
5418 * bin/autom4te.in ($cache): Don't define using `$me', the name
5419 of the cache should not depend on the name under which autom4te
5422 2002-06-07 Akim Demaille <akim@epita.fr>
5424 * tests/tools.at (autoconf: forbidden tokens, basic)
5425 (autoconf: forbidden tokens, exceptions): Adjust to the change of
5426 words in autom4te.in.
5428 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
5430 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
5431 _AC_LANG_PROGRAM_C_F77_HOOKS.
5433 2002-06-07 Akim Demaille <akim@epita.fr>
5435 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
5437 (AC_REPLACE_FNMATCH): this.
5438 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
5439 AC_FUNC_FNMATCH_GNU.
5441 2002-06-07 Akim Demaille <akim@epita.fr>
5443 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
5444 Rosetta Stone for Unix.
5446 2002-06-07 Akim Demaille <akim@epita.fr>
5448 * bin/autom4te.in (warn_forbidden): When rejecting a token,
5449 suggest m4_pattern_allow.
5450 Suggested by Adam J. Richter.
5452 2002-06-07 Akim Demaille <akim@epita.fr>
5454 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5455 ac_config_libobj_dir.
5456 (AC_CONFIG_LIBOBJ_DIR): New.
5457 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
5458 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
5459 Use ac_config_libobj_dir to find the replacement files.
5460 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
5461 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
5462 (AC_REPLACE_FNMATCH_GNU): these.
5463 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
5464 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
5465 * tests/mktests.sh (ac_exclude_list): Don't check
5466 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
5468 2002-06-06 Paul Eggert <eggert@twinsun.com>
5470 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
5473 * doc/autoconf.texi (Configuration Links): Likewise.
5474 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
5476 2002-06-05 Paul Eggert <eggert@twinsun.com>
5478 * config/config.guess, config/config.sub, config/texinfo.tex:
5479 Update from masters.
5481 2002-05-29 Paul Eggert <eggert@twinsun.com>
5483 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
5484 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5485 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
5487 * lib/autoconf/Makefile.am (check-local): Likewise.
5488 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
5489 * lib/autoconf/types.m4 (commentary only): Likewise.
5490 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
5491 * lib/autotest/Makefile.am (check-local): Likewise.
5492 * lib/m4sugar/Makefile.am (check-local): Likewise.
5493 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
5494 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
5496 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
5497 * doc/autoconf.texi (Particular Programs): Document them.
5498 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
5501 2002-05-27 Paul Eggert <eggert@twinsun.com>
5503 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
5504 * NEWS, doc/autoconf.texi (Particular Types): Document it.
5505 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
5506 instead of AC_MBSTATE_T, which never existed.
5508 2002-05-23 Akim Demaille <akim@epita.fr>
5510 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
5511 version of Autoconf that is discussed.
5513 2002-05-22 Paul Eggert <eggert@twinsun.com>
5515 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
5516 from the default list of compilers to try. Suggested by
5518 * NEWS: Document the above.
5519 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
5521 2002-05-17 Paul Eggert <eggert@twinsun.com>
5523 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
5524 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
5525 This improves on an earlier suggestion by H. Peter Anvin.
5527 2002-05-16 Paul Eggert <eggert@twinsun.com>
5529 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
5530 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
5531 Both macros now accept an optional source-dir arg.
5532 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
5534 * NEWS: Document this.
5535 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
5537 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
5538 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
5539 not for GNU extensions; this undoes part of the 2000-11-03 change,
5540 reverting to 2.13-compatible behavior.
5541 Add new optional argument DIR.
5542 (AC_FUNC_FNMATCH_GNU): New macro.
5544 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
5546 2002-05-08 Paul Eggert <eggert@twinsun.com>
5548 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
5549 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
5550 and it causes a 'test' syntax error if it fails.
5551 Bug reported by Stephen Gildea.
5553 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
5554 If prototypes are supported, use them to check this at compile-time,
5555 instead of trying to check it at run-time. If we must do a run-time
5556 check, assume that setvbuf is standard when cross-compiling, as
5557 nonstandard setvbuf occurs only on ancient and unlikely hosts.
5558 Bug reported by Paul D. Smith.
5560 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
5561 argument specifying location of getloadavg.c. This removes a
5562 FIXME. This idea was taken from Jim Meyering's implementation in
5564 * doc/autoconf.texi (Particular Functions): Document this.
5565 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
5566 that's what the code does; this fixes a bug reported by
5569 2002-05-03 Akim Demaille <akim@epita.fr>
5571 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
5572 autopoint instead of gettextize.
5573 ($uses_alocal): Rename as...
5574 ($uses_aclocal): this.
5575 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5576 Suggested by Bruno Haible.
5578 2002-05-03 Akim Demaille <akim@epita.fr>
5580 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
5582 2002-04-29 Paul Eggert <eggert@twinsun.com>
5584 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
5585 files to be 1 second older; just set them to be the same time.
5586 Also, sleep 1 second after the first aclocal, to work around
5587 problems with sub-second time stamps on the input files.
5589 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
5591 * doc/autoconf.texi: Mention "set -e -x" lossage
5592 under node "Limitations of Builtins".
5594 2002-04-29 Akim Demaille <akim@epita.fr>
5596 * doc/install.texi: Better wording for setting variables when
5598 From Christian Cornelssen.
5600 2002-04-29 Akim Demaille <akim@epita.fr>
5602 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
5603 of lack of $LINENO support, then the test will compare the $LINENO
5604 in testsuite vs. the lineno in the test file. This is wrong, of
5606 Be sure to protect it.
5607 Reported by Patrick Welche.
5609 2002-04-25 Akim Demaille <akim@epita.fr>
5611 * doc/autoconf.texi (Obsolete Macros): Typo.
5612 Reported by Vladimir Volovich.
5614 2002-04-25 Akim Demaille <akim@epita.fr>
5616 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
5617 than some of the input files, hence, on the second run of aclocal,
5618 if some of its input are younger, make them older.
5619 Suggested by Paul Eggert.
5621 2002-04-25 Akim Demaille <akim@epita.fr>
5623 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
5624 Thanks to Paul Eggert.
5626 2002-04-25 Akim Demaille <akim@epita.fr>
5628 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
5629 and ac_subst_vars be sh variables containing the list of
5630 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
5632 (_AC_INIT_PREPARE): Use them to log them.
5633 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
5634 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
5635 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
5636 _AC_SUBST_FILES and _AC_SUBST_VARS.
5637 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
5639 2002-04-24 Akim Demaille <akim@epita.fr>
5641 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
5642 autoheader, so that automake does not complain about a missing
5643 config.h.in that was to be created.
5645 2002-04-23 Akim Demaille <akim@epita.fr>
5647 * bin/autoheader.in (parse_args): --warning takes an argument.
5650 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
5652 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
5653 and bb.out when cleaning up.
5655 2002-04-22 Akim Demaille <akim@epita.fr>
5659 2002-04-22 Akim Demaille <akim@epita.fr>
5661 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
5663 2002-04-22 Akim Demaille <akim@epita.fr>
5665 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
5667 Reported by Gregory Giannoni.
5669 2002-04-22 Akim Demaille <akim@epita.fr>
5671 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
5672 Fixes false failures on Darwin.
5674 2002-04-21 Paul Eggert <eggert@twinsun.com>
5676 * TODO, bin/autoupdate.in, doc/autoconf.texi,
5677 lib/autoconf/general.m4, lib/autoconf/libs.m4,
5678 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
5679 tests/tools.at: Minor spelling and grammar fixes.
5681 2002-04-20 Paul Eggert <eggert@twinsun.com>
5683 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
5684 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
5685 * lib/autotest/general.m4 (AT_INIT): Likewise.
5686 * tests/atgeneral.m4 (AT_INIT): Likewise.
5688 2002-04-19 Paul Eggert <eggert@twinsun.com>
5690 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
5691 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
5692 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5693 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5694 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5695 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5696 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5697 Minor spelling and grammar fixes.
5699 * doc/autoconf.texi: Follow the outline suggested in the GNU
5700 Sample Texts sections of the Texinfo 4.2 manual. Most
5701 importantly, this makes sure that the copyright notices appear in
5702 all output formats. You probably need Texinfo 4.2 to generate
5705 Fix some bugs when using "$@" when there might be zero positional
5706 arguments in cases where this matters.
5708 * bin/autoconf.as: Rewrite so that the problem does not come up.
5709 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5710 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5711 * lib/autotest/general.m4 (AT_INIT): Likewise.
5713 * bin/autoheader.in: Use 'case' statement to work around problem.
5714 * bin/auto4mte.in: Likewise.
5715 * bin/autoreconf.in: Likewise.
5716 * bin/autoscan.in: Likewise.
5717 * bin/autoupdate.in: Likewise.
5718 * bin/ifnames.in: Likewise.
5720 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5722 * lib/autotest/general.m4 (AT_INIT):
5723 Use Zsh alias to work around problem.
5724 * tests/atgeneral.m4 (AT_INIT): Likewise.
5726 * tests/c.at: We can't have zero arguments, so remove workaround
5727 that is not portable to Zsh.
5729 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5731 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5732 from aclocal.m4 too.
5734 2002-04-12 Akim Demaille <akim@epita.fr>
5736 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5738 2002-04-10 Akim Demaille <akim@epita.fr>
5740 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5741 workaround for ${1+"$@"}.
5742 * doc/autoconf.texi (Shell Substitutions): Explain it.
5743 From Oliver Kiddle and Peter Stephenson.
5745 Have M4sh perform minimal shell sanitizing.
5747 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5749 (_AS_PREPARE): this new macro.
5751 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5752 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5754 Adjust Autoconf and Autotest.
5756 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5757 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5758 * lib/autotest/general.m4 (AT_INIT): Likewise.
5759 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5760 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5763 Use this M4sh to generate Autoconf's shell scripts.
5765 * tests/wrapsh.as: New, precursor of wrapsh.in.
5766 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5767 on Autotest and M4sh.
5768 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5769 (wrapsh.in): New target.
5770 * bin/autoconf.as: New, precursor of autoconf.in.
5771 (autoconf.in): New target.
5773 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5775 * doc/autoconf.texi (Limitations of Make): Mention the issue
5776 with indented comments in rules.
5778 2002-04-09 Andreas Schwab <schwab@suse.de>
5780 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5781 ac_top_builddir when setting ac_abs_top_builddir.
5783 2002-04-06 Kevin Ryde <user42@zip.com.au>
5785 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5786 (Portable Shell): Cross reference to Systemology.
5788 2002-04-05 Akim Demaille <akim@epita.fr>
5790 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5791 directories when descending in a SUBDIRS.
5792 Reported by Ezra Peisach.
5794 2002-04-04 Andreas Schwab <schwab@suse.de>
5796 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5797 contains no literal separators.
5799 2002-04-03 Akim Demaille <akim@epita.fr>
5801 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5802 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5803 Use dnl, not the KILL diversion.
5805 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5806 (AC_CONFIG_LINKS): here.
5808 Don't use the KILL diversion, as it kills spurious output, which
5809 results in failures being hidden.
5810 Use m4_defn where appropriate.
5811 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5812 after the second argument.
5814 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5815 syntax, as it is provided by M4sugar.
5816 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5818 2002-04-03 Andreas Schwab <schwab@suse.de>
5820 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5821 expanded if $# <= 2.
5823 * bin/autoreconf.in (autoreconf): Run automake after rerunning
5826 2002-04-03 Akim Demaille <akim@epita.fr>
5828 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5829 (_AC_COMPILER_EXEEXT_REJECT): New.
5830 Also recognize *.bb and *.bbg as compilation byproducts.
5831 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5832 (_AC_COMPILER_OBJEXT): Use them.
5833 Fixes Debian #138666.
5835 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5837 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5839 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5840 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5841 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5842 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5844 (AC_C_INLINE): Same.
5845 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5846 * doc/autoconf.texi, NEWS: Document.
5847 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5850 2002-04-02 Akim Demaille <akim@epita.fr>
5852 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5853 _AS_MKDIR_P_PREPARE.
5855 2002-03-28 Kevin Ryde <user42@zip.com.au>
5857 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5858 to avoid versions of HP C which don't allow that.
5860 2002-03-27 Paul Eggert <eggert@twinsun.com>
5862 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5863 (AS_SHELL_SANITIZE): Invoke it.
5864 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5866 2002-03-26 Akim Demaille <akim@epita.fr>
5868 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5870 2002-03-26 Akim Demaille <akim@epita.fr>
5872 * doc/autoconf.texi (Introduction): The GNATS base moved.
5874 2002-03-25 Paul Eggert <eggert@twinsun.com>
5876 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5877 as POSIX requires, as it doesn't work with Zsh.
5878 * doc/autoconf.texi (Assignments): Document the problem.
5880 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5882 * doc/autoconf.texi (Limitations of Make): Mention more issue
5883 about VPATH, overriding of macros in sub-makes, and handling of
5886 2002-03-21 Paul Eggert <eggert@twinsun.com>
5888 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5889 problem with here-document buffer boundaries.
5891 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5892 when reinvoking the shell, to work around problems with installers
5893 who put strange things like "cd" commands in their environments.
5895 2002-03-19 Akim Demaille <akim@epita.fr>
5897 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5900 2002-03-19 Akim Demaille <akim@epita.fr>
5902 * bin/autoscan.in (scan_file): Specify the location in `&used'
5906 2002-03-19 Akim Demaille <akim@epita.fr>
5908 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5909 From Nishio Futoshi.
5911 2002-03-19 Akim Demaille <akim@epita.fr>
5913 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5915 2002-03-18 Paul Eggert <eggert@twinsun.com>
5917 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5918 (Limitations of Usual Tools): Add mkdir section.
5920 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5921 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5922 back on AS_DIRNAME to compute prefixes otherwise; this is
5923 roughly what mkinstalldirs does. That way, we need not have
5924 our own filename disassembler. The old disassembler did not
5925 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5927 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5928 Create at_test_all by a series of assignments,
5929 not by a single assignment of a long string. The latter causes ksh
5930 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5931 presumably because of a buffer overrun.
5933 2002-03-14 Paul Eggert <eggert@twinsun.com>
5935 * lib/autotest/general.m4 (at_times_skip):
5936 Renamed from at_times. Now a boolean.
5937 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5938 says 'times: not found'.
5940 2002-03-14 Akim Demaille <akim@epita.fr>
5942 * bin/autoreconf.in (&study_gettextize): New.
5943 (&autoreconf): Handle newest gettextize.
5944 Rerun aclocal if needed.
5945 Suggested by Andreas Schwab.
5947 2002-03-13 Akim Demaille <akim@epita.fr>
5949 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5951 2002-03-13 Akim Demaille <akim@epita.fr>
5953 * doc/autoconf.texi (Header Portability): New.
5954 Add information about stdint.h and inttypes.h from Paul Eggert.
5956 2002-03-13 Akim Demaille <akim@epita.fr>
5958 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5962 2002-03-12 Akim Demaille <akim@epita.fr>
5964 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5967 2002-03-11 Andreas Schwab <schwab@suse.de>
5969 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5970 does not do it if --with-lispdir is given.
5972 2002-03-08 Akim Demaille <akim@epita.fr>
5976 2002-03-08 Akim Demaille <akim@epita.fr>
5978 * doc/autoconf.texi (Subdirectories): Clarify that the
5979 subdirectory should exist.
5981 2002-03-08 Akim Demaille <akim@epita.fr>
5983 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5985 2002-03-08 Akim Demaille <akim@epita.fr>
5987 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5988 aliases the actual variables, and modifications of the former
5991 2002-03-08 Akim Demaille <akim@epita.fr>
5993 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5994 because of C-c: have m4 output in tmp files, then mv them.
5996 2002-03-08 Akim Demaille <akim@epita.fr>
5998 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5999 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6000 * bin/ifnames.in: Copyright update.
6002 2002-03-08 Akim Demaille <akim@epita.fr>
6004 * doc/autoconf.texi (Invoking autom4te): New.
6006 2002-03-05 Akim Demaille <akim@epita.fr>
6008 * doc/autoconf.texi (Specifying Names): Clarification suggested by
6011 2002-03-05 Akim Demaille <akim@epita.fr>
6015 2002-03-04 Akim Demaille <akim@epita.fr>
6017 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
6018 * lib/autoconf/general.m4 (AC_INIT): More informative error
6021 2002-03-04 Akim Demaille <akim@epita.fr>
6023 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
6026 2002-03-04 Akim Demaille <akim@epita.fr>
6028 * doc/autoconf.texi (Transforming Names): Equality between target
6029 and host is irrelevant.
6030 (Specifying Names, Canonicalizing): Remove all references to the
6031 backward compatibility hooks. Rather, collect them all into...
6032 (Hosts and Cross-Compilation): this new section.
6033 * doc/install.texi (System Type): Ditto.
6034 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
6035 that `--host' implies cross-compilation.
6037 2002-03-04 Akim Demaille <akim@epita.fr>
6039 * doc/autoconf.texi (Evaluation Macros): New.
6040 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
6042 (_m4_foreach): Define the variant with immediate evaluation so
6043 that it contains exactly the items, not an expression which
6044 evaluation is the current item.
6045 (m4_re_string, m4_re_word): Don't over quote them.
6047 2002-03-04 Akim Demaille <akim@epita.fr>
6049 Instead of having stacking `shift's evaluated at the end, let
6050 `foreach' loops immediately evaluate them.
6052 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
6053 $*. This is the n-th time I change my mind, but hopefully this is
6056 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
6058 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
6059 it was only a hack for m4_text_wrap.
6060 (m4_car2): Remove, replaced by...
6062 (_m4_foreach): Adjust.
6063 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
6064 m4_bpatsubst for clarification.
6066 2002-03-04 Akim Demaille <akim@epita.fr>
6068 * doc/autoconf.texi (Changequote is Evil): New.
6070 2002-03-03 Kevin Ryde <user42@zip.com.au>
6072 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
6073 on old systems like SunOS.
6075 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
6077 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6078 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6079 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
6080 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
6083 2002-02-28 Akim Demaille <akim@epita.fr>
6085 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
6088 2002-02-28 Kevin Ryde <user42@zip.com.au>
6090 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
6092 2002-02-25 Akim Demaille <akim@epita.fr>
6094 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
6097 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
6099 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
6100 translate \r\n to \n.
6102 2002-02-07 Akim Demaille <akim@epita.fr>
6106 2002-02-07 Akim Demaille <akim@epita.fr>
6108 Fix Autoconf PR/209.
6109 Also reported by Frank Denis.
6111 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
6113 2002-02-07 Akim Demaille <akim@epita.fr>
6115 Fix Autoconf PR/207:
6116 AC_PREFIX_PROGRAM fails with dashed program names
6118 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
6119 variable when looking for the prefix program.
6120 Now it also works for shell variables.
6122 2002-02-07 Akim Demaille <akim@epita.fr>
6124 * doc/autoconf.texi (Limitations of Builtins): More about
6127 2002-02-06 Akim Demaille <akim@epita.fr>
6129 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
6130 case/esac, some shells don't support it.
6131 Reported by Zack Weinberg.
6132 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
6134 2002-02-06 Akim Demaille <akim@epita.fr>
6136 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
6137 sure not to introduce newlines in at_groups.
6138 * lib/autotest/Makefile.am (autotest.m4f): Typo.
6140 2002-02-06 Akim Demaille <akim@epita.fr>
6142 * tests/torture.at (Configuring subdirectories): Skip if aclocal
6145 2002-02-05 Paul Eggert <eggert@twinsun.com>
6147 * doc/autoconf.texi (Specific Compiler Characteristics):
6148 Describe HP-UX cc bug workaround more accurately.
6149 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
6151 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
6152 cross-compilers, too. This undoes some of the most recent change
6155 2002-02-05 Akim Demaille <akim@epita.fr>
6157 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
6158 to make sure they are up to date when `check' is run.
6160 2002-02-05 Akim Demaille <akim@epita.fr>
6162 * doc/autoconf.texi (Making testsuite Scripts): Document
6165 2002-02-05 Akim Demaille <akim@epita.fr>
6167 * lib/freeze.mk: New.
6169 2002-02-05 Akim Demaille <akim@epita.fr>
6171 Implement `autom4te --freeze'.
6173 * bin/autom4te.in (&freeze): New.
6174 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
6175 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
6177 2002-02-05 Akim Demaille <akim@epita.fr>
6179 * bin/autom4te.in (&parse_args): Implement `frozen files are
6180 optional are the sum of the previous files on the command line'.
6181 Also, pass `--reload-state=' on them, so...
6183 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
6184 (M4sh): Rely on M4sugar.
6185 (Autotest, M4sh, M4sugar): Use frozen files.
6187 2002-01-31 Akim Demaille <akim@epita.fr>
6189 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
6190 * doc/autoconf.texi (Initializing configure): Adjust.
6192 2002-01-30 Akim Demaille <akim@epita.fr>
6194 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
6195 alphanumeric to `-' instead of `_'.
6197 2002-01-30 Akim Demaille <akim@epita.fr>
6199 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
6200 for plain code, the other for cross-compilation code. The latter
6201 is now run with GCC only.
6202 * doc/autoconf.texi (Compilers and Preprocessors): New.
6204 2002-01-30 Akim Demaille <akim@epita.fr>
6206 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
6208 * doc/autoconf.texi (Initializing configure): Explain how to
6209 change AC_INIT default values.
6211 2002-01-29 Akim Demaille <akim@epita.fr>
6213 * tests/torture.at (Configuring subdirectories): Use configure.in,
6214 so that aclocal 1.4 works.
6215 Reported by Alexandre Duret-Lutz and Larry Schmitt.
6217 2002-01-28 Akim Demaille <akim@epita.fr>
6219 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
6222 2002-01-28 Akim Demaille <akim@epita.fr>
6224 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
6225 AUTOTEST_PATH *after* it was set.
6226 Don't put `.' in the PATH: the user should be precise and `./' if
6227 needed. In addition, given that the test suite does some `cd', if
6228 `.' is in the path, the `tested programs' sections will report
6229 programs found in the test suite's directory, while during the
6230 tests (performed in their own directory), these programs are no
6231 longer visible. In other words, the results is confusing and
6233 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
6235 2002-01-24 Akim Demaille <akim@epita.fr>
6239 2002-01-24 Akim Demaille <akim@epita.fr>
6241 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
6242 * doc/autoconf.texi: Finally add Akim as an author.
6244 2002-01-24 Akim Demaille <akim@epita.fr>
6246 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
6247 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
6248 Bourne. Use /bin/sh.
6249 From Andreas Buening.
6251 2002-01-24 Akim Demaille <akim@epita.fr>
6253 * config/config.guess, config/config.sub, config/texinfo.tex:
6254 Update from masters.
6256 2002-01-24 Akim Demaille <akim@epita.fr>
6258 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
6259 * config/auxdir.m4, config/cond.m4, config/depend.m4,
6260 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
6261 * config/missing.m4, config/sanity.m4, config/select.m4,
6262 * config/strip.m4: Remove, to ease sync'ing with any version of
6265 2002-01-24 Akim Demaille <akim@epita.fr>
6267 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
6268 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
6269 Reported by Geir Ove Myhr.
6271 2002-01-21 Akim Demaille <akim@epita.fr>
6273 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
6275 2002-01-21 Akim Demaille <akim@epita.fr>
6277 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
6278 message on invalid options.
6279 * bin/autom4te.in (parse_args): Don't use
6280 Autoconf::General::getopt with non valid options.
6282 2002-01-17 Jim Meyering <meyering@lucent.com>
6284 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
6285 $ac_cv_exeext so we don't use an old, invalid, cached value.
6287 2002-01-11 Akim Demaille <akim@epita.fr>
6289 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
6291 * doc/autoconf.texi (Function Portability): Document the strnlen
6293 (Particular Functions): Document AC_FUNC_STRNLEN.
6294 * lib/autoscan/functions: Adjust.
6296 2002-01-06 Akim Demaille <akim@epita.fr>
6298 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
6299 package.m4, since is really depends upon configure.ac, not
6301 * doc/autoconf.texi (testsuite Scripts): Adjust.
6302 * tests/Makefile.am (package.m4): New.
6303 EXTRA_DIST it since its a source.
6305 2002-01-06 Akim Demaille <akim@epita.fr>
6307 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
6308 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
6309 and PACKAGE_BUGREPORT from here...
6310 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
6312 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
6313 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
6314 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
6315 * tests/tools.at (autoheader): Adjust.
6316 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
6318 2002-01-06 Akim Demaille <akim@epita.fr>
6320 * bin/autoscan.in (scan_file): Use `&used'.
6322 2002-01-03 Akim Demaille <akim@epita.fr>
6324 * doc/autoconf.texi (Output): Improved wording regarding use of
6328 2001-12-18 Kevin Ryde <user42@zip.com.au>
6330 * doc/autoconf.texi (Function Portability): Add notes on sscanf
6331 sometimes needing writable input.
6333 2001-12-17 Jim Meyering <meyering@lucent.com>
6335 * doc/autoconf.texi (New Macros): Tweak wording.
6337 2001-12-14 Akim Demaille <akim@epita.fr>
6339 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
6340 trailing files, don't apply `-rf' to files which might not be
6341 created by configure (core, core.*, and *.core), but just `rm -f'.
6342 Suggested by Jonathan Kamens.
6344 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
6346 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
6348 2001-12-14 Akim Demaille <akim@epita.fr>
6350 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
6352 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
6354 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
6355 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
6356 abs_srcdir, top_srcpath to abs_top_srcdir.
6357 (_AC_OUTPUT_FILES): Adjust.
6358 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
6359 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
6360 * tests/wrappl.in, tests/wrapsh.in: Adjust.
6362 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
6364 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
6365 C/Fortran linking on HP/UX, by extracting the Fortran library
6366 search path from the LPATH line in the $F77 -v output.
6368 2001-12-12 Kevin Ryde <user42@zip.com.au>
6370 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
6371 forbidden file descriptors table.
6373 2001-11-26 Akim Demaille <akim@epita.fr>
6375 * bin/autoscan.in (%c_keywords): Build it at top level.
6376 Map to 1 in order to simplify its uses.
6378 2001-11-26 Akim Demaille <akim@epita.fr>
6380 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
6381 Remove $filepath, useless.
6382 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
6383 variables, they are really part of the tokens.
6384 Split the input line on spaces and then look for tokens.
6385 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
6386 because of `lex$U.$(OBJEXT)'.
6387 (&scan_files): Use "@list" instead of join.
6388 * doc/Makefile.am (CLEANFILES): Add *.fns.
6390 2001-11-26 Akim Demaille <akim@epita.fr>
6392 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
6393 Remove, replaced by...
6394 * tests/wrappl.in: Be common for all the Perl executables.
6395 In particular autoscan and autoheader want -I.
6396 * configure.ac: Adjust.
6397 * lib/autoscan/headers: errno.h is portable.
6399 2001-11-26 Akim Demaille <akim@epita.fr>
6401 * bin/autoscan.in (used): New.
6404 2001-11-26 Akim Demaille <akim@epita.fr>
6406 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
6408 (&scan_sh_file): Remove a duplicate pattern.
6409 (&check_configure_ac): Use long options.
6410 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
6412 2001-11-26 Akim Demaille <akim@epita.fr>
6414 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
6415 Before, having a line containing the opening of a multi line
6416 comment made the whole line be ignored.
6418 2001-11-26 Akim Demaille <akim@epita.fr>
6420 * doc/autoconf.texi (Using an Autotest Test Suite): New.
6421 (testsuite Scripts): Be one of its subsection.
6422 (Autotest Logs): New.
6424 2001-11-26 Akim Demaille <akim@epita.fr>
6426 Test groups are now run two directories deeper.
6428 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
6429 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
6431 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
6432 top_srcdir, builddir and top_builddir.
6433 Use `at_*dir' relatively to the directory containing the
6434 suite, use `*dir' when relatively to the current group dir.
6436 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
6438 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
6439 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
6440 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
6443 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6445 * doc/autoconf.texi (Using System Type): Add an example of `case
6446 $host' usage so people quit using `case $target' everywhere.
6448 2001-11-22 Akim Demaille <akim@epita.fr>
6450 * doc/autoconf.texi (Installation Directory Variables): Englishoes
6451 spotted by Jim Meyering.
6453 2001-11-16 Paul Eggert <eggert@twinsun.com>
6455 This patch implements a `long double' suggestion by Oliver Kiddle.
6457 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
6458 static, to catch errors if the value isn't known at compile-time
6459 and the compiler supports dynamic arrays. Change its name from
6460 `_array_' to `test_array' to avoid potential name clashes.
6461 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
6462 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
6463 better than double. Catch a bug in GCC 2.95.2 x86.
6464 * doc/autoconf.texi (C Compiler): Document the above.
6467 2001-11-13 Akim Demaille <akim@epita.fr>
6469 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
6471 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
6473 2001-11-13 Akim Demaille <akim@epita.fr>
6475 * lib/autotest/general.m4 (AT_INIT): After having run the test
6476 group, go back to the initial directory, not to at_suite_dir.
6478 2001-11-13 Akim Demaille <akim@epita.fr>
6480 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
6481 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
6482 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
6484 (AT_CHECK_CONFIGURE): Use absolute paths.
6485 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
6486 The problem is still the old one: there is no means in M4 (that I
6487 know about) to create a defining macro, because there is no means
6488 to create `$1' etc., therefore, the defining macro ``swallows''
6489 all the arguments meant to the defined macro.
6491 2001-11-13 Akim Demaille <akim@epita.fr>
6493 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
6494 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
6496 * tests/aclocal.m4: Remove, as it is no longer used.
6498 2001-11-13 Akim Demaille <akim@epita.fr>
6500 * lib/autotest/general.m4: Change `tests?' into `groups?' in
6501 variable names when referring to a single test group, or to
6502 `suite' when referring to the whole test suite.
6503 `at_last_test' is removed: m4 compute at_format itself.
6504 (at_stdout, at_stder1, at_stderr): New variables.
6505 (AT_CHECK): Use them.
6507 2001-11-13 Akim Demaille <akim@epita.fr>
6509 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
6511 Create `testsuite.dir/003/run' instead of `testsuite.003'.
6512 Do it as soon as a test fails, don't wait till the end of the test
6514 Don't remove $as_me.[0-9]*, since these files no longer exist.
6516 2001-11-13 Akim Demaille <akim@epita.fr>
6518 * tests/tools.at: Use absolute paths, since we are no longer run
6521 2001-11-13 Akim Demaille <akim@epita.fr>
6523 Now that tests are running in their own private dir, there is no
6524 need to list the files to remove at the end of tests groups.
6526 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
6527 (AT_data_files, at_data_files): Remove.
6528 (AT_CLEANUP, AT_DATA): Simplify.
6530 Remove the group dir if !debug && !failed.
6531 * tests/atspecific.m4: Adjust.
6533 2001-11-13 Akim Demaille <akim@epita.fr>
6535 Start a new layout for Autotest: `testsuite' creates
6536 `testsuite.dir' in which the at-check-line etc. files are to be
6537 found, and `testsuite.dir/003' where the test group 3 is run.
6539 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
6540 at_check_line_file, at_format, at_test_normalized, at_group_dir
6542 Create the directories.
6543 Use absolute paths for at- files.
6546 2001-11-11 Michael Matz <matz@kde.org>
6548 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
6550 (m4_car): Properly quote arguments.
6552 2001-11-13 Akim Demaille <akim@epita.fr>
6554 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
6555 with stricter rules on LIBOBJS.
6557 2001-11-12 Paul Eggert <eggert@twinsun.com>
6559 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
6560 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
6563 2001-11-12 Akim Demaille <akim@epita.fr>
6565 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
6567 2001-11-12 Akim Demaille <akim@epita.fr>
6569 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6570 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
6571 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6572 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6573 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
6574 specify to what the macro should be defined (typically to 1).
6576 2001-11-12 Akim Demaille <akim@epita.fr>
6578 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
6581 2001-11-12 Akim Demaille <akim@epita.fr>
6583 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6584 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
6585 definition used by Automake where LEX is +/- "${missing} lex" and
6586 `missing' itself contains variables.
6588 2001-11-12 Akim Demaille <akim@epita.fr>
6590 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
6591 Now that M4sh pushes BODY, the comments were output at the end of
6594 2001-11-08 Akim Demaille <akim@epita.fr>
6596 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
6597 that we can trace macros from aclocal.m4.
6598 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
6599 obsoleted, and redirect to the former anyway.
6600 Reported by Ralf Corsepius.
6602 2001-11-08 Akim Demaille <akim@epita.fr>
6604 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
6605 processed only if present.
6606 * tests/torture.at (Configuring subdirectories): Use autoreconf
6607 instead of successive calls to autoconf.
6608 Add a nonexistent subdirectory to exercise the patch above.
6609 Reported by Ralf Corsepius.
6611 2001-11-08 Kevin Ryde <user42@zip.com.au>
6613 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
6614 doesn't accept .S files.
6616 2001-11-07 Akim Demaille <akim@epita.fr>
6618 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
6619 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
6620 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
6621 * bin/autom4te.in (warn_forbidden): New.
6622 (handle_output): Use it.
6623 Read m4_pattern_forbid with messages.
6625 2001-11-05 Akim Demaille <akim@epita.fr>
6627 * bin/autom4te.in (--normalize): Remove.
6628 * lib/autom4te.in: Adjust.
6630 2001-11-05 Akim Demaille <akim@epita.fr>
6632 * tests/Makefile.am (testsuite): Rename this target as...
6633 ($(TESTSUITE)): this.
6636 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
6638 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
6639 the --prefix option, also remove it's argument.
6641 2001-11-05 Akim Demaille <akim@epita.fr>
6643 * doc/autoconf.texi (testsuite Invocation): Update.
6644 (Writing testsuite.at): Update.
6646 2001-11-03 Akim Demaille <akim@epita.fr>
6648 * doc/autoconf.texi: s/@code/@command/ where appropriate.
6650 2001-11-03 Akim Demaille <akim@epita.fr>
6652 * lib/Autom4te/General.pm: (&catfile, &canonfile)
6653 (&file_name_is_absolute): New, wrappers around routines from
6655 Use and export them.
6656 (&find_configure_ac): Optionally take a directory where to look at.
6657 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
6659 Default @ARGV to `.', not find_configure_ac.
6660 (&autoreconf): Argument is a directory.
6661 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
6662 * doc/autoconf.texi (autoreconf Invocation): Update.
6664 2001-11-03 Akim Demaille <akim@epita.fr>
6666 * lib/Autom4te/General.pm (@export_vars, @export_subs)
6667 (@export_forward_subs): New.
6668 Add basename, dirname, and fileparse.
6670 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
6671 Don't look for aclocal flags if we already know aclocal is not
6673 Move aclocal.m4t only if it exists.
6674 Reported by Ezra Peisach.
6676 2001-11-03 Akim Demaille <akim@epita.fr>
6678 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
6679 passed on command line, defaulting to ./configure.ac if present.
6680 (&maybe_autoreconf, File::Find): Remove, unused.
6681 (&autoreconf): If autoconf is not used, don't try to trace.
6683 2001-11-02 Akim Demaille <akim@epita.fr>
6685 * configure.ac: Bump to 2.52g.
6687 2001-11-02 Akim Demaille <akim@epita.fr>
6691 2001-11-02 Akim Demaille <akim@epita.fr>
6693 * config/config.guess, config/config.sub, doc/standards.texi:
6694 * config/lispdir.m4: Update from masters.
6695 * configure.ac: Bump to 2.52f.
6697 2001-11-02 Akim Demaille <akim@epita.fr>
6699 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6700 Don't run aclocal when aclocal.m4 is not from aclocal.
6702 Don't run libtoolize and gettextize if --install is not given.
6704 2001-11-01 Paul Eggert <eggert@twinsun.com>
6706 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6707 be invoked before _AS_LINENO_PREPARE.
6708 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6709 than character ranges.
6711 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6712 invoking AS_BASENAME. Set the locale variables to 'C' if
6713 possible, as POSIX requires this to get the traditional
6715 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6717 2001-10-31 Paul Eggert <eggert@twinsun.com>
6719 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6720 with {}, as that triggers a bug in Bash 2.05.
6722 (_AS_LINENO_PREPARE): Use Sed rather than
6723 Awk. Fix the sed prepass to work even if there are multiple
6724 instances of $LINENO on the same line. Do not substitute for
6725 other variables like $LINENOT. Do not check file dates; such a
6726 check is unreliable on sufficiently fast machines, and removing
6727 the check makes the code simpler and more reliable. Check for
6728 output and chmod failures.
6730 * doc/autoconf.texi (Special Shell Variables): Document
6733 2001-10-31 Akim Demaille <akim@epita.fr>
6735 * tests/Makefile.am (atconfig): Remove this target, Automake
6738 2001-10-31 Akim Demaille <akim@epita.fr>
6740 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6741 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6742 provided, while it is optional.
6743 * configure.ac: Adjust.
6745 2001-10-26 Paul Eggert <eggert@twinsun.com>
6747 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6748 lib/Autom4te/Struct.pm:
6749 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6752 * doc/autoconf.texi (Special Shell Variables): Document some
6753 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6755 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6756 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6757 eval $LINENO is not portable in practice.
6759 2001-10-24 Akim Demaille <akim@epita.fr>
6761 * lib/Autom4te/General.pm (backname): New.
6763 2001-10-24 Akim Demaille <akim@epita.fr>
6765 * m4/: Remove, merged into...
6768 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6770 * doc/autoconf.texi (Shellology): Mention the problems with bash
6771 2.05's use of ANSI quoting in its `set' builtin.
6773 2001-10-22 Paul Eggert <eggert@twinsun.com>
6775 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6776 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6777 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6778 POSIX decided to standardize on the int flavor of strerror_r.
6779 Always do char* test, as there's no reason not to.
6780 Assign to a char* var, to catch strerror_r that returns int*.
6782 * doc/autoconf.texi (Particular Functions):
6783 Document the above changes. Also, document the fact that
6784 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6786 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6788 2001-10-20 Akim Demaille <akim@epita.fr>
6790 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6791 the executable was missing from the log.
6793 2001-10-20 Akim Demaille <akim@epita.fr>
6795 * lib/Autom4te/General.pm (&update_file): If destination is
6796 unchanged, remove the source.
6797 (&up_to_date_p): Don't be verbose, be debug.
6798 * bin/autoreconf.in: No longer support --m4dir.
6799 (&autoreconf): Display the full path of the configure.ac we are
6802 Be sure to honor --force with gettextize.
6804 * doc/autoconf.texi: Adjust.
6806 2001-10-20 Akim Demaille <akim@epita.fr>
6808 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6810 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6811 `intl' is already present, as it refuses unless --force.
6812 (&parse_args): Use -I, --include instead of the old Autoconf
6814 ($localdir, $autoconf_dir): Remove.
6816 (&maybe_autoreconf): New, to preserve $_ for File::Find.
6818 2001-10-19 Jens Petersen <petersen@redhat.com>
6820 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6821 * doc/autoconf.texi (Particular Programs): Likewise.
6823 2001-10-19 Akim Demaille <akim@epita.fr>
6825 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6826 file in @configure_input@.
6827 Don't mention `automatically' in addition to `generated'.
6828 * tests/torture.at (#define header templates): Adjust.
6830 2001-10-19 Akim Demaille <akim@epita.fr>
6832 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6833 comment, explain how to install automatic mode selection.
6836 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6838 * bin/autoreconf.in (autoreconf): Display the path to the
6839 configure.ac being studied.
6841 2001-10-18 Paul Eggert <eggert@twinsun.com>
6843 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6844 long, to work around a bug in the HP C compiler version HP92453-01
6847 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6848 (AS_BASENAME_EXPR): New macro.
6849 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6850 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6851 and fall back on 'sed' only if the other two fail. This makes
6852 AS_BASENAME act more like AS_DIRNAME.
6853 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6854 contains white space.
6855 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6856 Use AS_DIRNAME, since I think it's now DOS-friendly.
6857 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6858 Allow "dirname //FOO" to return either / or //, as POSIX allows
6861 2001-10-10 Akim Demaille <akim@epita.fr>
6863 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6864 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6867 2001-10-10 Akim Demaille <akim@epita.fr>
6869 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6871 (_AS_ECHO_N): AS_REQUIREs it.
6873 2001-10-10 Akim Demaille <akim@epita.fr>
6875 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6876 (AC_INCLUDES_DEFAULT): Move to...
6877 * lib/autoconf/headers.m4: here.
6878 * lib/autoconf/types.m4: Comment changes.
6879 * doc/autoconf.texi: Specify where the default includes are used
6880 in the macro prototypes.
6882 2001-10-09 Akim Demaille <akim@epita.fr>
6884 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6887 2001-10-08 Akim Demaille <akim@epita.fr>
6889 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6890 (&parse_args): Pass verbosity/debugging options to subtools when
6891 --debug, not when --verbose.
6892 * lib/autom4te.in (Autoreconf-preselections): New.
6895 2001-10-08 Akim Demaille <akim@epita.fr>
6897 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6899 2001-10-08 Akim Demaille <akim@epita.fr>
6901 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6902 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6904 2001-10-08 Akim Demaille <akim@epita.fr>
6906 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6907 (Syntax of the shell scripts): Don't.
6908 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6909 bother with $force since...
6910 * lib/Autom4te/General.pm: does.
6912 2001-10-08 Akim Demaille <akim@epita.fr>
6914 * bin/autoreconf.in: Rewrite in Perl.
6915 * configure.ac: Adjust.
6916 * lib/Autom4te/General.pm (&up_to_date_p): New.
6917 * bin/autom4te.in (&up_to_date_p): Use it.
6919 (&up_to_date): this.
6921 2001-10-08 Akim Demaille <akim@epita.fr>
6923 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6924 (m4_list_cmp): Use $0 to reinvoke yourself.
6925 (m4_patsubsts): New.
6926 (m4_strip, m4_version_unletter): Use it.
6927 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6929 2001-10-08 Akim Demaille <akim@epita.fr>
6931 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6932 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6933 * lib/autoconf/types.m4, lib/autotest/general.m4,
6934 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6935 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6936 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6937 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6939 2001-10-08 Akim Demaille <akim@epita.fr>
6941 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6943 2001-10-08 Akim Demaille <akim@epita.fr>
6945 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6946 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6947 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6948 * tests/tools.at, tests/m4sh.at: Use it.
6949 * tests/m4sh.at: Don't rely on Autoconf macros.
6950 (DIRNAME_TEST): Also exercise the expr variant.
6951 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6952 preferred M4sugar extension is now `.4s'.
6953 * tests/README: Remove.
6955 2001-10-08 Akim Demaille <akim@epita.fr>
6957 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6958 (m4_provide_if): this.
6959 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6960 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6961 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6962 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6964 2001-10-08 Akim Demaille <akim@epita.fr>
6966 Use `add-log-current-defun-function' for ChangeLog creation.
6967 Suggested by Tom Tromey.
6969 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6970 (autotest-mode): Adjust.
6971 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6972 'comment-region onto `C-c ;'.
6973 Comments are `#', not `dnl'.
6974 (autoconf-current-defun): New.
6975 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6977 2001-10-08 Akim Demaille <akim@epita.fr>
6979 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6980 * lib/m4sugar/m4sh.m4: here.
6981 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6982 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6983 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6984 include handle the m4_pattern_*, no longer push the
6985 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6986 * lib/autotest/general.m4 (AT_INIT): Likewise.
6987 * tests/base.at: Adjust the tests to use AS_INIT.
6988 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6989 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6992 2001-10-07 Paul Eggert <eggert@twinsun.com>
6994 * doc/autoconf.texi (config.status Invocation):
6995 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6997 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6998 shell does not support LINENO, and if CONFIG_SHELL is unset or
6999 empty, and if we can find a shell that does support LINENO,
7000 then set CONFIG_SHELL to that shell and then re-execute
7001 ourselves with CONFIG_SHELL.
7003 2001-10-05 Paul Eggert <eggert@twinsun.com>
7005 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
7006 doesn't exist. Remove *.tmp, as a .tmp file is created during the
7007 build of $(TESTSUITE).
7009 2001-10-05 Akim Demaille <akim@epita.fr>
7011 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
7012 iff we are a bareword.
7013 Reported by Raja R Harinath.
7015 2001-10-05 Akim Demaille <akim@epita.fr>
7017 * tests/m4sh.at (LINENO): New.
7018 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
7019 PATH_SEPARATOR before using it.
7020 Fix the absolute path case/esac pattern.
7021 Provide $0 as fallback for as_myself.
7022 Reported by Raja R Harinath.
7024 2001-10-05 Akim Demaille <akim@epita.fr>
7026 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
7027 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
7029 2001-10-05 Akim Demaille <akim@epita.fr>
7031 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
7032 (AS_SHELL_SANITIZE): here. Use it.
7033 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
7036 2001-10-04 Akim Demaille <akim@epita.fr>
7038 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
7039 combination of Awk and sed to replace $LINENO.
7041 2001-10-02 Paul Eggert <eggert@twinsun.com>
7043 * doc/autoconf.texi (Limitations of Builtins): You can't use
7044 "source"; it's not portable. Remove confusing and
7045 somewhat-incorrect example involving "." and "/".
7047 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
7048 compatibility with POSIX shells.
7050 2001-10-02 Akim Demaille <akim@epita.fr>
7052 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
7053 instead of exec'ing to preserve $0 and $@.
7055 2001-10-01 Akim Demaille <akim@epita.fr>
7057 * tests/testsuite (AT_INIT) <at_pass_list>: New.
7058 Don't run twice the same test.
7060 2001-10-01 Akim Demaille <akim@epita.fr>
7062 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
7063 No longer output the list of tests.
7064 <--list>: New option.
7065 <--full-help>: Remove.
7066 Complete the short/long options duality.
7067 Various small adjustments.
7069 2001-10-01 Akim Demaille <akim@epita.fr>
7071 * doc/autoconf.texi: Use @kbd for user input.
7072 Always use `$' as shell prompt.
7074 2001-09-30 Paul Eggert <eggert@twinsun.com>
7076 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
7077 Don't use nested parenthesization. This patch was originally
7078 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
7079 but somehow it didn't get incorporated then.
7080 * doc/autoconf.texi (Limitations of Usual Tools):
7081 Clarify remark about sed and nested parenthesization.
7083 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
7084 Report an error if the size cannot be determined even though
7086 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7087 Check for `expr' arithmetic overflow, and for compilation failure,
7088 and invoke a new argument $4 if either is discovered.
7089 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
7090 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
7092 2001-09-28 Akim Demaille <akim@epita.fr>
7094 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
7095 * m4/lispdir.m4: New.
7096 * aclocal.m4, configure.ac: Adjust.
7098 2001-09-28 Akim Demaille <akim@epita.fr>
7100 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
7102 (AT_INIT): More the wrapped section to where it will be expanded.
7103 Output `AT_tested' only when existing.
7104 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
7106 2001-09-27 Akim Demaille <akim@epita.fr>
7108 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
7109 generates too many bug reports.
7111 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
7112 status when executing the ACTION-IF-FALSE.
7113 * tests/base.at (AC_TRY_*): Rename as...
7114 (AC_TRY_COMMAND): this.
7115 (AC_RUN_IFELSE): New.
7116 * tests/compile.at (Extensions, C keywords)
7117 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
7118 (Broken/missing compilers, AC_PROG_CPP with warnings)
7119 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
7120 * tests/c.at (Extensions, C keywords)
7121 (Broken/missing compilers, AC_PROG_CPP with warnings)
7122 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
7123 (AC_PROG_CPP requires AC_PROG_CC): here and...
7124 * tests/fortran.at (GNU Fortran 77): there.
7125 * doc/autoconf.texi (autoconf Invocation): Fix the example:
7126 AC_TRY_RUN is about compilation, not shell commands.
7127 (Test Programs): AC_TRY_RUN works as used to be advertised.
7129 2001-09-27 Akim Demaille <akim@epita.fr>
7131 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
7133 Be sure to detect when $LINENO always returns the same value.
7134 Look for the original script, basename($0) is certainly not
7136 Pass the CLI arguments to `$as_me.lineno'.
7138 2001-09-25 Akim Demaille <akim@epita.fr>
7140 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
7141 Be sure the close and reopen the LOG fd before and after using tee
7143 <at_tests_pattern>: Adjust to the new format of at_help_all.
7145 2001-09-23 Akim Demaille <akim@epita.fr>
7147 * bin/autom4te.in (parse_args): There can be several invocations
7150 2001-09-23 Akim Demaille <akim@epita.fr>
7152 * doc/autoconf.texi (Top): Wrap in @ifnottex.
7154 2001-09-23 Akim Demaille <akim@epita.fr>
7156 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
7157 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
7158 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
7159 builddir, buildpath, top_builddir, and top_buildpath.
7160 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
7161 the current directory.
7162 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
7163 variables *before* changing the current directory.
7164 Skip nonexistent dirs.
7165 * doc/autoconf.texi (Preset Output Variables): Document these
7168 * lib/autotest/general.m4: Do not reset AT_victims.
7169 Don't compute at_srcdir nor at_top_srcdir.
7171 * tests/tools.at: Hence use top_srcdir.
7173 * tests/Makefile.am, tests/autoconf, tests/autoheader,
7174 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
7176 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
7177 * tests/wrapsh.in, tests/autoupdate.in: New.
7178 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
7179 * configure.ac: Build the position independent wrappers.
7181 * man/Makefile.am: Now that test wrappers are position
7182 independent, use them and drop dark envvar magic.
7184 2001-09-23 Akim Demaille <akim@epita.fr>
7186 * doc/autoconf.texi (Common Shell Constructs): Rename as...
7187 (Programming in M4sh): this.
7188 Promote to @section.
7190 2001-09-23 Akim Demaille <akim@epita.fr>
7192 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
7193 Pass $at_debug_args to the rerun test suite.
7194 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
7195 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
7198 2001-09-23 Akim Demaille <akim@epita.fr>
7200 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
7202 2001-09-23 Akim Demaille <akim@epita.fr>
7204 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
7207 2001-09-23 Akim Demaille <akim@epita.fr>
7209 * lib/Autom4te/General.pm (&debug): New.
7210 * bin/autom4te.in ($language): Move to...
7212 Handle --language in languages.
7213 * lib/autom4te.in (Automake-selections, Autoheader-selections)
7214 (Autoscan-selections): New.
7217 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
7219 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
7220 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
7221 to match current versions from CVS Automake.
7223 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
7225 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
7228 2001-09-22 Akim Demaille <akim@epita.fr>
7230 * lib/autoconf/autotest.m4: Create `package.m4'.
7231 * tests/Makefile.am (package.m4): Remove.
7233 2001-09-22 Akim Demaille <akim@epita.fr>
7235 Rely on `$LINENO' when possible instead of `__oline__'.
7237 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
7238 `$LINENO' support replacement when not supported.
7239 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
7240 them explicitly to be sure they are not output before this section
7241 (via m4_require). Cosmetic only.
7242 * lib/autoconf/c.m4, lib/autoconf/general.m4,
7243 * lib/autoconf/programs.m4: Replace all the occurrences of
7244 `__oline__' with `$LINENO'.
7245 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
7247 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
7249 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
7250 character (u: -> ue) in a code comment.
7251 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
7254 2001-09-21 Akim Demaille <akim@epita.fr>
7256 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
7257 Suggested by Jim Meyering.
7259 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7261 * lib/autoconf/programs.m4: Use extensions listed in
7262 $ac_executable_extensions when looking for programs.
7264 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7266 * lib/autoconf/general.m4: Fix a small Englisho.
7267 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
7268 setting up ac_dir_suffix and ac_top_builddir.
7269 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
7271 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7273 * doc/autoconf.texi (File System Conventions): Clarify the use of
7275 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
7276 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
7277 be used instead of ':'.
7278 * lib/autotest/general.m4: Replace occurrences of ':' in
7279 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
7281 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7283 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
7284 arguments. Fixed a typo.
7286 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7288 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
7289 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
7291 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7293 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
7294 * bin/autoupdate.in: Ditto.
7295 * bin/autoheader.in: Reworded a few comments.
7296 * bin/autoconf.in: Reworded help text for a few options.
7297 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7298 * bin/autoscan.in, bin/autoupdate.in: Ditto.
7300 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7302 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
7303 already have $file). Set output files to binary mode (helps avoid
7304 CR issues on DOSish systems).
7306 2001-09-19 Akim Demaille <akim@epita.fr>
7308 * lib/autotest/general.m4: Englishoes.
7309 From Tim Van Holder and Alexey Mahotkin.
7311 2001-09-18 Paul Eggert <eggert@twinsun.com>
7313 * doc/autoconf.texi (Common Shell Constructs): New node,
7314 documenting AS_DIRNAME.
7315 (Limitations of Usual Tools): Refer to it when discussing dirname.
7316 Also, update discussion of POSIX standard to reflect latest draft.
7318 * lib/autoconf/c.m4:
7319 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
7321 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7322 Do not pass a first argument with leading '-'
7323 to expr, by parenthesizing initial integers that might be negative.
7325 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
7326 now merely checks whether it is an error to pass an argument
7329 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
7330 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
7331 whether it is a (compile-time) error to pass an argument to
7332 getpgrp. This simpler test supports the revised documentation,
7333 and is all that AC_FUNC_GETPGRP's users really need.
7335 2001-09-18 Akim Demaille <akim@epita.fr>
7337 * doc/autoconf.texi (Limitations of Make) <$<>: New.
7339 2001-09-18 Akim Demaille <akim@epita.fr>
7341 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
7343 * lib/autotest/general.m4 (AT_INIT): Adjust.
7345 2001-09-18 Paul Wagland <paul@wagland.net>
7347 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
7349 Add test for AS_BASENAME.
7350 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
7351 added test. It now correctly handles /1/2/3/, returning '3' not ''.
7352 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
7353 * tests/base.at: Fixed the expected responses. The old ones were
7355 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
7356 the documentation claims it should (and how it behaved in 2.13).
7358 2001-09-18 Akim Demaille <akim@epita.fr>
7360 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
7361 the AC_CONFIG_COMMANDS invocation.
7362 This also solves the name clash problems.
7363 Don't set the package's ID.
7364 * lib/m4sugar/Makefile.am (version.m4): Revamp.
7365 No longer to be shipped.
7366 (version.in): Remove.
7367 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
7368 * lib/autoconf/status.m4: Adjust.
7369 Use `m4_PACKAGE_STRING'.
7370 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
7371 the only optional argument is the name of the test suite.
7372 Expect `package.m4' to define the package signature.
7373 * lib/autom4te.in (Autotest): Add `package.m4?'.
7374 * tests/Makefile.am (package.m4): New.
7375 * tests/suite.at: ifnames is a victim.
7377 2001-09-18 Akim Demaille <akim@epita.fr>
7379 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
7380 AC_LIBSOURCE, AC_CONFIG_FILES.
7381 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
7382 program version string doesn't match the package's.
7383 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
7386 2001-09-17 Paul Eggert <eggert@twinsun.com>
7388 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7389 Allow expression to return any value that can fit into unsigned long
7390 (not int, as before). Check for output errors.
7392 2001-09-17 Bruno Haible <haible@ilog.fr>
7394 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7395 Always include <stdio.h> and <stdlib.h>. Evaluate
7396 the expression in an extra function before these includes. Call
7397 fprintf "%d" only after ensuring the argument is of type 'int'.
7398 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
7400 2001-09-17 Paul Eggert <eggert@twinsun.com>
7402 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
7403 or CFLAGS=-O5. In that case, the linker has a relaxed view of
7404 fatal errors, and AC_CHECK_LIB causes it to include libraries even
7405 when they don't exist.
7407 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
7408 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
7411 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
7412 version with the version used by fileutils 4.1, except use
7413 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
7416 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
7418 2001-09-13 Akim Demaille <akim@epita.fr>
7420 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
7422 Reported by Gerrit P. Haase.
7424 2001-09-13 Akim Demaille <akim@epita.fr>
7426 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
7427 m4_defn'ing is valid.
7429 2001-09-13 Akim Demaille <akim@epita.fr>
7431 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
7432 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
7435 2001-09-13 Akim Demaille <akim@epita.fr>
7437 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
7439 (m4_re_escape): New.
7440 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
7441 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
7442 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
7444 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
7445 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
7446 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
7447 AT_tests_all for consistency.
7449 (AT_VICTIMS): Similar to AT_KEYWORDS.
7450 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
7452 2001-09-13 Akim Demaille <akim@epita.fr>
7454 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
7456 2001-09-13 Akim Demaille <akim@epita.fr>
7458 * lib/autotest/general.m4 (AT_INIT): Create and remove
7459 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
7460 test suites can cohabit.
7462 2001-09-13 Akim Demaille <akim@epita.fr>
7464 * tests/mktests.sh: Don't output banners for empty test files.
7466 2001-09-13 Akim Demaille <akim@epita.fr>
7468 Test suites can be run independently of configure.
7470 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
7471 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
7472 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
7474 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
7476 * lib/autotest/general.m4: Use ECHO_*.
7478 2001-09-13 Akim Demaille <akim@epita.fr>
7480 * bin/ifnames.in: Rewrite in Perl.
7481 * configure.ac: Don't look for AWK.
7482 * tests/tools.at (AWK portability): Remove.
7483 (Syntax of the shell scripts): Don't check ifnames.
7484 (AT_CHECK_PERL_SYNTAX): New.
7485 (Syntax of the Perl scripts): Check ifnames.
7486 * tests/ifnames: New.
7488 2001-09-13 Akim Demaille <akim@epita.fr>
7490 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
7492 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
7493 Remove all the other keywords.
7495 2001-09-10 Akim Demaille <akim@epita.fr>
7497 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
7498 SETUP: no longer used.
7499 Support -k, --keywords.
7500 <at_help>: Be `no', `short', or `long'.
7501 <at_help_all>: New variable.
7503 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
7504 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
7505 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
7506 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
7507 No longer fill the HELP diversion.
7508 (AT_CLEANUP): Use them.
7509 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
7510 (m4_list_append): Remove.
7512 Spread a few keywords in the Autoconf test suite.
7514 2001-09-10 Akim Demaille <akim@epita.fr>
7516 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
7517 PATH_SEPARATOR, let M4sh compute it.
7518 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
7519 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
7521 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
7522 Simplify when the path is not a literal.
7523 (AS_UNAME): Use it to report PATH.
7524 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
7525 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
7526 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
7527 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
7528 normalize the path, and to look for victims.
7529 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
7530 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
7532 2001-09-07 Akim Demaille <akim@epita.fr>
7534 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
7535 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
7536 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
7537 related variables into `at_package_*'.
7538 * lib/autotest/general.m4 (AT_VICTIMS): New.
7539 (AT_INIT): Adjust for stand-alone/embedded test suites.
7540 (AS_MESSAGE_LOG_FD): Define and use it.
7541 * tests/suite.at (AT_VICTIMS): Use it.
7542 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
7545 2001-09-07 Akim Demaille <akim@epita.fr>
7547 Move toward possibly stand-alone test suites.
7549 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
7550 in addition, it introduces useless differences in logs.
7551 (AT_INIT): Let atconfig and atlocal be both optional.
7552 Adjust PATH computation.
7553 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
7555 2001-09-07 Akim Demaille <akim@epita.fr>
7557 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
7560 2001-09-05 Akim Demaille <akim@epita.fr>
7562 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
7563 to avoid GCC warnings.
7566 2001-09-05 Akim Demaille <akim@epita.fr>
7568 * bin/autom4te.in: --language is -l, not -s.
7570 2001-09-05 Akim Demaille <akim@epita.fr>
7572 Be ready to handle filenames as stupid as `dnl.at', for if even
7573 the maintainer is dumb enough to do that...
7575 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
7576 excellence in M4 quotation: consider `__file__' is active.
7578 And BTW, when invoking m4, pass the --include in the right order:
7581 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
7584 2001-09-05 Akim Demaille <akim@epita.fr>
7586 * lib/Autom4te/XFile.pm: New lib file.
7587 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
7588 * bin/autoheader.in: Use it.
7590 2001-09-05 Akim Demaille <akim@epita.fr>
7592 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
7595 2001-09-05 Akim Demaille <akim@epita.fr>
7597 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
7598 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
7600 * bin/autoscan.in: Use `getopt' and `find_files' etc.
7601 Add -I, --include support.
7602 * doc/autoconf.texi (autoscan Invocation): Adjust.
7604 2001-09-05 Akim Demaille <akim@epita.fr>
7606 CVS GNU M4 doesn't like `undefine(undefined)'.
7608 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
7609 New, extracted from main.
7610 Use IO::File wherever possible.
7611 (input.m4): Be constant, use -I instead of hard coding $tmp.
7612 Therefore be a quoted heredoc.
7613 Don't invoke `_au_disable', since ac was not loaded, but just
7616 2001-08-31 Akim Demaille <akim@epita.fr>
7620 2001-08-31 Akim Demaille <akim@epita.fr>
7622 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
7624 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
7626 2001-08-31 Akim Demaille <akim@epita.fr>
7628 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
7629 serious problems handling heredocs in heredocs.
7630 Reported by Nicolas Joly.
7632 2001-08-31 Akim Demaille <akim@epita.fr>
7634 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
7635 (Making testsuite Scripts): Update.
7637 2001-08-31 Akim Demaille <akim@epita.fr>
7639 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
7641 2001-08-31 Akim Demaille <akim@epita.fr>
7643 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
7644 (testsuite Scripts): There is no such thing as `atconfig.in'.
7645 And actually one diagram is missing: test suite runtime.
7647 2001-08-31 Akim Demaille <akim@epita.fr>
7649 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
7652 2001-08-31 Akim Demaille <akim@epita.fr>
7654 * bin/autoupdate.in (@include): `installcheck' revealed the path
7655 to m4sugar was lacking!
7657 2001-08-31 Akim Demaille <akim@epita.fr>
7659 * man/Makefile.am (.x.1): We really have to pass
7660 autom4te_perllibdir.
7662 2001-08-31 Akim Demaille <akim@epita.fr>
7664 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
7665 debug scripts, in particular passing explicitly listed tests to
7668 2001-08-31 Akim Demaille <akim@epita.fr>
7670 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
7671 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
7672 Use directly autom4te, not autoconf.
7673 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
7675 2001-08-31 Akim Demaille <akim@epita.fr>
7677 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
7678 * bin/autoheader.in (%symbol): Strip arguments of macros.
7680 2001-08-31 Akim Demaille <akim@epita.fr>
7682 * doc/autoconf.texi: Catch up -I, --include changes.
7684 2001-08-31 Akim Demaille <akim@epita.fr>
7686 * bin/autom4te.in (&parse_args): Die on unknown languages.
7687 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
7689 Promote --include over --macrodir and other obsolete options.
7691 2001-08-31 Akim Demaille <akim@epita.fr>
7693 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7694 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7695 * bin/autom4te.in ($autoconf): Pass --force.
7696 `print $out' doesn't print `$_' but `$out'.
7697 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7698 (autoheader): Pass --force since the test suite goes too fast for
7700 Adjust to the new autoheader messages.
7702 2001-08-31 Akim Demaille <akim@epita.fr>
7704 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7705 Check the completeness of the #template.
7706 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7707 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7710 2001-08-31 Akim Demaille <akim@epita.fr>
7712 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7713 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7714 Drop AC_MACRODIR dead for real.
7715 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7716 `autoheader: `config.hin' is created'.
7717 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7719 2001-08-31 Akim Demaille <akim@epita.fr>
7721 * bin/autoheader.in: Rewrite in Perl.
7722 * tests/autoheader: Adjust.
7724 2001-08-31 Akim Demaille <akim@epita.fr>
7726 * bin/autoconf.in (--include, -I): New option.
7727 Map --localdir, --autoconf-dir onto it.
7728 Forward autom4te's options instead of interpreting them.
7729 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7730 There is no such envvar since the inception of autom4te.cfg.
7731 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7732 * bin/autoupdate.in: Adjust, and perform more control.
7733 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7734 * tests/autoconf: Dittowise.
7736 2001-08-31 Akim Demaille <akim@epita.fr>
7738 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7739 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7741 Use -e, not -f, since /dev/null for instance is OK.
7742 (&parse_args): Adjust.
7743 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7745 2001-08-31 Akim Demaille <akim@epita.fr>
7747 * configure.ac: Also find tested executables in bin.
7748 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7749 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7750 installed peer executables, only PATH is allowed to resolve it.
7751 Pass `autoconf_dir' via options, not via invisible envvars.
7752 * lib/Autom4te/General.pm (&find_peer): Remove.
7753 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7754 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7755 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7756 find the executables for it.
7757 * tests/Makefile.am: Major cleanup. Too lazy to document...
7758 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7760 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7761 indeed related to running the test suite, while passing
7762 --autoconf-dir and others is related to running non installed
7763 Autoconf executables. So don't do that, leave it to...
7764 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7765 * tests/autoscan: New.
7766 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7767 refer to library files: rely on --language.
7769 2001-08-29 Akim Demaille <akim@epita.fr>
7771 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7772 s/--set/--language/.
7774 2001-08-29 Akim Demaille <akim@epita.fr>
7776 * doc/autoconf.texi: Strip the @nodes.
7777 Suggested by Paul Eggert.
7778 (Initializing configure): Typo.
7780 2001-08-29 Akim Demaille <akim@epita.fr>
7782 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7783 Suggested by Paul Eggert.
7785 2001-08-29 Akim Demaille <akim@epita.fr>
7787 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7788 download in a tmp dir.
7790 2001-08-29 Akim Demaille <akim@epita.fr>
7792 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7793 case insensitive OSes out there :(
7794 From Tim Van Holder.
7796 2001-08-29 Akim Demaille <akim@epita.fr>
7798 * lib/autom4te.in: New.
7799 * lib/Makefile.am (edit, autom4te.cfg): New.
7800 * bin/autom4te.in (BEGIN): Simplify.
7801 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7802 (&load_configuration): New. Use it.
7803 (&parse_args): Support --mode, --set, and --melt.
7804 * bin/autoconf.in: Simplify and adjust.
7805 * tests/Makefile.am (AUTOMAKE): Use --set.
7806 * tests/atlocal.in: Adjust.
7807 * BUGS: distcheck and check are weak.
7809 2001-08-29 Akim Demaille <akim@epita.fr>
7811 * lib/autotest/general.m4: Use
7812 foo=`(command) 2>/dev/null`
7814 foo=`command` 2>/dev/null
7815 (at-devnull): Rename as...
7817 (--clean): Remove AT-* files too.
7818 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7819 Reported by Nicolas Joly.
7821 2001-08-28 Akim Demaille <akim@epita.fr>
7823 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7824 quotes inside single quotes.
7825 Reported by Nicolas Joly.
7827 2001-08-28 Kevin Ryde <user42@zip.com.au>
7829 * doc/autoconf.texi (Function Portability): Mention C right shifts.
7831 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7833 * lib/autotest/general.m4: Reword some messages.
7834 (AT_INIT): Check for the `times' builtin before using it.
7835 Support test ranges as arguments to the testsuite.
7836 Have -e imply -d as the help text suggested.
7838 2001-08-27 Akim Demaille <akim@epita.fr>
7840 * Makefile.maint: Formatting changes.
7841 (do-po-update, po-update, cvs-update, update): New targets.
7844 2001-08-27 Akim Demaille <akim@epita.fr>
7846 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7848 Pass it to debug-*.sh scripts.
7849 <AUTOTEST_PATH>: May contain absolute dir names.
7851 2001-08-27 Akim Demaille <akim@epita.fr>
7853 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7854 Support `VAR=VAL' as arguments.
7855 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7856 may be set via the command line.
7858 2001-08-27 Akim Demaille <akim@epita.fr>
7860 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7861 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7862 first the build dirs, then the src dirs.
7863 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7865 2001-08-27 Akim Demaille <akim@epita.fr>
7867 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7868 at_data_files earlier.
7869 (--clean, -c): New option.
7870 * tests/Makefile.am: Use this option.
7872 2001-08-27 Akim Demaille <akim@epita.fr>
7874 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7875 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7878 * doc/autoconf.texi (Configuration Actions): Document the vars
7879 available in commands.
7880 Emphasize the risks of collisions in init-cmds.
7882 2001-08-27 Akim Demaille <akim@epita.fr>
7884 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7885 (Initializing configure): this new node.
7887 2001-08-27 Akim Demaille <akim@epita.fr>
7889 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7891 2001-08-27 Akim Demaille <akim@epita.fr>
7893 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7894 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7896 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7898 2001-08-27 Akim Demaille <akim@epita.fr>
7900 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7902 * lib/autoconf/autoheader.m4: this new file.
7903 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7904 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7906 * lib/autoconf/autoupdate.m4: this new file.
7908 2001-08-27 Akim Demaille <akim@epita.fr>
7910 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7911 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7912 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7914 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7915 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7917 2001-08-27 Akim Demaille <akim@epita.fr>
7919 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7920 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7921 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7922 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7923 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7924 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7925 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7926 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7927 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7928 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7929 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7930 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7931 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7932 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7933 (_AC_OUTPUT_SUBDIRS): Move to...
7934 * lib/autoconf/status.m4: this new file.
7935 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7936 * tests/Makefile.am, tests/suite.at: Adjust.
7938 2001-08-27 Akim Demaille <akim@epita.fr>
7942 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7943 (AMTAR): Help automake define it.
7944 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7945 needed, 1.5 can have a macro and a target with the same name.
7946 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7948 * m4/init.m4, m4/sanity.m4: Update.
7949 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7950 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7951 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7952 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7954 2001-08-27 Akim Demaille <akim@epita.fr>
7956 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7958 * lib/autoconf/version.in: Remove.
7959 * lib/m4sugar/version.in: New.
7960 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7962 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7963 the name of the directory they're in, instead of the filename,
7964 since version.m4 is now in m4sugar, but m4_acversion must not be
7965 classified as an Autoconf macro.
7966 ($input_m4): Don't qualify the path to m4sugar.
7967 Rather, pass autoconf_dir to m4.
7968 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7969 * tests/suite.at: Require 2.52c.
7971 2001-08-27 Akim Demaille <akim@epita.fr>
7973 testsuite.log should include config.log.
7975 * lib/autotest/autotest.m4: New.
7976 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7977 * tests/suite.at : Adjust.
7978 (AT_INIT): Log config.log.
7979 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7980 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7981 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7982 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7983 of config.log on traps.
7984 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7985 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7987 Open the log as soon as possible.
7988 Use the same log introduction as configure's.
7990 2001-08-22 Paul Eggert <eggert@twinsun.com>
7992 * doc/autoconf.texi (Indices): New node.
7993 Move indices out of the top level menu and into this submenu.
7995 2001-08-22 Akim Demaille <akim@epita.fr>
7997 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7999 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
8001 2001-08-22 Akim Demaille <akim@epita.fr>
8003 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
8004 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
8005 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
8006 * lib/autoconf/programs.m4: here.
8007 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
8008 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
8009 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
8010 * lib/autoconf/programs.m4: here.
8011 (_AC_DECL_YYTEXT): Rename as...
8012 (_AC_PROG_LEX_YYTEXT_DECL): this.
8013 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
8014 * tests/Makefile.am, tests/suite.am: Adjust.
8016 2001-08-22 Akim Demaille <akim@epita.fr>
8018 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
8020 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
8022 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
8023 * lib/autoconf/functions.m4: here.
8024 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
8025 (AH_CHECK_LIB): Move to...
8026 * lib/autoconf/libs: this new file.
8027 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
8028 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
8029 * lib/autoconf/libs.m4: here.
8030 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
8032 2001-08-22 Akim Demaille <akim@epita.fr>
8034 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
8035 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
8036 (AC_SITE_LOAD): Better logging of config.site.
8038 2001-08-20 Akim Demaille <akim@epita.fr>
8040 * configure.ac (AT_CONFIG): Fix the path.
8041 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
8044 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
8046 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
8047 program with AC_LANG_PROGRAM before feeding it to
8048 AC_COMPILE_IFELSE. Cleanup grep usage.
8050 2001-08-20 Akim Demaille <akim@epita.fr>
8052 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
8053 * NEWS, README, README-alpha, TODO, tests/README: This package is
8054 `Autoconf', not `autoconf' (the executable).
8056 2001-08-20 Akim Demaille <akim@epita.fr>
8058 Info readers seem to need `Index' in the index node title :(
8060 * doc/autoconf.texi: Reverse the 2001-08-15 change which
8061 simplified index node names.
8063 2001-08-20 Akim Demaille <akim@epita.fr>
8065 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
8066 arguments are not literals.
8067 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
8068 Specify the output variables, and macros defined.
8070 2001-08-20 Akim Demaille <akim@epita.fr>
8072 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
8073 (Examining Syntax) <AC_TRY_COMPILE>
8074 (Examining Libraries) <AC_TRY_LINK>
8075 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
8077 Reported by Werner Lemberg.
8079 2001-08-20 Akim Demaille <akim@epita.fr>
8081 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
8082 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
8083 Load atlocal late enough to dump it in the log.
8084 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
8086 2001-08-20 Akim Demaille <akim@epita.fr>
8088 * tests/torture.at (Configuring subdirectories): New test.
8089 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
8091 * m4/atconfig.m4: Be sure the let $[0] be expandable.
8092 (top_srcdir): Fix its computation.
8094 2001-08-20 Akim Demaille <akim@epita.fr>
8096 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
8097 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
8099 Create `atconfig' automagically.
8100 Configure atlocal.in if present.
8101 * tests/atconfig.in: Remove.
8102 * tests/atlocal.in: New.
8103 * tests/Makefile.am: Adjust.
8105 2001-08-20 Akim Demaille <akim@epita.fr>
8107 Huh!?!?! There are still some user EOF tags used, which prevents
8108 their use in AC_CONFIG_COMMANDS for instance...
8110 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
8111 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
8112 `_CSEOF', or `_ATEOF', as appropriate.
8113 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
8114 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
8116 2001-08-20 Akim Demaille <akim@epita.fr>
8118 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
8119 * tests/semantics.at, tests/tools.at, tests/torture.at:
8120 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
8122 2001-08-20 Akim Demaille <akim@epita.fr>
8124 Autotest invokes M4sh's initialization.
8126 * lib/autotest/general.m4: Adjust the diversion names.
8127 (AT_INIT): Run AS_INIT.
8128 Use the BINSH diversion to invoke /bin/sh.
8129 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
8130 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
8132 2001-08-20 Akim Demaille <akim@epita.fr>
8134 Let M4sh have its own diversions.
8136 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
8137 (_m4_divert(NOTICE)): Rename as...
8138 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
8139 (_m4_divert(HEADER-COMMENT)): these.
8140 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
8141 (_m4_divert(NOTICE)): New, for Libtool.
8142 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
8143 long ago with `_m4_divert(GROW)'.
8144 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
8146 2001-08-20 Akim Demaille <akim@epita.fr>
8148 * tests/base.at, tests/compile.at, tests/foreign.at,
8149 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
8150 * tests/semantics.at, tests/suite.at, tests/tools.at,
8151 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
8153 2001-08-20 Akim Demaille <akim@epita.fr>
8155 * bin/autom4te.in (handle_output): Handle @__@.
8157 2001-08-20 Akim Demaille <akim@epita.fr>
8159 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
8160 * lib/autotest/general.m4: Adjust the license.
8162 2001-08-17 Paul Eggert <eggert@twinsun.com>
8164 * doc/autoconf.texi (Function Portability): Mention snprintf,
8165 following up on a suggestion by Kevin Ryde.
8167 2001-08-17 Akim Demaille <akim@epita.fr>
8169 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
8170 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
8172 2001-08-17 Akim Demaille <akim@epita.fr>
8174 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
8175 `$0.log' as for projects where testsuite is in src, we'd have
8176 testsuite.log created in src.
8178 2001-08-17 Akim Demaille <akim@epita.fr>
8180 * bin/autom4te.in (&parse_args): Recognize --normalize.
8182 2001-08-17 Akim Demaille <akim@epita.fr>
8184 Start implementing the AC_CHECK_HEADER transition scheme.
8186 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
8187 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
8188 (AC_CHECK_HEADER): Use them.
8190 2001-08-17 Akim Demaille <akim@epita.fr>
8192 * doc/autoconf.texi: Work around Texinfo buglets.
8193 (Transformation Rules): One example is enough, users are expected
8194 to have their brains on. And BTW, use DESTDIR.
8195 (dvar): New macro. Use it.
8197 2001-08-17 Akim Demaille <akim@epita.fr>
8199 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
8200 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
8201 looking for ChangeLogs.
8203 2001-08-17 Akim Demaille <akim@epita.fr>
8205 * bin/autom4te.in: --normalize is a new option.
8206 * bin/autoconf.in: Use it.
8208 2001-08-17 Akim Demaille <akim@epita.fr>
8210 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
8211 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
8213 2001-08-16 Paul Eggert <eggert@twinsun.com>
8215 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
8218 2001-08-15 Akim Demaille <akim@epita.fr>
8220 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
8223 2001-08-15 Akim Demaille <akim@epita.fr>
8225 * doc/autoconf.texi (pr): New index.
8226 (prindex, findex): Use, merge, and output them.
8227 (Environment Variable Index, Output Variable Index)
8228 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
8229 (Autotest Macro Index): Rename as...
8230 (Environment Variables, Output Variables,Preprocessor Symbols)
8231 (Autoconf Macros, M4 Macros, Autotest Macros): these.
8232 * doc/install.texi: Use @command.
8233 (Environment Variables): Rename as...
8234 (Defining Variables): this.
8236 2001-08-15 Akim Demaille <akim@epita.fr>
8238 * doc/autoconf.texi (Function Portability): sprintf's return
8242 2001-08-15 Akim Demaille <akim@epita.fr>
8244 * Makefile.maint (CVS): New.
8245 (local-check): Run changelog-check. last.
8246 (alpha): Don't depend upon local-check, since...
8247 (cvs-dist): depends upon it.
8249 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
8251 * tests/Makefile.am: Use a clean-local rule to remove
8252 autom4te.cache (it's a directory, not a file.
8253 * Makefile.am: Ditto (but maintainer-clean-local).
8255 2001-08-15 Akim Demaille <akim@epita.fr>
8257 * bin/autom4te.in (@m4_warning): New.
8258 (&handle_m4): Use it.
8259 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
8260 warnings are issued at each run.
8261 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
8264 2001-08-15 Akim Demaille <akim@epita.fr>
8266 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
8267 don't waste time running `autoupdate --version' works.
8268 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
8270 2001-08-13 Akim Demaille <akim@epita.fr>
8272 * doc/autoconf.texi (ma): Rename this index as...
8275 2001-08-13 Akim Demaille <akim@epita.fr>
8277 * Makefile.am: Remove dead code and dead comments.
8278 (pdf, html): New targets.
8279 * doc/autoconf.texi (Using Autotest): New chapter.
8280 * doc/Makefile.am (pdf): New targets.
8281 (CLEANFILES): Adjust.
8283 2001-08-13 Akim Demaille <akim@epita.fr>
8285 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
8286 duration of the test suite.
8288 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8290 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
8291 endianness for comparison instead of relying on AT_CHECK_ENV.
8293 2001-08-11 Paul Eggert <eggert@twinsun.com>
8295 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
8296 to the INSTALL file.
8298 2001-08-11 Paul Eggert <eggert@twinsun.com>
8300 * NEWS: The autoconf manual now is distributed under the terms
8301 of the GNU Free Documentation License.
8303 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
8304 Add an appendix "Copying This Manual" for the FDL.
8306 * doc/fdl.texi: New file, from
8307 <http://www.gnu.org/licenses/fdl.texi>.
8309 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
8311 2001-08-10 Paul Eggert <eggert@twinsun.com>
8313 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
8314 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
8315 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
8316 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
8317 m4/sanity.m4, tests/README, tests/aclocal.m4,
8318 tests/atspecific.m4, tests/base.at, tests/compile.at,
8319 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
8320 tests/semantics.at, tests/suite.at, tests/tools.at,
8321 tests/torture.at: Add copyright notice.
8323 * tests/mktests.sh: Update year in copyright notice.
8325 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8327 * tests/semantics.at (AC_C_BIGENDIAN): New test.
8329 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8331 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
8332 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
8333 * doc/autoconf.texi (C Compiler Characteristics): Update
8334 documentation for AC_C_BIGENDIAN.
8336 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8338 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
8339 magic values from an object file when cross-compiling.
8340 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
8342 2001-08-10 Akim Demaille <akim@epita.fr>
8344 * bin/autom4te.in (&handle_output): Don't use `grep' with side
8346 Suggested by Russ Allbery.
8348 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8350 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
8351 current $prefix to the sub-configures.
8353 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
8355 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
8356 extension (needed on BeOS). Reported by Guido van Rossum.
8358 2001-08-09 Akim Demaille <akim@epita.fr>
8360 * bin/autom4te.in ($icache): Load it only if older than autom4te.
8362 2001-08-07 Akim Demaille <akim@epita.fr>
8364 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
8366 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
8367 No need to remove the files before and after the each test, before
8368 each test and at the end of the suite is enough.
8369 Display only the children `times', not the shell's.
8370 If the test failed or was skipped, at-times is not available.
8372 2001-08-07 Akim Demaille <akim@epita.fr>
8374 Always produce testsuite.log, including when there are no
8375 failures. This helps getting information on skipped tests, and
8376 duration of the tests. Err, implement the latter btw.
8378 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
8379 Dump information on the first run of each test.
8380 (AT_CLEANUP): Create `at-times' containing the duration of the
8383 2001-08-07 Akim Demaille <akim@epita.fr>
8385 The use of `dumpstat' revealed that `len' was used although it
8386 should not. m4_text_wrap was using it, but in the Autoconf world
8387 where it is legal. Hence (i) test M4sh in its own world, not
8388 Autoconf's, and (ii), ahem, fix the bug :)
8390 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
8391 does not like `' instead of [].
8392 (AT_INIT): Forbid `^_?AT_'.
8393 And don't output such tokens.
8394 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
8395 `script.as', and `autom4te.cache'.
8396 Remove `empty' and `macro' which are no longer used.
8397 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
8398 * tests/m4sugar.at: Use it.
8399 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
8401 2001-08-07 Akim Demaille <akim@epita.fr>
8403 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
8405 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
8407 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
8409 2001-08-04 Akim Demaille <akim@epita.fr>
8411 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
8412 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
8414 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
8415 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
8416 (AC_F77_MAIN): Likewise.
8418 2001-08-04 Akim Demaille <akim@epita.fr>
8420 Don't rely on M4sugar outputting the patterns in files, since we
8421 might process the output _without_ running m4, hence without these
8424 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
8425 * bin/autom4te.in (@Request::includes): Remove, unused.
8426 (@Request::source): Rename as...
8427 (@Request::input): this.
8428 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
8429 (&handle_output): Fetch the patterns from the traces.
8430 `$forbidden' and `$allowed' are constant: use m//o.
8431 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
8432 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
8434 2001-08-04 Akim Demaille <akim@epita.fr>
8436 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
8437 autoconf', i.e., in addition to caching traces, cache the output.
8439 * bin/autom4te.in (Request::cache): Rename as...
8440 (Request::id): this.
8441 ($cache, $icache, $tcache, $ocache): New.
8442 (&handle_m4): Save M4 output in the cache instead of $tmp.
8443 (&handle_output): Adjust.
8444 (&up_to_date_p): Check that the output cache is up to date too.
8445 (top level): Run `&handle_m4' iff force or the cache is invalid.
8446 Run `&handle_output' if the output cache is more recent.
8448 2001-08-04 Akim Demaille <akim@epita.fr>
8450 * bin/autom4te.in ($force): New.
8451 (&parse_args, &print_usage): -f, --force is a new option.
8452 (&handle_output): CPP directives might have spaces after `#'.
8453 (&parse_args): The first file only can be frozen.
8455 2001-08-04 Akim Demaille <akim@epita.fr>
8457 Don't let autom4te compute the `include' traces several times:
8458 first check that the trace cache file is up to date, and then
8459 compare its timestamp with that of the output.
8461 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
8462 the preamble. Don't require 5.005 as Autom4te::General does it,
8463 and better yet (use `use', not `require'!).
8464 * lib/Autom4te/Struct.pm: Rename the last occurrences of
8465 Class::Struct as Autom4te::Struct.
8466 * lib/Autom4te/General.pm (File::stat): Use it.
8467 (&mtime): New, export it.
8468 * bin/autom4te.in: Use it.
8469 Declare `$req' is invalid if it is outdated.
8470 Don't declare it valid before saving it if something went wrong.
8472 2001-08-04 Akim Demaille <akim@epita.fr>
8474 Autom4te shall not encode Autoconf data, and preselecting traces
8475 must be proposed to the users.
8477 * bin/autom4te.in (@required_trace): Remove.
8479 (&parse_args, &print_usage): -p, --preselect is a new option.
8480 (&up_to_date_p): Adjust.
8481 * bin/autoconf.in: Preselect some Autoconf macros.
8483 2001-08-04 Akim Demaille <akim@epita.fr>
8485 * tests/tools.at (autoconf --trace: user macros): Check traces on
8486 macros invoked without arguments, and macros invoked with multiple
8489 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
8491 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
8494 2001-08-03 Akim Demaille <akim@epita.fr>
8496 * bin/autoconf.in ($@): Work around the usual sh bug.
8499 2001-08-03 Akim Demaille <akim@epita.fr>
8501 Clean up the handling of the M4 builtins tracing exception.
8503 * bin/autom4te.in (Request::request): Don't complete M4 builtins
8505 (@m4_builtins): Rename as...
8506 (@m4_builtin): this.
8507 (%m4_builtin_alternate_name): New.
8508 (&parse_args): Complete the trace requests with alternate names.
8509 (&handle_traces): Hence no longer do it here.
8510 (&trace_requests): Remove, unused.
8512 2001-08-03 Akim Demaille <akim@epita.fr>
8514 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
8517 2001-08-03 Akim Demaille <akim@epita.fr>
8519 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
8520 (m4_divert_pop): Dump the whole diversion stack when a diversion
8522 * bin/autom4te.in (&handle_output): Remember of the first
8523 occurrence of a possibly undefined macro, not the last.
8524 Complain about the possibly undefined macros in the same order as
8525 the appear in the output.
8526 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
8527 * tests/tools.at (autoconf: forbidden tokens, basic)
8528 (autoconf: forbidden tokens, exceptions): No longer sort
8529 autoconf's stderr, as it is now deterministic.
8530 Check that `dnl' is caught.
8532 2001-08-01 Akim Demaille <akim@epita.fr>
8534 * configure.ac: Bump to 2.52c.
8536 2001-08-01 Akim Demaille <akim@epita.fr>
8540 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
8542 2001-08-01 Akim Demaille <akim@epita.fr>
8546 2001-08-01 Akim Demaille <akim@epita.fr>
8548 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
8551 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
8552 `END', as `Autom4te::General::END' will be triggered.
8553 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
8554 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
8555 system to run `mv', `rm', and `cmp'.
8557 2001-08-01 Akim Demaille <akim@epita.fr>
8559 * lib/Autom4te/General.pm (&unique): New.
8560 * bin/autoscan.in (&output): Use it to issue trace requests once.
8562 2001-08-01 Akim Demaille <akim@epita.fr>
8564 * lib/Autom4te/General.pm: New.
8565 * bin/autom4te.in (Autom4te::General): Use it.
8566 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
8567 (&find_configure_ac, &find_slave): Remove.
8568 * bin/autoscan.in: Likewise.
8569 * bin/autoupdate.in: Likewise.
8571 2001-08-01 Akim Demaille <akim@epita.fr>
8573 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
8574 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
8575 * bin: here, new directory.
8576 * lib/Autoconf: Rename as...
8577 * lib/Autom4te: this, to please case insensitive junkie OSes.
8579 2001-08-01 Akim Demaille <akim@epita.fr>
8581 * autom4te.in ($m4): Handle the --nesting-limit.
8582 * autoconf.in (M4): Remove.
8584 2001-08-01 Akim Demaille <akim@epita.fr>
8586 * autoconf.in ($AWK): Remove, no longer used.
8587 * test/tools.at: Use AT_CHECK_AUTOCONF.
8588 (AWK portability): Remove, for autoconf no longer uses AWK.
8589 (Syntax of the Perl scripts): New.
8590 * configure.ac: autoconf no longer needs an AWK with a good
8592 Use a static test on AC_PACKAGE_VERSION.
8593 * autom4te.in (&up_to_date_p): Output depends on the arguments.
8594 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
8595 * tests/atconfig.in (PERL): New.
8597 2001-08-01 Akim Demaille <akim@epita.fr>
8599 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
8600 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
8601 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
8602 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
8603 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
8604 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
8605 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
8606 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
8607 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
8608 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
8609 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
8610 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
8611 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
8612 * lib/autoconf/c.m4: here, new file.
8614 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
8615 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
8616 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
8617 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
8618 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
8619 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
8620 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
8621 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
8622 (AC_F77_FUNC): Move to...
8623 * lib/autoconf/fortran.m4: here, new file.
8625 2001-08-01 Akim Demaille <akim@epita.fr>
8627 * acfunctions.m4: Rename as...
8628 * lib/autoconf/functions.m4: this.
8629 * acgeneral.m4: Rename as...
8630 * lib/autoconf/general.m4: this.
8631 * acheaders.m4: Rename as...
8632 * lib/autoconf/headers.m4: this.
8633 * aclang.m4: Rename as...
8634 * lib/autoconf/lang.m4: this.
8635 * acoldnames.m4: Rename as...
8636 * lib/autoconf/oldnames.m4: this.
8637 * acspecific.m4: Rename as...
8638 * lib/autoconf/specific.m4: this.
8639 * actypes.m4: Rename as...
8640 * lib/autoconf/types.m4: this.
8641 * autoconf.m4: Rename as...
8642 * lib/autoconf/autoconf.m4: this.
8644 * m4sugar.m4: Rename as...
8645 * lib/m4sugar/m4sugar.m4: this.
8646 * m4sh.m4: Rename as...
8647 * lib/m4sugar/m4sh.m4: this.
8649 * tests/atgeneral.m4: Rename as...
8650 * lib/autotest/general.m4: this.
8652 * acfunctions: Rename as...
8653 * lib/autoscan/functions: this.
8654 * acheaders: Rename as...
8655 * lib/autoscan/headers: this.
8656 * acidentifiers: Rename as...
8657 * lib/autoscan/identifiers: this.
8658 * aclibraries: Rename as...
8659 * lib/autoscan/libraries: this.
8660 * acmakevars: Rename as...
8661 * lib/autoscan/makevars: this.
8662 * acprograms: Rename as...
8663 * lib/autoscan/programs: this.
8665 2001-08-01 Akim Demaille <akim@epita.fr>
8667 * doc/autoconf.texi: Moving/deleting open files is not portable.
8668 Portability issues for `.' (source), and more information about sed.
8670 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
8672 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
8673 which has a special meaning and is not a reference to libibmil.a.
8674 Reported by Matteo Frigo.
8676 2001-07-25 Pavel Roskin <proski@gnu.org>
8678 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
8681 2001-07-25 Akim Demaille <akim@epita.fr>
8683 * autoconf.in: Try to define the variables before using them.
8684 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
8685 instead of `$perllibdir'.
8686 * tests/atconfig.in ($autom4te_perllibdir): Export it.
8688 2001-07-25 Akim Demaille <akim@epita.fr>
8690 * autoconf.in (ac_LF_and_DOT): Remove, unused.
8692 2001-07-24 Akim Demaille <akim@epita.fr>
8694 Let autoconf use autom4te for traces.
8696 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8698 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8699 (Because I found no way for autom4te to accept `-').
8700 * autom4te.in (&Request::request): Beware of M4 builtins.
8701 (END): Don't try to remove the content of an empty dir.
8702 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8703 (&handle_output): Set a default value to `$forbidden'.
8704 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8705 ($autoconf): Pass --debug and --verbose.
8706 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8709 2001-07-24 Akim Demaille <akim@epita.fr>
8711 Let autoconf use autom4te to create configure.
8713 * autoconf.in ($automate): New var.
8714 (task script): Use autom4te.
8715 * autom4te.in (File::Spec): Use it.
8717 (&parse_args): --warning is -W, not -w.
8718 Find the top level files.
8719 (&handle_m4): Pass the warnings flags.
8720 Don't report verbosely m4's failures, unless requested.
8721 (&handle_output): Don't complain for forbidden tokens in comments.
8722 Be sure to report all the forbidden tokens within a single line.
8723 (&trace_format_to_m4): Preserve `$_'.
8724 (&handle_traces): Sort the output macros.
8725 (&up_to_date_p): Find the files before trying to get its time stamp.
8727 2001-07-24 Akim Demaille <akim@epita.fr>
8729 * Makefile.am: Ship, build and install Autom4te.
8731 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8732 * configure.in: Require Perl.
8733 * man/autom4te.in: New.
8735 2001-07-19 Paul Eggert <eggert@twinsun.com>
8737 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8738 example, rather than (exit 1); exit (which isn't portable).
8740 2001-07-18 Akim Demaille <akim@epita.fr>
8744 2001-07-18 Akim Demaille <akim@epita.fr>
8746 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8747 was run, while they are needed also when it is expanded.
8748 Reported by Nicolas Joly.
8750 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8751 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8752 AC_F77_DUMMY_MAIN being expanded.
8754 2001-07-18 Akim Demaille <akim@epita.fr>
8756 * configure.in: Bump to 2.51a.
8758 2001-07-17 Akim Demaille <akim@epita.fr>
8762 2001-07-17 Akim Demaille <akim@epita.fr>
8764 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8765 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8767 2001-07-17 Akim Demaille <akim@epita.fr>
8769 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8770 used. Well, then use the prototypes when you can, and runtime as
8772 Reported by Artur Frysiak
8774 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8775 (AC_FUNC_GETPGRP): Use it.
8776 First try to compile with 0-ary or 1-ary calls.
8778 2001-07-17 Akim Demaille <akim@epita.fr>
8780 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8784 2001-07-17 Akim Demaille <akim@epita.fr>
8786 * Makefile.maint: Sync. with cppi 1.10.
8788 2001-07-17 Akim Demaille <akim@epita.fr>
8790 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8791 AC_F77_DUMMY_MAIN has been run.
8792 From Pavel Roskin and Steven G. Johnson.
8794 2001-07-17 Akim Demaille <akim@epita.fr>
8796 * configure.in: Rename as...
8797 * configure.ac: this.
8799 2001-07-17 Akim Demaille <akim@epita.fr>
8801 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8804 * Makefile.maint (release-archive-dir): Rename as...
8805 (release_archive_dir): this, so that it can be specialized in
8808 2001-07-14 Akim Demaille <akim@epita.fr>
8810 * configure.in: Bump to 2.50d.
8812 2001-07-14 Akim Demaille <akim@epita.fr>
8815 * Makefile.maint (alpha): Typo.
8817 2001-07-14 Akim Demaille <akim@epita.fr>
8819 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8821 2001-07-14 Akim Demaille <akim@epita.fr>
8823 * config/config.guess, config/config.sub, config/texinfo.tex
8824 * doc/standards.texi, doc/make-stds.texi: Update.
8826 2001-07-14 Akim Demaille <akim@epita.fr>
8828 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8830 2001-07-14 Akim Demaille <akim@epita.fr>
8832 * Makefile.maint (maintainer-check): Rename as...
8833 (maintainer-distcheck): this.
8834 (changelog-check, static-check): New.
8837 2001-07-14 Kevin Ryde <user42@zip.com.au>
8839 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8840 for CXX is g++, not gcc.
8842 2001-07-14 Akim Demaille <akim@epita.fr>
8844 * doc/autoconf.texi (Files): New subsection.
8846 2001-07-14 Akim Demaille <akim@epita.fr>
8848 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8850 (Generic Compiler Characteristics): this.
8851 (C++ Compiler): New subsection.
8853 2001-07-14 Akim Demaille <akim@epita.fr>
8855 * autoscan.in: Use IO::File.
8856 Adjust all the routines to use it.
8857 ($log): New file (autoscan.log).
8858 (output): Dump detailed logs into $log, and a shortened version to
8860 (&scan_makefile): Refine the regexp catching tokens in the code.
8861 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8862 and the `configure.ac' checking feature.
8864 2001-07-12 Akim Demaille <akim@epita.fr>
8866 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8867 Reported by Michael Elizabeth Chastain.
8869 * autoconf.in: Refuse such AWK.
8870 * configure.in: Likewise.
8871 * Makefile.am (acversion.m4): Do not use move-if-change this file
8873 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8875 2001-07-10 Jens Petersen <petersen@redhat.com>
8877 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8878 things like "g++", "file.c" and "some-conf" as tokens.
8879 (&scan_file): Match C++ files extensions.
8880 If the filename extension is C++ then ask for c++.
8882 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8884 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8885 AC_TRY_LINK_FUNC, to check whether defining a dummy
8886 main-like routine is needed for linking with F77 libs.
8888 2001-07-05 Pavel Roskin <proski@gnu.org>
8890 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8892 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8895 2001-07-05 Akim Demaille <akim@epita.fr>
8897 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8898 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8900 Reported by Nicolas Joly.
8902 2001-07-04 Akim Demaille <akim@epita.fr>
8904 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8906 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8907 warnings from compilers.
8908 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8909 for all the compilers, not only GNU. Hence move from here...
8910 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8912 2001-07-04 Akim Demaille <akim@epita.fr>
8914 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8915 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8918 2001-07-04 Akim Demaille <akim@epita.fr>
8920 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8921 the ``strings.h'' change claimed below.
8923 2001-07-04 Akim Demaille <akim@epita.fr>
8925 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8927 2001-07-04 Akim Demaille <akim@epita.fr>
8929 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8930 strings.h if usable with string.h.
8931 Suggested by Paul Eggert.
8933 2001-07-04 Akim Demaille <akim@epita.fr>
8935 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8938 2001-07-03 Akim Demaille <akim@epita.fr>
8940 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8943 2001-07-03 Akim Demaille <akim@epita.fr>
8945 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8946 compiler, not the preprocessor.
8947 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8948 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8950 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8951 earlier if there are.
8953 2001-07-03 Akim Demaille <akim@epita.fr>
8955 * autoscan.in ($initfile): Remove.
8956 (&find_file): Rename as...
8958 Immediately scan the current file, instead of gathering them, and
8959 later having them handled by &scan_files.
8960 (&scan_files): Merely invoke Find::File.
8963 2001-07-02 Akim Demaille <akim@epita.fr>
8965 * autoscan.in: Formatting changes, matching the invocation order.
8966 (File::Find): Use it instead of Perl 4's `find.pl'.
8967 (&wanted): Rename as...
8970 2001-07-01 Pavel Roskin <proski@gnu.org>
8972 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8973 break in the argument to AC_TRY_LINK_FUNC.
8974 (AC_F77_MAIN): Remove conftest* after using break in the
8975 argument to AC_TRY_LINK.
8977 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8979 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8980 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8982 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8983 dummy alternate main is required even if the user provides her own
8985 (AC_F77_MAIN): New macro to detect whether it is possible to
8986 provide an alternate 'main' function name, using the 'main' from
8987 the Fortran libraries.
8988 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8989 cross-language link tests can be performed successfully.
8990 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8991 after $LIBS, for consistency; this should be the general rule since
8992 the user may want to link to Fortran libraries that require $FLIBS.
8993 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8995 2001-06-29 Pavel Roskin <proski@gnu.org>
8997 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8998 at-stdout and at-stderr instead of removing the newline
8999 from the echo output, which is not guaranteed to work.
9001 2001-06-28 Jens Petersen <petersen@redhat.com>
9003 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
9004 confdefs.h when non-zero.
9006 2001-06-28 Akim Demaille <akim@epita.fr>
9008 * configure.in: Bump to 2.50c.
9010 2001-06-26 Akim Demaille <akim@epita.fr>
9014 2001-06-26 Akim Demaille <akim@epita.fr>
9018 2001-06-25 Pavel Roskin <proski@gnu.org>
9020 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
9021 argument, AUTOCONF-FLAGS.
9022 * tests/mktests.sh (update_exclude_list): Add
9023 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
9024 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
9025 AC_FUNC_WAIT3 with "-W no-obsolete".
9027 2001-06-25 Akim Demaille <akim@epita.fr>
9029 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
9031 2001-06-25 Akim Demaille <akim@epita.fr>
9033 * autoscan.in (%macro): Now maps from word to list of macros.
9034 (&init_tables): Die when a word which is already handled by
9035 explicit macros is mapped to the default macro.
9036 (&print_unique): Remove, inlined in...
9037 (&output_kind): here.
9038 (File::Basename): Use it.
9039 (&output): Sort the CONFIG_FILES.
9040 * acheaders: Normalize.
9041 * acfunctions: Likewise.
9043 2001-06-25 Akim Demaille <akim@epita.fr>
9045 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
9046 characteristics in the logs.
9047 Suggested by Mo DeJong.
9049 2001-06-24 Akim Demaille <akim@epita.fr>
9051 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
9052 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
9053 * doc/autoconf.texi (Autoconf 2.13): New section.
9055 2001-06-24 Akim Demaille <akim@epita.fr>
9057 * autoconf.in (Task traces): Separate the error messages from the
9058 traces to improve robustness.
9060 2001-06-23 Akim Demaille <akim@epita.fr>
9062 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
9063 three as failures are unlikely, and speed matters.
9065 2001-06-23 Akim Demaille <akim@epita.fr>
9067 * doc/autoconf.texi (Redefined M4 Macros): New.
9069 2001-06-23 Akim Demaille <akim@epita.fr>
9071 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
9072 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
9075 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
9077 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
9078 config.status targets to after the evaluation of the INIT-CMDS.
9079 Double quote config.status targets (used to be single quoted).
9081 2001-06-23 Akim Demaille <akim@epita.fr>
9083 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
9084 Check the content of the created file.
9085 Check the ./config.status command line invocation.
9087 2001-06-23 Akim Demaille <akim@epita.fr>
9089 * tests/foreign.at (Libtool): Reject prehistoric versions.
9091 2001-06-23 Akim Demaille <akim@epita.fr>
9093 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
9094 preexisting files matching a.*.
9096 2001-06-23 Akim Demaille <akim@epita.fr>
9098 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
9100 * doc/autoconf.texi (AC_ARG_VAR): Update.
9102 2001-06-21 Akim Demaille <akim@epita.fr>
9104 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
9105 precious variables have changed.
9106 * tests/torture.at (AC_ARG_VAR): Adjust.
9108 2001-06-21 Akim Demaille <akim@epita.fr>
9110 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
9111 but some sed choke on multiple `;', and other tools (e.g.,
9112 Automake), include the separator themselves.
9114 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
9116 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
9118 * doc/autoconf.texi (Functions Portability): Rename as...
9119 (Function Portability): this.
9120 (Function Portability): Document potential problems with unlink().
9122 2001-06-19 Paul Eggert <eggert@twinsun.com>
9124 * NEWS, doc/autoconf.texi: Document quadrigraphs.
9126 2001-06-18 Akim Demaille <akim@epita.fr>
9128 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
9130 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
9132 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
9133 (_AC_FUNC_VFORK): this.
9134 Remove AC_DEFINEs and don't guess cross-compilation values.
9135 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
9136 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
9137 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
9139 Guess values if cross-compiling, but warn.
9140 * acfunctions: Add AC_FUNC_FORK.
9141 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
9142 and vfork appropriately.
9144 2001-06-18 Akim Demaille <akim@epita.fr>
9146 * doc/autoconf.texi (Functions Portability): New section.
9148 2001-06-18 Akim Demaille <akim@epita.fr>
9150 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
9152 Suggested by Andreas Schwab.
9154 2001-06-18 Akim Demaille <akim@epita.fr>
9156 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
9157 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
9158 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
9159 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
9160 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
9161 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
9162 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
9165 2001-06-18 Akim Demaille <akim@epita.fr>
9167 * doc/autoconf.texi (ms): New index.
9168 (Macro Index): Rename as...
9169 (Autoconf Macro Index): this.
9170 (M4 Macro Index): New appendix.
9171 (Programming in M4): New chapter.
9172 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
9173 (Quoting): Rename as...
9174 (M$ Quotation): this.
9175 Be part of `Programming in M4).
9177 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
9179 * tests/torture.at (AC_ARG_VAR): Set variables and export them
9180 in separate statements for compatibility with Tru64 v5.1.
9182 2001-06-17 Akim Demaille <akim@epita.fr>
9184 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
9185 current values of the precious variables, not the previously
9187 Pass precious variables which are set to config.status.
9188 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
9189 * tests/torture.at (AC_ARG_VAR): New.
9191 2001-06-15 Paul Eggert <eggert@twinsun.com>
9193 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
9194 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
9195 and explain why and how to replace them.
9196 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
9197 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
9199 2001-06-15 Akim Demaille <akim@epita.fr>
9201 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
9202 Reported by Bruno Haible.
9204 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
9205 (_AC_ARG_VAR_PRECIOUS): to here.
9207 2001-06-15 Pavel Roskin <proski@gnu.org>
9209 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
9210 an unused pointer use cast to this type and `if' statement to
9211 avoid warnings from the compiler.
9212 (AC_HEADER_TIME): Likewise.
9213 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
9214 in `if' statement to avoid warnings from the compiler. Declare
9215 ac_aggr static to avoid the need to initialize it.
9217 2001-06-14 Akim Demaille <akim@epita.fr>
9219 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
9222 2001-06-13 Akim Demaille <akim@epita.fr>
9224 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
9225 Suggested by Alexander Mai.
9227 2001-06-13 Akim Demaille <akim@epita.fr>
9229 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
9230 sys/types.h and sys/stat.h, and check for them.
9232 2001-06-13 Akim Demaille <akim@epita.fr>
9234 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
9237 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9239 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
9240 succeeds and only try adding libdnet upon a failure.
9242 2001-06-12 Akim Demaille <akim@epita.fr>
9244 * autoscan.in (&output_kind): Output the comment only if it exists.
9245 (%kind_comment): Add entry for `programs'.
9246 (&output_programs): Use &output_kind.
9247 (&output_functions, &output_identifiers, &output_headers)
9248 (&output_programs): Inline, and remove.
9250 2001-06-12 Akim Demaille <akim@epita.fr>
9252 * autoscan.in (%kind_comment): New.
9254 (output_functions, output_identifiers, output_headers): Use it.
9256 2001-06-12 Akim Demaille <akim@epita.fr>
9258 * autoscan.in (&print_unique): Take `$kind' and `$word' as
9259 arguments, to factor indirections into `%macro' and `%used'.
9260 (%generic_macro): Fix a typo.
9262 2001-06-12 Akim Demaille <akim@epita.fr>
9265 * autoscan.in (@kinds): Add `libraries'.
9266 Use `@kinds' instead of hard coded lists.
9267 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
9268 Remove, replaced by...
9271 2001-06-12 Akim Demaille <akim@epita.fr>
9273 * autoscan.in (%functions_macros %headers_macros)
9274 (%identifiers_macros %programs_macros %makevars_macros): Remove,
9278 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
9280 * aclang.m4 (AC_NO_EXECUTABLES): Override
9281 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
9283 2001-06-11 Akim Demaille <akim@epita.fr>
9285 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
9287 Reported by Andreas Schwab.
9289 2001-06-11 Akim Demaille <akim@epita.fr>
9291 * Makefile.am, Makefile.maint: Typos.
9293 2001-06-09 Akim Demaille <akim@epita.fr>
9295 * doc/autoconf.texi (Here-Documents): New section, gathering
9296 documentation about here-documents.
9297 Use `href', not `uref', and other changes.
9299 2001-06-09 Akim Demaille <akim@epita.fr>
9301 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
9304 2001-06-09 Akim Demaille <akim@epita.fr>
9306 * doc/autoconf.texi (Limitations of Builtins): Complete the
9307 description of the here-docs penalties with Alexandre Oliva's
9310 2001-06-01 Paul Eggert <eggert@twinsun.com>
9312 * doc/autoconf.texi: Talk about here documents and speedups.
9313 Do not use "echo" on arbitrary strings.
9314 Spell "here-documents" consistently with the standard.
9316 2001-06-09 Akim Demaille <akim@epita.fr>
9318 * doc/autoconf.texi (Concept Index): Introduce it.
9319 Regenerate the menus.
9321 2001-06-09 Akim Demaille <akim@epita.fr>
9323 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
9324 * config/prev-version.txt: New.
9325 * config/move-if-change: New, for GNU libc.
9327 2001-06-06 Pavel Roskin <proski@gnu.org>
9329 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
9331 2001-06-06 Akim Demaille <akim@epita.fr>
9333 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
9334 properly when $1 is not a literal.
9335 Fixes PR Autoconf/187, reported by Bram Moolenaar.
9337 2001-06-06 Akim Demaille <akim@epita.fr>
9339 Invoking AC_COPYRIGHT before AC_INIT fails.
9341 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
9342 * acgeneral.m4 (_m4_divert(VERSION_FSF))
9343 (_m4_divert(VERSION_USER)): New.
9344 (AC_COPYRIGHT): $2 is the diversion to use.
9345 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
9346 (AC_INIT): Remove dead comments as now it's commutative.
9348 2001-06-06 Akim Demaille <akim@epita.fr>
9350 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
9353 2001-06-05 Akim Demaille <akim@epita.fr>
9355 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
9357 `*dir' variables cannot be NONE.
9358 Reported by Mark Kettenis.
9360 2001-06-05 Paul Eggert <eggert@twinsun.com>
9362 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
9364 2001-06-04 Akim Demaille <akim@epita.fr>
9366 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
9367 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
9368 (AC_TR_SH): Move as...
9369 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
9370 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
9372 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
9373 (_AS_TR_SH_PREPARE): New.
9374 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
9375 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
9377 2001-06-02 Akim Demaille <akim@epita.fr>
9379 * Makefile.am (.m4.m4f): Pass the options first.
9380 Fixes PR autoconf/182.
9382 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
9384 GNU getopt, when POSIXLY_CORRECT does not permute options and
9385 arguments. So pass the options first.
9386 Fixes PR autoconf/184.
9388 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
9389 (run_m4): Remove files.
9391 Update remainder of script to use them.
9392 (for warning in): Do not use a literal comma as it will not be
9395 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
9397 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
9398 Fortran compilers to check.
9399 (_AC_PROG_F77_V): Add '-###' as a possible option to print
9400 information on library and object files.
9401 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
9404 2001-06-02 Akim Demaille <akim@epita.fr>
9406 * autom4te.in (Request::@request): Declare with `vars', not `my',
9407 as it prevents updates via `do FILENAME'.
9409 2001-06-02 Akim Demaille <akim@epita.fr>
9411 * configure.in (standards_texi): Remove, dead code.
9413 2001-06-02 Akim Demaille <akim@epita.fr>
9417 2001-06-02 Pavel Roskin <proski@gnu.org>
9419 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
9420 for signals other than 0 - exit with code 1.
9421 * m4sh.m4 (AS_TMPDIR): Likewise.
9422 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
9423 * autoheader.in: Likewise.
9424 * autoreconf.in: Likewise.
9425 * tests/torture.at (Signal handling): New test for the above.
9427 2001-06-01 Akim Demaille <akim@epita.fr>
9429 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
9432 2001-05-31 Akim Demaille <akim@epita.fr>
9434 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
9435 Add copyright and comments.
9436 * acheaders: Add stdint.h.
9437 Suggested by Paul Eggert.
9439 2001-05-31 Akim Demaille <akim@epita.fr>
9441 * atgeneral.m4 (AT_INIT): Use $SHELL.
9442 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
9444 2001-05-31 Akim Demaille <akim@epita.fr>
9446 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9448 From Paul Eggert and Lars Hecking.
9450 2001-05-31 Akim Demaille <akim@epita.fr>
9452 * tests/base.at: Adjust line numbers in error messages.
9454 2001-05-31 Akim Demaille <akim@epita.fr>
9456 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
9457 to emit the bangshe line.
9458 Reported by David Carter.
9460 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
9462 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
9463 Fortran (95) compilers to check.
9465 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
9467 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
9470 2001-05-23 Pavel Roskin <proski@gnu.org>
9472 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
9473 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
9474 (AC_PROG_CXXCPP): Likewise.
9476 2001-05-22 Akim Demaille <akim@epita.fr>
9478 * config: New directory.
9479 * configure.in: AC_CONFIG_AUX_DIR it.
9480 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
9482 2001-05-22 Akim Demaille <akim@epita.fr>
9484 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
9485 * autoupdate.in: Specify the Emacs mode.
9486 * acversion.m4.in: Rename as...
9487 * acversion.m4: this.
9488 * tests/Makefile.am (CLEANFILES): More garbage.
9490 2001-05-22 Akim Demaille <akim@epita.fr>
9492 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
9494 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
9497 2001-05-21 Akim Demaille <akim@epita.fr>
9499 * configure.in: Bump to 2.50a.
9503 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9505 This file is part of GNU Autoconf.
9507 GNU Autoconf is free software; you can redistribute it and/or modify
9508 it under the terms of the GNU General Public License as published by
9509 the Free Software Foundation; either version 2, or (at your option)
9512 GNU Autoconf is distributed in the hope that it will be useful,
9513 but WITHOUT ANY WARRANTY; without even the implied warranty of
9514 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9515 GNU General Public License for more details.
9517 You should have received a copy of the GNU General Public License
9518 along with autoconf; see the file COPYING. If not, write to
9519 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
9520 Boston, MA 02110-1301, USA.