1 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
3 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
4 Work around bug in Solaris 9 (and 10) /usr/xpg4/bin/awk.
6 2005-08-24 Stepan Kasal <kasal@ucw.cz>
8 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
9 some evil values and relying on the fact that $* concatenates the
10 parameters by the first character from IFS.
12 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
13 Stepan Kasal <kasal@ucw.cz>
15 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
16 first header appears, define AH_HEADER.
17 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
18 Update limitations about when to call AC_CONFIG_HEADERS.
19 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
20 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
21 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
22 ``Configuration Actions''; fix their index entries.
24 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
25 options correctly. Process N-M as M-N if M is smaller than N.
26 Process ranges correctly so that N-N will run only N.
27 Sort and uniquify the tests that will be run. If there is more
28 than one test, reinsert the banners for the tests.
29 * tests/autotest.at (Keywords): Unmark XFAIL.
31 2005-08-23 Stepan Kasal <kasal@ucw.cz>
33 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
34 before passing the macro name to AH_TEMPLATE.
36 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
37 now opens log after option processing; in particular, --version
38 and --help do not touch config.log.
40 * Makefile.maint: Revert the change from 2005-08-12.
42 2005-08-22 Stepan Kasal <kasal@ucw.cz>
44 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
46 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
48 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
50 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
51 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
54 * doc/autoconf.texi (Defining Symbols, Changed Results):
55 Prepend to LIBS, not append, in examples.
57 2005-08-16 Stepan Kasal <kasal@ucw.cz>
59 When building in place, set srcdir="."; suggested by Tim Van Holder.
61 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
62 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
63 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
64 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
65 does not mean "no --srcdir option".
67 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
69 * tests/autoscan.at (autoscan): New file.
70 * tests/suite.at: Use it.
71 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
72 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
74 * tests/autotest.at (Keywords): Test keywords combinations.
76 2005-08-12 Stepan Kasal <kasal@ucw.cz>
78 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
79 add "2>&1"; gzip 1.2.4 prints help on stderr.
81 2005-07-27 Stepan Kasal <kasal@ucw.cz>
83 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
84 was pushdef'ed twice while popped only once. Push it only once.
85 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
87 2005-07-26 Stepan Kasal <kasal@ucw.cz>
89 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
90 prefixed by mere "===", not "configure: === ".
92 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
94 * Makefile.maint: Update from Bison.
96 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
97 "<tab>" in comment, so that the point is understandable.
99 2005-07-25 Stepan Kasal <kasal@ucw.cz>
101 Rewrite substantial part of lib/autoconf/status.m4.
102 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
103 and CONFIG_COMMANDS are not processed in four separate loops.
104 Instead, there is one main loop. This alows that the common code
105 is expanded only once, thus config.status (and configure) is smaller.
107 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
108 the AC_LIST_FILES and cousins macros are no longer used.
110 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
111 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
112 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
113 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
114 contain the initialization, nor the for loop, nor the associated
115 commands; all these go to ...
116 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
117 _AC_OUTPUT_CONFIG_STATUS.
118 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
119 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
120 (_AC_OUTPUT_FILE): The creation of the sed script ...
121 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
122 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
123 _AC_OUTPUT_MAIN_LOOP.
124 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
125 _AC_CONFIG_COMMANDS): Use ...
126 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
127 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
128 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
129 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
130 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
131 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
133 (_AC_CONFIG_UNIQUE): Update.
134 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
136 (_AC_LIST_TAGS): ... new common macro.
137 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
138 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
139 (_AC_LIST_TAG_COMMANDS): ... new common macro.
140 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
141 this didn't belong to the `config commands' section.
142 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
143 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
144 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
145 to the `config commands' section either.
146 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
147 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
149 ... and many changes to the comments nearby.
151 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
152 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
153 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
154 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
155 (#define header templates): The comment at the top of the generated
156 header now includes the name(s) of the source file(s).
158 Several unrelated small changes:
160 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
161 parameter to AC_DIAGNOSE.
162 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
163 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
164 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
165 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
167 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
168 in AC_OUTPUT doesn't double-quote it either.
169 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
172 2005-07-10 Stepan Kasal <kasal@ucw.cz>
174 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
175 versions of Portland Group compiler produce single- and double-quoted
176 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
177 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
179 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
181 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
182 This is a corrected version of yesterday's patch.
184 2005-07-07 Stepan Kasal <kasal@ucw.cz>
186 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
187 path, too; insert a "===" to emphasize the line.
189 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
190 ac_cv_build_alias to ac_build_alias.
191 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
193 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
194 change eliminates it. Problem reported by Alexandre Duret-Lutz.
195 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
196 (AC_ARG_VAR): ... here.
197 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
200 Keep a list of all precious variables and process them with one simple
201 for loop, instead of expanding all commands, or, OTOH, complicated
202 processing of output of "set".
203 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
204 variable names in new macro...
205 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
206 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
207 a loop to assign all ac_env_* and ac_cv_env_* variables.
208 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
210 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
211 its value to shell variable ac_precious_vars and call
212 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
213 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
214 _AC_ARG_VAR_VALIDATE.
216 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
217 and the AC_SUBSTs ...
220 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
221 the ac_subst_files section in config.log.
223 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
225 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
227 * NEWS: New macro AC_C_TYPEOF.
228 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
229 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
230 * tests/c.at (C keywords): Test AC_C_TYPEOF.
232 Fix problems reported by Nicolas Joly.
233 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
234 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
235 They are generated by the Tru64 v5.1B shell.
237 2005-07-05 Stepan Kasal <kasal@ucw.cz>
239 Fix my changes from 2005-07-01; reported by Noah Misch.
240 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
241 description, the macro now accepts only a single tag.
242 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
244 Fix cases when the varsions of Autoconf and Autotest don't match.
245 Reported by Noah Misch.
246 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
247 at_top_builddir, for compatibility with older autotest.
248 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
249 is not set, use at_top_builddir, for compatibility with older
250 versions of autoconf.
252 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
254 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
255 Problem reported by Patrick Welche.
257 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
259 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
260 sed substitution command, so that we allow | in program prefixes
261 and program suffixes. (& is a problem anyway; we're not fixing
263 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
264 configure_input, top_builddir, srcdir, etc.
265 * lib/autotest/general.m4 (AT_INIT): Likewise, for
266 PATH_SEPARATOR in AUTOTEST_PATH.
268 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
270 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
271 for loop over config.site files using `set', to allow
272 directory names containing IFS characters.
274 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
276 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
277 directories with weird names. Apparently some people like living
278 on the edge. However, improve the test that "pwd" actually does
279 report a name for the working directory.
280 * NEWS: Remove the claim that we test for funny chars in dir names.
282 2005-07-01 Stepan Kasal <kasal@ucw.cz>
284 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
286 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
287 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
288 Now accept a single tag, not whitespace separated list.
289 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
291 2005-06-30 Stepan Kasal <kasal@ucw.cz>
293 * doc/autoconf.texi (Configuration Headers): Change the explanation
294 about #include <config.h>.
295 (Generic Functions): Mention the Gnulib project.
296 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
298 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
299 document to output the default config_* lists to config.status.
300 Don't recognize option --file, if the functionality is not there.
301 Likewise for --header; moreover, recognize --he and --h as shortcuts
302 for --help in that case.
304 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
305 matches the order of execution. No code changed.
307 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
309 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
310 single-quoted -cmdline argument in Portland Group compiler.
311 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
313 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
315 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
317 2005-06-29 Stepan Kasal <kasal@ucw.cz>
319 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
320 descriptors to child processes; reported by Norman Gray.
322 2005-06-29 Stepan Kasal <kasal@ucw.cz>
324 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
326 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
327 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
329 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
330 the directory specific variables; but don't call it for configure_input.
332 2005-06-28 Derek Price <derek@ximbiot.com>
334 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
337 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
339 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
340 directory have inherent problems with special characters like spaces,
341 due to limitations in Make syntax. Problem reported by Alexandre
343 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
344 Also, fix Tru64 porting problem with shell patterns,
345 reported by Ralf Wildenhues.
347 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
349 * doc/autoconf.texi (Subdirectories): Fix markup typos.
351 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
353 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
355 Fix some more shell quoting problems. Prompted by a bug report
356 from Justace Clutter.
357 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
358 variable into diagnostic. Make the diagnostic an error, not a warning,
359 because we really don't support spaces and suchlike in dir names.
360 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
361 Don't worry about backslashes in srcdir; it can't happen now.
362 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
363 Simplify ac_optarg handling.
364 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
366 2005-06-22 Stepan Kasal <kasal@ucw.cz>
368 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
369 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
370 * tests/atlocal.in: Propagate $EGREP and $SED.
371 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
372 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
374 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
375 that '\|' is not allowed in BREs; recommend using newline separated
376 list of patterns instead of multiple -e options.
378 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
380 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
382 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
384 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
386 2005-06-21 Stepan Kasal <kasal@ucw.cz>
388 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
389 b, t, r, w commands require single space, while : cannot have any.
390 (Special Shell Variables): Fix sed code this in the example.
391 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
392 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
394 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
395 expand to the empty list. Don't use two pairs of m4_changequote,
398 2005-06-20 Derek Price <derek@ximbiot.com>
400 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
402 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
404 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
406 Don't mention Solaris versions so much, if a
407 problem is common to all extant versions of Solaris. Say "SunOS
408 4" instead of "SunOS" for SunOS 4.
409 (awk): Mention more of the limitations of traditional Awk.
410 (cat): Don't talk about cat -v.
412 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
414 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
415 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
416 but the implementation is entirely different and is designed
417 to be compatible with glibc strverscmp.
418 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
420 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
421 on Mac OS X 10.4 reported by Peter O'Gorman in:
422 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
423 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
424 Use shell builtins rather than 'expr', to work around expr bug.
426 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
428 * doc/autoconf.texi: "filesystem" -> "file system".
429 "behaviour" -> "behavior".
430 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
431 * lib/autoconf/general.m4: Omit blank after ":" sed command,
433 * lib/m4sugar/m4sh.m4: Likewise.
434 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
435 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
437 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
438 (.x.1): Ignore the time stamp in the .TH line when deciding whether
439 to update the man page. That way, we don't have to check in new
440 man pages every month.
442 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
443 quotes and backslashes. Patch from Derek Price.
445 2005-06-10 Derek Price <derek@ximbiot.com>
447 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
450 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
452 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
453 -u, since it outputs chatter if the input files are the same.
454 Problem reported by Ralf Menzel.
456 2005-06-08 Derek Price <derek@ximbiot.com>
458 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
459 renaming them since they are about to be redefined anyhow.
461 2005-06-08 Derek Price <derek@ximbiot.com>
463 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
464 redefined M4 macros to this node. Document m4_include & m4_sinclude.
465 Move m4_undefine to alphabetical order.
467 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
469 * README: Recommend GNU M4 1.4.3 or later.
470 * doc/autoconf.texi (Introduction): Likewise.
471 Reword to avoid some formatting glitches.
472 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
473 Clarify explanation of HP compiler bug.
474 Redo example output tp match current CVS snapshot.
475 Use @example.org in email addresses when the examples
476 might get inadvertently cut-and-pasted into user code.
477 Remove example of autom4te usage that doesn't seem to work now.
478 Use modern AC_INIT (except when the example is meant to be
479 shown with Autoconf 2.13).
480 Update ksh info for Solaris 9 and later.
482 Modernize description of Automake versions a bit.
483 Don't claim a future version of Autoconf is near.
484 * doc/install.texi: Reword to avoid some formatting glitches.
486 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
488 * doc/autoconf.texi: Add [] to examples, so that the manual
489 follows its own advice about quoting better.
490 Reword to avoid some formatting glitches.
491 * doc/installt.exi: Reword to avoid some formatting glitches.
493 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
494 Tru64 ksh pattern matching bug. Reported against Libtool by
495 Albert Chin <libtool@mlists.thewrittenword.com> and
496 Nicolas Joly <njoly@pasteur.fr>.
498 2005-06-06 Stepan Kasal <kasal@ucw.cz>
500 m4_cdr of one-member list was [[]] (one-member list containing an
501 empty string) instead of [] (an empty list. Callers were skewed to
502 match this misbehaviour. As a consequence of this:
503 - m4_foreach([x], [], [foo]) expanded to `foo', while
504 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
505 This bug has been fixed:
507 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
508 expand to an empty string; print error msg if called without
510 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
511 misbehaviour; handle [] and [[]] correctly.
513 2005-06-06 Stepan Kasal <kasal@ucw.cz>
515 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
516 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
517 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
519 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
521 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
522 swallow records with more than 99 fields.
523 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
526 2005-06-04 Stepan Kasal <kasal@ucw.cz>
528 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
529 swallow literals longer than 399. Reported by Ralf Wildenhues.
530 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
531 to workaround this limitation.
533 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
535 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
536 to gfortran, and make these the first two compiler names
537 checked (following the general autoconf preference for gcc).
539 2005-06-03 Stepan Kasal <kasal@ucw.cz>
541 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
542 (DISTCLEANFILES): Remove $(check_SCRIPTS).
543 (testsuite): Make sure autotest.m4f is up-to-date before using it.
545 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
547 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
548 expression of unbounded size when processing the --list
549 option. This runs afoul of a limit of 399 bytes per regular
550 expression on AIX. Problem reported by Ralf Wildenhues.
552 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
554 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
555 * doc/autoconf.texi (Particular Headers): Reword example
556 for multiline stdbool replacement.
557 (Setting Output Variables): Reword text a bit. Don't
558 give all the details about |#_!!_#|.
559 Reword description of line replacement.
561 2005-05-31 Dan Manthey <dan_manthey@partech.com>
563 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
564 now contain newlines, and substituted files must be referenced on
565 a line alone; the sed scripts to substitute them are now very
567 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
568 commands can be put in a sed script portably.
569 * doc/autoconf.texi (Setting Output Variables): Document above
570 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
571 use of multiline substitution.
572 * tests/torture.at: No longer expect substitution of newline to fail.
574 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
576 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
577 From Ralf Menzel (trivial change).
579 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
581 * tests/local.at: Don't attempt to check for negated character
582 classes in shell scripts. The test was too brittle.
584 2005-05-25 Stepan Kasal <kasal@ucw.cz>
586 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
587 * doc/autoconf.texi (Limitations of Builtins): Document this
590 2005-05-24 Stepan Kasal <kasal@ucw.cz>
592 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
593 common code; used in many places in the tree.
594 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
595 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
597 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
599 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
600 messages when ac_unique_file is not found.
601 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
602 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
603 commands, for consistency with AC_MSG_ERROR and such.
605 * bin/autoconf.as: Make more use of "shift 2" in option processing.
607 * bin/Makefile.am: Merge the two rules for creating scripts.
609 2005-05-23 Stepan Kasal <kasal@ucw.cz>
611 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
612 obsolete; it was never documented.
613 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
615 2005-05-20 Stepan Kasal <kasal@ucw.cz>
617 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
618 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
619 (ac_top_builddir): ... this ...
620 (ac_top_build_prefix): ... to this; the old name is also kept, for
621 backward compatibility.
622 (ac_top_builddir_sub): New variable, without the trailing slash,
624 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
625 * doc/autoconf.texi (Configuration Actions): Rename
626 ac_top_builddir to ac_top_build_prefix.
627 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
628 at_top_builddir to at_top_build_prefix.
629 * lib/autotest/general.m4 (AT_INIT): Likewise.
631 2005-05-20 Stepan Kasal <kasal@ucw.cz>
633 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
636 2005-05-17 Stepan Kasal <kasal@ucw.cz>
638 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
639 argument to m4_foreach. I guess it was necessary in the past,
640 but I think it's a no-op now.
642 2005-05-17 Stepan Kasal <kasal@ucw.cz>
644 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
645 ``cat <<_ACEOF'' commands to one.
646 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
647 * lib/autoconf/status.m4: On various places, use expr instead of
649 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
650 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
651 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
653 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
654 the wrong patterns between ``case'' and ``esac.'' The previous
655 code had false positives.
657 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
659 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
661 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
664 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
666 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
667 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
668 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
669 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
670 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
671 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
672 config/config.guess, config/config.sub, config/elisp-comp,
673 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
674 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
675 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
676 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
677 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
678 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
679 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
680 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
681 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
682 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
683 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
684 lib/autoconf/general.m4, lib/autoconf/headers.m4,
685 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
686 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
687 lib/autoconf/specific.m4, lib/autoconf/status.m4,
688 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
689 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
690 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
691 lib/autotest/general.m4, lib/emacs/Makefile.am,
692 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
693 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
694 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
695 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
696 tests/compile.at, tests/foreign.at, tests/fortran.at,
697 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
698 tests/semantics.at, tests/suite.at, tests/tools.at,
699 tests/torture.at, tests/wrapper.as:
700 Update FSF postal mail address.
702 2005-05-13 Stepan Kasal <kasal@ucw.cz>
704 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
706 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
707 enough arguments, similarly as in m4_bpatsubsts.
709 2005-05-12 Stepan Kasal <kasal@ucw.cz>
711 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
714 2005-05-11 Stepan Kasal <kasal@ucw.cz>
716 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
717 for absolute directory names in one loop.
718 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
719 abbreviations of --version and --debug.
721 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
723 * doc/autoconf.texi (Autoconf Language): Be more precise about
724 quoting rules. Problems noted by Stepan Kasal.
725 Also, throughout this document, be more careful about white space.
726 "blank", "white space", and "space" all have different meanings
727 and we should be careful to say what we mean.
729 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
731 Fix C++ related problems reported by Werner Lemberg.
732 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
733 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
734 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
735 avoid problems with C++ and throw.
736 * tests/compile.at: .cpp, not .cc.
738 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
740 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
742 * doc/autoconf.texi (Generic Functions): Typos.
744 2005-05-02 Gary V. Vaughan <gary@gnu.org>
746 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
747 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
748 set by latest automake.
750 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
752 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
753 outputs 0 on GNU/Linux these days.
755 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
757 * doc/autoconf.texi (Autoconf Language): Add more description
758 about quoting heuristics.
759 (Limitations of Builtins): Describe "set -" problems.
761 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
763 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
766 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
767 by AC_DEFINE; it was a mistake.
768 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
770 2005-04-25 Stepan Kasal <kasal@ucw.cz>
772 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
774 2005-04-22 Stepan Kasal <kasal@ucw.cz>
776 * doc/autoconf.texi (External Software): Quadrigraphs are not
777 processed correctly in AS_HELP_STRING; avoid this in the examples.
778 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
779 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
780 comment and reduce m4_default([foo], []) to [foo].
781 (m4_strip): Update the explanation.
783 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
785 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
786 Remove core.conftest.* too; it's generated by Tru64 5.1.
787 Problem reported by Jennis Pruett.
788 * lib/autoconf/functions.m4
789 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
790 Don't bother to remove core files; AC_RUN_IFELSE should do that
793 2005-04-19 Stepan Kasal <kasal@ucw.cz>
795 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
797 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
799 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
800 Report from Horst Wente.
802 2005-04-15 Stepan Kasal <kasal@ucw.cz>
804 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
807 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
809 * doc/autoconf.texi (External Software, Package Options): Add
810 examples showing how to implement --with-* and --enable-* options.
812 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
814 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
815 as well as configure.in. Problem reported by Gregorio Guidi.
817 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
819 * doc/autoconf.texi (Particular Functions): Use gnulib's current
820 pattern for alloca snippet.
822 2005-04-04 Stepan Kasal <kasal@ucw.cz>
824 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
826 2005-04-01 Stepan Kasal <kasal@ucw.cz>
828 * doc/autoconf.texi (Generic Programs): Fix a typo.
830 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
832 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
833 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
835 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
837 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
838 Merge `-z option' as well for the benefit of Solaris link flags. Pass
839 whole-archive (-zallextract, -zdefaultextract) options in the hope of
840 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
841 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
843 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
845 * NEWS: The configure command now warns you if you attempt to use
846 a directory whose name contains a special character like space,
848 * doc/autoconf.texi (Installation Directory Variables): Allow
849 "," in file names. Do not use \@; it's not a portable regexp.
850 * bin/Makefile.am (edit): Likewise.
851 * lib/Makefile.am (edit): Likewise.
852 * tests/Makefile.am (edit): Likewise.
853 * tests/semantics.at: Likewise.
854 * tests/torture.at: Likewise.
855 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
856 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
857 * doc/autoconf.texi (File System Conventions): Warn about
858 unportable file names.
859 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
861 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
862 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
863 ac_pwd, and quote srcdir.
864 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
866 * doc/autoconf.texi: Fix some systematic formatting problems.
867 ".)" needs a following @: if not at the end of a sentence, and
868 similarly for "!)". "etc." should be preceded by a comma.
869 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
871 2005-03-22 Bruno Haible <bruno@clisp.org>
873 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
874 argument is often called 'build-aux'.
876 2005-03-07 Stepan Kasal <kasal@ucw.cz>
878 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
879 macro AC_TRY_LINK is obsolete.
880 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
883 2005-02-24 Stepan Kasal <kasal@ucw.cz>
885 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
886 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
887 from a Common Lisp's `cl'.
888 (AC_PROG_CXX): Behave according to the documentation: don't
889 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
890 make the variable CCC precious; use `cl.exe', not `cl'.
892 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
893 Alexandre Duret-Lutz <adl@gnu.org>
895 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
896 /dev/null, as "configure" shouldn't read stdin, and this insulates
897 us from problems (e.g., when testing for "cl"). Also, do this
898 redirection before invoking "hostname" or "uname", and keep the
899 original input stream available via...
900 (AS_ORIGINAL_STDIN_FD): ... this new macro.
901 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
902 bother with "</dev/null" since it's now done at the top of
904 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
905 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
906 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
907 * doc/autoconf.texi (File Descriptor Macros): New section.
908 (Printing Messages): Mention it.
909 * tests/base.at (Input/Output): New test.
911 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
913 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
914 newline if neither \c nor -n work, as that would output two
915 newlines. Prefer -n to \c. Reported by Stepan Kasal.
917 2005-02-12 Stepan Kasal <kasal@ucw.cz>
919 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
920 This causes that any required macros inside will get before the if.
921 * doc/autoconf.texi (autom4te.cache): A typo.
923 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
925 Undo previous change, except keep the change to
926 lib/autoconf/programs.m4 that replaced grep with shell
927 pattern-matching. This is because net-snmp configure reads stdin.
928 Reported by Noah Misch.
930 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
932 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
933 from /dev/null, as "configure" shouldn't read stdin, and this
934 insulates us from problems (e.g., when testing for "cl").
935 Suggested by Alexandre Duret-Lutz. Also, do this redirection
936 before invoking "hostname" or "uname".
937 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
938 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
939 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
940 "</dev/null" since it's now done at the top of 'configure'.
941 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
942 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
943 Also, replace grep with shell pattern-matching, to save a process.
945 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
947 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
948 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
949 avoid thinking that Allegro Common Lisp's "cl" command is a C++
952 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
954 * doc/autoconf.texi (Limitations of Usual Tools): Document that
955 grep -q isn't portable. Improve grep -s explanation.
956 Problem reported by Dan Manthey.
958 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
960 * doc/autoconf.texi (Special Shell Variables): Clarify
961 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
963 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
965 * doc/autoconf.texi: Use @acronym for DJGPP.
966 Fix some @code's that should have been @env's, and vice versa.
967 Sort environment variable names.
968 Mention that shells no longer inherit IFS.
969 Don't recommend PATH_SEPARATOR=';' so strongly.
970 Mention that $RANDOM might expand to the empty string.
971 "symlink" and "soft link" -> "symbolic link".
972 Improve mktemp description (reported by Bruno Haible).
974 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
976 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
977 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
979 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
982 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
984 * NEWS: Mention AT_COPYRIGHT.
986 * tests/local.at (AT_CMP): Use diff directly on input files rather
989 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
990 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
992 2005-02-04 Noah Misch <noah@cs.caltech.edu>
993 and Paul Eggert <eggert@cs.ucla.edu>
995 * tests/autotest.at (Empty test suite): New test.
996 * tests/torture.at (Substitute and define special characters)
997 (Substitute a 2000-byte string, Define to a 2000-byte string)
998 (Substitute a newline, Define a newline): New tests.
1000 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1002 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
1003 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
1004 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
1005 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
1006 (Standard regular expressions): New test.
1007 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
1008 excess test name quoting.
1009 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
1010 CPPFLAGS to `configure' instead of setting it in `configure'.
1012 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
1013 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
1016 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
1017 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
1019 * tests/local.at (AT_CMP): New macro.
1020 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
1021 (AC_SAVE_STATE): Move environment grep...
1022 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
1023 (AT_CONFIG_CMP): New macro.
1024 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
1025 * tests/c.at (Extensions): Do not exit early.
1026 * tests/atlocal.in: Inherit $GREP.
1028 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
1029 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
1031 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
1032 (AC_COPYRIGHT): Factor header comment portion out and move into...
1033 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
1034 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
1035 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
1037 * tests/local.at: Add Autoconf test suite copyright notice.
1038 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
1040 2005-02-04 Bruno Haible <bruno@clisp.org>
1041 and Paul Eggert <eggert@cs.ucla.edu>
1043 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
1045 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1047 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
1048 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
1050 Try not to generated lines of unlimited length, as POSIX places a
1051 2047-byte limit on line length of portable text files.
1052 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
1053 Use newline as a separator, not space.
1054 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
1055 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
1058 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1060 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
1061 as_func_*. Add test to check whether positional parameters
1062 are restored after function return.
1064 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1066 * doc/autoconf.texi (Special Shell Variables): Mention _,
1067 BIN_SH, DUALCASE. Say that variables other than "status" are safe
1068 if they contain a lower-case letter. The DUALCASE problem was
1069 reported by Ralf Wildenhues.
1071 * bin/autoconf.as: Don't exit with status 0 after write failure
1072 with --help or --version.
1073 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
1074 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
1076 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1078 * doc/autoconf.texi (Limitations of Usual Tools):
1079 Unicos 9 sed limitations.
1080 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
1081 to get the option-enhanced interface on older Crays. Try ftn for
1082 Fortran 95 (newer Crays).
1084 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
1086 * man/Makefile.am (.x.1): Go back to the simple solution, but take
1087 care to echo the commands, so the user knows what's going on.
1088 Modified from a suggestion by Stepan Kasal.
1090 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
1091 with a cross reference. Derived from a suggestion by Bruce Korb.
1093 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
1095 * doc/autoconf.texi (config.status Invocation): Warn about
1096 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
1097 * doc/install.texi (Defining Variables): Likewise.
1098 Based on a proposed patch by Ralf Wildenhues.
1100 * man/Makefile.am (.x.1): Make sure the required generated files
1101 are up to date. Problem and original solution proposed by Stepan Kasal.
1102 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
1103 implicit-man-prerequisites): New rules, used by the above.
1105 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1106 * config/config.guess, config/config.sub, config/install-sh: Likewise.
1107 * config/missing, config/texinfo.tex: Likewise.
1109 2005-01-29 Stepan Kasal <kasal@ucw.cz>
1111 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
1112 Update the long comment explaining it.
1114 m4_require no longer writes an ``is required by'' line to the
1115 execution stack. It contains only one bit of non-redundant
1116 information: that the macro was required, not called. And even
1117 this bit is useless in most situations: have you ever met a macro
1118 which both calls and requires the same macro?
1120 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
1121 (_m4_defun_pro_outer): ... only via this macro, for the outermost
1123 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
1124 (m4_expansion_stack_pop): Remove the misplaced comment.
1125 (m4_require): Don't put the ``is required by'' line to the
1126 execution stack; slightly improve the out-of-a-defun error message.
1127 (_m4_divert_grow): New macro, counter for the temporary diversions.
1128 (_m4_require_call): Use it.
1129 * tests/m4sugar.at (m4_require): Expect output without the
1130 ``is required by'' messages.
1132 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1134 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
1135 rather than x for expr.
1137 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
1139 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
1140 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1141 * lib/autotest/general.m4 (AT_INIT): Likewise.
1142 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
1143 * tests/mktests.sh: Likewise.
1145 2005-01-27 Akim Demaille <akim@epita.fr>
1147 Have autoheader honor --force.
1149 * doc/make-stds.texi, doc/standards.texi: Update from masters.
1150 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
1151 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
1152 from masters, so that FileUtils.pm's update_file provide --force
1154 * bin/autoheader.in: Pass $force to update_file so that
1155 config.h.in is always recreated when --force.
1157 2005-01-24 Stepan Kasal <kasal@ucw.cz>
1159 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
1161 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
1163 * doc/autoconf.texi (Limitations of Builtins): Clarify that
1164 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
1166 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1168 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
1169 Warn about newline stripping in `` and $(). Update Solaris
1171 (Limitations of Builtins): Use expr "X...", not expr "x...", as
1172 X insulates us from future changes to Posix.
1173 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
1176 2005-01-19 Stepan Kasal <kasal@ucw.cz>
1178 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
1179 you cannot use AC_DEFINE to define macros containing `[' or `]'.
1181 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
1183 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
1184 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
1185 bug-tar mailing list.
1187 2005-01-05 Stepan Kasal <kasal@ucw.cz>
1189 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
1191 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
1193 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
1194 ulongval to be static, to avoid unwanted GCC warning. Problem
1195 reported by Michael Jennings via Daniel Reed; see
1196 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
1198 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1200 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
1201 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
1202 datadir, infodir, and mandir. Adjust argument parsing code.
1203 (_AC_INIT_HELP): Update help text.
1204 * doc/autoconf.texi (Installation Directory Variables): Document
1207 2005-01-04 Noah Misch <noah@cs.caltech.edu>
1209 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
1210 not seem to work, assume it does set $(MAKE).
1211 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
1213 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1215 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
1217 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1219 A cleanup of the diversion support in m4sugar.
1221 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
1222 (_m4_divert_n_stack): New macro; the expansion is
1223 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
1225 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
1226 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
1227 stored in _m4_divert_diversion or _m4_divert_dump.
1228 (m4_divert_pop): When the parameter is given, compare the symbolic
1229 name with the last diversion pushed on the stack. Previously, the
1230 current diversion was compared with the numeric value of the
1231 diversion given as the parameter.
1232 (m4_require): If the macro hasn't been expanded yet, call ...
1233 (_m4_require_call): this new macro.
1235 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1237 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
1238 Workarounds for documented `case' limitations.
1240 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1242 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
1243 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
1245 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
1247 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
1248 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
1249 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
1251 Patch from Roger Leigh (with some minor changes) as follows:
1252 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
1253 Resurrect AC_PROG_CC_STDC.
1254 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
1255 AC_PROG_CC_C89, AC_PROG_CC_C99.
1256 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
1257 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
1258 AC_PROG_CC_C99): New macros.
1259 (AC_PROG_CC_STDC): Use them.
1260 (_AC_PROG_CC_STDC): Remove.
1261 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
1262 * THANKS: Add Roger Leigh.
1264 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1266 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
1267 signals that the package uses Automake; a `Makefile.am' is typical but
1268 not essential. Reported by Magnus Therning.
1269 * tests/torture.at (autoreconf.): New banner.
1270 (autoreconf and non-AC configure): Rename to `Non-Autoconf
1272 (autoreconf an empty directory): Rename to `Empty directory'.
1273 (Unusual Automake input files): New test.
1275 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1277 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
1278 (AT_SETUP): Clear AT_capture_files.
1279 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
1280 (AT_KEYWORDS): Fix comment typo.
1281 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
1282 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
1283 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
1285 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
1287 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1288 If the variable to set is already set, set ac_cv_path_$1
1289 to the preset value so caller can assume ac_cv_path_$1
1290 is available. (trivial change)
1292 2004-12-27 Noah Misch <noah@cs.caltech.edu>
1294 * BUGS (Minor Problems): Warn about makefile limitations.
1295 * Makefile.am: Find and update `INSTALL' in $(srcdir).
1296 * man/Makefile.am: Find and update manual pages in $(srcdir).
1298 2004-12-24 Eric Blake <ebb9@byu.net>
1300 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
1301 shells in subshell, to avoid noise from ash. (trivial change)
1303 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1305 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1306 problems with SunOS ksh and backslash escaping, Bourne shells and
1307 closing brackets (both within character classes). Bug reported
1308 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
1309 <read>: New entry. Mention non-availability of -r.
1311 2004-12-21 Akim Demaille <akim@epita.fr>
1313 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
1314 avoid cluttering displayed messages. Rather, prepend srcdir where
1315 AT_LINE is used for log files.
1317 2004-12-21 Stepan Kasal <kasal@ucw.cz>
1319 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
1320 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
1321 no longer part of the macro, quote the occurrence of ``$tmp''.
1322 * doc/autoconf.texi (Forbidden Patterns): Typo.
1324 2004-12-21 Akim Demaille <akim@epita.fr>
1326 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
1327 separated from the test title by forcing a white space.
1329 2004-12-21 Akim Demaille <akim@epita.fr>
1331 Enable Emacs navigation within testsuite.log files.
1333 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1334 use the compilation mode.
1335 (AT_LINE): Point to the srcdir.
1337 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1339 * tests/Makefile.am (installcheck-local): Use $(bindir).
1340 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1341 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1342 Makefile.am scheme Autoconf now uses.
1344 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1346 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1347 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1349 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1351 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1352 (_AT_CHECK): Use it.
1353 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1354 (AS_ESCAPE): Fix comment.
1355 * tests/autotest.at: Adjust section banner comments.
1356 (AT_CHECK_AT): Accept STATUS and STDERR.
1357 (AT_CHECK_AT_TEST): Likewise.
1358 (Invalid brace-enclosed parameter expansion)
1359 (Multiline command from M4 expansion)
1360 (Double-M4-quoted command): New tests.
1362 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1364 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1366 2004-12-17 Akim Demaille <akim@epita.fr>
1368 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1370 Suggested by Alexandre Duret-Lutz.
1371 * doc/autoconf.texi (Setting Output Variables): Catch up.
1373 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1375 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1377 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1379 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1380 remove the comment which said we cannot.
1382 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1384 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1385 Reini Urban and Paul Eggert for reporting the dependencies.
1387 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1388 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1389 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1391 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1393 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1394 so that eg. ``autoscan --help'' doesn't truncate it.
1396 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1398 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1399 generated conftest files.
1401 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1403 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1404 tracing on commands with possibly-escaped newlines.
1405 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1406 discontinued behavior and its implications.
1407 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1408 (BSx641-newline in command, BS-BS-newline in command)
1409 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1410 (Single-quote-BS-newline in command)
1411 (Single-quote-newline-BS-newline in command): New tests.
1413 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1415 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1416 on platforms where it works.
1417 (_AS_TEST_PREPARE): Test for ``test -x''.
1418 (_AS_BROKEN_TEST_PREPARE): Nuke.
1420 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1422 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1423 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1424 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1425 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1426 create the temporary directory.
1427 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1429 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
1431 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1434 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
1436 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1438 2004-12-11 Noah Misch <noah@cs.caltech.edu>
1440 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1441 to avoid using a negated character class. Reported by Nicolas Joly.
1442 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1444 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
1446 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1447 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1448 Don't depend on .x file explicitly, since "make" does that for us.
1449 Suggested by Stepan Kasal.
1451 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1453 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1454 ifnames): Factor common code. And they said it couldn't be done!
1456 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1458 * bin/.cvsignore: Add autoconf.in.
1459 * tests/.cvsignore: Add wrapper.in.
1460 * lib/autotest/general.m4: Escape '$' in case pattern.
1462 2004-12-09 Noah Misch <noah@cs.caltech.edu>
1464 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1466 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1468 * tests/autotest.at: New file.
1469 * tests/suite.at: Include it.
1470 * tests/Makefile.am: Distribute it.
1472 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1473 shell tracing on a command that could contain multiple lines.
1474 * doc/autoconf.text: Document that fact and its implications.
1475 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1476 * tests/autotest.at (Multiline backquote command substitution,
1477 Multiline parameter expansion, Literal multiline command,
1478 Multiline parenthetical command substitution): Remove XFAIL.
1480 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1482 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1483 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1485 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1487 * configure.ac (test suite): Cease to generate wrapper scripts.
1488 * configure: Regenerate.
1489 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1490 (m4f_dependencies): Adjust accordingly.
1491 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1492 (wrapper.in): Generate it in the build directory.
1493 (MAINTAINERCLEANFILES): Delete wrapper.in.
1494 (CLEANFILES): Add wrapper.in.
1495 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1496 the output. Replace each $as_me with a @wrap_program@.
1497 * tests/wrapper.in: Delete it; we always build it.
1499 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1500 (EXTRA_DIST): Remove autoconf.in.
1501 (CLEANFILES): Add autoconf.in.
1502 (autoconf): Find autoconf.in in the build directory.
1503 * bin/autoconf.in: Delete it; we always build it.
1505 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1507 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1508 PATH members so as to not prepend an empty element. Move a comment.
1509 * Makefile.am (SUBDIRS): Build in `tests' last.
1510 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1512 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1514 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1515 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1516 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1517 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1519 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1521 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1524 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1526 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1527 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1528 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1530 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1532 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1533 out the common code to ...
1534 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1535 value of the #define--default to 1, iff the macro was called
1536 with exactly one parameter.
1538 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1540 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1541 "char c = '\200';" rather than "char c = 0x80;" as the
1542 latter doesn't conform to the strict C standard due to
1543 overflow on signed char hosts.
1545 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1546 to -qlanglvl=ansi. We don't want to disable extensions.
1548 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1550 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1551 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1552 Reword slightly to avoid some English-language problems noted
1553 by Ralf Wildenhues in:
1554 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1556 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1558 * NEWS: Add ^L above each release.
1560 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1562 Fix documentation problems reported by Russ Boylan in
1563 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1564 along with some nearby cruft.
1565 * doc/autoconf.texi (Libtool): Libtool can be used without
1566 Automake (not without Autoconf).
1567 (Introduction): Mention lists.gnu.org.
1568 * BUGS: Don't mention bugs.gnu.org.
1569 Remove mention of ancient libtool compatibility problem.
1570 * NEWS: Mention that bugs.gnu.org is kaput.
1571 * README: Likewise. Mention where mailing list archives can be found.
1573 2004-11-28 Stepan Kasal <kasal@ucw.cz>
1575 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1576 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1578 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1580 * doc/autoconf.texi (Pretty Help Strings): Go back to
1581 single-quoting assignments to cache variables.
1583 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1585 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1586 with the examples; fix the bug in MY_ARG_WITH example reported
1587 by Alexandre Duret-Lutz.
1588 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1589 expansion of $1 in the comment emitted to configure.
1591 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1593 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1594 in my editing of the previous patch. Problem reported
1595 by Alexandre Duret-Lutz.
1597 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1599 * doc/autoconf.texi (Autoconf Language): Explain that
1600 ``descriptions'' may not be double quotes.
1601 (Quotation Rule Of Thumb): Likewise.
1602 (Pretty Help Strings): Likewise; remove the wrong comment;
1603 simplify the examples and improve their quoting.
1605 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1607 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1608 the $1_found variable, don't test whether the file is executable;
1609 Both things are checked ...
1610 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1611 the former ``test -f''.
1612 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1614 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1616 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1619 2004-11-10 Derek R. Price <derek@ximbiot.com>
1621 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1622 limitations. Reorder paragraphs for clarity.
1624 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1626 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1627 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1628 variants", "Unix", and some related minor wording fixups.
1630 (Shellology, Special Shell Variables): Document that the Zsh
1631 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1632 to Alexandre Duret-Lutz for this info.
1634 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1636 * doc/autoconf.texi (One-Shot Macros): New node.
1638 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1640 * doc/autoconf.texi (Function Portability): Fix misdescription
1641 of putenv. Problem reported by Michael Wardle.
1643 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1645 * doc/autoconf.texi (auindex): New macro.
1646 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1647 Problem reported by Stepan Kasal.
1649 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1651 Fix problems reported by Andreas Buening in:
1652 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1653 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1655 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1656 readable; it's not true in OS/2-emx.
1658 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1660 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1661 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1662 (trivial change). Problem and patch reported by Andrew Church in:
1663 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1665 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1667 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1668 three args in examples. Problem reported by Frederik Fouvry in:
1669 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1670 Also, fix some minor spacing and punctuation bugs.
1672 2004-09-02 Akim Demaille <akim@epita.fr>
1674 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1675 "case" to restore ordering.
1676 Reported by Stepan Kasal.
1678 2004-08-26 Akim Demaille <akim@epita.fr>
1680 * doc/autoconf.texi: Minor typos and stylos.
1682 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1684 * configure.ac (AC_INIT): Bump to 2.59c.
1686 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1690 * README: Add advice about m4 1.4.2.
1692 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1693 texinfo.tex for now (done by hand now).
1694 * Makefile.maint (wget_files, cvs_files):
1695 Remove ansi2knr.c; nobody uses it.
1696 (ansi2knr.c-url_prefix): Remove.
1697 (cvs-update): Fix test for failure. I don't know why it ever
1700 * doc/autoconf.texi: Update URLs, some of which went stale.
1701 Use @uref rather than @href.
1703 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1704 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1706 * config/config.guess, config/config.sub, config/elisp-comp,
1707 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1708 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1710 * NEWS, TODO, configure.ac, bin/autoscan.in,
1711 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1712 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1713 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1714 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1715 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1716 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1717 tests/tools.at, tests/torture.at:
1718 Use "file name" rather than "filename" or "path",
1719 to be consistent with the terminology of the GNU coding standards.
1721 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1723 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1724 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1725 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1726 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1728 More fixes to support spaces in the name of the build directory.
1729 This isn't a complete fix but it's an improvement.
1731 * bin/autoconf.as (autom4te_options): New var.
1732 Use it instead of appending to AUTOM4TE, so that we can allow
1733 spaces in the build directory's absolute name.
1734 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1735 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1736 AT_CHECK_NOESCAPE): Likewise.
1737 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1738 main program): Likewise.
1740 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1742 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1743 From Ralf Corsepius in:
1744 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1746 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1748 * doc/autoconf.texi (Function Portability): Document isinf and
1749 and isnan. From a suggestion by Kevin Ryde.
1751 * lib/Autom4te/General.pm (END): Return correct exit status even
1752 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1754 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1756 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1757 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1758 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1760 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1762 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1763 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1764 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1765 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1766 * lib/autom4te.in (Automake-preselections): Preselect
1767 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1769 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1771 * lib/autom4te.in (Automake-preselections): Preselect
1772 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1775 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1777 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1779 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1780 Document problem with "`""`" in pdksh POSIX mode.
1782 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1784 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1785 with pdksh, too. Problem reported by Patrick Welche via
1787 * doc/autoconf.texi (Shellology): Note that set -o posix is
1788 useful for pkdsh, too.
1790 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1792 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1793 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1794 Don't fail if ENV or BASH_ENV is readonly.
1795 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1796 etc. are read only. Problem reported by Ludovic Courtes.
1798 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1800 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1801 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1804 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1806 * doc/autoconf.texi (File System Conventions): Warn about
1807 names like "aux". Problem reported by Eric Blake.
1809 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1810 by zero instead of array size, so that we can use any arithmetic
1811 constant expression (instead of requiring an integer constant
1812 expression). This allows us to test expressions like DBL_MAX <
1813 LDBL_MAX, which didn't conform to the C standard using the old
1815 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1816 now that we can do floating-point tests at compile time.
1818 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1820 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1821 and LDBL_EPSILON, as the resulting expression isn't an
1822 integer constant expression and violates the C standard.
1823 Problem reported by Nelson H. F. Beebe. Also, check
1824 for "L" suffix, and check that long double doesn't have
1825 worse range or precision than double, that mixed-mode
1826 arithmetic doesn't generate a diagnostic, that double
1827 constants fit in long double.
1829 2004-06-03 Kevin Ryde <user42@zip.com.au>
1831 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1832 malloc(0) and realloc(NULL,size).
1834 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1837 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1839 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1840 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1843 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1845 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1846 can be rewritten using if-then-else. Suggested by Bruno Haible.
1848 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1850 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1851 Problem reported by Stepan Kasal.
1853 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1855 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1856 change). Patch reported by Ralf Wildenhues in
1857 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1859 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1860 function F exists if the compiler and linker let you compile an
1861 expression like (F != 0). Recent versions of GCC optimize away
1862 the reference to F in that case, since every function address must
1863 be nonzero, so the link succeeds even if F does not exist.
1864 Problem reported by Manu in
1865 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1867 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1868 "Unix". Many uses changed.
1869 (Limitations of Builtins): Explain better why the ! command isn't
1872 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1874 * lib/autom4te.in (Automake-preselections): Preselect
1875 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1877 2004-05-19 Kevin Ryde <user42@zip.com.au>
1879 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1880 referencing AC_FUNC_STRERROR_R.
1882 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1883 note pessimistic assumption when cross compiling.
1885 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1887 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1888 (until 2004) invoked subcommands with sh -e, contra POSIX.
1889 Reported by Kevin Ryde.
1891 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1893 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1894 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1895 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1896 `test -f " /usr/bin/grep"', which _always_ failed.
1897 (AC_PROG_SED): Ditto bogus PATH fix.
1898 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1899 requires that grep correctly supports _multiple_ `-e' options, rather
1900 than stating only that grep should accept `-e'.
1902 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1904 Port to C99, which requires that 'exit' be declared.
1906 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1907 to ensure that stdlib.h is included.
1908 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1909 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1910 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1911 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1912 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1913 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1914 when using 'exit' in a test; C99 requires that 'exit' be declared.
1916 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1918 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1919 now prefers 'grep' implementations that accept -e.
1920 (Limitations of Usual Tools): Describe problems of traditional
1921 egrep and fgrep with long input lines, and of traditional grep
1923 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1924 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1925 All callers changed. Append /usr/xpg4/bin to the PATH, for
1927 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1928 the user with complaints about multiple -e options.
1929 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1930 Define it with AC_PROG_GREP.
1931 * configure.ac (AC_PROG_GREP): Add.
1932 * lib/freeze.mk (GREP): New macro.
1934 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1936 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1937 a possible candidate only after all others fail, rather than
1938 consulting it first. This improves backward compatibility by
1939 better reflecting the way shell selection occurred in previous
1940 versions of Autoconf, and should help to avoid triggering latent
1941 problems in other packages, such as the one in Automake where zsh
1942 is not handled robustly:
1943 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1944 Although it is not Autoconf's responsibility to work around
1945 problems in Automake, it nevertheless makes sense to avoid
1946 introducing unnecessary incompatibilites.
1948 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1949 Gary V. Vaughan <gary@gnu.org>
1951 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1952 how deeply nested we are when a suitable tool is found, set the
1953 ac_path_TOOL_found flag.
1954 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1955 nested we are in this macro. Break out of all 3 nested loops if
1956 ac_path_TOOL_found is set.
1958 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1960 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1961 of the _AS_PATH_WALK loop too if GNU flavor is found.
1963 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1965 * doc/autoconf.texi (Limitations of Make): Update documentation
1966 for `$<'. New entry `Long lines', based on a report from Simon
1967 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1968 paragraph about DJGPP, based on a mail from Richard Dawe.
1970 2004-04-20 Paul Eggert <eggert@twinsun.com>
1972 * tests/c.at (C keywords): Don't assume that GCC supports
1973 "restrict" and "inline", as sufficiently-old GCC versions do not
1974 (also, GCC configured to be in pedantic C89 mode does not).
1975 Problem reported by Sumit Pandya in:
1976 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1978 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1979 consider -g to work if it generates warnings when plain compiles
1980 don't. Problem reported by Braden McDaniel in:
1981 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1983 * doc/autoconf.texi (Slashes): New section, to document a problem
1984 reported by Jim Meyering in:
1985 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1987 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1988 linker output files before linking, to work around IRIX 6 linker bug.
1989 Problem reported by Rainer Orth in:
1990 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1992 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1994 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1995 best tool so far counter rely on the tool path variable name to
1996 avoid checks for one tool being affected by the results of running
1997 the length check on a previous tool.
1999 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
2000 match expression argument, as different greps have different
2001 regular expression flavours.
2002 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
2004 (AC_PROG_EGREP): Pass 'EGREP$'.
2005 (AC_PROG_GREP): Pass 'GREP$'.
2007 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
2009 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
2010 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2012 2004-03-29 Paul Eggert <eggert@twinsun.com>
2014 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
2015 Types, Specific Compiler Characteristics, System Services,
2016 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
2017 etc. consistently instead of 'long', 'short', 'unsigned' etc.
2018 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
2019 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
2021 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
2022 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
2023 AC_TYPE_OFF_T): Likewise.
2024 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
2027 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
2028 pacify libtool 1.5.2. Fix quoting problems in sed command.
2030 2004-03-28 Paul Eggert <eggert@twinsun.com>
2032 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
2033 now defines HAVE_DECL_TZNAME if it is declared, when
2034 HAVE_STRUCT_TM_TM_ZONE is not defined.
2035 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
2036 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
2039 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
2041 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
2042 superfluous backslashing of quotes (") in sed expressions;
2043 thanks to Paul Eggert.
2045 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
2047 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
2048 Fortran compiler is ifort, also added pghpf; thanks to Nelson
2049 H. F. Beebe for the bug report.
2051 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
2053 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
2054 quoted -cmdline argument in Portland Group compiler (bug
2055 reported by Jeffrey J. Barteet).
2057 2004-03-25 Kevin Ryde <user42@zip.com.au>
2059 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
2060 (Run Time): ... here, where it's now mentioned.
2062 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2064 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
2065 inherits from language Autoconf-without-aclocal-m4.
2066 (Customizing autom4te): Adjust example; the cache must now be
2067 disabled for language Autoconf-without-aclocal-m4.
2069 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
2070 Nathanael Nerode <neroden@twcny.rr.com>
2072 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
2073 AC_CHECK_TOOLS): Warn if a cross-tool is found without
2075 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2076 AC_CHECK_TARGET_TOOLS): New macros.
2077 * doc/autoconf.texi (Generic Programs): Document
2078 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2079 AC_CHECK_TARGET_TOOLS, and warn for future changes
2080 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
2082 (Specifying Names): Document the reason for these future
2084 * tests/mktests.sh: Do not generate tests for the
2086 * NEWS: Document these changes.
2088 * doc/autoconf.texi: Avoid macros with unbraced arguments,
2089 they make TeX hang up.
2091 2004-03-15 Paul Eggert <eggert@bogus.example.com>
2093 * NEWS: New macro AC_CHECK_ALIGNOF.
2094 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
2095 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
2096 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
2098 (AC_CHECK_ALIGNOF): New macro.
2099 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
2100 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
2103 2004-03-03 Paul Eggert <eggert@twinsun.com>
2105 * bin/Makefile.am (edit): Don't use $< in a context where
2106 POSIX doesn't require support for it. Use $@.in instead.
2107 Problem reported by Anthony N. Frasso in
2108 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
2109 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2111 2004-02-23 Gary V. Vaughan <gary@gnu.org>
2113 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
2114 from the next generation of Libtool.
2115 * lib/autom4te.in (Autoreconf-preselections): Ditto.
2117 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2119 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
2120 is not always thread-safe. Report from Nathanael Nerode.
2122 2004-02-18 Paul Eggert <eggert@twinsun.com>
2124 Fix a dependencies problem, stemming from a Autoconf 2.59 build
2125 problem on QNX reported by Stephen Rasku in
2126 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
2128 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
2129 $(m4sh_m4f_dependencies); this removes a FIXME.
2130 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
2131 (MAINTAINERCLEANFILES): Split into pieces,
2132 one per related section. Add $(srcdir)/wrapper.in.
2134 2004-02-09 Paul Eggert <eggert@twinsun.com>
2136 * doc/autoconf.texi (Setting Output Variables): Emphasize that
2137 AC_SUBST provides no portable way to escape literal newlines.
2139 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
2140 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
2141 Darwin uses -lcrt2.o and there's little point to cataloging all
2142 the system variants. Partial fix reported by Andreas Waechter in:
2143 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
2144 for bug reported by Nelson H. F. Beebe in:
2145 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2147 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
2149 * doc/autoconf.texi (AU_DEFUN): Fix English,
2150 suggested by Paul Eggert.
2151 * lib/autoconf/autoupdate.m4: Correct reference to
2152 acobsolete.m4, suggested by Alexandre Duret-Lutz.
2154 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
2156 * bin/autoupdate.in: Define __file__ so that warnings
2157 refer to the correct file.
2158 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
2159 the behavior of the third argument.
2160 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
2161 correctly the behavior of the third argument. Document
2162 what the three macros that AU_DEFUN defines do. Fix
2163 warning message when the third argument includes $0
2164 (reported by Alexandre Duret-Lutz).
2166 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2167 Eric Sunshine <sunshine@sunshineco.com>
2168 Paul Eggert <eggert@twinsun.com>
2170 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
2171 (AS_INIT): Output shell initialization there. Removed optional
2172 parameter. Expand _AS_SHELL_FN_SPY.
2173 (AS_INIT_WITH_SHELL_FN): Removed.
2174 (_AS_SHELL_FN_SPY): New macro.
2175 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
2177 (AS_SHELL_SANITIZE): Remove loop to find better shell
2178 and documentation for the parameter.
2179 (_AS_DETECT_BETTER_SHELL): Move it here.
2180 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
2181 (_AS_RUN): Move it here, support testing with eval.
2182 (AS_REQUIRE_SHELL_FN): Require shell functions when
2184 (_AS_LINENO_WORKS): Put around braces, we do not
2185 trigger the bash bug anymore.
2186 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
2187 use AS_INIT_WITH_SHELL_FN.
2188 * bin/autoconf.in, tests/wrapper.in: Regenerated.
2190 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2192 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
2193 * doc/autoconf.texi: Don't say that the third parameter
2195 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
2196 (AU_DEFUN): Honor the third parameter, create autoupdate
2197 macros with AU_DEFINE.
2198 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
2199 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
2200 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2201 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
2202 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
2203 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
2204 AC_XENIX_DIR): Likewise.
2205 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
2206 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
2207 * lib/autoconf/status.m4: Remove FIXME.
2208 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
2209 that the macro is not present anymore in the updated
2211 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
2214 2004-01-28 Paul Eggert <eggert@twinsun.com>
2216 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
2218 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2219 2003 (except 1997) to the list of copyright years. This undoes
2220 the 2003-05-22 change, which removed the older years from the list.
2221 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2223 2004-01-27 Gary V. Vaughan <gary@gnu.org>
2224 Albert Chin-A-Young <china@thewrittenword.com>
2226 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
2227 grep or ggrep program in PATH that accepts as long lines as
2229 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
2231 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
2232 egrep and fgrep respectively if $GREP -E/-F don't work.
2233 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
2234 _AC_PROG_GREP, and AC_PROG_SED.
2235 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
2236 longest input length accepted by a command.
2237 (AC_PROG_SED): Use it.
2238 * doc/autoconf.texi (Particular Programs): Document the changes.
2241 2004-01-27 Paul Eggert <eggert@twinsun.com>
2243 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
2244 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2245 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
2246 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2248 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
2249 bin/autoconf.in, config/Makefile.in, config/config.guess,
2250 config/config.sub, config/install-sh, config/mdate-sh,
2251 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
2252 lib/Makefile.in, lib/Autom4te/Makefile.in,
2253 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
2254 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
2255 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
2256 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
2257 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
2258 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
2259 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
2260 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
2261 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
2262 tests/actypes.at: Regenerate and/or sync with original
2265 2004-01-26 Paul Eggert <eggert@twinsun.com>
2267 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
2268 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
2269 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
2270 not <inttypes.h>. Problem reported by Tim Mooney in
2271 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
2272 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2275 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
2276 otherwise "make check" fails because it forbids cmp (I guess
2277 because cmp treats files as binary on DOS-like systems).
2279 * tests/mktests.sh: Update copyright date to 2004, since some tests
2280 have changed in 2004.
2282 2004-01-23 Gary V. Vaughan <gary@gnu.org>
2284 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
2285 non-truncating sed or gsed program in PATH.
2286 * tests/acprograms.at: Add it.
2287 * doc/autoconf.texi (Particular Programs): Document it.
2290 2004-01-15 Paul Eggert <eggert@twinsun.com>
2292 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
2293 -std1 disables some useful extensions on Tru64. Problem reported
2295 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2297 2004-01-14 Paul Eggert <eggert@twinsun.com>
2299 * doc/autoconf.texi (Programming in M4sh): Document that
2300 AS_MKDIR_P succeeds if the destination is a symbolic link
2301 to an existing directory.
2302 (Limitations of Usual Tools): Note that mkdir -p might not
2303 succeed on symlinks to directories.
2305 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
2307 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
2308 * bin/autoheader.in: Grammar fix in message.
2309 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
2310 Test for dir before calling mkdir -p. (trivial changes)
2312 2004-01-13 Eric Blake <ebb9@byu.net>
2314 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
2315 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2317 2004-01-10 Jim Meyering <jim@meyering.net>
2319 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2321 2004-01-09 Paul Eggert <eggert@twinsun.com>
2323 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
2324 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
2325 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
2326 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
2327 AC_COMPILE_IFELSE, since we now assume our caller invokes
2328 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
2329 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
2330 of AC_RUN_IFELSE; this avoids the warning mentioned above.
2331 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2333 2004-01-07 Paul Eggert <eggert@twinsun.com>
2335 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2336 `"'...'"`, as it's confusing (and I suspect it may not work on
2337 some platforms). The code was incorrect anyway, as it assumed
2338 that \$ evaluated to itself in that context. Reported by
2339 Alexandre Duret-Lutz.
2341 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2343 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2344 and _LT_AC_TAGCONFIG.
2346 2004-01-06 Paul Eggert <eggert@twinsun.com>
2348 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2349 example, and add more examples. Reported by Eric Sunshine.
2351 2004-01-05 Paul Eggert <eggert@twinsun.com>
2353 * doc/autoconf.texi (Limitations of Usual Tools):
2354 Remove warning against "rm -fr" introduced yesterday; it
2357 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2358 autoscan, autoupdate, ifnames): Don't use chmod -w.
2359 * lib/Makefile.am (autom4te.cfg): Likewise.
2360 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2363 2004-01-04 Paul Eggert <eggert@twinsun.com>
2364 Paolo Bonzini <bonzini@gnu.org>
2366 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2367 by doing lineno substitution only on lines containing "$LINENO".
2369 2004-01-04 Paul Eggert <eggert@twinsun.com>
2371 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2372 Use "rm -f" to remove conftest.sed, not plain "rm".
2373 Bug reported by David Relson in
2374 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2376 * Makefile.am (autom4te-update):
2377 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2378 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2379 * doc/autoconf.texi (Guidelines): Likewise.
2380 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2381 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2382 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2383 * lib/autotest/general.m4 (AT_INIT): Likewise.
2384 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2385 * tests/Makefile.am (clean-local): Likewise.
2386 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2388 * doc/autoconf.texi (Limitations of Usual Tools):
2389 Warn against "rm -fr".
2391 2004-01-03 Paul Eggert <eggert@twinsun.com>
2393 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2394 -c -o might not work. From a suggestion by Kevin Ryde.
2395 (C Compiler, Generating Sources, Limitations
2396 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2397 Don't put '-o' after non-options, as POSIX doesn't allow this.
2398 Mention that cc's name might be gcc or c89 or whatever.
2400 2004-01-04 Kevin Ryde <user42@zip.com.au>
2402 * doc/autoconf.texi: Add various further index entries.
2404 2003-12-29 Paul Eggert <eggert@twinsun.com>
2406 * bin/autoreconf.in (autoreconf_current_directory):
2407 Fix typo: mkdir without umask arg.
2409 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2411 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2412 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2413 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2414 explanation clearer.
2416 2003-12-24 Andreas Schwab <schwab@suse.de>
2418 * doc/autoconf.texi (Default Includes): Fix misspelling of
2419 AC_INCLUDES_DEFAULT.
2421 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2423 * configure.ac: Test if sh -n works.
2424 * configure: Regenerate.
2425 * tests/atlocal.in: Store the result here.
2426 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2427 tools.at, looking in atlocal's ac_cv_sh_n_works instead
2428 of explicitly testing.
2429 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2430 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2431 * tests/tools.at (Syntax of the shell scripts): Simplify
2432 using AT_CHECK_SHELL_SYNTAX.
2433 (Syntax of the Perl scripts): Remove definition of
2434 AT_CHECK_PERL_SYNTAX.
2436 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2438 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2439 stderr to /dev/null.
2440 * bin/autoconf.in: Regenerate.
2441 * bin/wrapper.in: Regenerate.
2443 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
2445 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2446 Extracted from AS_SHELL_SANITIZE.
2447 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2449 (AS_SHELL_SANITIZE): Move reinvocation code from
2450 _AS_LINENO_WORKS, use it to find out if shell
2452 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2454 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2455 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2457 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2458 * bin/autoconf.in: Regenerate.
2459 * tests/wrapper.in: Regenerate.
2460 * tests/tools.at: Test the syntax of tests/autoconf
2461 and tests/testsuite.
2463 2003-11-24 Akim Demaille <akim@epita.fr>
2465 * config/announce-gen (&print_locations, &print_signatures)
2468 No longer rely on Gnus to inline the list of signatures: compute
2471 2003-11-24 Akim Demaille <akim@epita.fr>
2473 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2474 override some files.
2475 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2476 From Debian Autoconf 2.58.
2478 2003-11-24 Akim Demaille <akim@epita.fr>
2480 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2482 From Debian Autoconf 2.58.
2484 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2486 * TODO: Remove already done things. Update the part about finding
2487 tools for the target.
2489 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2491 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2492 Make wording more consistent.
2493 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2494 Explain the transition better.
2495 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2496 the transition better.
2498 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2500 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2501 parameter of AU_DEFUN.
2502 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2503 (AU_DEFUN): Remove the third parameter, it was not used.
2504 Use AC_DEFUN directly, not AU_DEFINE.
2505 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2506 the expanded body, consistently with other macros such as AC_USG.
2508 2003-11-17 Paul Eggert <eggert@twinsun.com>
2510 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2511 into the initial confdefs.h, to work around a bug in NextStep 3.3
2512 patch 3 reported by Eric Sunshine.
2514 2003-11-15 Kevin Ryde <user42@zip.com.au>
2516 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2517 than $target since the latter is not usual, add guidelines on when to
2518 use or not use the system type.
2520 2003-11-12 Derek Price <derek@ximbiot.com>
2522 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2523 typo misrepaired by an auto-spellcheck.
2525 2003-11-12 Akim Demaille <akim@epita.fr>
2527 * bin/autoreconf.in (&parse_args): Don't call automake with
2528 --force-missing unless it actually supports it.
2529 From Debian #219336.
2531 2003-11-12 Akim Demaille <akim@epita.fr>
2533 * configure.ac: Bump to 2.59a.
2536 2003-11-06 Akim Demaille <akim@epita.fr>
2540 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2542 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2543 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2544 and ac_abs_top_srcdir are absolute paths.
2545 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2547 2003-11-05 Akim Demaille <akim@epita.fr>
2549 * configure.ac: Bump to 2.58a.
2551 2003-11-05 Kevin Ryde <user42@zip.com.au>
2553 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2554 it provokes a warning from makeinfo about looking like a cross
2555 reference in info output.
2557 * doc/autoconf.texi (Function Portability): Add notes on signal
2558 handler return type, as per AC_TYPE_SIGNAL.
2560 2003-11-04 Akim Demaille <akim@epita.fr>
2563 * doc/standards.texi: Update from master.
2565 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2567 2003-11-04 Akim Demaille <akim@epita.fr>
2569 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2570 computing the absolute path to d1 in the source hierarchy: it may
2571 not exist at all. So don't cd into it.
2572 From Alexandre Duret-Lutz.
2573 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2575 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2576 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2577 * doc/autoconf.texi (Programming in M4sh): Document.
2578 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2580 2003-11-03 Pavel Roskin <proski@gnu.org>
2582 * doc/autoconf.texi (Generic Structure Checks): Describe
2583 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2585 2003-10-31 Akim Demaille <akim@epita.fr>
2587 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2589 * doc/autoconf.texi (Language Choice): Document.
2590 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2591 the current language is Fortran.
2593 2003-10-31 Akim Demaille <akim@epita.fr>
2595 * bin/autom4te.in (&freeze): Use a less likely warning separator
2596 than `\n\n', so that `\n\n\n' is valid in warnings.
2597 Reported by Steve Huston.
2599 2003-10-28 Akim Demaille <akim@epita.fr>
2601 * Makefile.cfg (local_updates, executable-update): Tweak to be
2602 robust to parallel makes.
2603 Suggested by Alexandre Duret-Lutz.
2605 2003-10-27 Akim Demaille <akim@epita.fr>
2607 * Makefile.cfg (executable-update): New.
2608 (local_updates): Call it.
2610 2003-10-27 Akim Demaille <akim@epita.fr>
2612 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2613 Don't remove core.* as it may remove valid user files.
2614 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2615 (AC_FUNC_UTIME_NULL): Likewise.
2617 2003-10-23 Akim Demaille <akim@epita.fr>
2620 * config/config.guess, config/config.sub: Upgrade from masters.
2622 2003-10-23 Akim Demaille <akim@epita.fr>
2624 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2625 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2628 2003-10-23 Akim Demaille <akim@epita.fr>
2630 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2631 Don't forget to remove conftest.err.
2633 2003-10-23 Akim Demaille <akim@epita.fr>
2635 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2636 same object file in $LIBOBJS.
2637 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2638 * doc/autoconf.texi (Generic Functions): Adjust.
2640 2003-10-20 Paul Eggert <eggert@twinsun.com>
2642 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2643 Use 'eval', so that the resulting configure scripts work even if
2644 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2646 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2648 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2649 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2650 (_AC_LINK_IFELSE): Check the werror flag.
2651 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2655 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2657 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2658 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2659 override AC_LINK_IFELSE.
2661 2003-10-15 Paul Eggert <eggert@twinsun.com>
2663 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2664 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2665 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2666 Mention /usr/dt/bin/dtksh on Solaris.
2667 (Shell Substitutions): Warn about $((...)).
2668 (Parentheses): New section.
2670 2003-10-15 Kevin Ryde <user42@zip.com.au>
2672 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2673 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2675 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2677 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2680 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2682 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2683 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2685 2003-10-10 Andreas Schwab <schwab@suse.de>
2687 * bin/autoheader.in: Avoid empty first line in --version and
2689 * bin/ifnames.in: Likewise.
2691 2003-10-09 Paul Eggert <eggert@twinsun.com>
2693 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2694 Issue a more-informative diagnostic.
2695 Problems reported by Eric Sunshine.
2697 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2699 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2700 -mGLOB_options_string stuff for Intel ifc, which can cause
2701 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2702 pattern-matching instead of grep.
2704 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2706 * doc/autoconf.texi: Document new FC Fortran macros.
2708 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2710 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2711 that future autopoint/aclocal/automake/autoreconf will be able
2712 to trace to find where to install local m4 macros.
2713 * doc/autoconf.texi (Input): Document it.
2716 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2718 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2719 -lcrtbegin.o to list of ignored flags and fix underquoting of
2722 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2724 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2725 cache variable instead of $G77 to decide whether to include -O2,
2726 since $G77 is specific to Fortran 77.
2728 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2730 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2731 free" flag. Re-order flags tested into rough order of popularity.
2733 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2735 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2736 arguments so that it can be used with syntax identical to
2737 AC_PROG_F77, and so that we can more easily decide to
2738 remove/deprecate the DIALECT optional argument in the future if it
2740 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2741 non-freeform-supporting compilers. Document freeform flags.
2743 2003-10-03 Akim Demaille <akim@epita.fr>
2745 * configure.ac: Look for emacs, not macs.
2746 Reported by Eric Sunshine.
2748 2003-10-03 Akim Demaille <akim@epita.fr>
2750 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2751 * bin/autoreconf.in (autoreconf_current_directory): Create the
2752 AUX_DIR if needed, for sake of automake --add-missing etc.
2753 Suggested by Alexandre Duret-Lutz.
2755 2003-10-03 Akim Demaille <akim@epita.fr>
2757 * configure.ac: Quotation and formatting changes.
2758 (EMACS): Don't set it if it is not recent enough to support
2762 2003-10-02 Akim Demaille <akim@epita.fr>
2764 * bin/ifnames.in (&scan_file): Skip C++ comments.
2767 2003-10-01 Pavel Roskin <proski@gnu.org>
2769 * doc/autoconf.texi (Particular Structure Checks):
2770 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2772 2003-10-01 Akim Demaille <akim@epita.fr>
2776 2003-09-30 Paul Eggert <eggert@twinsun.com>
2778 * lib/Autom4te/XFile.pm: Use Errno.
2779 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2780 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2782 2003-09-30 Akim Demaille <akim@epita.fr>
2784 * config/announce-gen (&print_news_deltas): Extracted from...
2785 (&print_changelog_deltas): here.
2786 (&news_file): Rename as...
2789 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2791 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2792 have been created when invoking the compiler.
2793 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2795 2003-09-29 Akim Demaille <akim@epita.fr>
2799 * config/mkinstalldirs: Upgrade.
2801 2003-09-28 Paul Eggert <eggert@twinsun.com>
2803 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2804 Problem reported by Lars J. Aas in
2805 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2806 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2807 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2808 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2810 2003-09-26 Akim Demaille <akim@epita.fr>
2812 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2813 directory for AC_CONFIG_COMMANDS' first argument exists.
2814 This makes valid the invocation of _AC_SRCPATH that follows.
2815 Reported by Eric Sunshine.
2816 * doc/autoconf.texi (Configuration Commands): Adjust.
2818 2003-09-26 Akim Demaille <akim@epita.fr>
2820 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2821 Reported by Ralf Corsepius.
2823 2003-09-26 Akim Demaille <akim@epita.fr>
2825 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2827 Actually, use AU_ALIAS.
2830 2003-09-26 Paul Eggert <eggert@twinsun.com>
2832 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2833 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2834 Problem reported by Eric Sunshine in:
2835 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2837 2003-09-26 Akim Demaille <akim@epita.fr>
2839 The test suite are sometimes assigning timings incorrectly.
2840 Reported by Henk Krus.
2841 Diagnosed by Nicolas Joly.
2843 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2845 Instead of making AT_help a sequence of assignments to grow
2846 $at_help_all, just make AT_help_all be the growing contents of
2847 $at_help_all, and make a single assignment in...
2849 (at_times_skip): Flip the meaning and rename as...
2851 (AT_INIT): When summarizing the test that ran, remove
2852 $at_times_file after use, and check it is present before trying to
2855 2003-09-25 Akim Demaille <akim@epita.fr>
2859 * bin/Makefile.am (edit): Handle '@configure_input@'.
2860 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2861 (ifnames): chmod -w.
2862 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2863 executables, not bin/ executables! Otherwise all the magic needed
2864 to find non installed files is turned off. This caused a failure
2865 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2866 as found in its environment (sent by tests/autoreconf): pointing
2867 to bin/autom4te that could not find its files.
2868 * tests/mktests.sh: Force the replacement of generated files, for
2869 the sake of "mv" program that are interactive when overwriting a
2871 * config/install-sh: Upgrade from CVS Automake.
2873 2003-09-23 Paul Eggert <eggert@twinsun.com>
2875 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2876 versus test -L issues.
2878 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2879 Paul Eggert <eggert@twinsun.com>
2881 Trivial change to support GCC's configuration procedure.
2882 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2883 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2884 about inconsistency if the preprocessor is set to give errors for
2886 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2888 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2890 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2891 and XFile.pm from Automake.
2892 * lib/Autom4te/XFile.pm: Update from Automake.
2894 2003-09-12 Akim Demaille <akim@epita.fr>
2898 2003-09-12 Akim Demaille <akim@epita.fr>
2900 * config/config.guess, config/config.sub, config/missing,
2901 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2904 2003-09-12 Akim Demaille <akim@epita.fr>
2906 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2909 2003-09-11 Akim Demaille <akim@epita.fr>
2911 * doc/autoconf.texi (Header Portability): linux/random.h.
2912 From Peter Hendrickson.
2914 2003-09-10 Akim Demaille <akim@epita.fr>
2916 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2917 willing to edit the output files.
2919 2003-09-10 Akim Demaille <akim@epita.fr>
2921 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2923 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2924 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2926 2003-09-09 Akim Demaille <akim@epita.fr>
2928 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2929 Reported by Gary Vaughan.
2930 * bin/autom4te.in (handle_m4): Likewise.
2932 2003-09-09 Akim Demaille <akim@epita.fr>
2934 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2937 2003-09-07 Paul Eggert <eggert@twinsun.com>
2939 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2940 Improve the accuracy of the wording about obsolescence.
2941 From a suggestion by Ian Lance Taylor in
2942 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2944 2003-09-05 Paul Eggert <eggert@twinsun.com>
2946 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2947 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2949 2003-09-04 Akim Demaille <akim@epita.fr>
2951 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2954 2003-09-04 Akim Demaille <akim@epita.fr>
2956 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2957 (freeze): When exiting, use $exit_code.
2958 * lib/autoconf/fortran.m4: Comment changes.
2960 2003-09-04 Akim Demaille <akim@epita.fr>
2962 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2964 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2966 Add support for newer Fortran dialects. The F77 interface is
2967 unchanged, and continues to support Fortran 77. New FC macros
2968 correspond to all the old F77 macros, with output variables FC,
2969 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2970 available dialect, but older dialects can be specified. There are
2971 new macros AC_FC_SRCEXT to set the source extension, and
2972 AC_FC_FREEFORM to accept free-form source files.
2974 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2976 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2977 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2978 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2979 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2980 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2981 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2982 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2983 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2984 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2985 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2986 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2987 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2988 AC_FC_SRCEXT, AC_FC_FREEFORM):
2990 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2991 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2992 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2993 Rewrite in terms of the above.
2994 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2995 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2996 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2997 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2999 2003-09-02 Paul Eggert <eggert@twinsun.com>
3001 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
3002 Document problems with timestamp resolution that 'make', 'cp -p', and
3005 2003-08-27 Akim Demaille <akim@epita.fr>
3007 * tests/m4sugar.at (cross_warning): Make sure to enable the
3008 output, so that we can track spurious m4sugar output.
3009 * tests/local.at: Require 2.57.
3010 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
3011 are defaulted by AT_CHECK anyway.
3012 Use AT_CHECK_AUTOM4TE.
3013 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
3016 2003-08-27 Akim Demaille <akim@epita.fr>
3018 * bin/autoheader.in: Issue the "Using auxiliary..." message only
3019 when -Wobsolete is set.
3020 Set it on by default.
3021 Suggested by Klee Dienes.
3023 2003-08-27 Akim Demaille <akim@epita.fr>
3025 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
3029 2003-08-26 Akim Demaille <akim@epita.fr>
3031 * doc/autoconf.texi (Output): Make clear that one can run code
3034 2003-08-25 Akim Demaille <akim@epita.fr>
3036 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
3039 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
3041 * bin/autoreconf.in (parse_args): Do not pass --no-force to
3042 Automake versions prior to 1.8.
3044 2003-08-25 Akim Demaille <akim@epita.fr>
3046 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
3049 2003-08-24 Akim Demaille <akim@epita.fr>
3051 * configure.ac: Bump to 2.57c.
3053 2003-08-22 Akim Demaille <akim@epita.fr>
3057 * Makefile.cfg (local-checks-to-skip): New.
3058 * Makefile.maint (local-check): Rename as...
3059 (local-checks-available): this.
3062 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
3063 * configure.ac: Require Automake 1.7.6.
3065 2003-08-22 Akim Demaille <akim@epita.fr>
3067 Output stack traces in warnings.
3069 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
3070 Replace the former...
3071 (m4_warn): Pass the call stack to _m4_warn.
3072 * bin/autom4te.in: Adjust to output the call stack.
3073 * tests/m4sugar.at (m4@&t@_warn): Adjust.
3075 2003-08-22 Akim Demaille <akim@epita.fr>
3077 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
3078 * bin/autom4te.in: Adjust.
3080 2003-08-21 Akim Demaille <akim@epita.fr>
3082 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
3084 (&getopt): Adjust the note and verb channels, depending upon
3086 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
3087 * bin/autoupdate.in: Adjust.
3088 Use &verb, not &verbose.
3090 2003-08-21 Akim Demaille <akim@epita.fr>
3092 * bin/autoheader.in (&parse_args): Use &parse_warnings and
3094 ($help): Use Autom4te::ChannelDefs::usage.
3095 * bin/autoscan.in: Use Autom4te::ChannelDefs.
3096 * lib/Autom4te/General.pm: Don't export error: you don't own it.
3098 2003-08-21 Akim Demaille <akim@epita.fr>
3100 First stab at preserving warnings between calls to autom4te,
3101 including when the cache is used.
3103 There are still several issues: (i) there are too many runs of m4
3104 (one for include, one for warnings, and some more), (ii) warnings
3105 spreading on several lines are not handled gracefully, (iii) the
3106 code meant to have the call stack display for errors does not work
3107 (its handling should move from m4 to autom4te).
3109 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
3111 (@preselect): Add m4_warn.
3112 ($exit_status): Remove, use $exit_code.
3113 ($help): Use Autom4te::ChannelDefs::usage.
3114 (&handle_m4): No longer define the m4_warnings.
3115 At each run, extract and report the warnings.
3116 Always cache the result, including if the exit status is on
3117 failure, since if nothing changes, we should result in the same
3118 failure, hence we can use the cache.
3119 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
3120 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
3122 (m4_warn): Redefine as a do-nothing: it is its invocation that
3123 matters, as warnings are now reported via traces.
3124 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
3125 the contents of m4_warn: make it _call_ m4_warn, so that tracing
3126 the latter reveals calls to the former.
3130 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
3132 2003-08-21 Akim Demaille <akim@epita.fr>
3134 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
3137 2003-08-21 Akim Demaille <akim@epita.fr>
3139 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
3141 * lib/Autom4te/ChannelDefs.pm: Doc typos.
3142 (&parse_warnings): Accept a list of warning requests.
3143 (&usage): Return a string, not a side effect.
3144 (cross): New warning category.
3146 2003-08-21 Akim Demaille <akim@epita.fr>
3148 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
3149 (&require_configure_ac): Accept an optional directory argument.
3150 ($configure_ac): Remove.
3151 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
3153 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
3154 * bin/autoscan.in: Adjust.
3156 2003-08-20 Akim Demaille <akim@epita.fr>
3158 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
3159 Reported by Alexandre Duret-Lutz.
3161 2003-08-20 Akim Demaille <akim@epita.fr>
3163 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
3164 * bin/autom4te: Adjust.
3165 In particular, be Autoconf tools are really silent when properly
3166 working, bind the verbosity of the 'note' channel to $verbose.
3167 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
3168 (&xsystem, &contents): Remove, since they are exported by...
3169 * lib/Autom4te/FileUtils.pm: this.
3171 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
3172 * lib/Autom4te/FileUtils.pm: here.
3174 2003-08-20 Akim Demaille <akim@epita.fr>
3176 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
3177 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
3180 2003-08-20 Akim Demaille <akim@epita.fr>
3182 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
3183 (autom4te-update): New.
3184 * Makefile.cfg (update): Bind autom4te-update.
3186 2003-08-19 Derek Price <derek@ximbiot.com>
3188 * lib/autotest/general.m4: Comment various HELP_* diversions.
3189 (PARSE_ARGS_BEGIN): New section for option parsing related
3191 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
3192 package specific options and associated help.
3194 2003-08-19 Akim Demaille <akim@epita.fr>
3196 * config/announce-gen, Makefile.cfg: New.
3197 * Makefile.am: Adjust.
3198 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
3200 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3202 * lib/autom4te.in (Automake-preselections): Preselect
3203 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
3206 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3208 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
3209 (Autoconf-without-aclocal-m4): ... this new language.
3210 * doc/autoconf.texi (autom4te Invocation): Mention
3211 Autoconf-without-aclocal-m4.
3213 2003-08-18 Derek Price <derek@ximbiot.com>
3215 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
3216 RUN-IF-PASS optional arguments.
3218 2003-08-18 Derek Price <derek@ximbiot.com>
3220 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
3222 2003-08-16 Derek Price <derek@ximbiot.com>
3224 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
3225 STDOUT & STDERR arguments.
3227 2003-08-14 Derek Price <derek@ximbiot.com>
3229 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
3230 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
3231 shorter column three. Add DESCRIPTION to log file content.
3233 2003-08-13 Derek Price <derek@ximbiot.com>
3235 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
3238 2003-08-12 Derek Price <derek@ximbiot.com>
3240 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
3241 (AT_CHECK_NOESCAPE): Move core functionality to...
3242 (_AT_CHECK): ...this new macro.
3244 2003-08-07 Derek Price <derek@ximbiot.com>
3246 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
3247 (AT_CHECK_NOESCAPE): ...to this new macro.
3249 2003-07-31 Paul Eggert <eggert@twinsun.com>
3251 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
3252 in Bash 2.01. Problem reported by Brian Gough in
3253 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
3255 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
3257 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
3258 -lcrt1.o, for OS X. (trivial change)
3260 2003-07-07 Paul Eggert <eggert@twinsun.com>
3262 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
3263 inside '#ifndef __cplusplus'. Problem reported by
3266 2003-07-06 Bill Clarke <llib@computer.org>
3268 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
3269 'long', not 'int', for benefit of Sun's recent C++ compilers
3270 (trivial change). See:
3271 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
3272 (This really should be 'intptr_t', not 'long', but that would
3275 2003-06-25 Akim Demaille <akim@epita.fr>
3277 * lib/Makefile.am (autom4te.cfg): Make it read only.
3278 Depend on Makefile since it contains substitutions.
3280 * lib/autom4te.in (args): Add local.at? for Autotest args.
3281 This change was made on autom4te.cfg which is generated.
3282 Reported by Raja R. Harinath.
3284 2003-06-25 Akim Demaille <akim@epita.fr>
3286 * doc/autoconf.texi (Header Portability): sys/mount.h.
3287 From Gareth McCaughan.
3289 2003-06-23 Akim Demaille <akim@epita.fr>
3291 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
3292 not all of them. This fixes 1. the fact that when testing
3293 Autoconf there are many many config.log, 2. the incorrect use of
3294 top_srcdir to find config.log.
3295 Don't mix the detailed output of failed test with the summary of
3296 failures. Rather, append detailed log afterwards.
3298 2003-06-23 Akim Demaille <akim@epita.fr>
3300 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
3301 always run: output config.log on $at_group_log.
3303 2003-06-23 Akim Demaille <akim@epita.fr>
3305 * tests/torture.at (#define header templates): Don't use quotes in
3306 C++ comments as it puzzles Emacs' sh font-lock-mode.
3308 2003-06-23 Akim Demaille <akim@epita.fr>
3310 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
3311 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
3312 * tests/atspecific.m4: Rename as...
3313 * tests/local.at: This.
3314 * tests/suite.at: Move the globals into...
3315 * tests/local.at: here.
3316 * tests/Makefile.am: Adjust.
3317 * doc/autoconf.texi (testsuite Scripts): Adjust.
3319 2003-06-21 Kevin Ryde <user42@zip.com.au>
3321 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
3322 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
3323 ensuring we add -std1 for full-ANSI.
3325 * doc/autoconf.texi (hdrindex): New macro.
3326 Add index entries for portability of various standard header files.
3328 2003-06-20 Akim Demaille <akim@epita.fr>
3330 * configure.ac: Bump to 2.57b.
3332 2003-06-20 Akim Demaille <akim@epita.fr>
3336 2003-06-20 Akim Demaille <akim@epita.fr>
3338 * bin/autom4te.in: Don't rely on $HOME being defined.
3339 Reported by Marc Espie as PR/233.
3341 2003-06-20 Akim Demaille <akim@epita.fr>
3343 * lib/autotest/general.m4: Use at_times_file only if used.
3346 2003-06-20 Akim Demaille <akim@epita.fr>
3348 * config/config.guess, config/config.sub, config/elisp-comp,
3349 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3350 Update from masters.
3352 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3354 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3355 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3356 (TEST_SCRIPT): New diversion.
3357 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3358 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3359 (AT_INIT): Support for expected failures.
3361 2003-06-02 Akim Demaille <akim@epita.fr>
3363 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3365 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3366 Autoconf nor Automake.
3367 (&contents): New, from Automake.
3370 2003-05-28 Paul Eggert <eggert@twinsun.com>
3372 * NEWS, doc/autoconf.texi (Particular Functions),
3373 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3374 is the inverse of localtime.
3376 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3378 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3379 (handle_exec_errors): New function. Work around $! being
3380 altered by WEXITSTATUS.
3381 (xqx, xsystem): Use handle_exec_errors.
3383 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3385 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3386 Do not call `_exit()', simply modify `$?'.
3387 (xsystem): Reset $! before running system, and check it afterward.
3388 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3389 63 for version mismatches.
3391 2003-05-23 Akim Demaille <akim@epita.fr>
3393 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3394 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3395 the middle of a line).
3396 * lib/m4sugar/m4sugar.m4: Likewise.
3397 Remove useless spaces in comments.
3399 2003-05-23 Akim Demaille <akim@epita.fr>
3401 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3402 exit 63, so that we (or Automake's "missing") can tell the
3403 difference with a plain failure.
3404 * doc/autoconf.texi (Notices): Adjust.
3406 2003-05-23 Akim Demaille <akim@epita.fr>
3408 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3409 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3410 White spaces cleanup.
3412 2003-05-22 Jim Meyering <jim@meyering.net>
3413 Paul Eggert <eggert@twinsun.com>
3415 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3416 Remove `#include <stdlib.h>' from the list; we should never
3417 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3418 resulting namespace pollution would cause other tests to fail.
3419 Configure scripts run with some older versions of g++ and HP's
3420 aCC would fail due to such an #include. Problems reported by
3421 Matthew Mueller in <http://bugs.debian.org/120704> and by
3423 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3424 In the test, use the test declaration before including <stdlib.h>,
3425 as that's closer to how it'll be used.
3427 2003-05-23 Akim Demaille <akim@epita.fr>
3429 * doc/autoconf.texi (Header Portability): ucred.h.
3432 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3434 Overhaul Autotest's logging: generate separate log files
3435 in testsuite.dir/NNN/testsuite.log, and append them to
3436 testsuite.log instead of re-running the test verbosely.
3438 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3439 file descriptor, write 0 to at_status_file instead of setting
3440 at_status=0, initialize some new variables (at_status_file,
3441 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
3442 to rerun the tests, instead append the at_group_log to the
3443 at_suite_log when a test fails.
3444 (AT_SETUP): pipe the test case's output into at_tee_pipe,
3445 with the AS_MESSAGE_LOG_FD redirected to stdout.
3446 (AT_CLEANUP): save the output status in $at_status_file
3447 and restore it, redirect the AS_MESSAGE_LOG_FD back to
3449 (AT_CHECK): since tests are run with a redirected stdout,
3450 and used to be re-run in verbose mode, turn some $at_verbose
3451 into echo, and don't redirect the output of testing stdout
3454 * lib/autotest/autoconf.texi (testsuite Scripts): Update
3455 the name of the debugging directory and information about
3458 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3460 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3463 2003-05-22 Akim Demaille <akim@epita.fr>
3465 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3466 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3467 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3468 * lib/autoconf/status.m4: Fix and adjust copyright notices.
3470 2003-05-22 Akim Demaille <akim@epita.fr>
3472 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3473 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3474 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3475 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3476 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3477 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3478 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3479 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3480 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3481 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3482 * tests/tools.at, tests/torture.at:
3483 Whitespace clean up.
3484 Suggested by Jim Meyering.
3486 2003-05-22 Akim Demaille <akim@epita.fr>
3488 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3489 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3490 Reported by Jim Meyering.
3492 2003-05-22 Akim Demaille <akim@epita.fr>
3494 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3495 Add AC_HELP_STRING to the obsolete macros section.
3497 Use '@.' for sentences that ended in a capital letter.
3500 2003-05-22 Akim Demaille <akim@epita.fr>
3502 * config/config.guess, config/config.sub, config/elisp-comp,
3503 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3504 * config/texinfo.tex, doc/standards.texi: Update from masters.
3506 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3508 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3511 2003-05-21 Akim Demaille <akim@epita.fr>
3513 * bin/autoupdate.in ($m4): Fix quotation.
3514 Reported by Martin Mokrejs.
3516 2003-05-19 Paul Eggert <eggert@twinsun.com>
3518 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3519 Remove non-ASCII characters.
3521 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3523 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3524 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3525 AC_CHECK_HEADERS_NEW): New tests.
3527 2003-05-17 Akim Demaille <akim@epita.fr>
3529 * lib/autoconf/functions.m4: Use the default includes so that
3530 memcmp be declared before being tested.
3531 Reported by Sander Niemeijer.
3532 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3533 * doc/autoconf.texi (Default Includes): Document
3534 AC_INCLUDES_DEFAULT.
3536 2003-05-17 Akim Demaille <akim@epita.fr>
3538 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3539 * doc/autoconf.texi (Obsolete Macros): Adjust.
3540 Reported by Werner LEMBERG and Debian Bug 190886.
3542 2003-05-16 Akim Demaille <akim@epita.fr>
3544 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3545 user name space clashes.
3546 Reported by Bruno Haible.
3548 2003-05-16 Akim Demaille <akim@epita.fr>
3550 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3551 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3552 them uniform, and more robust to Perl special characters.
3553 Reported by Martin Mokrejs.
3555 2003-05-14 Akim Demaille <akim@epita.fr>
3557 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3559 2003-05-14 Akim Demaille <akim@epita.fr>
3561 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3564 2003-05-12 Akim Demaille <akim@epita.fr>
3566 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3568 From Matthias Andree.
3570 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3572 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3575 2003-05-06 Akim Demaille <akim@epita.fr>
3577 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3578 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3579 by aclocal.m4 is changed it might require the importing of another
3580 m4 extension file, i.e., aclocal must be run.
3582 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3583 (&parse_args): Use --force with aclocal if required and supported.
3584 (&autoreconf_current_directory): Use &run_aclocal.
3586 2003-05-06 Akim Demaille <akim@epita.fr>
3588 Lock autom4te's cache.
3590 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3591 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3592 argument instead of a file name, so that the request file remains
3593 open during the whole autom4te run.
3594 ($icache_file): New.
3595 (&freeze): Lock the $icache_file.
3597 2003-04-29 Derek Price <derek@ximbiot.com>
3599 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3600 seperator with m4_append_uniq(). It doesn't work.
3601 (AT_CLEANUP): Add `;' to end of at_help_all.
3602 (AT_INIT): Allow --keywords to be specified more than once. When
3603 grepping $at_help_all for keywords, use the field and keyword
3604 seperators to ensure a complete keyword match. Alter at_prev handling
3605 to support the new --keywords behavior.
3607 2003-04-27 Karl Berry <karl@freefriends.org>
3609 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3610 align better with others. I also made some of the individual
3611 entries on one line, for brevity and to make it easier for me to
3612 sort my dir-example file in the Texinfo distribution :).
3614 2003-04-12 Jim Meyering <jim@meyering.net>
3616 * NEWS: Mention the new macro.
3617 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3618 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3619 * tests/c.at: Test AC_C_RESTRICT.
3620 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3622 2003-04-08 Akim Demaille <akim@epita.fr>
3624 * bin/ifnames.in: Skip C++ comments.
3627 2003-04-08 Akim Demaille <akim@epita.fr>
3629 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3630 From Ilya Zakharevich.
3632 2003-04-08 Akim Demaille <akim@epita.fr>
3634 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3637 2003-04-01 Derek Price <derek@ximbiot.com>
3639 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3640 from Akim's checkin of 2003-03-29.
3642 2003-04-01 Derek Price <derek@ximbiot.com>
3644 * tests/torture.at (Configuring subdirectories): Add missing
3645 close-quote for Akim's change from 2003-03-28.
3647 2003-04-01 Akim Demaille <akim@epita.fr>
3649 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3650 (AC, AT, MS): these.
3651 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3654 * doc/Makefile.am (CLEANFILES): Adjust.
3655 (TEXI2DVI): Make it --batch.
3657 2003-03-31 Derek Price <derek@ximbiot.com>
3659 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3660 which removed the main loop.
3661 Thanks to Akim Demaille.
3663 2003-03-29 Akim Demaille <akim@epita.fr>
3665 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3667 From Ilya Zakharevich.
3669 2003-03-29 Akim Demaille <akim@epita.fr>
3671 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3672 documentation to read is Autoconf's.
3673 Suggested by Paul Eggert.
3675 2003-03-28 Akim Demaille <akim@epita.fr>
3677 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3678 reading the section "Present But Cannot Be Compiled" when the
3679 header causes problems.
3681 2003-03-28 Akim Demaille <akim@epita.fr>
3683 * tests/torture.at (Configuring subdirectories): Require aclocal
3684 1.4, otherwise the test fails, as it does support configure.ac.
3685 This fixes the "test 40 failed" bug reports.
3687 2003-03-28 Akim Demaille <akim@epita.fr>
3689 * doc/autoconf.texi (C Compiler): `#line' portability.
3690 From Paul Eggert and Nelson H. F. Beebe.
3692 2003-03-27 Derek Price <derek@ximbiot.com>
3694 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3695 layout in order to allow scripting around test groups.
3697 2003-03-27 Derek Price <derek@ximbiot.com>
3699 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3700 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3701 use new diversions in preparation for accepting new arguments and
3702 allowing scripting around tests.
3703 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3705 2003-03-26 Derek Price <derek@ximbiot.com>
3707 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3708 obsolete AC_HELP_STRING.
3709 (AC_HELP_STRING): AU_DEFUN to...
3710 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3711 * tests/m4sh.at (AS_HELP_STRING): New test.
3713 * tests/acgeneral.at: Regenerated.
3715 2003-03-26 Derek Price <derek@ximbiot.com>
3717 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3718 sense. Verbosify the diversion definitions comment.
3720 2003-03-26 Derek Price <derek@ximbiot.com>
3722 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3725 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3727 * doc/autoconf.texi (Present But Cannot Be Compiled):
3728 Grammar fixes and minor rewording. (trivial change)
3730 2003-03-06 Paul Eggert <eggert@twinsun.com>
3732 Work around a problem noted by Nelson H. F. Beebe with coreutils
3733 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3734 2002/05/09) rejects '#line 32768 "configure"' because the line
3736 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3738 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3739 * doc/autoconf.texi (Generating Sources): Document this.
3741 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3743 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3744 file name for the m4 program, when it has an "exe" file extension.
3745 DJGPP's error messages include the error code in brackets -
3746 remove the error code during normalization.
3748 2003-02-28 Akim Demaille <akim@epita.fr>
3750 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3752 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3754 * doc/autoconf.texi (Limitations of Make): Remove the section
3755 about `$<' in inference rules, it was a bogus interpretation of
3756 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3757 Tru64 make in the "target lookup" section.
3758 (Automake): Automake 1.5+ no longer requires special tools to be
3759 present on the developer's host.
3761 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3763 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3764 to a shell that can handle redirection or quoting correctly.
3765 Override SHELL with the shell detected by configure.
3766 Use of $^O suggested by Tim van Holder.
3767 * bin/autom4te.in (BEGIN): Likewise.
3768 * bin/autoreconf.in (BEGIN): Likewise.
3769 * bin/autoscan.in (BEGIN): Likewise.
3770 * bin/autoupdate.in (BEGIN): Likewise.
3771 * bin/ifnames.in (BEGIN): Likewise.
3773 * bin/ifnames.in: Add final newline to help and version messages.
3775 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3776 to cope with DOS-style absolute paths, when constructing
3779 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3780 When constructing paths with IFS=:, quote the path. If we're
3781 constructing a DOS-style absolute path, we don't want to split it
3784 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3787 2003-02-25 Pavel Roskin <proski@gnu.org>
3789 * bin/autoheader.in: Add missing newline when printing
3790 suggestion how change AC_DEFINE call.
3792 2003-02-24 Paul Eggert <eggert@twinsun.com>
3794 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3795 2002-09-01 patch by replacing "test -n" with "test -z".
3796 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3797 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3799 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3800 to fix a mismatch between example and discussion.
3802 2003-02-24 Kevin Ryde <user42@zip.com.au>
3804 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3805 format starting with "-".
3807 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3809 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3810 is not portable inside Makefile.
3812 2003-02-20 Akim Demaille <akim@epita.fr>
3814 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3815 compiler says yeah, but preproc says nope, compiler is right.
3816 Conversely, prompt the reader to send a bug report to the
3817 maintainers of the package, not of Autoconf.
3819 2003-02-20 Klee Dienes <kdienes@apple.com>
3821 * bin/autoreconf.in (autoreconf_current_directory): Properly
3822 handle an empty aclocal.m4.
3824 2003-02-20 Akim Demaille <akim@epita.fr>
3826 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3830 2002-12-23 Paul Eggert <eggert@twinsun.com>
3832 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3833 innocuous variant befor including <limits.h> or <assert.h>. This
3834 works around a bug reported by Albert Chin: HP-UX 11i
3835 (and earlier versions) have a <limits.h> that declares
3836 gettimeofday and many other functions.
3838 2002-12-03 Paul Eggert <eggert@twinsun.com>
3842 * NEWS, configure.ac: Update version.
3844 * doc/fdl.texi: Upgrade to FDL version 1.2.
3846 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3847 nontrivially in main's body, so that f's external declaration is
3848 not optimized away in AIX. This should fix the bug reported by
3850 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3852 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3853 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3854 defined, to support freestanding compilers. This should fix the
3855 bug reported by Momchil Velkov in
3856 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3858 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3859 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3860 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3861 by Simon Josefsson in
3862 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3864 * Makefile.maint (www-gnu): New macro.
3865 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3866 the location has moved.
3868 2002-12-02 Martin Frydl <martin@systinet.com>
3870 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3871 \(.*\) match is too long and there is something more to be checked.
3872 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3874 2002-11-15 Akim Demaille <akim@epita.fr>
3878 * config/install-sh: chmod +x.
3880 * config/move-if-change: Indenting changes.
3881 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3882 * configure.ac (AM_INIT_AUTOMAKE): here.
3885 2002-11-14 Akim Demaille <akim@epita.fr>
3889 * config/config.guess, config/config.sub, config/install-sh:
3890 Update from masters.
3892 2002-11-14 Akim Demaille <akim@epita.fr>
3894 * Makefile.maint: Sync with Bison, i.e.:
3895 (po-check): Scan .l and .y files instead of the
3896 .c and the .h files that they generate. This fixes the bug
3897 reported by Tim Van Holder in:
3898 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3899 Look for N_ as well as for _. Try to avoid matching #define for
3903 2002-11-14 Akim Demaille <akim@epita.fr>
3905 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3906 From Paul Eggert and Albert Chin-A-Young.
3908 2002-11-14 Akim Demaille <akim@epita.fr>
3910 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3911 From Paul Eggert and Albert Chin-A-Young.
3913 2002-11-14 Kevin Ryde <user42@zip.com.au>
3915 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3916 than assigning in main, to avoid HP cc +O3 optimizing it away.
3918 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3920 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3921 option. Process --recheck after parsing all options. Pass -q
3922 option to configure on --recheck.
3923 (AC_OUTPUT): Pass -q from configure to config.status.
3924 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3925 arguments to record.
3926 * doc/autoconf.texi (config.status Invocation): Document
3927 config.status -q option.
3929 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3931 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3932 Makefile.in if Makefile.am exists.
3933 (output): Strip `.am' from Makefiles. Don't
3934 output AC_CONFIG_FILES if no Makefiles were found.
3936 2002-11-07 Akim Demaille <akim@epita.fr>
3938 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3939 (local_updates): New.
3940 * Makefile.maint: Update, from CVS Bison.
3941 (local_updates): New.
3943 2002-11-06 Akim Demaille <akim@epita.fr>
3945 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3946 declaration in extern "C" too.
3947 Reported by Roberto Bagnara.
3949 2002-11-06 Akim Demaille <akim@epita.fr>
3951 * tests/torture.at (Configuring subdirectories): Don't use grep
3953 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3954 Reported by Ezra Peisach.
3956 2002-11-05 Akim Demaille <akim@epita.fr>
3958 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3960 We _have_ to stop using the old compatibility scheme that tried to
3961 avoid useless backslashes because Libtool 1.4.3 contains a
3962 AC_DEFINE([error_t], [int],
3963 [Define to a type to use for \`error_t' if it is not
3964 otherwise available.])
3965 We _have_ to quote the single quote and backslashes with \. The
3966 old compatibility scheme saw that ` was backslashed, and therefore
3967 did not quote the single quote. Hence before this patch, Autoconf
3968 was not compatible with Libtool.
3970 2002-11-04 Paul Eggert <eggert@twinsun.com>
3972 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3973 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3974 LC_NAME, LC_PAPER, LC_TELEPHONE.
3975 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3977 2002-11-04 Akim Demaille <akim@epita.fr>
3981 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3983 * config/texinfo.tex: Update.
3985 2002-11-03 Akim Demaille <akim@epita.fr>
3987 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3989 (&autoreconf): here.
3990 ($help, $make, &parse_args, &autoreconf_current_directory):
3992 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3994 2002-10-31 Bruno Haible <bruno@clisp.org>
3996 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3997 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3998 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3999 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
4000 to ac_cv_func_realloc_0_nonnull.
4001 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
4003 2002-10-31 Akim Demaille <akim@epita.fr>
4005 The test suite was no longer checking for trailing envvars and files.
4007 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
4008 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
4010 2002-10-31 Akim Demaille <akim@epita.fr>
4012 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
4013 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
4014 Make variable, not a shell variable.
4015 Suggested by Bruno Haible.
4017 2002-10-31 Akim Demaille <akim@epita.fr>
4019 * bin/autom4te.in (load_configuration): Reject #args out of any
4022 2002-10-31 Akim Demaille <akim@epita.fr>
4024 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
4025 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
4026 (_AC_RUN_IFELSE): Use it.
4027 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
4028 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
4029 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
4032 2002-10-30 Akim Demaille <akim@epita.fr>
4034 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
4035 * doc/autoconf.texi (autom4te Invocation): Adjust.
4036 Suggested by Tim van Holder.
4038 2002-10-29 Paul Eggert <eggert@twinsun.com>
4040 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
4041 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
4042 Problem reported by Bruno Haible.
4044 2002-10-29 Akim Demaille <akim@epita.fr>
4046 * doc/autoconf.texi (Header Templates): Put also in words what the
4047 pictures says to assist free style readers.
4048 (Customizing autom4te): s/--cache=/--cache /.
4050 2002-10-29 Akim Demaille <akim@epita.fr>
4052 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
4054 sparc_address_test returns void.
4055 Use it with an argument, as prototyped.
4058 2002-10-29 Akim Demaille <akim@epita.fr>
4060 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
4061 configure.in, not configure.ac.
4062 Reported by Bruno Haible.
4064 2002-10-29 Akim Demaille <akim@epita.fr>
4066 * tests/torture.at (Deep Package): New test.
4067 (Configuring subdirectories): Don't use a testSubDir as Autotest
4070 2002-10-29 Akim Demaille <akim@epita.fr>
4072 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
4073 * doc/autoconf.texi (Invoking autom4te): Rename as...
4074 (autom4te Invocation): this, for consistency with the other nodes.
4076 2002-10-29 Akim Demaille <akim@epita.fr>
4078 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
4079 Reported by Ralf Corsepius.
4081 2002-10-29 Akim Demaille <akim@epita.fr>
4083 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4084 characters is a back as an `obsolete' warning now.
4085 Reported by Ralf Corsepius.
4087 2002-10-28 Akim Demaille <akim@epita.fr>
4089 * configure.ac: Bump to 2.54c.
4091 2002-10-28 Akim Demaille <akim@epita.fr>
4095 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
4097 2002-10-28 Akim Demaille <akim@epita.fr>
4099 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
4100 m4 executable names, and different GNU M4 version.
4101 Reported by Ezra Peisach and Paul Jarc.
4103 2002-10-27 Akim Demaille <akim@epita.fr>
4105 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
4108 2002-10-27 Akim Demaille <akim@epita.fr>
4110 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
4111 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
4112 Die when a simple Fortran program cannot be compiled.
4113 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
4114 Issue a warning if no function is given.
4116 2002-10-27 Akim Demaille <akim@epita.fr>
4118 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
4119 Move the documentation of AC_TRY_RUN to...
4120 (Obsolete Macros): here.
4121 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
4122 (autoconf Invocation): Remove the duplicates with `invoking
4124 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
4125 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4127 2002-10-27 Akim Demaille <akim@epita.fr>
4129 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
4130 and AC_LANG_FUNC_LINK_TRY.
4131 (Examining Libraries): Rename as...
4132 (Running the Linker): this.
4133 Document AC_LINK_IFELSE.
4134 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
4135 (Obsolete Macros): here.
4136 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
4137 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
4138 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
4139 * lib/autoconf/headers.m4 (AC_USG): Likewise.
4141 2002-10-27 Akim Demaille <akim@epita.fr>
4143 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
4145 More `check config.log' messages.
4147 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
4148 * doc/autoconf.texi (Printing Messages): Document it.
4149 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
4151 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
4152 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
4153 (_AC_COMPILER_OBJEXT): Likewise.
4154 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
4155 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
4157 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
4160 Deprecate macros with unusual interfaces.
4162 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
4163 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
4165 Document the new ones, and proper style.
4167 * doc/autoconf.texi (Generating Sources): New.
4168 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
4169 (Examining Declarations): Rename as...
4170 (Running the Preprocessor): this.
4171 Document AC_PREPROC_IFELSE.
4172 (Examining Syntax): Rename as...
4173 (Running the Compiler): this.
4174 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
4175 (Obsolete Macros): Move the definition of AC_TRY_CPP and
4176 AC_TRY_COMPILE here.
4178 2002-10-27 Akim Demaille <akim@epita.fr>
4180 Move sections around.
4182 * doc/autoconf.texi (Customizing autom4te): Remove a lost
4184 Reported by Burno Haible.
4185 (Language Choice): Now the first section of...
4186 (Writing Tests): this section.
4187 Make the introduction less C-centric.
4188 (Guidelines, Test Functions): Move to...
4189 (Writing Test Programs): this new section.
4190 (Test Programs): Merge into...
4193 2002-10-27 Akim Demaille <akim@epita.fr>
4195 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
4196 autom4te.in that resulted in the need for two `make' runs.
4198 2002-10-27 Akim Demaille <akim@epita.fr>
4200 * configure.ac: Bump to 2.54b.
4202 2002-10-25 Akim Demaille <akim@epita.fr>
4206 * Makefile.maint: Update from the Coreutils.
4207 (AMTAR): Remove, obsolete.
4208 (automake_repo): Update to redhat.com.
4210 Adjust to the fact that ansi2knr is now hosted by Automake.
4211 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
4212 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
4213 Update from masters.
4214 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
4215 autoscan.pre is not to be installed, and autoscan.list is not to
4217 (CLEANFILES): Add autoscan.list.
4218 (autoscan.list): Disable the cache.
4219 * bin/Makefile.am: Include freeze.mk.
4221 2002-10-25 Akim Demaille <akim@epita.fr>
4223 * bin/autom4te.in (&load_configuration): Take the file as
4225 (&parse_args): Handle -C, --cache.
4227 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
4228 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
4229 * doc/autoconf.texi (Invoking autom4te): Document --cache.
4230 Now a subsection of...
4231 (Using autom4te): This new section.
4232 (Customizing autom4te): New.
4233 (autom4te.cache): Adjust.
4235 2002-10-25 Akim Demaille <akim@epita.fr>
4237 * doc/autoconf.texi (Generic Headers): More information on how to
4238 use AC_CHECK_HEADERS.
4240 2002-10-25 Akim Demaille <akim@epita.fr>
4242 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
4245 2002-10-25 Akim Demaille <akim@epita.fr>
4247 * bin/autoscan.in (output): Output AC_PREREQ.
4248 (%needed_macros): Add AC_PREREQ so that configure.ac without one
4251 2002-10-23 Akim Demaille <akim@epita.fr>
4253 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
4256 2002-10-23 Akim Demaille <akim@epita.fr>
4258 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
4259 Reported by Peter Eisentraut.
4261 2002-10-23 Akim Demaille <akim@epita.fr>
4263 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
4266 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
4267 Eggert's recommandations.
4269 2002-10-22 Akim Demaille <akim@epita.fr>
4271 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
4272 Bison, by Paul Eggert.
4273 * doc/autoconf.texi (Particular Headers): Document it.
4275 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
4277 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
4278 `$ac_configure_args'.
4280 2002-10-22 Akim Demaille <akim@epita.fr>
4282 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
4283 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
4286 2002-10-22 Akim Demaille <akim@epita.fr>
4288 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
4290 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4291 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
4292 (_AC_CHECK_HEADER_NEW): Rename as...
4293 (AC_CHECK_HEADER): this.
4295 2002-10-22 Akim Demaille <akim@epita.fr>
4297 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
4298 words about HP-UX cmp: it was actually a user-written cmp.
4300 2002-10-22 Akim Demaille <akim@epita.fr>
4302 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
4304 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4305 Quote for Perl '' strings, not "".
4306 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
4309 2002-10-22 Akim Demaille <akim@epita.fr>
4311 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4312 characters is a syntax warning now.
4313 (_AS_QUOTE): Accept $2 as list of characters to quote.
4314 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4315 Quote for Perl, not sh.
4316 * bin/autoheader.in: When $debug, report the file which is
4318 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
4319 `@', to tickle Perl's lists.
4320 Reported by Carlos Velasco.
4322 2002-10-18 Akim Demaille <akim@epita.fr>
4324 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
4325 missing included files _are_ errors.
4326 Thanks to Alexandre Duret-Lutz.
4327 * tests/tools.at (autom4te cache): Adjust.
4328 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
4329 (AT_CHECK_M4SUGAR): Use it.
4330 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4332 * tests/tools.at (autom4te): Now it does exit 1.
4334 2002-10-17 Akim Demaille <akim@epita.fr>
4336 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4337 Fixes the `AC_ARG_VAR' test failures.
4338 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4339 * lib/freeze.mk (check-forbidden-patterns): New.
4340 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4341 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4342 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4344 Reported months ago by H. Merijn Brand.
4346 2002-10-17 Akim Demaille <akim@epita.fr>
4348 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4350 2002-10-16 Paul Eggert <eggert@twinsun.com>
4352 * Makefile.maint (wget_files): Remove ansi2knr.c.
4353 (ansi2knr.c-url_prefix): Remove.
4355 2002-10-16 Akim Demaille <akim@epita.fr>
4357 Because of caching, some files that no longer exist and are no
4358 longer required can still cause errors.
4359 Reported by Alexandre Duret-Lutz.
4361 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4362 to frozen files in @ARGV, as @ARGV must remain being a list of
4363 files. Rather, at M4 call sites, use this...
4364 (&files_to_options): New function.
4365 (&freeze): Use &error.
4366 (&up_to_date): If a file that was included according to the cache
4367 is no longer there, then the output is out dated.
4368 (&main): Don't even check whether a file is up to date is anyway
4370 * tests/tools.at (autom4te cache): New.
4372 2002-10-16 Akim Demaille <akim@epita.fr>
4374 * bin/autoconf.as: Kill dead options.
4375 * bin/autoupdate.in (&parse_args): Kill old options.
4376 * bin/autoreconf.in (&parse_args): Remove dead options.
4378 (&autoreconf): Report the directories we enter *and leave*, so
4379 that error messages can be easily located, and use GNU Make
4380 format, so that Emacs' compile mode understands us.
4381 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4382 if some file was changed instead of `print'.
4383 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4384 (&parse_args): Remove the dead options.
4385 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4386 autoheader's quiet mode.
4387 (AT_CHECK_AUTOUPDATE): Likewise.
4388 * tests/tools.at (autoupdate): Adjust.
4389 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4391 2002-10-11 Akim Demaille <akim@epita.fr>
4393 No longer use CPP to check for the existing of headers: use CC to
4394 check for compilability.
4396 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4397 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4398 (_AC_CHECK_HEADER_NEW): Rename as...
4399 (AC_CHECK_HEADER): this.
4401 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4402 numbers in the Subject suggestion.
4404 2002-10-11 Akim Demaille <akim@epita.fr>
4406 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4407 Suggest using AC_CHECK_DECLS instead.
4409 2002-10-11 Akim Demaille <akim@epita.fr>
4411 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4414 2002-10-11 Akim Demaille <akim@epita.fr>
4416 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4417 file name to enable parallel executions.
4418 From Sam Varshavchik.
4420 2002-10-08 Akim Demaille <akim@epita.fr>
4422 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4423 aclocal invocation, as Gettext macros might not be visible to
4425 Instead of blindly running autopoint, scan configure.ac (not the
4426 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4427 Reported by Paul D. Smith.
4429 2002-10-08 Paul Eggert <eggert@twinsun.com>
4431 Work around problems found when POSIXLY_CORRECT=1 is set.
4432 None of this seems to have anything to do with POSIX, really,
4433 but it's how Perl getopt works.
4434 * bin/autom4te.in (parse_args): Configure GetOpt with
4436 * doc/autoconf.texi (Invoking autom4te):
4437 --warning -> --warnings.
4438 * lib/autom4te.in: --warning -> --warnings.
4440 2002-09-28 Akim Demaille <akim@epita.fr>
4442 * doc/autoconf.texi (autom4te.cache): New section.
4444 2002-09-28 Akim Demaille <akim@epita.fr>
4446 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4447 (Automake-preselections): Update.
4448 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4450 2002-09-28 Akim Demaille <akim@epita.fr>
4452 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4453 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4454 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4455 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4457 2002-09-28 Akim Demaille <akim@epita.fr>
4459 * tests/torture.at (Configuring subdirectories): Be robust to
4460 users who use config.site to require for a cache: in this case,
4461 the two last configure runs, using two different sets of
4462 arguments, trigger a legitimate error.
4464 2002-09-28 Akim Demaille <akim@epita.fr>
4466 * tests/m4sh.at (Functions Support, Functions and return Support):
4469 2002-09-28 Akim Demaille <akim@epita.fr>
4471 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4472 autoheader are Perl programs.
4473 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4474 (autom4te): Specify that the sources are in the $srcdir.
4475 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4477 2002-09-28 Akim Demaille <akim@epita.fr>
4479 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4480 (tm_zone): Move their rules to...
4481 * lib/autoconf/types.m4: here, using AN_ macros.
4482 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4483 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4484 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4485 * lib/autoconf/programs.m4: here.
4486 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4487 (ETAGS_FOR_AUTOCONF): New.
4490 2002-09-28 Akim Demaille <akim@epita.fr>
4492 * lib/autoconf/autoscan.m4: New file.
4493 * lib/autoconf/autoconf.m4: Include it.
4494 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4495 that were listed in the original autoscan.list.
4496 * lib/autoconf/headers.m4: Similarly with headers.
4497 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4498 (.m4.m4f): Don't pass --prepend-include, since that's done by
4499 tests/autom4te itself.
4500 * lib/autoscan/Makefile.am: Include freeze.mk.
4501 (autoscan.list): New target --this file is no longer a source.
4502 (autoscan.pre): New file.
4504 2002-09-28 Akim Demaille <akim@epita.fr>
4506 * bin/autoscan.in (@kinds): Make them singular.
4508 (&init_tables): When --debug, report the list of rules to ease
4509 tracking changes in autoscan.list.
4510 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4512 2002-09-28 Akim Demaille <akim@epita.fr>
4514 * lib/autoscan/functions, lib/autoscan/headers,
4515 * lib/autoscan/identifiers, lib/autoscan/makevars,
4516 * lib/autoscan/programs: Merge into...
4517 * lib/autoscan/autoscan.list: this.
4518 * bin/autoscan.in (&init_tables): Adjust.
4520 2002-09-28 Akim Demaille <akim@epita.fr>
4522 * lib/autoscan/functions, lib/autoscan/headers,
4523 * lib/autoscan/identifiers, lib/autoscan/makevars,
4524 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4525 `functions' line is now prefixed with `function:'.
4526 * bin/autoscan.in (&init_tables): Adjust.
4528 2002-09-28 Akim Demaille <akim@epita.fr>
4530 From now on, autoscan files must always map a macro name to a
4531 word: there is no `default' macro for autoscan.
4533 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4535 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4538 2002-09-28 Akim Demaille <akim@epita.fr>
4540 * bin/autoscan.in (%c_keywords): Remove.
4541 (&used): Keep only track of the words we might be interested in.
4542 (&output_kind): It is no longer needed to look for non active
4545 2002-09-27 Akim Demaille <akim@epita.fr>
4547 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4548 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4549 * lib/autoscan/functions: Adjust.
4550 * doc/autoconf.texi (Particular Functions): Adjust.
4552 2002-09-27 Akim Demaille <akim@epita.fr>
4554 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4556 Thanks to Bill Moseley and Paul Eggert.
4557 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4558 the tmpdir must be created.
4559 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4560 dir be in the build tree, instead of $TMPDIR.
4562 2002-09-27 Akim Demaille <akim@epita.fr>
4564 * bin/autoscan.in: Improve the comments.
4565 (&parse_args): Drop obsolete undocumented options.
4566 (&output_kind): Output warnings.
4567 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4568 (getwd): Trigger a warning.
4570 2002-09-26 Akim Demaille <akim@epita.fr>
4572 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4573 Reported by Ralf Corsepius.
4574 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4576 2002-09-26 Akim Demaille <akim@epita.fr>
4578 Single suffix rules and seperated dependencies are not portable.
4580 * doc/autoconf.texi (Installation Directory Variables): Update.
4581 (Limitations of Make): Some about `Single Suffix Rules and
4582 Separated Dependencies'.
4583 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4584 (ifnames, autoscan, autom4te): Un-factor into several rules.
4586 2002-09-25 Paul Eggert <eggert@twinsun.com>
4588 * BUGS (Interoperability bugs): New section. Mention libtool
4589 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4591 2002-09-24 Paul Eggert <eggert@twinsun.com>
4593 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4594 make handles suffix-rules differently from GNU make.
4596 * bin/Makefile.am (SUFFIXES, .in): Remove.
4597 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4598 Move the body of the old .in rule here.
4600 2002-09-16 Akim Demaille <akim@epita.fr>
4602 i960 compilers create `b.out' files by default.
4603 Reported by Ralf Corsepius.
4605 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4606 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4608 2002-09-13 Paul Eggert <eggert@twinsun.com>
4610 * doc/autoconf.texi (Particular Headers): Remove obsolete
4611 reference to `struct timezone' in the description of
4614 2002-09-13 Akim Demaille <akim@epita.fr>
4618 * config/config.sub, config/config.guess: Update.
4619 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4620 * Makefile.am: Adjust.
4622 2002-09-13 Akim Demaille <akim@epita.fr>
4624 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4625 reading config.log when the compiler is rejected.
4626 Suggested by Guido Draheim.
4628 2002-09-13 Akim Demaille <akim@epita.fr>
4630 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4631 (chdir_init) might hang when stat'ing mounted directories.
4632 Reported by Vance Shipley.
4634 2002-09-12 Akim Demaille <akim@epita.fr>
4636 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4639 2002-09-12 Akim Demaille <akim@epita.fr>
4641 * doc/autoconf.texi (Defining Symbols): Present two different
4642 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4643 difference between 1 argument calls, and 2-3 argument calls.
4645 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4647 * doc/autoconf.texi: Review grammar and punctuation.
4649 2002-09-11 Paul Eggert <eggert@twinsun.com>
4651 * doc/autoconf.texi: Fix minor formatting, spelling, and
4653 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4654 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4657 2002-09-11 Akim Demaille <akim@epita.fr>
4659 * doc/autoconf.texi (Questions): Rename as...
4661 (Defining Directories): New.
4663 2002-09-09 Akim Demaille <akim@epita.fr>
4665 * doc/autoconf.texi (Making testsuite Scripts): Update.
4666 Suggested by Nishio Futoshi.
4668 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4670 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4671 plain `@' is wanted.
4673 2002-09-09 Akim Demaille <akim@epita.fr>
4675 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4676 `duplicates', since the algorithm was too naive and could keep
4677 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4678 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4679 Reported by Ralf Corsepius.
4680 * tests/torture.at (Configuring subdirectories): Exercise these
4683 2002-09-09 Akim Demaille <akim@epita.fr>
4685 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4686 looking for a replacement file.
4687 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4688 directory is relative.
4689 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4690 directory definition.
4691 Reported by Andreas Schwab and Jim Meyering.
4693 2002-09-06 Akim Demaille <akim@epita.fr>
4695 * doc/autoconf.texi (Setting Output Variables): Clarify what
4696 precious variables are.
4697 Suggested by Pontus Skoeld.
4699 2002-09-05 Akim Demaille <akim@epita.fr>
4701 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4702 (ifnames, autoscan, autom4te): Since we don't only depend on
4703 configure.ac variables (such as VERSION etc.), but also on prefix
4704 and so forth, depend on Makefile, not configure.ac.
4705 Reported by Alexandre Duret-Lutz.
4706 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4708 2002-09-05 Kevin Ryde <user42@zip.com.au>
4710 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4711 doesn't seem to be confined to ia64, just say "some versions".
4713 2002-09-04 Akim Demaille <akim@epita.fr>
4715 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4717 * Makefile.am (maintainer-clean-local): Remove.
4718 (MAINTAINERCLEANFILES): Remove COPYING.
4720 2002-09-03 Paul Eggert <eggert@twinsun.com>
4722 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4723 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4726 2002-09-03 Akim Demaille <akim@epita.fr>
4728 * configure.ac: Bump to 2.53d.
4729 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4730 as of today, on Automake's team suggestion.
4732 2002-09-03 Akim Demaille <akim@epita.fr>
4736 2002-09-02 Akim Demaille <akim@epita.fr>
4738 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4740 * configure.ac: Disable SITE_MACRO_DIR.
4742 2002-09-02 Jim Meyering <meyering@lucent.com>
4744 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4745 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4746 Also, tweak grammar: s/make sure to/be sure to/.
4748 2002-09-02 Paul Eggert <eggert@twinsun.com>
4750 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4751 directory names are generally preferable to physical names.
4753 2002-09-02 Akim Demaille <akim@epita.fr>
4755 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4756 Reported by Raja R. Harinath.
4757 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4758 * bin/autoupdate.in: Use error instead of die.
4760 2002-09-01 Paul Eggert <eggert@twinsun.com>
4762 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4763 ordinary shell concatenation rather than echo+tr+sed command that
4764 runs afoul of a long-line-related sed bug in Solaris 8.
4766 * bin/autoheader.in (parse_args): --warning -> --warnings.
4768 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4769 stdout, as traditional "ls" does.
4770 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4771 _AC_COMPILER_EXEEXT_O): Likewise.
4772 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4774 * bin/autoconf.as: Add --prepend-include option. This patch was
4775 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4776 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4778 * bin/autoconf.in, configure: Regenerate.
4780 * doc/autoconf.texi (Special Shell Variables): Mention
4781 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4783 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4784 MAILPATH and set PS1, PS2, PS4 to default values, to work
4785 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4786 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4787 the Autoconf documentation specifies; fall back to "unset" only if
4788 this fails. Use a shell for-loop for this rather than an m4 loop,
4789 to shorten the output script.
4791 2002-08-30 Paul Eggert <eggert@twinsun.com>
4793 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4794 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4795 for the CDPATH problem. Document PWD.
4796 (Limitations of Builtins): Document the problem that "cd $foo" and
4797 "ls $foo" may refer to different directories in shells conforming
4798 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4799 example, since the old example is now out of date.
4801 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4802 FOO" and "ls FOO" talk about different directories; this catches
4803 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4806 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4807 of rolling our own unset.
4808 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4809 in practice we needn't worry about CDPATH if unset doesn't work.
4811 * Makefile.in, aclocal.m4, bin/Makefile.in,
4812 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4813 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4814 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4815 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4816 tests/Makefile.in: Regenerate with Automake 1.6.3.
4818 * config/config.guess, config/config.sub, config/mkinstalldirs:
4821 * configure: Regenerate with self.
4823 2002-08-30 Kevin Ryde <user42@zip.com.au>
4825 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4828 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4830 * bin/autom4te.in (Request::load): Correctly test for "do" read
4833 2002-08-29 Akim Demaille <akim@epita.fr>
4835 * lib/Autom4te/General.pm (&xqx): New.
4836 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4837 hand, which is not portable.
4839 * bin/autom4te.in: Use them.
4840 Use &error instead of die.
4841 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4844 2002-08-17 Paul Eggert <eggert@twinsun.com>
4846 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4847 default list of compilers to try, since it was long ago superseded
4848 by the ksh fc builtin. Suggested by Steven G. Johnson.
4850 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4852 * doc/autoconf.texi (Invoking autom4te): End the option table,
4853 fixing a bug introduced by the previous patch.
4854 (Limitations of Make): Add a 'target lookup' subentry in the
4855 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4857 2002-07-29 Mark D. Roth <roth@feep.net>
4859 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4860 options and use $AUTOM4TE_PATH.
4861 * doc/autoconf.texi: Remove documentation of autom4te
4862 --include-envvar and --site-macro-subdir options and document
4863 use of $AUTOM4TE_PATH.
4864 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4865 arguments from each language section.
4867 2002-07-29 Paul Eggert <eggert@twinsun.com>
4869 * doc/install.texi: Include copyright symbol in copyright notice.
4871 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4873 (AM_MAKEINFOFLAGS): New macro.
4874 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4875 * Makefile.am (INSTALL): Use the new macros.
4876 Use -o rather than --output, since "missing" does not grok --output.
4878 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4880 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4881 comments do not always work. Never trust the exit status of
4884 2002-07-24 Kevin Ryde <user42@zip.com.au>
4886 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4887 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4889 2002-07-23 Paul Eggert <eggert@twinsun.com>
4891 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4892 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4893 apparently treats PATH="nonexistent" as if it contained ".".
4894 Bug reported by Stefan `Sec' Zehl.
4896 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4898 * doc/autoconf.texi (Limitations of Make): Mention the special
4899 handling of the obj/ directory by BSD make.
4901 2002-07-20 Kevin Ryde <user42@zip.com.au>
4903 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4906 2002-07-19 Akim Demaille <akim@epita.fr>
4908 * doc/autoconf.texi (Function Portability): `exit'.
4909 (Programming in M4sh): Ethymology of M4sh.
4911 2002-07-19 Akim Demaille <akim@epita.fr>
4913 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4915 2002-07-18 Akim Demaille <akim@epita.fr>
4919 2002-07-18 Akim Demaille <akim@epita.fr>
4921 * config/config.guess, config/config.sub: Update.
4923 2002-07-18 Akim Demaille <akim@epita.fr>
4925 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4928 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4929 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4930 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4932 2002-07-18 Akim Demaille <akim@epita.fr>,
4933 Alexandre Duret-Lutz <duret_g@epita.fr>
4935 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4936 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4938 2002-07-17 Russ Allbery <rra@stanford.edu>
4940 * doc/autoconf.texi (Initializing configure): Clarify the
4941 description of the tarname default.
4943 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4945 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4946 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4949 2002-07-17 Akim Demaille <akim@epita.fr>
4951 * lib/Autom4te/General.pm (find_file): Browse the directories in
4952 the order they are given.
4954 2002-07-17 Akim Demaille <akim@epita.fr>
4956 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4957 * tests/wrapper.as: this.
4958 * tests/Makefile.am, configure.ac: Adjust.
4960 2002-07-17 Mark D. Roth <roth@feep.net>
4962 * configure.ac: Add --enable-site-macro-dir option.
4963 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4964 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4965 --site-macro-subdir options.
4966 * bin/autoconf.in: Add --prepend-include option.
4967 * bin/autoheader.in: Add --prepend-include option.
4968 * bin/autoreconf.in: Add --prepend-include option.
4969 * bin/autoscan.in: Add --prepend-include option.
4970 * bin/autoupdate.in: Add --prepend-include option.
4971 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4972 macro directory, remove note that include path directories are
4973 used in reverse order, and document --prepend-include option.
4974 * lib/autom4te.in: Use --prepend-include instead of --include.
4975 * tests/wrapsh.in: Use --prepend-include instead of --include.
4977 2002-07-17 Akim Demaille <akim@epita.fr>
4979 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4981 * doc/autoconf.texi (Initializing configure): Adjust.
4983 2002-07-17 Akim Demaille <akim@epita.fr>
4985 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4986 (_AC_FUNC_MALLOC): New.
4987 (AC_FUNC_MALLOC): Use the latter.
4988 Define HAVE_MALLOC to 0 if broken.
4989 * doc/autoconf.texi (Particular Functions): Adjust.
4991 2002-07-16 Akim Demaille <akim@epita.fr>
4993 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4994 * doc/autoconf.texi (C Compiler): Adjust.
4996 2002-07-09 Akim Demaille <akim@epita.fr>
4998 * doc/autoconf.texi: Properly set the ``header'' part.
5000 2002-07-09 Akim Demaille <akim@epita.fr>
5002 * doc/autoconf.texi (Systemology): Some about Darwin.
5004 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5006 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5007 Don't use AC_REQUIRE in AU_DEFUN.
5009 2002-07-09 Art Haas <ahaas@neosoft.com>
5011 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
5013 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
5015 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5016 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
5017 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
5018 so that Emacs setups GNU style for perl-mode and cperl-mode.
5020 2002-06-27 Paul Eggert <eggert@twinsun.com>
5022 * config/install-sh: Quote $src. Prefer || to test's -o option,
5023 as per "Limitations of Builtins".
5024 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
5025 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5027 * tests/mktests.sh: Use grep instead of fgrep, as per
5028 "Limitations of Builtins".
5030 2002-06-15 Paul Eggert <eggert@twinsun.com>
5032 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
5033 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
5034 so that we consistently test the just-built programs.
5035 * tests/wrappl.as: Likewise.
5037 2002-06-12 Paul Eggert <eggert@twinsun.com>
5039 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
5040 name, so that symlinks to 'autoconf' work properly. Bug reported
5042 * bin/autoheader.in (AUTOM4TE): Likewise.
5043 * bin/autoreconf.in (autoconf, autoheader): Likewise.
5044 * bin/autoscan.in (autom4te): Likewise.
5045 * bin/autoupdate.in (autom4te): Likewise.
5047 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
5048 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
5051 2002-06-11 Andreas Schwab <schwab@suse.de>
5053 * doc/autoconf.texi: Add more dir entries.
5055 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
5057 * bin/autom4te.in ($cache): Don't define using `$me', the name
5058 of the cache should not depend on the name under which autom4te
5061 2002-06-07 Akim Demaille <akim@epita.fr>
5063 * tests/tools.at (autoconf: forbidden tokens, basic)
5064 (autoconf: forbidden tokens, exceptions): Adjust to the change of
5065 words in autom4te.in.
5067 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
5069 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
5070 _AC_LANG_PROGRAM_C_F77_HOOKS.
5072 2002-06-07 Akim Demaille <akim@epita.fr>
5074 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
5076 (AC_REPLACE_FNMATCH): this.
5077 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
5078 AC_FUNC_FNMATCH_GNU.
5080 2002-06-07 Akim Demaille <akim@epita.fr>
5082 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
5083 Rosetta Stone for Unix.
5085 2002-06-07 Akim Demaille <akim@epita.fr>
5087 * bin/autom4te.in (warn_forbidden): When rejecting a token,
5088 suggest m4_pattern_allow.
5089 Suggested by Adam J. Richter.
5091 2002-06-07 Akim Demaille <akim@epita.fr>
5093 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5094 ac_config_libobj_dir.
5095 (AC_CONFIG_LIBOBJ_DIR): New.
5096 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
5097 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
5098 Use ac_config_libobj_dir to find the replacement files.
5099 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
5100 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
5101 (AC_REPLACE_FNMATCH_GNU): these.
5102 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
5103 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
5104 * tests/mktests.sh (ac_exclude_list): Don't check
5105 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
5107 2002-06-06 Paul Eggert <eggert@twinsun.com>
5109 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
5112 * doc/autoconf.texi (Configuration Links): Likewise.
5113 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
5115 2002-06-05 Paul Eggert <eggert@twinsun.com>
5117 * config/config.guess, config/config.sub, config/texinfo.tex:
5118 Update from masters.
5120 2002-05-29 Paul Eggert <eggert@twinsun.com>
5122 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
5123 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5124 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
5126 * lib/autoconf/Makefile.am (check-local): Likewise.
5127 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
5128 * lib/autoconf/types.m4 (commentary only): Likewise.
5129 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
5130 * lib/autotest/Makefile.am (check-local): Likewise.
5131 * lib/m4sugar/Makefile.am (check-local): Likewise.
5132 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
5133 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
5135 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
5136 * doc/autoconf.texi (Particular Programs): Document them.
5137 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
5140 2002-05-27 Paul Eggert <eggert@twinsun.com>
5142 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
5143 * NEWS, doc/autoconf.texi (Particular Types): Document it.
5144 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
5145 instead of AC_MBSTATE_T, which never existed.
5147 2002-05-23 Akim Demaille <akim@epita.fr>
5149 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
5150 version of Autoconf that is discussed.
5152 2002-05-22 Paul Eggert <eggert@twinsun.com>
5154 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
5155 from the default list of compilers to try. Suggested by
5157 * NEWS: Document the above.
5158 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
5160 2002-05-17 Paul Eggert <eggert@twinsun.com>
5162 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
5163 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
5164 This improves on an earlier suggestion by H. Peter Anvin.
5166 2002-05-16 Paul Eggert <eggert@twinsun.com>
5168 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
5169 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
5170 Both macros now accept an optional source-dir arg.
5171 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
5173 * NEWS: Document this.
5174 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
5176 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
5177 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
5178 not for GNU extensions; this undoes part of the 2000-11-03 change,
5179 reverting to 2.13-compatible behavior.
5180 Add new optional argument DIR.
5181 (AC_FUNC_FNMATCH_GNU): New macro.
5183 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
5185 2002-05-08 Paul Eggert <eggert@twinsun.com>
5187 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
5188 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
5189 and it causes a 'test' syntax error if it fails.
5190 Bug reported by Stephen Gildea.
5192 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
5193 If prototypes are supported, use them to check this at compile-time,
5194 instead of trying to check it at run-time. If we must do a run-time
5195 check, assume that setvbuf is standard when cross-compiling, as
5196 nonstandard setvbuf occurs only on ancient and unlikely hosts.
5197 Bug reported by Paul D. Smith.
5199 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
5200 argument specifying location of getloadavg.c. This removes a
5201 FIXME. This idea was taken from Jim Meyering's implementation in
5203 * doc/autoconf.texi (Particular Functions): Document this.
5204 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
5205 that's what the code does; this fixes a bug reported by
5208 2002-05-03 Akim Demaille <akim@epita.fr>
5210 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
5211 autopoint instead of gettextize.
5212 ($uses_alocal): Rename as...
5213 ($uses_aclocal): this.
5214 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5215 Suggested by Bruno Haible.
5217 2002-05-03 Akim Demaille <akim@epita.fr>
5219 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
5221 2002-04-29 Paul Eggert <eggert@twinsun.com>
5223 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
5224 files to be 1 second older; just set them to be the same time.
5225 Also, sleep 1 second after the first aclocal, to work around
5226 problems with sub-second time stamps on the input files.
5228 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
5230 * doc/autoconf.texi: Mention "set -e -x" lossage
5231 under node "Limitations of Builtins".
5233 2002-04-29 Akim Demaille <akim@epita.fr>
5235 * doc/install.texi: Better wording for setting variables when
5237 From Christian Cornelssen.
5239 2002-04-29 Akim Demaille <akim@epita.fr>
5241 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
5242 of lack of $LINENO support, then the test will compare the $LINENO
5243 in testsuite vs. the lineno in the test file. This is wrong, of
5245 Be sure to protect it.
5246 Reported by Patrick Welche.
5248 2002-04-25 Akim Demaille <akim@epita.fr>
5250 * doc/autoconf.texi (Obsolete Macros): Typo.
5251 Reported by Vladimir Volovich.
5253 2002-04-25 Akim Demaille <akim@epita.fr>
5255 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
5256 than some of the input files, hence, on the second run of aclocal,
5257 if some of its input are younger, make them older.
5258 Suggested by Paul Eggert.
5260 2002-04-25 Akim Demaille <akim@epita.fr>
5262 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
5263 Thanks to Paul Eggert.
5265 2002-04-25 Akim Demaille <akim@epita.fr>
5267 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
5268 and ac_subst_vars be sh variables containing the list of
5269 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
5271 (_AC_INIT_PREPARE): Use them to log them.
5272 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
5273 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
5274 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
5275 _AC_SUBST_FILES and _AC_SUBST_VARS.
5276 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
5278 2002-04-24 Akim Demaille <akim@epita.fr>
5280 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
5281 autoheader, so that automake does not complain about a missing
5282 config.h.in that was to be created.
5284 2002-04-23 Akim Demaille <akim@epita.fr>
5286 * bin/autoheader.in (parse_args): --warning takes an argument.
5289 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
5291 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
5292 and bb.out when cleaning up.
5294 2002-04-22 Akim Demaille <akim@epita.fr>
5298 2002-04-22 Akim Demaille <akim@epita.fr>
5300 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
5302 2002-04-22 Akim Demaille <akim@epita.fr>
5304 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
5306 Reported by Gregory Giannoni.
5308 2002-04-22 Akim Demaille <akim@epita.fr>
5310 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
5311 Fixes false failures on Darwin.
5313 2002-04-21 Paul Eggert <eggert@twinsun.com>
5315 * TODO, bin/autoupdate.in, doc/autoconf.texi,
5316 lib/autoconf/general.m4, lib/autoconf/libs.m4,
5317 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
5318 tests/tools.at: Minor spelling and grammar fixes.
5320 2002-04-20 Paul Eggert <eggert@twinsun.com>
5322 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
5323 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
5324 * lib/autotest/general.m4 (AT_INIT): Likewise.
5325 * tests/atgeneral.m4 (AT_INIT): Likewise.
5327 2002-04-19 Paul Eggert <eggert@twinsun.com>
5329 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
5330 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
5331 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5332 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5333 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5334 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5335 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5336 Minor spelling and grammar fixes.
5338 * doc/autoconf.texi: Follow the outline suggested in the GNU
5339 Sample Texts sections of the Texinfo 4.2 manual. Most
5340 importantly, this makes sure that the copyright notices appear in
5341 all output formats. You probably need Texinfo 4.2 to generate
5344 Fix some bugs when using "$@" when there might be zero positional
5345 arguments in cases where this matters.
5347 * bin/autoconf.as: Rewrite so that the problem does not come up.
5348 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5349 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5350 * lib/autotest/general.m4 (AT_INIT): Likewise.
5352 * bin/autoheader.in: Use 'case' statement to work around problem.
5353 * bin/auto4mte.in: Likewise.
5354 * bin/autoreconf.in: Likewise.
5355 * bin/autoscan.in: Likewise.
5356 * bin/autoupdate.in: Likewise.
5357 * bin/ifnames.in: Likewise.
5359 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5361 * lib/autotest/general.m4 (AT_INIT):
5362 Use Zsh alias to work around problem.
5363 * tests/atgeneral.m4 (AT_INIT): Likewise.
5365 * tests/c.at: We can't have zero arguments, so remove workaround
5366 that is not portable to Zsh.
5368 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5370 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5371 from aclocal.m4 too.
5373 2002-04-12 Akim Demaille <akim@epita.fr>
5375 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5377 2002-04-10 Akim Demaille <akim@epita.fr>
5379 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5380 workaround for ${1+"$@"}.
5381 * doc/autoconf.texi (Shell Substitutions): Explain it.
5382 From Oliver Kiddle and Peter Stephenson.
5384 Have M4sh perform minimal shell sanitizing.
5386 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5388 (_AS_PREPARE): this new macro.
5390 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5391 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5393 Adjust Autoconf and Autotest.
5395 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5396 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5397 * lib/autotest/general.m4 (AT_INIT): Likewise.
5398 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5399 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5402 Use this M4sh to generate Autoconf's shell scripts.
5404 * tests/wrapsh.as: New, precursor of wrapsh.in.
5405 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5406 on Autotest and M4sh.
5407 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5408 (wrapsh.in): New target.
5409 * bin/autoconf.as: New, precursor of autoconf.in.
5410 (autoconf.in): New target.
5412 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5414 * doc/autoconf.texi (Limitations of Make): Mention the issue
5415 with indented comments in rules.
5417 2002-04-09 Andreas Schwab <schwab@suse.de>
5419 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5420 ac_top_builddir when setting ac_abs_top_builddir.
5422 2002-04-06 Kevin Ryde <user42@zip.com.au>
5424 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5425 (Portable Shell): Cross reference to Systemology.
5427 2002-04-05 Akim Demaille <akim@epita.fr>
5429 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5430 directories when descending in a SUBDIRS.
5431 Reported by Ezra Peisach.
5433 2002-04-04 Andreas Schwab <schwab@suse.de>
5435 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5436 contains no literal separators.
5438 2002-04-03 Akim Demaille <akim@epita.fr>
5440 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5441 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5442 Use dnl, not the KILL diversion.
5444 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5445 (AC_CONFIG_LINKS): here.
5447 Don't use the KILL diversion, as it kills spurious output, which
5448 results in failures being hidden.
5449 Use m4_defn where appropriate.
5450 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5451 after the second argument.
5453 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5454 syntax, as it is provided by M4sugar.
5455 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5457 2002-04-03 Andreas Schwab <schwab@suse.de>
5459 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5460 expanded if $# <= 2.
5462 * bin/autoreconf.in (autoreconf): Run automake after rerunning
5465 2002-04-03 Akim Demaille <akim@epita.fr>
5467 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5468 (_AC_COMPILER_EXEEXT_REJECT): New.
5469 Also recognize *.bb and *.bbg as compilation byproducts.
5470 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5471 (_AC_COMPILER_OBJEXT): Use them.
5472 Fixes Debian #138666.
5474 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5476 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5478 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5479 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5480 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5481 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5483 (AC_C_INLINE): Same.
5484 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5485 * doc/autoconf.texi, NEWS: Document.
5486 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5489 2002-04-02 Akim Demaille <akim@epita.fr>
5491 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5492 _AS_MKDIR_P_PREPARE.
5494 2002-03-28 Kevin Ryde <user42@zip.com.au>
5496 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5497 to avoid versions of HP C which don't allow that.
5499 2002-03-27 Paul Eggert <eggert@twinsun.com>
5501 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5502 (AS_SHELL_SANITIZE): Invoke it.
5503 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5505 2002-03-26 Akim Demaille <akim@epita.fr>
5507 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5509 2002-03-26 Akim Demaille <akim@epita.fr>
5511 * doc/autoconf.texi (Introduction): The GNATS base moved.
5513 2002-03-25 Paul Eggert <eggert@twinsun.com>
5515 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5516 as POSIX requires, as it doesn't work with Zsh.
5517 * doc/autoconf.texi (Assignments): Document the problem.
5519 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5521 * doc/autoconf.texi (Limitations of Make): Mention more issue
5522 about VPATH, overriding of macros in sub-makes, and handling of
5525 2002-03-21 Paul Eggert <eggert@twinsun.com>
5527 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5528 problem with here-document buffer boundaries.
5530 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5531 when reinvoking the shell, to work around problems with installers
5532 who put strange things like "cd" commands in their environments.
5534 2002-03-19 Akim Demaille <akim@epita.fr>
5536 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5539 2002-03-19 Akim Demaille <akim@epita.fr>
5541 * bin/autoscan.in (scan_file): Specify the location in `&used'
5545 2002-03-19 Akim Demaille <akim@epita.fr>
5547 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5548 From Nishio Futoshi.
5550 2002-03-19 Akim Demaille <akim@epita.fr>
5552 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5554 2002-03-18 Paul Eggert <eggert@twinsun.com>
5556 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5557 (Limitations of Usual Tools): Add mkdir section.
5559 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5560 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5561 back on AS_DIRNAME to compute prefixes otherwise; this is
5562 roughly what mkinstalldirs does. That way, we need not have
5563 our own filename disassembler. The old disassembler did not
5564 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5566 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5567 Create at_test_all by a series of assignments,
5568 not by a single assignment of a long string. The latter causes ksh
5569 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5570 presumably because of a buffer overrun.
5572 2002-03-14 Paul Eggert <eggert@twinsun.com>
5574 * lib/autotest/general.m4 (at_times_skip):
5575 Renamed from at_times. Now a boolean.
5576 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5577 says 'times: not found'.
5579 2002-03-14 Akim Demaille <akim@epita.fr>
5581 * bin/autoreconf.in (&study_gettextize): New.
5582 (&autoreconf): Handle newest gettextize.
5583 Rerun aclocal if needed.
5584 Suggested by Andreas Schwab.
5586 2002-03-13 Akim Demaille <akim@epita.fr>
5588 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5590 2002-03-13 Akim Demaille <akim@epita.fr>
5592 * doc/autoconf.texi (Header Portability): New.
5593 Add information about stdint.h and inttypes.h from Paul Eggert.
5595 2002-03-13 Akim Demaille <akim@epita.fr>
5597 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5601 2002-03-12 Akim Demaille <akim@epita.fr>
5603 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5606 2002-03-11 Andreas Schwab <schwab@suse.de>
5608 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5609 does not do it if --with-lispdir is given.
5611 2002-03-08 Akim Demaille <akim@epita.fr>
5615 2002-03-08 Akim Demaille <akim@epita.fr>
5617 * doc/autoconf.texi (Subdirectories): Clarify that the
5618 subdirectory should exist.
5620 2002-03-08 Akim Demaille <akim@epita.fr>
5622 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5624 2002-03-08 Akim Demaille <akim@epita.fr>
5626 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5627 aliases the actual variables, and modifications of the former
5630 2002-03-08 Akim Demaille <akim@epita.fr>
5632 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5633 because of C-c: have m4 output in tmp files, then mv them.
5635 2002-03-08 Akim Demaille <akim@epita.fr>
5637 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5638 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5639 * bin/ifnames.in: Copyright update.
5641 2002-03-08 Akim Demaille <akim@epita.fr>
5643 * doc/autoconf.texi (Invoking autom4te): New.
5645 2002-03-05 Akim Demaille <akim@epita.fr>
5647 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5650 2002-03-05 Akim Demaille <akim@epita.fr>
5654 2002-03-04 Akim Demaille <akim@epita.fr>
5656 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5657 * lib/autoconf/general.m4 (AC_INIT): More informative error
5660 2002-03-04 Akim Demaille <akim@epita.fr>
5662 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5665 2002-03-04 Akim Demaille <akim@epita.fr>
5667 * doc/autoconf.texi (Transforming Names): Equality between target
5668 and host is irrelevant.
5669 (Specifying Names, Canonicalizing): Remove all references to the
5670 backward compatibility hooks. Rather, collect them all into...
5671 (Hosts and Cross-Compilation): this new section.
5672 * doc/install.texi (System Type): Ditto.
5673 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5674 that `--host' implies cross-compilation.
5676 2002-03-04 Akim Demaille <akim@epita.fr>
5678 * doc/autoconf.texi (Evaluation Macros): New.
5679 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5681 (_m4_foreach): Define the variant with immediate evaluation so
5682 that it contains exactly the items, not an expression which
5683 evaluation is the current item.
5684 (m4_re_string, m4_re_word): Don't over quote them.
5686 2002-03-04 Akim Demaille <akim@epita.fr>
5688 Instead of having stacking `shift's evaluated at the end, let
5689 `foreach' loops immediately evaluate them.
5691 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5692 $*. This is the n-th time I change my mind, but hopefully this is
5695 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5697 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5698 it was only a hack for m4_text_wrap.
5699 (m4_car2): Remove, replaced by...
5701 (_m4_foreach): Adjust.
5702 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5703 m4_bpatsubst for clarification.
5705 2002-03-04 Akim Demaille <akim@epita.fr>
5707 * doc/autoconf.texi (Changequote is Evil): New.
5709 2002-03-03 Kevin Ryde <user42@zip.com.au>
5711 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5712 on old systems like SunOS.
5714 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5716 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5717 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5718 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5719 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5722 2002-02-28 Akim Demaille <akim@epita.fr>
5724 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5727 2002-02-28 Kevin Ryde <user42@zip.com.au>
5729 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5731 2002-02-25 Akim Demaille <akim@epita.fr>
5733 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5736 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5738 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5739 translate \r\n to \n.
5741 2002-02-07 Akim Demaille <akim@epita.fr>
5745 2002-02-07 Akim Demaille <akim@epita.fr>
5747 Fix Autoconf PR/209.
5748 Also reported by Frank Denis.
5750 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5752 2002-02-07 Akim Demaille <akim@epita.fr>
5754 Fix Autoconf PR/207:
5755 AC_PREFIX_PROGRAM fails with dashed program names
5757 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5758 variable when looking for the prefix program.
5759 Now it also works for shell variables.
5761 2002-02-07 Akim Demaille <akim@epita.fr>
5763 * doc/autoconf.texi (Limitations of Builtins): More about
5766 2002-02-06 Akim Demaille <akim@epita.fr>
5768 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5769 case/esac, some shells don't support it.
5770 Reported by Zack Weinberg.
5771 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5773 2002-02-06 Akim Demaille <akim@epita.fr>
5775 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5776 sure not to introduce newlines in at_groups.
5777 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5779 2002-02-06 Akim Demaille <akim@epita.fr>
5781 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5784 2002-02-05 Paul Eggert <eggert@twinsun.com>
5786 * doc/autoconf.texi (Specific Compiler Characteristics):
5787 Describe HP-UX cc bug workaround more accurately.
5788 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5790 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5791 cross-compilers, too. This undoes some of the most recent change
5794 2002-02-05 Akim Demaille <akim@epita.fr>
5796 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5797 to make sure they are up to date when `check' is run.
5799 2002-02-05 Akim Demaille <akim@epita.fr>
5801 * doc/autoconf.texi (Making testsuite Scripts): Document
5804 2002-02-05 Akim Demaille <akim@epita.fr>
5806 * lib/freeze.mk: New.
5808 2002-02-05 Akim Demaille <akim@epita.fr>
5810 Implement `autom4te --freeze'.
5812 * bin/autom4te.in (&freeze): New.
5813 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5814 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5816 2002-02-05 Akim Demaille <akim@epita.fr>
5818 * bin/autom4te.in (&parse_args): Implement `frozen files are
5819 optional are the sum of the previous files on the command line'.
5820 Also, pass `--reload-state=' on them, so...
5822 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5823 (M4sh): Rely on M4sugar.
5824 (Autotest, M4sh, M4sugar): Use frozen files.
5826 2002-01-31 Akim Demaille <akim@epita.fr>
5828 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5829 * doc/autoconf.texi (Initializing configure): Adjust.
5831 2002-01-30 Akim Demaille <akim@epita.fr>
5833 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5834 alphanumeric to `-' instead of `_'.
5836 2002-01-30 Akim Demaille <akim@epita.fr>
5838 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5839 for plain code, the other for cross-compilation code. The latter
5840 is now run with GCC only.
5841 * doc/autoconf.texi (Compilers and Preprocessors): New.
5843 2002-01-30 Akim Demaille <akim@epita.fr>
5845 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5847 * doc/autoconf.texi (Initializing configure): Explain how to
5848 change AC_INIT default values.
5850 2002-01-29 Akim Demaille <akim@epita.fr>
5852 * tests/torture.at (Configuring subdirectories): Use configure.in,
5853 so that aclocal 1.4 works.
5854 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5856 2002-01-28 Akim Demaille <akim@epita.fr>
5858 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5861 2002-01-28 Akim Demaille <akim@epita.fr>
5863 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5864 AUTOTEST_PATH *after* it was set.
5865 Don't put `.' in the PATH: the user should be precise and `./' if
5866 needed. In addition, given that the test suite does some `cd', if
5867 `.' is in the path, the `tested programs' sections will report
5868 programs found in the test suite's directory, while during the
5869 tests (performed in their own directory), these programs are no
5870 longer visible. In other words, the results is confusing and
5872 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5874 2002-01-24 Akim Demaille <akim@epita.fr>
5878 2002-01-24 Akim Demaille <akim@epita.fr>
5880 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5881 * doc/autoconf.texi: Finally add Akim as an author.
5883 2002-01-24 Akim Demaille <akim@epita.fr>
5885 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5886 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5887 Bourne. Use /bin/sh.
5888 From Andreas Buening.
5890 2002-01-24 Akim Demaille <akim@epita.fr>
5892 * config/config.guess, config/config.sub, config/texinfo.tex:
5893 Update from masters.
5895 2002-01-24 Akim Demaille <akim@epita.fr>
5897 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5898 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5899 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5900 * config/missing.m4, config/sanity.m4, config/select.m4,
5901 * config/strip.m4: Remove, to ease sync'ing with any version of
5904 2002-01-24 Akim Demaille <akim@epita.fr>
5906 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5907 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5908 Reported by Geir Ove Myhr.
5910 2002-01-21 Akim Demaille <akim@epita.fr>
5912 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5914 2002-01-21 Akim Demaille <akim@epita.fr>
5916 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5917 message on invalid options.
5918 * bin/autom4te.in (parse_args): Don't use
5919 Autoconf::General::getopt with non valid options.
5921 2002-01-17 Jim Meyering <meyering@lucent.com>
5923 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5924 $ac_cv_exeext so we don't use an old, invalid, cached value.
5926 2002-01-11 Akim Demaille <akim@epita.fr>
5928 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5930 * doc/autoconf.texi (Function Portability): Document the strnlen
5932 (Particular Functions): Document AC_FUNC_STRNLEN.
5933 * lib/autoscan/functions: Adjust.
5935 2002-01-06 Akim Demaille <akim@epita.fr>
5937 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5938 package.m4, since is really depends upon configure.ac, not
5940 * doc/autoconf.texi (testsuite Scripts): Adjust.
5941 * tests/Makefile.am (package.m4): New.
5942 EXTRA_DIST it since its a source.
5944 2002-01-06 Akim Demaille <akim@epita.fr>
5946 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5947 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5948 and PACKAGE_BUGREPORT from here...
5949 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5951 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5952 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5953 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5954 * tests/tools.at (autoheader): Adjust.
5955 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5957 2002-01-06 Akim Demaille <akim@epita.fr>
5959 * bin/autoscan.in (scan_file): Use `&used'.
5961 2002-01-03 Akim Demaille <akim@epita.fr>
5963 * doc/autoconf.texi (Output): Improved wording regarding use of
5967 2001-12-18 Kevin Ryde <user42@zip.com.au>
5969 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5970 sometimes needing writable input.
5972 2001-12-17 Jim Meyering <meyering@lucent.com>
5974 * doc/autoconf.texi (New Macros): Tweak wording.
5976 2001-12-14 Akim Demaille <akim@epita.fr>
5978 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5979 trailing files, don't apply `-rf' to files which might not be
5980 created by configure (core, core.*, and *.core), but just `rm -f'.
5981 Suggested by Jonathan Kamens.
5983 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5985 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5987 2001-12-14 Akim Demaille <akim@epita.fr>
5989 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5991 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5993 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5994 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5995 abs_srcdir, top_srcpath to abs_top_srcdir.
5996 (_AC_OUTPUT_FILES): Adjust.
5997 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5998 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5999 * tests/wrappl.in, tests/wrapsh.in: Adjust.
6001 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
6003 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
6004 C/Fortran linking on HP/UX, by extracting the Fortran library
6005 search path from the LPATH line in the $F77 -v output.
6007 2001-12-12 Kevin Ryde <user42@zip.com.au>
6009 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
6010 forbidden file descriptors table.
6012 2001-11-26 Akim Demaille <akim@epita.fr>
6014 * bin/autoscan.in (%c_keywords): Build it at top level.
6015 Map to 1 in order to simplify its uses.
6017 2001-11-26 Akim Demaille <akim@epita.fr>
6019 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
6020 Remove $filepath, useless.
6021 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
6022 variables, they are really part of the tokens.
6023 Split the input line on spaces and then look for tokens.
6024 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
6025 because of `lex$U.$(OBJEXT)'.
6026 (&scan_files): Use "@list" instead of join.
6027 * doc/Makefile.am (CLEANFILES): Add *.fns.
6029 2001-11-26 Akim Demaille <akim@epita.fr>
6031 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
6032 Remove, replaced by...
6033 * tests/wrappl.in: Be common for all the Perl executables.
6034 In particular autoscan and autoheader want -I.
6035 * configure.ac: Adjust.
6036 * lib/autoscan/headers: errno.h is portable.
6038 2001-11-26 Akim Demaille <akim@epita.fr>
6040 * bin/autoscan.in (used): New.
6043 2001-11-26 Akim Demaille <akim@epita.fr>
6045 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
6047 (&scan_sh_file): Remove a duplicate pattern.
6048 (&check_configure_ac): Use long options.
6049 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
6051 2001-11-26 Akim Demaille <akim@epita.fr>
6053 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
6054 Before, having a line containing the opening of a multi line
6055 comment made the whole line be ignored.
6057 2001-11-26 Akim Demaille <akim@epita.fr>
6059 * doc/autoconf.texi (Using an Autotest Test Suite): New.
6060 (testsuite Scripts): Be one of its subsection.
6061 (Autotest Logs): New.
6063 2001-11-26 Akim Demaille <akim@epita.fr>
6065 Test groups are now run two directories deeper.
6067 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
6068 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
6070 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
6071 top_srcdir, builddir and top_builddir.
6072 Use `at_*dir' relatively to the directory containing the
6073 suite, use `*dir' when relatively to the current group dir.
6075 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
6077 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
6078 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
6079 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
6082 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6084 * doc/autoconf.texi (Using System Type): Add an example of `case
6085 $host' usage so people quit using `case $target' everywhere.
6087 2001-11-22 Akim Demaille <akim@epita.fr>
6089 * doc/autoconf.texi (Installation Directory Variables): Englishoes
6090 spotted by Jim Meyering.
6092 2001-11-16 Paul Eggert <eggert@twinsun.com>
6094 This patch implements a `long double' suggestion by Oliver Kiddle.
6096 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
6097 static, to catch errors if the value isn't known at compile-time
6098 and the compiler supports dynamic arrays. Change its name from
6099 `_array_' to `test_array' to avoid potential name clashes.
6100 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
6101 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
6102 better than double. Catch a bug in GCC 2.95.2 x86.
6103 * doc/autoconf.texi (C Compiler): Document the above.
6106 2001-11-13 Akim Demaille <akim@epita.fr>
6108 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
6110 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
6112 2001-11-13 Akim Demaille <akim@epita.fr>
6114 * lib/autotest/general.m4 (AT_INIT): After having run the test
6115 group, go back to the initial directory, not to at_suite_dir.
6117 2001-11-13 Akim Demaille <akim@epita.fr>
6119 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
6120 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
6121 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
6123 (AT_CHECK_CONFIGURE): Use absolute paths.
6124 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
6125 The problem is still the old one: there is no means in M4 (that I
6126 know about) to create a defining macro, because there is no means
6127 to create `$1' etc., therefore, the defining macro ``swallows''
6128 all the arguments meant to the defined macro.
6130 2001-11-13 Akim Demaille <akim@epita.fr>
6132 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
6133 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
6135 * tests/aclocal.m4: Remove, as it is no longer used.
6137 2001-11-13 Akim Demaille <akim@epita.fr>
6139 * lib/autotest/general.m4: Change `tests?' into `groups?' in
6140 variable names when referring to a single test group, or to
6141 `suite' when referring to the whole test suite.
6142 `at_last_test' is removed: m4 compute at_format itself.
6143 (at_stdout, at_stder1, at_stderr): New variables.
6144 (AT_CHECK): Use them.
6146 2001-11-13 Akim Demaille <akim@epita.fr>
6148 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
6150 Create `testsuite.dir/003/run' instead of `testsuite.003'.
6151 Do it as soon as a test fails, don't wait till the end of the test
6153 Don't remove $as_me.[0-9]*, since these files no longer exist.
6155 2001-11-13 Akim Demaille <akim@epita.fr>
6157 * tests/tools.at: Use absolute paths, since we are no longer run
6160 2001-11-13 Akim Demaille <akim@epita.fr>
6162 Now that tests are running in their own private dir, there is no
6163 need to list the files to remove at the end of tests groups.
6165 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
6166 (AT_data_files, at_data_files): Remove.
6167 (AT_CLEANUP, AT_DATA): Simplify.
6169 Remove the group dir if !debug && !failed.
6170 * tests/atspecific.m4: Adjust.
6172 2001-11-13 Akim Demaille <akim@epita.fr>
6174 Start a new layout for Autotest: `testsuite' creates
6175 `testsuite.dir' in which the at-check-line etc. files are to be
6176 found, and `testsuite.dir/003' where the test group 3 is run.
6178 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
6179 at_check_line_file, at_format, at_test_normalized, at_group_dir
6181 Create the directories.
6182 Use absolute paths for at- files.
6185 2001-11-11 Michael Matz <matz@kde.org>
6187 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
6189 (m4_car): Properly quote arguments.
6191 2001-11-13 Akim Demaille <akim@epita.fr>
6193 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
6194 with stricter rules on LIBOBJS.
6196 2001-11-12 Paul Eggert <eggert@twinsun.com>
6198 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
6199 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
6202 2001-11-12 Akim Demaille <akim@epita.fr>
6204 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
6206 2001-11-12 Akim Demaille <akim@epita.fr>
6208 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6209 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
6210 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6211 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6212 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
6213 specify to what the macro should be defined (typically to 1).
6215 2001-11-12 Akim Demaille <akim@epita.fr>
6217 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
6220 2001-11-12 Akim Demaille <akim@epita.fr>
6222 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6223 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
6224 definition used by Automake where LEX is +/- "${missing} lex" and
6225 `missing' itself contains variables.
6227 2001-11-12 Akim Demaille <akim@epita.fr>
6229 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
6230 Now that M4sh pushes BODY, the comments were output at the end of
6233 2001-11-08 Akim Demaille <akim@epita.fr>
6235 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
6236 that we can trace macros from aclocal.m4.
6237 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
6238 obsoleted, and redirect to the former anyway.
6239 Reported by Ralf Corsepius.
6241 2001-11-08 Akim Demaille <akim@epita.fr>
6243 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
6244 processed only if present.
6245 * tests/torture.at (Configuring subdirectories): Use autoreconf
6246 instead of successive calls to autoconf.
6247 Add a nonexistent subdirectory to exercise the patch above.
6248 Reported by Ralf Corsepius.
6250 2001-11-08 Kevin Ryde <user42@zip.com.au>
6252 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
6253 doesn't accept .S files.
6255 2001-11-07 Akim Demaille <akim@epita.fr>
6257 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
6258 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
6259 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
6260 * bin/autom4te.in (warn_forbidden): New.
6261 (handle_output): Use it.
6262 Read m4_pattern_forbid with messages.
6264 2001-11-05 Akim Demaille <akim@epita.fr>
6266 * bin/autom4te.in (--normalize): Remove.
6267 * lib/autom4te.in: Adjust.
6269 2001-11-05 Akim Demaille <akim@epita.fr>
6271 * tests/Makefile.am (testsuite): Rename this target as...
6272 ($(TESTSUITE)): this.
6275 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
6277 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
6278 the --prefix option, also remove it's argument.
6280 2001-11-05 Akim Demaille <akim@epita.fr>
6282 * doc/autoconf.texi (testsuite Invocation): Update.
6283 (Writing testsuite.at): Update.
6285 2001-11-03 Akim Demaille <akim@epita.fr>
6287 * doc/autoconf.texi: s/@code/@command/ where appropriate.
6289 2001-11-03 Akim Demaille <akim@epita.fr>
6291 * lib/Autom4te/General.pm: (&catfile, &canonfile)
6292 (&file_name_is_absolute): New, wrappers around routines from
6294 Use and export them.
6295 (&find_configure_ac): Optionally take a directory where to look at.
6296 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
6298 Default @ARGV to `.', not find_configure_ac.
6299 (&autoreconf): Argument is a directory.
6300 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
6301 * doc/autoconf.texi (autoreconf Invocation): Update.
6303 2001-11-03 Akim Demaille <akim@epita.fr>
6305 * lib/Autom4te/General.pm (@export_vars, @export_subs)
6306 (@export_forward_subs): New.
6307 Add basename, dirname, and fileparse.
6309 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
6310 Don't look for aclocal flags if we already know aclocal is not
6312 Move aclocal.m4t only if it exists.
6313 Reported by Ezra Peisach.
6315 2001-11-03 Akim Demaille <akim@epita.fr>
6317 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
6318 passed on command line, defaulting to ./configure.ac if present.
6319 (&maybe_autoreconf, File::Find): Remove, unused.
6320 (&autoreconf): If autoconf is not used, don't try to trace.
6322 2001-11-02 Akim Demaille <akim@epita.fr>
6324 * configure.ac: Bump to 2.52g.
6326 2001-11-02 Akim Demaille <akim@epita.fr>
6330 2001-11-02 Akim Demaille <akim@epita.fr>
6332 * config/config.guess, config/config.sub, doc/standards.texi:
6333 * config/lispdir.m4: Update from masters.
6334 * configure.ac: Bump to 2.52f.
6336 2001-11-02 Akim Demaille <akim@epita.fr>
6338 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6339 Don't run aclocal when aclocal.m4 is not from aclocal.
6341 Don't run libtoolize and gettextize if --install is not given.
6343 2001-11-01 Paul Eggert <eggert@twinsun.com>
6345 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6346 be invoked before _AS_LINENO_PREPARE.
6347 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6348 than character ranges.
6350 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6351 invoking AS_BASENAME. Set the locale variables to 'C' if
6352 possible, as POSIX requires this to get the traditional
6354 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6356 2001-10-31 Paul Eggert <eggert@twinsun.com>
6358 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6359 with {}, as that triggers a bug in Bash 2.05.
6361 (_AS_LINENO_PREPARE): Use Sed rather than
6362 Awk. Fix the sed prepass to work even if there are multiple
6363 instances of $LINENO on the same line. Do not substitute for
6364 other variables like $LINENOT. Do not check file dates; such a
6365 check is unreliable on sufficiently fast machines, and removing
6366 the check makes the code simpler and more reliable. Check for
6367 output and chmod failures.
6369 * doc/autoconf.texi (Special Shell Variables): Document
6372 2001-10-31 Akim Demaille <akim@epita.fr>
6374 * tests/Makefile.am (atconfig): Remove this target, Automake
6377 2001-10-31 Akim Demaille <akim@epita.fr>
6379 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6380 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6381 provided, while it is optional.
6382 * configure.ac: Adjust.
6384 2001-10-26 Paul Eggert <eggert@twinsun.com>
6386 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6387 lib/Autom4te/Struct.pm:
6388 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6391 * doc/autoconf.texi (Special Shell Variables): Document some
6392 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6394 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6395 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6396 eval $LINENO is not portable in practice.
6398 2001-10-24 Akim Demaille <akim@epita.fr>
6400 * lib/Autom4te/General.pm (backname): New.
6402 2001-10-24 Akim Demaille <akim@epita.fr>
6404 * m4/: Remove, merged into...
6407 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6409 * doc/autoconf.texi (Shellology): Mention the problems with bash
6410 2.05's use of ANSI quoting in its `set' builtin.
6412 2001-10-22 Paul Eggert <eggert@twinsun.com>
6414 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6415 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6416 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6417 POSIX decided to standardize on the int flavor of strerror_r.
6418 Always do char* test, as there's no reason not to.
6419 Assign to a char* var, to catch strerror_r that returns int*.
6421 * doc/autoconf.texi (Particular Functions):
6422 Document the above changes. Also, document the fact that
6423 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6425 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6427 2001-10-20 Akim Demaille <akim@epita.fr>
6429 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6430 the executable was missing from the log.
6432 2001-10-20 Akim Demaille <akim@epita.fr>
6434 * lib/Autom4te/General.pm (&update_file): If destination is
6435 unchanged, remove the source.
6436 (&up_to_date_p): Don't be verbose, be debug.
6437 * bin/autoreconf.in: No longer support --m4dir.
6438 (&autoreconf): Display the full path of the configure.ac we are
6441 Be sure to honor --force with gettextize.
6443 * doc/autoconf.texi: Adjust.
6445 2001-10-20 Akim Demaille <akim@epita.fr>
6447 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6449 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6450 `intl' is already present, as it refuses unless --force.
6451 (&parse_args): Use -I, --include instead of the old Autoconf
6453 ($localdir, $autoconf_dir): Remove.
6455 (&maybe_autoreconf): New, to preserve $_ for File::Find.
6457 2001-10-19 Jens Petersen <petersen@redhat.com>
6459 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6460 * doc/autoconf.texi (Particular Programs): Likewise.
6462 2001-10-19 Akim Demaille <akim@epita.fr>
6464 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6465 file in @configure_input@.
6466 Don't mention `automatically' in addition to `generated'.
6467 * tests/torture.at (#define header templates): Adjust.
6469 2001-10-19 Akim Demaille <akim@epita.fr>
6471 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6472 comment, explain how to install automatic mode selection.
6475 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6477 * bin/autoreconf.in (autoreconf): Display the path to the
6478 configure.ac being studied.
6480 2001-10-18 Paul Eggert <eggert@twinsun.com>
6482 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6483 long, to work around a bug in the HP C compiler version HP92453-01
6486 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6487 (AS_BASENAME_EXPR): New macro.
6488 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6489 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6490 and fall back on 'sed' only if the other two fail. This makes
6491 AS_BASENAME act more like AS_DIRNAME.
6492 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6493 contains white space.
6494 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6495 Use AS_DIRNAME, since I think it's now DOS-friendly.
6496 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6497 Allow "dirname //FOO" to return either / or //, as POSIX allows
6500 2001-10-10 Akim Demaille <akim@epita.fr>
6502 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6503 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6506 2001-10-10 Akim Demaille <akim@epita.fr>
6508 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6510 (_AS_ECHO_N): AS_REQUIREs it.
6512 2001-10-10 Akim Demaille <akim@epita.fr>
6514 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6515 (AC_INCLUDES_DEFAULT): Move to...
6516 * lib/autoconf/headers.m4: here.
6517 * lib/autoconf/types.m4: Comment changes.
6518 * doc/autoconf.texi: Specify where the default includes are used
6519 in the macro prototypes.
6521 2001-10-09 Akim Demaille <akim@epita.fr>
6523 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6526 2001-10-08 Akim Demaille <akim@epita.fr>
6528 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6529 (&parse_args): Pass verbosity/debugging options to subtools when
6530 --debug, not when --verbose.
6531 * lib/autom4te.in (Autoreconf-preselections): New.
6534 2001-10-08 Akim Demaille <akim@epita.fr>
6536 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6538 2001-10-08 Akim Demaille <akim@epita.fr>
6540 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6541 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6543 2001-10-08 Akim Demaille <akim@epita.fr>
6545 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6546 (Syntax of the shell scripts): Don't.
6547 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6548 bother with $force since...
6549 * lib/Autom4te/General.pm: does.
6551 2001-10-08 Akim Demaille <akim@epita.fr>
6553 * bin/autoreconf.in: Rewrite in Perl.
6554 * configure.ac: Adjust.
6555 * lib/Autom4te/General.pm (&up_to_date_p): New.
6556 * bin/autom4te.in (&up_to_date_p): Use it.
6558 (&up_to_date): this.
6560 2001-10-08 Akim Demaille <akim@epita.fr>
6562 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6563 (m4_list_cmp): Use $0 to reinvoke yourself.
6564 (m4_patsubsts): New.
6565 (m4_strip, m4_version_unletter): Use it.
6566 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6568 2001-10-08 Akim Demaille <akim@epita.fr>
6570 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6571 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6572 * lib/autoconf/types.m4, lib/autotest/general.m4,
6573 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6574 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6575 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6576 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6578 2001-10-08 Akim Demaille <akim@epita.fr>
6580 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6582 2001-10-08 Akim Demaille <akim@epita.fr>
6584 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6585 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6586 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6587 * tests/tools.at, tests/m4sh.at: Use it.
6588 * tests/m4sh.at: Don't rely on Autoconf macros.
6589 (DIRNAME_TEST): Also exercise the expr variant.
6590 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6591 preferred M4sugar extension is now `.4s'.
6592 * tests/README: Remove.
6594 2001-10-08 Akim Demaille <akim@epita.fr>
6596 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6597 (m4_provide_if): this.
6598 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6599 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6600 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6601 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6603 2001-10-08 Akim Demaille <akim@epita.fr>
6605 Use `add-log-current-defun-function' for ChangeLog creation.
6606 Suggested by Tom Tromey.
6608 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6609 (autotest-mode): Adjust.
6610 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6611 'comment-region onto `C-c ;'.
6612 Comments are `#', not `dnl'.
6613 (autoconf-current-defun): New.
6614 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6616 2001-10-08 Akim Demaille <akim@epita.fr>
6618 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6619 * lib/m4sugar/m4sh.m4: here.
6620 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6621 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6622 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6623 include handle the m4_pattern_*, no longer push the
6624 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6625 * lib/autotest/general.m4 (AT_INIT): Likewise.
6626 * tests/base.at: Adjust the tests to use AS_INIT.
6627 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6628 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6631 2001-10-07 Paul Eggert <eggert@twinsun.com>
6633 * doc/autoconf.texi (config.status Invocation):
6634 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6636 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6637 shell does not support LINENO, and if CONFIG_SHELL is unset or
6638 empty, and if we can find a shell that does support LINENO,
6639 then set CONFIG_SHELL to that shell and then re-execute
6640 ourselves with CONFIG_SHELL.
6642 2001-10-05 Paul Eggert <eggert@twinsun.com>
6644 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6645 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6646 build of $(TESTSUITE).
6648 2001-10-05 Akim Demaille <akim@epita.fr>
6650 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6651 iff we are a bareword.
6652 Reported by Raja R Harinath.
6654 2001-10-05 Akim Demaille <akim@epita.fr>
6656 * tests/m4sh.at (LINENO): New.
6657 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6658 PATH_SEPARATOR before using it.
6659 Fix the absolute path case/esac pattern.
6660 Provide $0 as fallback for as_myself.
6661 Reported by Raja R Harinath.
6663 2001-10-05 Akim Demaille <akim@epita.fr>
6665 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6666 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6668 2001-10-05 Akim Demaille <akim@epita.fr>
6670 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6671 (AS_SHELL_SANITIZE): here. Use it.
6672 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6675 2001-10-04 Akim Demaille <akim@epita.fr>
6677 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6678 combination of Awk and sed to replace $LINENO.
6680 2001-10-02 Paul Eggert <eggert@twinsun.com>
6682 * doc/autoconf.texi (Limitations of Builtins): You can't use
6683 "source"; it's not portable. Remove confusing and
6684 somewhat-incorrect example involving "." and "/".
6686 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6687 compatibility with POSIX shells.
6689 2001-10-02 Akim Demaille <akim@epita.fr>
6691 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6692 instead of exec'ing to preserve $0 and $@.
6694 2001-10-01 Akim Demaille <akim@epita.fr>
6696 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6697 Don't run twice the same test.
6699 2001-10-01 Akim Demaille <akim@epita.fr>
6701 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6702 No longer output the list of tests.
6703 <--list>: New option.
6704 <--full-help>: Remove.
6705 Complete the short/long options duality.
6706 Various small adjustments.
6708 2001-10-01 Akim Demaille <akim@epita.fr>
6710 * doc/autoconf.texi: Use @kbd for user input.
6711 Always use `$' as shell prompt.
6713 2001-09-30 Paul Eggert <eggert@twinsun.com>
6715 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6716 Don't use nested parenthesization. This patch was originally
6717 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6718 but somehow it didn't get incorporated then.
6719 * doc/autoconf.texi (Limitations of Usual Tools):
6720 Clarify remark about sed and nested parenthesization.
6722 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6723 Report an error if the size cannot be determined even though
6725 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6726 Check for `expr' arithmetic overflow, and for compilation failure,
6727 and invoke a new argument $4 if either is discovered.
6728 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6729 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6731 2001-09-28 Akim Demaille <akim@epita.fr>
6733 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6734 * m4/lispdir.m4: New.
6735 * aclocal.m4, configure.ac: Adjust.
6737 2001-09-28 Akim Demaille <akim@epita.fr>
6739 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6741 (AT_INIT): More the wrapped section to where it will be expanded.
6742 Output `AT_tested' only when existing.
6743 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6745 2001-09-27 Akim Demaille <akim@epita.fr>
6747 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6748 generates too many bug reports.
6750 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6751 status when executing the ACTION-IF-FALSE.
6752 * tests/base.at (AC_TRY_*): Rename as...
6753 (AC_TRY_COMMAND): this.
6754 (AC_RUN_IFELSE): New.
6755 * tests/compile.at (Extensions, C keywords)
6756 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6757 (Broken/missing compilers, AC_PROG_CPP with warnings)
6758 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6759 * tests/c.at (Extensions, C keywords)
6760 (Broken/missing compilers, AC_PROG_CPP with warnings)
6761 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6762 (AC_PROG_CPP requires AC_PROG_CC): here and...
6763 * tests/fortran.at (GNU Fortran 77): there.
6764 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6765 AC_TRY_RUN is about compilation, not shell commands.
6766 (Test Programs): AC_TRY_RUN works as used to be advertised.
6768 2001-09-27 Akim Demaille <akim@epita.fr>
6770 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6772 Be sure to detect when $LINENO always returns the same value.
6773 Look for the original script, basename($0) is certainly not
6775 Pass the CLI arguments to `$as_me.lineno'.
6777 2001-09-25 Akim Demaille <akim@epita.fr>
6779 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6780 Be sure the close and reopen the LOG fd before and after using tee
6782 <at_tests_pattern>: Adjust to the new format of at_help_all.
6784 2001-09-23 Akim Demaille <akim@epita.fr>
6786 * bin/autom4te.in (parse_args): There can be several invocations
6789 2001-09-23 Akim Demaille <akim@epita.fr>
6791 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6793 2001-09-23 Akim Demaille <akim@epita.fr>
6795 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6796 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6797 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6798 builddir, buildpath, top_builddir, and top_buildpath.
6799 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6800 the current directory.
6801 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6802 variables *before* changing the current directory.
6803 Skip nonexistent dirs.
6804 * doc/autoconf.texi (Preset Output Variables): Document these
6807 * lib/autotest/general.m4: Do not reset AT_victims.
6808 Don't compute at_srcdir nor at_top_srcdir.
6810 * tests/tools.at: Hence use top_srcdir.
6812 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6813 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6815 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6816 * tests/wrapsh.in, tests/autoupdate.in: New.
6817 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6818 * configure.ac: Build the position independent wrappers.
6820 * man/Makefile.am: Now that test wrappers are position
6821 independent, use them and drop dark envvar magic.
6823 2001-09-23 Akim Demaille <akim@epita.fr>
6825 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6826 (Programming in M4sh): this.
6827 Promote to @section.
6829 2001-09-23 Akim Demaille <akim@epita.fr>
6831 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6832 Pass $at_debug_args to the rerun test suite.
6833 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6834 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6837 2001-09-23 Akim Demaille <akim@epita.fr>
6839 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6841 2001-09-23 Akim Demaille <akim@epita.fr>
6843 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6846 2001-09-23 Akim Demaille <akim@epita.fr>
6848 * lib/Autom4te/General.pm (&debug): New.
6849 * bin/autom4te.in ($language): Move to...
6851 Handle --language in languages.
6852 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6853 (Autoscan-selections): New.
6856 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6858 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6859 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6860 to match current versions from CVS Automake.
6862 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6864 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6867 2001-09-22 Akim Demaille <akim@epita.fr>
6869 * lib/autoconf/autotest.m4: Create `package.m4'.
6870 * tests/Makefile.am (package.m4): Remove.
6872 2001-09-22 Akim Demaille <akim@epita.fr>
6874 Rely on `$LINENO' when possible instead of `__oline__'.
6876 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6877 `$LINENO' support replacement when not supported.
6878 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6879 them explicitly to be sure they are not output before this section
6880 (via m4_require). Cosmetic only.
6881 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6882 * lib/autoconf/programs.m4: Replace all the occurrences of
6883 `__oline__' with `$LINENO'.
6884 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6886 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6888 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6889 character (u: -> ue) in a code comment.
6890 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6893 2001-09-21 Akim Demaille <akim@epita.fr>
6895 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6896 Suggested by Jim Meyering.
6898 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6900 * lib/autoconf/programs.m4: Use extensions listed in
6901 $ac_executable_extensions when looking for programs.
6903 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6905 * lib/autoconf/general.m4: Fix a small Englisho.
6906 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6907 setting up ac_dir_suffix and ac_top_builddir.
6908 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6910 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6912 * doc/autoconf.texi (File System Conventions): Clarify the use of
6914 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6915 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6916 be used instead of ':'.
6917 * lib/autotest/general.m4: Replace occurrences of ':' in
6918 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6920 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6922 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6923 arguments. Fixed a typo.
6925 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6927 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6928 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6930 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6932 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6933 * bin/autoupdate.in: Ditto.
6934 * bin/autoheader.in: Reworded a few comments.
6935 * bin/autoconf.in: Reworded help text for a few options.
6936 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6937 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6939 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6941 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6942 already have $file). Set output files to binary mode (helps avoid
6943 CR issues on DOSish systems).
6945 2001-09-19 Akim Demaille <akim@epita.fr>
6947 * lib/autotest/general.m4: Englishoes.
6948 From Tim Van Holder and Alexey Mahotkin.
6950 2001-09-18 Paul Eggert <eggert@twinsun.com>
6952 * doc/autoconf.texi (Common Shell Constructs): New node,
6953 documenting AS_DIRNAME.
6954 (Limitations of Usual Tools): Refer to it when discussing dirname.
6955 Also, update discussion of POSIX standard to reflect latest draft.
6957 * lib/autoconf/c.m4:
6958 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6960 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6961 Do not pass a first argument with leading '-'
6962 to expr, by parenthesizing initial integers that might be negative.
6964 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6965 now merely checks whether it is an error to pass an argument
6968 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6969 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6970 whether it is a (compile-time) error to pass an argument to
6971 getpgrp. This simpler test supports the revised documentation,
6972 and is all that AC_FUNC_GETPGRP's users really need.
6974 2001-09-18 Akim Demaille <akim@epita.fr>
6976 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6978 2001-09-18 Akim Demaille <akim@epita.fr>
6980 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6982 * lib/autotest/general.m4 (AT_INIT): Adjust.
6984 2001-09-18 Paul Wagland <paul@wagland.net>
6986 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6988 Add test for AS_BASENAME.
6989 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6990 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6991 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6992 * tests/base.at: Fixed the expected responses. The old ones were
6994 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6995 the documentation claims it should (and how it behaved in 2.13).
6997 2001-09-18 Akim Demaille <akim@epita.fr>
6999 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
7000 the AC_CONFIG_COMMANDS invocation.
7001 This also solves the name clash problems.
7002 Don't set the package's ID.
7003 * lib/m4sugar/Makefile.am (version.m4): Revamp.
7004 No longer to be shipped.
7005 (version.in): Remove.
7006 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
7007 * lib/autoconf/status.m4: Adjust.
7008 Use `m4_PACKAGE_STRING'.
7009 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
7010 the only optional argument is the name of the test suite.
7011 Expect `package.m4' to define the package signature.
7012 * lib/autom4te.in (Autotest): Add `package.m4?'.
7013 * tests/Makefile.am (package.m4): New.
7014 * tests/suite.at: ifnames is a victim.
7016 2001-09-18 Akim Demaille <akim@epita.fr>
7018 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
7019 AC_LIBSOURCE, AC_CONFIG_FILES.
7020 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
7021 program version string doesn't match the package's.
7022 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
7025 2001-09-17 Paul Eggert <eggert@twinsun.com>
7027 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7028 Allow expression to return any value that can fit into unsigned long
7029 (not int, as before). Check for output errors.
7031 2001-09-17 Bruno Haible <haible@ilog.fr>
7033 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7034 Always include <stdio.h> and <stdlib.h>. Evaluate
7035 the expression in an extra function before these includes. Call
7036 fprintf "%d" only after ensuring the argument is of type 'int'.
7037 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
7039 2001-09-17 Paul Eggert <eggert@twinsun.com>
7041 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
7042 or CFLAGS=-O5. In that case, the linker has a relaxed view of
7043 fatal errors, and AC_CHECK_LIB causes it to include libraries even
7044 when they don't exist.
7046 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
7047 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
7050 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
7051 version with the version used by fileutils 4.1, except use
7052 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
7055 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
7057 2001-09-13 Akim Demaille <akim@epita.fr>
7059 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
7061 Reported by Gerrit P. Haase.
7063 2001-09-13 Akim Demaille <akim@epita.fr>
7065 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
7066 m4_defn'ing is valid.
7068 2001-09-13 Akim Demaille <akim@epita.fr>
7070 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
7071 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
7074 2001-09-13 Akim Demaille <akim@epita.fr>
7076 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
7078 (m4_re_escape): New.
7079 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
7080 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
7081 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
7083 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
7084 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
7085 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
7086 AT_tests_all for consistency.
7088 (AT_VICTIMS): Similar to AT_KEYWORDS.
7089 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
7091 2001-09-13 Akim Demaille <akim@epita.fr>
7093 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
7095 2001-09-13 Akim Demaille <akim@epita.fr>
7097 * lib/autotest/general.m4 (AT_INIT): Create and remove
7098 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
7099 test suites can cohabit.
7101 2001-09-13 Akim Demaille <akim@epita.fr>
7103 * tests/mktests.sh: Don't output banners for empty test files.
7105 2001-09-13 Akim Demaille <akim@epita.fr>
7107 Test suites can be run independently of configure.
7109 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
7110 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
7111 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
7113 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
7115 * lib/autotest/general.m4: Use ECHO_*.
7117 2001-09-13 Akim Demaille <akim@epita.fr>
7119 * bin/ifnames.in: Rewrite in Perl.
7120 * configure.ac: Don't look for AWK.
7121 * tests/tools.at (AWK portability): Remove.
7122 (Syntax of the shell scripts): Don't check ifnames.
7123 (AT_CHECK_PERL_SYNTAX): New.
7124 (Syntax of the Perl scripts): Check ifnames.
7125 * tests/ifnames: New.
7127 2001-09-13 Akim Demaille <akim@epita.fr>
7129 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
7131 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
7132 Remove all the other keywords.
7134 2001-09-10 Akim Demaille <akim@epita.fr>
7136 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
7137 SETUP: no longer used.
7138 Support -k, --keywords.
7139 <at_help>: Be `no', `short', or `long'.
7140 <at_help_all>: New variable.
7142 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
7143 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
7144 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
7145 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
7146 No longer fill the HELP diversion.
7147 (AT_CLEANUP): Use them.
7148 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
7149 (m4_list_append): Remove.
7151 Spread a few keywords in the Autoconf test suite.
7153 2001-09-10 Akim Demaille <akim@epita.fr>
7155 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
7156 PATH_SEPARATOR, let M4sh compute it.
7157 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
7158 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
7160 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
7161 Simplify when the path is not a literal.
7162 (AS_UNAME): Use it to report PATH.
7163 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
7164 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
7165 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
7166 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
7167 normalize the path, and to look for victims.
7168 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
7169 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
7171 2001-09-07 Akim Demaille <akim@epita.fr>
7173 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
7174 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
7175 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
7176 related variables into `at_package_*'.
7177 * lib/autotest/general.m4 (AT_VICTIMS): New.
7178 (AT_INIT): Adjust for stand-alone/embedded test suites.
7179 (AS_MESSAGE_LOG_FD): Define and use it.
7180 * tests/suite.at (AT_VICTIMS): Use it.
7181 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
7184 2001-09-07 Akim Demaille <akim@epita.fr>
7186 Move toward possibly stand-alone test suites.
7188 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
7189 in addition, it introduces useless differences in logs.
7190 (AT_INIT): Let atconfig and atlocal be both optional.
7191 Adjust PATH computation.
7192 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
7194 2001-09-07 Akim Demaille <akim@epita.fr>
7196 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
7199 2001-09-05 Akim Demaille <akim@epita.fr>
7201 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
7202 to avoid GCC warnings.
7205 2001-09-05 Akim Demaille <akim@epita.fr>
7207 * bin/autom4te.in: --language is -l, not -s.
7209 2001-09-05 Akim Demaille <akim@epita.fr>
7211 Be ready to handle filenames as stupid as `dnl.at', for if even
7212 the maintainer is dumb enough to do that...
7214 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
7215 excellence in M4 quotation: consider `__file__' is active.
7217 And BTW, when invoking m4, pass the --include in the right order:
7220 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
7223 2001-09-05 Akim Demaille <akim@epita.fr>
7225 * lib/Autom4te/XFile.pm: New lib file.
7226 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
7227 * bin/autoheader.in: Use it.
7229 2001-09-05 Akim Demaille <akim@epita.fr>
7231 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
7234 2001-09-05 Akim Demaille <akim@epita.fr>
7236 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
7237 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
7239 * bin/autoscan.in: Use `getopt' and `find_files' etc.
7240 Add -I, --include support.
7241 * doc/autoconf.texi (autoscan Invocation): Adjust.
7243 2001-09-05 Akim Demaille <akim@epita.fr>
7245 CVS GNU M4 doesn't like `undefine(undefined)'.
7247 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
7248 New, extracted from main.
7249 Use IO::File wherever possible.
7250 (input.m4): Be constant, use -I instead of hard coding $tmp.
7251 Therefore be a quoted heredoc.
7252 Don't invoke `_au_disable', since ac was not loaded, but just
7255 2001-08-31 Akim Demaille <akim@epita.fr>
7259 2001-08-31 Akim Demaille <akim@epita.fr>
7261 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
7263 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
7265 2001-08-31 Akim Demaille <akim@epita.fr>
7267 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
7268 serious problems handling heredocs in heredocs.
7269 Reported by Nicolas Joly.
7271 2001-08-31 Akim Demaille <akim@epita.fr>
7273 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
7274 (Making testsuite Scripts): Update.
7276 2001-08-31 Akim Demaille <akim@epita.fr>
7278 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
7280 2001-08-31 Akim Demaille <akim@epita.fr>
7282 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
7283 (testsuite Scripts): There is no such thing as `atconfig.in'.
7284 And actually one diagram is missing: test suite runtime.
7286 2001-08-31 Akim Demaille <akim@epita.fr>
7288 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
7291 2001-08-31 Akim Demaille <akim@epita.fr>
7293 * bin/autoupdate.in (@include): `installcheck' revealed the path
7294 to m4sugar was lacking!
7296 2001-08-31 Akim Demaille <akim@epita.fr>
7298 * man/Makefile.am (.x.1): We really have to pass
7299 autom4te_perllibdir.
7301 2001-08-31 Akim Demaille <akim@epita.fr>
7303 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
7304 debug scripts, in particular passing explicitly listed tests to
7307 2001-08-31 Akim Demaille <akim@epita.fr>
7309 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
7310 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
7311 Use directly autom4te, not autoconf.
7312 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
7314 2001-08-31 Akim Demaille <akim@epita.fr>
7316 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
7317 * bin/autoheader.in (%symbol): Strip arguments of macros.
7319 2001-08-31 Akim Demaille <akim@epita.fr>
7321 * doc/autoconf.texi: Catch up -I, --include changes.
7323 2001-08-31 Akim Demaille <akim@epita.fr>
7325 * bin/autom4te.in (&parse_args): Die on unknown languages.
7326 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
7328 Promote --include over --macrodir and other obsolete options.
7330 2001-08-31 Akim Demaille <akim@epita.fr>
7332 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7333 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7334 * bin/autom4te.in ($autoconf): Pass --force.
7335 `print $out' doesn't print `$_' but `$out'.
7336 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7337 (autoheader): Pass --force since the test suite goes too fast for
7339 Adjust to the new autoheader messages.
7341 2001-08-31 Akim Demaille <akim@epita.fr>
7343 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7344 Check the completeness of the #template.
7345 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7346 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7349 2001-08-31 Akim Demaille <akim@epita.fr>
7351 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7352 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7353 Drop AC_MACRODIR dead for real.
7354 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7355 `autoheader: `config.hin' is created'.
7356 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7358 2001-08-31 Akim Demaille <akim@epita.fr>
7360 * bin/autoheader.in: Rewrite in Perl.
7361 * tests/autoheader: Adjust.
7363 2001-08-31 Akim Demaille <akim@epita.fr>
7365 * bin/autoconf.in (--include, -I): New option.
7366 Map --localdir, --autoconf-dir onto it.
7367 Forward autom4te's options instead of interpreting them.
7368 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7369 There is no such envvar since the inception of autom4te.cfg.
7370 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7371 * bin/autoupdate.in: Adjust, and perform more control.
7372 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7373 * tests/autoconf: Dittowise.
7375 2001-08-31 Akim Demaille <akim@epita.fr>
7377 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7378 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7380 Use -e, not -f, since /dev/null for instance is OK.
7381 (&parse_args): Adjust.
7382 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7384 2001-08-31 Akim Demaille <akim@epita.fr>
7386 * configure.ac: Also find tested executables in bin.
7387 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7388 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7389 installed peer executables, only PATH is allowed to resolve it.
7390 Pass `autoconf_dir' via options, not via invisible envvars.
7391 * lib/Autom4te/General.pm (&find_peer): Remove.
7392 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7393 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7394 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7395 find the executables for it.
7396 * tests/Makefile.am: Major cleanup. Too lazy to document...
7397 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7399 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7400 indeed related to running the test suite, while passing
7401 --autoconf-dir and others is related to running non installed
7402 Autoconf executables. So don't do that, leave it to...
7403 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7404 * tests/autoscan: New.
7405 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7406 refer to library files: rely on --language.
7408 2001-08-29 Akim Demaille <akim@epita.fr>
7410 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7411 s/--set/--language/.
7413 2001-08-29 Akim Demaille <akim@epita.fr>
7415 * doc/autoconf.texi: Strip the @nodes.
7416 Suggested by Paul Eggert.
7417 (Initializing configure): Typo.
7419 2001-08-29 Akim Demaille <akim@epita.fr>
7421 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7422 Suggested by Paul Eggert.
7424 2001-08-29 Akim Demaille <akim@epita.fr>
7426 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7427 download in a tmp dir.
7429 2001-08-29 Akim Demaille <akim@epita.fr>
7431 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7432 case insensitive OSes out there :(
7433 From Tim Van Holder.
7435 2001-08-29 Akim Demaille <akim@epita.fr>
7437 * lib/autom4te.in: New.
7438 * lib/Makefile.am (edit, autom4te.cfg): New.
7439 * bin/autom4te.in (BEGIN): Simplify.
7440 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7441 (&load_configuration): New. Use it.
7442 (&parse_args): Support --mode, --set, and --melt.
7443 * bin/autoconf.in: Simplify and adjust.
7444 * tests/Makefile.am (AUTOMAKE): Use --set.
7445 * tests/atlocal.in: Adjust.
7446 * BUGS: distcheck and check are weak.
7448 2001-08-29 Akim Demaille <akim@epita.fr>
7450 * lib/autotest/general.m4: Use
7451 foo=`(command) 2>/dev/null`
7453 foo=`command` 2>/dev/null
7454 (at-devnull): Rename as...
7456 (--clean): Remove AT-* files too.
7457 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7458 Reported by Nicolas Joly.
7460 2001-08-28 Akim Demaille <akim@epita.fr>
7462 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7463 quotes inside single quotes.
7464 Reported by Nicolas Joly.
7466 2001-08-28 Kevin Ryde <user42@zip.com.au>
7468 * doc/autoconf.texi (Function Portability): Mention C right shifts.
7470 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7472 * lib/autotest/general.m4: Reword some messages.
7473 (AT_INIT): Check for the `times' builtin before using it.
7474 Support test ranges as arguments to the testsuite.
7475 Have -e imply -d as the help text suggested.
7477 2001-08-27 Akim Demaille <akim@epita.fr>
7479 * Makefile.maint: Formatting changes.
7480 (do-po-update, po-update, cvs-update, update): New targets.
7483 2001-08-27 Akim Demaille <akim@epita.fr>
7485 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7487 Pass it to debug-*.sh scripts.
7488 <AUTOTEST_PATH>: May contain absolute dir names.
7490 2001-08-27 Akim Demaille <akim@epita.fr>
7492 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7493 Support `VAR=VAL' as arguments.
7494 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7495 may be set via the command line.
7497 2001-08-27 Akim Demaille <akim@epita.fr>
7499 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7500 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7501 first the build dirs, then the src dirs.
7502 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7504 2001-08-27 Akim Demaille <akim@epita.fr>
7506 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7507 at_data_files earlier.
7508 (--clean, -c): New option.
7509 * tests/Makefile.am: Use this option.
7511 2001-08-27 Akim Demaille <akim@epita.fr>
7513 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7514 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7517 * doc/autoconf.texi (Configuration Actions): Document the vars
7518 available in commands.
7519 Emphasize the risks of collisions in init-cmds.
7521 2001-08-27 Akim Demaille <akim@epita.fr>
7523 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7524 (Initializing configure): this new node.
7526 2001-08-27 Akim Demaille <akim@epita.fr>
7528 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7530 2001-08-27 Akim Demaille <akim@epita.fr>
7532 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7533 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7535 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7537 2001-08-27 Akim Demaille <akim@epita.fr>
7539 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7541 * lib/autoconf/autoheader.m4: this new file.
7542 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7543 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7545 * lib/autoconf/autoupdate.m4: this new file.
7547 2001-08-27 Akim Demaille <akim@epita.fr>
7549 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7550 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7551 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7553 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7554 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7556 2001-08-27 Akim Demaille <akim@epita.fr>
7558 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7559 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7560 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7561 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7562 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7563 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7564 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7565 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7566 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7567 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7568 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7569 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7570 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7571 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7572 (_AC_OUTPUT_SUBDIRS): Move to...
7573 * lib/autoconf/status.m4: this new file.
7574 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7575 * tests/Makefile.am, tests/suite.at: Adjust.
7577 2001-08-27 Akim Demaille <akim@epita.fr>
7581 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7582 (AMTAR): Help automake define it.
7583 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7584 needed, 1.5 can have a macro and a target with the same name.
7585 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7587 * m4/init.m4, m4/sanity.m4: Update.
7588 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7589 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7590 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7591 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7593 2001-08-27 Akim Demaille <akim@epita.fr>
7595 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7597 * lib/autoconf/version.in: Remove.
7598 * lib/m4sugar/version.in: New.
7599 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7601 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7602 the name of the directory they're in, instead of the filename,
7603 since version.m4 is now in m4sugar, but m4_acversion must not be
7604 classified as an Autoconf macro.
7605 ($input_m4): Don't qualify the path to m4sugar.
7606 Rather, pass autoconf_dir to m4.
7607 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7608 * tests/suite.at: Require 2.52c.
7610 2001-08-27 Akim Demaille <akim@epita.fr>
7612 testsuite.log should include config.log.
7614 * lib/autotest/autotest.m4: New.
7615 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7616 * tests/suite.at : Adjust.
7617 (AT_INIT): Log config.log.
7618 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7619 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7620 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7621 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7622 of config.log on traps.
7623 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7624 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7626 Open the log as soon as possible.
7627 Use the same log introduction as configure's.
7629 2001-08-22 Paul Eggert <eggert@twinsun.com>
7631 * doc/autoconf.texi (Indices): New node.
7632 Move indices out of the top level menu and into this submenu.
7634 2001-08-22 Akim Demaille <akim@epita.fr>
7636 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7638 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7640 2001-08-22 Akim Demaille <akim@epita.fr>
7642 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7643 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7644 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7645 * lib/autoconf/programs.m4: here.
7646 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7647 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7648 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7649 * lib/autoconf/programs.m4: here.
7650 (_AC_DECL_YYTEXT): Rename as...
7651 (_AC_PROG_LEX_YYTEXT_DECL): this.
7652 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7653 * tests/Makefile.am, tests/suite.am: Adjust.
7655 2001-08-22 Akim Demaille <akim@epita.fr>
7657 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7659 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7661 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7662 * lib/autoconf/functions.m4: here.
7663 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7664 (AH_CHECK_LIB): Move to...
7665 * lib/autoconf/libs: this new file.
7666 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7667 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7668 * lib/autoconf/libs.m4: here.
7669 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7671 2001-08-22 Akim Demaille <akim@epita.fr>
7673 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7674 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7675 (AC_SITE_LOAD): Better logging of config.site.
7677 2001-08-20 Akim Demaille <akim@epita.fr>
7679 * configure.ac (AT_CONFIG): Fix the path.
7680 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7683 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7685 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7686 program with AC_LANG_PROGRAM before feeding it to
7687 AC_COMPILE_IFELSE. Cleanup grep usage.
7689 2001-08-20 Akim Demaille <akim@epita.fr>
7691 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7692 * NEWS, README, README-alpha, TODO, tests/README: This package is
7693 `Autoconf', not `autoconf' (the executable).
7695 2001-08-20 Akim Demaille <akim@epita.fr>
7697 Info readers seem to need `Index' in the index node title :(
7699 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7700 simplified index node names.
7702 2001-08-20 Akim Demaille <akim@epita.fr>
7704 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7705 arguments are not literals.
7706 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7707 Specify the output variables, and macros defined.
7709 2001-08-20 Akim Demaille <akim@epita.fr>
7711 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7712 (Examining Syntax) <AC_TRY_COMPILE>
7713 (Examining Libraries) <AC_TRY_LINK>
7714 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7716 Reported by Werner Lemberg.
7718 2001-08-20 Akim Demaille <akim@epita.fr>
7720 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7721 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7722 Load atlocal late enough to dump it in the log.
7723 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7725 2001-08-20 Akim Demaille <akim@epita.fr>
7727 * tests/torture.at (Configuring subdirectories): New test.
7728 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7730 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7731 (top_srcdir): Fix its computation.
7733 2001-08-20 Akim Demaille <akim@epita.fr>
7735 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7736 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7738 Create `atconfig' automagically.
7739 Configure atlocal.in if present.
7740 * tests/atconfig.in: Remove.
7741 * tests/atlocal.in: New.
7742 * tests/Makefile.am: Adjust.
7744 2001-08-20 Akim Demaille <akim@epita.fr>
7746 Huh!?!?! There are still some user EOF tags used, which prevents
7747 their use in AC_CONFIG_COMMANDS for instance...
7749 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7750 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7751 `_CSEOF', or `_ATEOF', as appropriate.
7752 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7753 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7755 2001-08-20 Akim Demaille <akim@epita.fr>
7757 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7758 * tests/semantics.at, tests/tools.at, tests/torture.at:
7759 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7761 2001-08-20 Akim Demaille <akim@epita.fr>
7763 Autotest invokes M4sh's initialization.
7765 * lib/autotest/general.m4: Adjust the diversion names.
7766 (AT_INIT): Run AS_INIT.
7767 Use the BINSH diversion to invoke /bin/sh.
7768 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7769 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7771 2001-08-20 Akim Demaille <akim@epita.fr>
7773 Let M4sh have its own diversions.
7775 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7776 (_m4_divert(NOTICE)): Rename as...
7777 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7778 (_m4_divert(HEADER-COMMENT)): these.
7779 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7780 (_m4_divert(NOTICE)): New, for Libtool.
7781 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7782 long ago with `_m4_divert(GROW)'.
7783 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7785 2001-08-20 Akim Demaille <akim@epita.fr>
7787 * tests/base.at, tests/compile.at, tests/foreign.at,
7788 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7789 * tests/semantics.at, tests/suite.at, tests/tools.at,
7790 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7792 2001-08-20 Akim Demaille <akim@epita.fr>
7794 * bin/autom4te.in (handle_output): Handle @__@.
7796 2001-08-20 Akim Demaille <akim@epita.fr>
7798 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7799 * lib/autotest/general.m4: Adjust the license.
7801 2001-08-17 Paul Eggert <eggert@twinsun.com>
7803 * doc/autoconf.texi (Function Portability): Mention snprintf,
7804 following up on a suggestion by Kevin Ryde.
7806 2001-08-17 Akim Demaille <akim@epita.fr>
7808 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7809 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7811 2001-08-17 Akim Demaille <akim@epita.fr>
7813 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7814 `$0.log' as for projects where testsuite is in src, we'd have
7815 testsuite.log created in src.
7817 2001-08-17 Akim Demaille <akim@epita.fr>
7819 * bin/autom4te.in (&parse_args): Recognize --normalize.
7821 2001-08-17 Akim Demaille <akim@epita.fr>
7823 Start implementing the AC_CHECK_HEADER transition scheme.
7825 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7826 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7827 (AC_CHECK_HEADER): Use them.
7829 2001-08-17 Akim Demaille <akim@epita.fr>
7831 * doc/autoconf.texi: Work around Texinfo buglets.
7832 (Transformation Rules): One example is enough, users are expected
7833 to have their brains on. And BTW, use DESTDIR.
7834 (dvar): New macro. Use it.
7836 2001-08-17 Akim Demaille <akim@epita.fr>
7838 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7839 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7840 looking for ChangeLogs.
7842 2001-08-17 Akim Demaille <akim@epita.fr>
7844 * bin/autom4te.in: --normalize is a new option.
7845 * bin/autoconf.in: Use it.
7847 2001-08-17 Akim Demaille <akim@epita.fr>
7849 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7850 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7852 2001-08-16 Paul Eggert <eggert@twinsun.com>
7854 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7857 2001-08-15 Akim Demaille <akim@epita.fr>
7859 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7862 2001-08-15 Akim Demaille <akim@epita.fr>
7864 * doc/autoconf.texi (pr): New index.
7865 (prindex, findex): Use, merge, and output them.
7866 (Environment Variable Index, Output Variable Index)
7867 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7868 (Autotest Macro Index): Rename as...
7869 (Environment Variables, Output Variables,Preprocessor Symbols)
7870 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7871 * doc/install.texi: Use @command.
7872 (Environment Variables): Rename as...
7873 (Defining Variables): this.
7875 2001-08-15 Akim Demaille <akim@epita.fr>
7877 * doc/autoconf.texi (Function Portability): sprintf's return
7881 2001-08-15 Akim Demaille <akim@epita.fr>
7883 * Makefile.maint (CVS): New.
7884 (local-check): Run changelog-check. last.
7885 (alpha): Don't depend upon local-check, since...
7886 (cvs-dist): depends upon it.
7888 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7890 * tests/Makefile.am: Use a clean-local rule to remove
7891 autom4te.cache (it's a directory, not a file.
7892 * Makefile.am: Ditto (but maintainer-clean-local).
7894 2001-08-15 Akim Demaille <akim@epita.fr>
7896 * bin/autom4te.in (@m4_warning): New.
7897 (&handle_m4): Use it.
7898 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7899 warnings are issued at each run.
7900 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7903 2001-08-15 Akim Demaille <akim@epita.fr>
7905 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7906 don't waste time running `autoupdate --version' works.
7907 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7909 2001-08-13 Akim Demaille <akim@epita.fr>
7911 * doc/autoconf.texi (ma): Rename this index as...
7914 2001-08-13 Akim Demaille <akim@epita.fr>
7916 * Makefile.am: Remove dead code and dead comments.
7917 (pdf, html): New targets.
7918 * doc/autoconf.texi (Using Autotest): New chapter.
7919 * doc/Makefile.am (pdf): New targets.
7920 (CLEANFILES): Adjust.
7922 2001-08-13 Akim Demaille <akim@epita.fr>
7924 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7925 duration of the test suite.
7927 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7929 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7930 endianness for comparison instead of relying on AT_CHECK_ENV.
7932 2001-08-11 Paul Eggert <eggert@twinsun.com>
7934 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7935 to the INSTALL file.
7937 2001-08-11 Paul Eggert <eggert@twinsun.com>
7939 * NEWS: The autoconf manual now is distributed under the terms
7940 of the GNU Free Documentation License.
7942 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7943 Add an appendix "Copying This Manual" for the FDL.
7945 * doc/fdl.texi: New file, from
7946 <http://www.gnu.org/licenses/fdl.texi>.
7948 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7950 2001-08-10 Paul Eggert <eggert@twinsun.com>
7952 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7953 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7954 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7955 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7956 m4/sanity.m4, tests/README, tests/aclocal.m4,
7957 tests/atspecific.m4, tests/base.at, tests/compile.at,
7958 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7959 tests/semantics.at, tests/suite.at, tests/tools.at,
7960 tests/torture.at: Add copyright notice.
7962 * tests/mktests.sh: Update year in copyright notice.
7964 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7966 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7968 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7970 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7971 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7972 * doc/autoconf.texi (C Compiler Characteristics): Update
7973 documentation for AC_C_BIGENDIAN.
7975 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7977 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7978 magic values from an object file when cross-compiling.
7979 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7981 2001-08-10 Akim Demaille <akim@epita.fr>
7983 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7985 Suggested by Russ Allbery.
7987 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7989 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7990 current $prefix to the sub-configures.
7992 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7994 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7995 extension (needed on BeOS). Reported by Guido van Rossum.
7997 2001-08-09 Akim Demaille <akim@epita.fr>
7999 * bin/autom4te.in ($icache): Load it only if older than autom4te.
8001 2001-08-07 Akim Demaille <akim@epita.fr>
8003 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
8005 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
8006 No need to remove the files before and after the each test, before
8007 each test and at the end of the suite is enough.
8008 Display only the children `times', not the shell's.
8009 If the test failed or was skipped, at-times is not available.
8011 2001-08-07 Akim Demaille <akim@epita.fr>
8013 Always produce testsuite.log, including when there are no
8014 failures. This helps getting information on skipped tests, and
8015 duration of the tests. Err, implement the latter btw.
8017 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
8018 Dump information on the first run of each test.
8019 (AT_CLEANUP): Create `at-times' containing the duration of the
8022 2001-08-07 Akim Demaille <akim@epita.fr>
8024 The use of `dumpstat' revealed that `len' was used although it
8025 should not. m4_text_wrap was using it, but in the Autoconf world
8026 where it is legal. Hence (i) test M4sh in its own world, not
8027 Autoconf's, and (ii), ahem, fix the bug :)
8029 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
8030 does not like `' instead of [].
8031 (AT_INIT): Forbid `^_?AT_'.
8032 And don't output such tokens.
8033 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
8034 `script.as', and `autom4te.cache'.
8035 Remove `empty' and `macro' which are no longer used.
8036 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
8037 * tests/m4sugar.at: Use it.
8038 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
8040 2001-08-07 Akim Demaille <akim@epita.fr>
8042 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
8044 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
8046 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
8048 2001-08-04 Akim Demaille <akim@epita.fr>
8050 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
8051 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
8053 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
8054 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
8055 (AC_F77_MAIN): Likewise.
8057 2001-08-04 Akim Demaille <akim@epita.fr>
8059 Don't rely on M4sugar outputting the patterns in files, since we
8060 might process the output _without_ running m4, hence without these
8063 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
8064 * bin/autom4te.in (@Request::includes): Remove, unused.
8065 (@Request::source): Rename as...
8066 (@Request::input): this.
8067 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
8068 (&handle_output): Fetch the patterns from the traces.
8069 `$forbidden' and `$allowed' are constant: use m//o.
8070 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
8071 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
8073 2001-08-04 Akim Demaille <akim@epita.fr>
8075 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
8076 autoconf', i.e., in addition to caching traces, cache the output.
8078 * bin/autom4te.in (Request::cache): Rename as...
8079 (Request::id): this.
8080 ($cache, $icache, $tcache, $ocache): New.
8081 (&handle_m4): Save M4 output in the cache instead of $tmp.
8082 (&handle_output): Adjust.
8083 (&up_to_date_p): Check that the output cache is up to date too.
8084 (top level): Run `&handle_m4' iff force or the cache is invalid.
8085 Run `&handle_output' if the output cache is more recent.
8087 2001-08-04 Akim Demaille <akim@epita.fr>
8089 * bin/autom4te.in ($force): New.
8090 (&parse_args, &print_usage): -f, --force is a new option.
8091 (&handle_output): CPP directives might have spaces after `#'.
8092 (&parse_args): The first file only can be frozen.
8094 2001-08-04 Akim Demaille <akim@epita.fr>
8096 Don't let autom4te compute the `include' traces several times:
8097 first check that the trace cache file is up to date, and then
8098 compare its timestamp with that of the output.
8100 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
8101 the preamble. Don't require 5.005 as Autom4te::General does it,
8102 and better yet (use `use', not `require'!).
8103 * lib/Autom4te/Struct.pm: Rename the last occurrences of
8104 Class::Struct as Autom4te::Struct.
8105 * lib/Autom4te/General.pm (File::stat): Use it.
8106 (&mtime): New, export it.
8107 * bin/autom4te.in: Use it.
8108 Declare `$req' is invalid if it is outdated.
8109 Don't declare it valid before saving it if something went wrong.
8111 2001-08-04 Akim Demaille <akim@epita.fr>
8113 Autom4te shall not encode Autoconf data, and preselecting traces
8114 must be proposed to the users.
8116 * bin/autom4te.in (@required_trace): Remove.
8118 (&parse_args, &print_usage): -p, --preselect is a new option.
8119 (&up_to_date_p): Adjust.
8120 * bin/autoconf.in: Preselect some Autoconf macros.
8122 2001-08-04 Akim Demaille <akim@epita.fr>
8124 * tests/tools.at (autoconf --trace: user macros): Check traces on
8125 macros invoked without arguments, and macros invoked with multiple
8128 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
8130 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
8133 2001-08-03 Akim Demaille <akim@epita.fr>
8135 * bin/autoconf.in ($@): Work around the usual sh bug.
8138 2001-08-03 Akim Demaille <akim@epita.fr>
8140 Clean up the handling of the M4 builtins tracing exception.
8142 * bin/autom4te.in (Request::request): Don't complete M4 builtins
8144 (@m4_builtins): Rename as...
8145 (@m4_builtin): this.
8146 (%m4_builtin_alternate_name): New.
8147 (&parse_args): Complete the trace requests with alternate names.
8148 (&handle_traces): Hence no longer do it here.
8149 (&trace_requests): Remove, unused.
8151 2001-08-03 Akim Demaille <akim@epita.fr>
8153 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
8156 2001-08-03 Akim Demaille <akim@epita.fr>
8158 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
8159 (m4_divert_pop): Dump the whole diversion stack when a diversion
8161 * bin/autom4te.in (&handle_output): Remember of the first
8162 occurrence of a possibly undefined macro, not the last.
8163 Complain about the possibly undefined macros in the same order as
8164 the appear in the output.
8165 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
8166 * tests/tools.at (autoconf: forbidden tokens, basic)
8167 (autoconf: forbidden tokens, exceptions): No longer sort
8168 autoconf's stderr, as it is now deterministic.
8169 Check that `dnl' is caught.
8171 2001-08-01 Akim Demaille <akim@epita.fr>
8173 * configure.ac: Bump to 2.52c.
8175 2001-08-01 Akim Demaille <akim@epita.fr>
8179 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
8181 2001-08-01 Akim Demaille <akim@epita.fr>
8185 2001-08-01 Akim Demaille <akim@epita.fr>
8187 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
8190 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
8191 `END', as `Autom4te::General::END' will be triggered.
8192 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
8193 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
8194 system to run `mv', `rm', and `cmp'.
8196 2001-08-01 Akim Demaille <akim@epita.fr>
8198 * lib/Autom4te/General.pm (&unique): New.
8199 * bin/autoscan.in (&output): Use it to issue trace requests once.
8201 2001-08-01 Akim Demaille <akim@epita.fr>
8203 * lib/Autom4te/General.pm: New.
8204 * bin/autom4te.in (Autom4te::General): Use it.
8205 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
8206 (&find_configure_ac, &find_slave): Remove.
8207 * bin/autoscan.in: Likewise.
8208 * bin/autoupdate.in: Likewise.
8210 2001-08-01 Akim Demaille <akim@epita.fr>
8212 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
8213 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
8214 * bin: here, new directory.
8215 * lib/Autoconf: Rename as...
8216 * lib/Autom4te: this, to please case insensitive junkie OSes.
8218 2001-08-01 Akim Demaille <akim@epita.fr>
8220 * autom4te.in ($m4): Handle the --nesting-limit.
8221 * autoconf.in (M4): Remove.
8223 2001-08-01 Akim Demaille <akim@epita.fr>
8225 * autoconf.in ($AWK): Remove, no longer used.
8226 * test/tools.at: Use AT_CHECK_AUTOCONF.
8227 (AWK portability): Remove, for autoconf no longer uses AWK.
8228 (Syntax of the Perl scripts): New.
8229 * configure.ac: autoconf no longer needs an AWK with a good
8231 Use a static test on AC_PACKAGE_VERSION.
8232 * autom4te.in (&up_to_date_p): Output depends on the arguments.
8233 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
8234 * tests/atconfig.in (PERL): New.
8236 2001-08-01 Akim Demaille <akim@epita.fr>
8238 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
8239 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
8240 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
8241 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
8242 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
8243 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
8244 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
8245 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
8246 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
8247 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
8248 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
8249 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
8250 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
8251 * lib/autoconf/c.m4: here, new file.
8253 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
8254 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
8255 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
8256 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
8257 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
8258 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
8259 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
8260 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
8261 (AC_F77_FUNC): Move to...
8262 * lib/autoconf/fortran.m4: here, new file.
8264 2001-08-01 Akim Demaille <akim@epita.fr>
8266 * acfunctions.m4: Rename as...
8267 * lib/autoconf/functions.m4: this.
8268 * acgeneral.m4: Rename as...
8269 * lib/autoconf/general.m4: this.
8270 * acheaders.m4: Rename as...
8271 * lib/autoconf/headers.m4: this.
8272 * aclang.m4: Rename as...
8273 * lib/autoconf/lang.m4: this.
8274 * acoldnames.m4: Rename as...
8275 * lib/autoconf/oldnames.m4: this.
8276 * acspecific.m4: Rename as...
8277 * lib/autoconf/specific.m4: this.
8278 * actypes.m4: Rename as...
8279 * lib/autoconf/types.m4: this.
8280 * autoconf.m4: Rename as...
8281 * lib/autoconf/autoconf.m4: this.
8283 * m4sugar.m4: Rename as...
8284 * lib/m4sugar/m4sugar.m4: this.
8285 * m4sh.m4: Rename as...
8286 * lib/m4sugar/m4sh.m4: this.
8288 * tests/atgeneral.m4: Rename as...
8289 * lib/autotest/general.m4: this.
8291 * acfunctions: Rename as...
8292 * lib/autoscan/functions: this.
8293 * acheaders: Rename as...
8294 * lib/autoscan/headers: this.
8295 * acidentifiers: Rename as...
8296 * lib/autoscan/identifiers: this.
8297 * aclibraries: Rename as...
8298 * lib/autoscan/libraries: this.
8299 * acmakevars: Rename as...
8300 * lib/autoscan/makevars: this.
8301 * acprograms: Rename as...
8302 * lib/autoscan/programs: this.
8304 2001-08-01 Akim Demaille <akim@epita.fr>
8306 * doc/autoconf.texi: Moving/deleting open files is not portable.
8307 Portability issues for `.' (source), and more information about sed.
8309 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
8311 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
8312 which has a special meaning and is not a reference to libibmil.a.
8313 Reported by Matteo Frigo.
8315 2001-07-25 Pavel Roskin <proski@gnu.org>
8317 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
8320 2001-07-25 Akim Demaille <akim@epita.fr>
8322 * autoconf.in: Try to define the variables before using them.
8323 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
8324 instead of `$perllibdir'.
8325 * tests/atconfig.in ($autom4te_perllibdir): Export it.
8327 2001-07-25 Akim Demaille <akim@epita.fr>
8329 * autoconf.in (ac_LF_and_DOT): Remove, unused.
8331 2001-07-24 Akim Demaille <akim@epita.fr>
8333 Let autoconf use autom4te for traces.
8335 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8337 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8338 (Because I found no way for autom4te to accept `-').
8339 * autom4te.in (&Request::request): Beware of M4 builtins.
8340 (END): Don't try to remove the content of an empty dir.
8341 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8342 (&handle_output): Set a default value to `$forbidden'.
8343 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8344 ($autoconf): Pass --debug and --verbose.
8345 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8348 2001-07-24 Akim Demaille <akim@epita.fr>
8350 Let autoconf use autom4te to create configure.
8352 * autoconf.in ($automate): New var.
8353 (task script): Use autom4te.
8354 * autom4te.in (File::Spec): Use it.
8356 (&parse_args): --warning is -W, not -w.
8357 Find the top level files.
8358 (&handle_m4): Pass the warnings flags.
8359 Don't report verbosely m4's failures, unless requested.
8360 (&handle_output): Don't complain for forbidden tokens in comments.
8361 Be sure to report all the forbidden tokens within a single line.
8362 (&trace_format_to_m4): Preserve `$_'.
8363 (&handle_traces): Sort the output macros.
8364 (&up_to_date_p): Find the files before trying to get its time stamp.
8366 2001-07-24 Akim Demaille <akim@epita.fr>
8368 * Makefile.am: Ship, build and install Autom4te.
8370 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8371 * configure.in: Require Perl.
8372 * man/autom4te.in: New.
8374 2001-07-19 Paul Eggert <eggert@twinsun.com>
8376 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8377 example, rather than (exit 1); exit (which isn't portable).
8379 2001-07-18 Akim Demaille <akim@epita.fr>
8383 2001-07-18 Akim Demaille <akim@epita.fr>
8385 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8386 was run, while they are needed also when it is expanded.
8387 Reported by Nicolas Joly.
8389 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8390 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8391 AC_F77_DUMMY_MAIN being expanded.
8393 2001-07-18 Akim Demaille <akim@epita.fr>
8395 * configure.in: Bump to 2.51a.
8397 2001-07-17 Akim Demaille <akim@epita.fr>
8401 2001-07-17 Akim Demaille <akim@epita.fr>
8403 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8404 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8406 2001-07-17 Akim Demaille <akim@epita.fr>
8408 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8409 used. Well, then use the prototypes when you can, and runtime as
8411 Reported by Artur Frysiak
8413 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8414 (AC_FUNC_GETPGRP): Use it.
8415 First try to compile with 0-ary or 1-ary calls.
8417 2001-07-17 Akim Demaille <akim@epita.fr>
8419 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8423 2001-07-17 Akim Demaille <akim@epita.fr>
8425 * Makefile.maint: Sync. with cppi 1.10.
8427 2001-07-17 Akim Demaille <akim@epita.fr>
8429 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8430 AC_F77_DUMMY_MAIN has been run.
8431 From Pavel Roskin and Steven G. Johnson.
8433 2001-07-17 Akim Demaille <akim@epita.fr>
8435 * configure.in: Rename as...
8436 * configure.ac: this.
8438 2001-07-17 Akim Demaille <akim@epita.fr>
8440 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8443 * Makefile.maint (release-archive-dir): Rename as...
8444 (release_archive_dir): this, so that it can be specialized in
8447 2001-07-14 Akim Demaille <akim@epita.fr>
8449 * configure.in: Bump to 2.50d.
8451 2001-07-14 Akim Demaille <akim@epita.fr>
8454 * Makefile.maint (alpha): Typo.
8456 2001-07-14 Akim Demaille <akim@epita.fr>
8458 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8460 2001-07-14 Akim Demaille <akim@epita.fr>
8462 * config/config.guess, config/config.sub, config/texinfo.tex
8463 * doc/standards.texi, doc/make-stds.texi: Update.
8465 2001-07-14 Akim Demaille <akim@epita.fr>
8467 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8469 2001-07-14 Akim Demaille <akim@epita.fr>
8471 * Makefile.maint (maintainer-check): Rename as...
8472 (maintainer-distcheck): this.
8473 (changelog-check, static-check): New.
8476 2001-07-14 Kevin Ryde <user42@zip.com.au>
8478 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8479 for CXX is g++, not gcc.
8481 2001-07-14 Akim Demaille <akim@epita.fr>
8483 * doc/autoconf.texi (Files): New subsection.
8485 2001-07-14 Akim Demaille <akim@epita.fr>
8487 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8489 (Generic Compiler Characteristics): this.
8490 (C++ Compiler): New subsection.
8492 2001-07-14 Akim Demaille <akim@epita.fr>
8494 * autoscan.in: Use IO::File.
8495 Adjust all the routines to use it.
8496 ($log): New file (autoscan.log).
8497 (output): Dump detailed logs into $log, and a shortened version to
8499 (&scan_makefile): Refine the regexp catching tokens in the code.
8500 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8501 and the `configure.ac' checking feature.
8503 2001-07-12 Akim Demaille <akim@epita.fr>
8505 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8506 Reported by Michael Elizabeth Chastain.
8508 * autoconf.in: Refuse such AWK.
8509 * configure.in: Likewise.
8510 * Makefile.am (acversion.m4): Do not use move-if-change this file
8512 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8514 2001-07-10 Jens Petersen <petersen@redhat.com>
8516 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8517 things like "g++", "file.c" and "some-conf" as tokens.
8518 (&scan_file): Match C++ files extensions.
8519 If the filename extension is C++ then ask for c++.
8521 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8523 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8524 AC_TRY_LINK_FUNC, to check whether defining a dummy
8525 main-like routine is needed for linking with F77 libs.
8527 2001-07-05 Pavel Roskin <proski@gnu.org>
8529 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8531 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8534 2001-07-05 Akim Demaille <akim@epita.fr>
8536 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8537 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8539 Reported by Nicolas Joly.
8541 2001-07-04 Akim Demaille <akim@epita.fr>
8543 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8545 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8546 warnings from compilers.
8547 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8548 for all the compilers, not only GNU. Hence move from here...
8549 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8551 2001-07-04 Akim Demaille <akim@epita.fr>
8553 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8554 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8557 2001-07-04 Akim Demaille <akim@epita.fr>
8559 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8560 the ``strings.h'' change claimed below.
8562 2001-07-04 Akim Demaille <akim@epita.fr>
8564 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8566 2001-07-04 Akim Demaille <akim@epita.fr>
8568 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8569 strings.h if usable with string.h.
8570 Suggested by Paul Eggert.
8572 2001-07-04 Akim Demaille <akim@epita.fr>
8574 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8577 2001-07-03 Akim Demaille <akim@epita.fr>
8579 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8582 2001-07-03 Akim Demaille <akim@epita.fr>
8584 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8585 compiler, not the preprocessor.
8586 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8587 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8589 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8590 earlier if there are.
8592 2001-07-03 Akim Demaille <akim@epita.fr>
8594 * autoscan.in ($initfile): Remove.
8595 (&find_file): Rename as...
8597 Immediately scan the current file, instead of gathering them, and
8598 later having them handled by &scan_files.
8599 (&scan_files): Merely invoke Find::File.
8602 2001-07-02 Akim Demaille <akim@epita.fr>
8604 * autoscan.in: Formatting changes, matching the invocation order.
8605 (File::Find): Use it instead of Perl 4's `find.pl'.
8606 (&wanted): Rename as...
8609 2001-07-01 Pavel Roskin <proski@gnu.org>
8611 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8612 break in the argument to AC_TRY_LINK_FUNC.
8613 (AC_F77_MAIN): Remove conftest* after using break in the
8614 argument to AC_TRY_LINK.
8616 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8618 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8619 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8621 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8622 dummy alternate main is required even if the user provides her own
8624 (AC_F77_MAIN): New macro to detect whether it is possible to
8625 provide an alternate 'main' function name, using the 'main' from
8626 the Fortran libraries.
8627 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8628 cross-language link tests can be performed successfully.
8629 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8630 after $LIBS, for consistency; this should be the general rule since
8631 the user may want to link to Fortran libraries that require $FLIBS.
8632 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8634 2001-06-29 Pavel Roskin <proski@gnu.org>
8636 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8637 at-stdout and at-stderr instead of removing the newline
8638 from the echo output, which is not guaranteed to work.
8640 2001-06-28 Jens Petersen <petersen@redhat.com>
8642 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8643 confdefs.h when non-zero.
8645 2001-06-28 Akim Demaille <akim@epita.fr>
8647 * configure.in: Bump to 2.50c.
8649 2001-06-26 Akim Demaille <akim@epita.fr>
8653 2001-06-26 Akim Demaille <akim@epita.fr>
8657 2001-06-25 Pavel Roskin <proski@gnu.org>
8659 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8660 argument, AUTOCONF-FLAGS.
8661 * tests/mktests.sh (update_exclude_list): Add
8662 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8663 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8664 AC_FUNC_WAIT3 with "-W no-obsolete".
8666 2001-06-25 Akim Demaille <akim@epita.fr>
8668 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8670 2001-06-25 Akim Demaille <akim@epita.fr>
8672 * autoscan.in (%macro): Now maps from word to list of macros.
8673 (&init_tables): Die when a word which is already handled by
8674 explicit macros is mapped to the default macro.
8675 (&print_unique): Remove, inlined in...
8676 (&output_kind): here.
8677 (File::Basename): Use it.
8678 (&output): Sort the CONFIG_FILES.
8679 * acheaders: Normalize.
8680 * acfunctions: Likewise.
8682 2001-06-25 Akim Demaille <akim@epita.fr>
8684 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8685 characteristics in the logs.
8686 Suggested by Mo DeJong.
8688 2001-06-24 Akim Demaille <akim@epita.fr>
8690 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8691 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8692 * doc/autoconf.texi (Autoconf 2.13): New section.
8694 2001-06-24 Akim Demaille <akim@epita.fr>
8696 * autoconf.in (Task traces): Separate the error messages from the
8697 traces to improve robustness.
8699 2001-06-23 Akim Demaille <akim@epita.fr>
8701 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8702 three as failures are unlikely, and speed matters.
8704 2001-06-23 Akim Demaille <akim@epita.fr>
8706 * doc/autoconf.texi (Redefined M4 Macros): New.
8708 2001-06-23 Akim Demaille <akim@epita.fr>
8710 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8711 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8714 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8716 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8717 config.status targets to after the evaluation of the INIT-CMDS.
8718 Double quote config.status targets (used to be single quoted).
8720 2001-06-23 Akim Demaille <akim@epita.fr>
8722 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8723 Check the content of the created file.
8724 Check the ./config.status command line invocation.
8726 2001-06-23 Akim Demaille <akim@epita.fr>
8728 * tests/foreign.at (Libtool): Reject prehistoric versions.
8730 2001-06-23 Akim Demaille <akim@epita.fr>
8732 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8733 preexisting files matching a.*.
8735 2001-06-23 Akim Demaille <akim@epita.fr>
8737 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8739 * doc/autoconf.texi (AC_ARG_VAR): Update.
8741 2001-06-21 Akim Demaille <akim@epita.fr>
8743 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8744 precious variables have changed.
8745 * tests/torture.at (AC_ARG_VAR): Adjust.
8747 2001-06-21 Akim Demaille <akim@epita.fr>
8749 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8750 but some sed choke on multiple `;', and other tools (e.g.,
8751 Automake), include the separator themselves.
8753 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8755 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8757 * doc/autoconf.texi (Functions Portability): Rename as...
8758 (Function Portability): this.
8759 (Function Portability): Document potential problems with unlink().
8761 2001-06-19 Paul Eggert <eggert@twinsun.com>
8763 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8765 2001-06-18 Akim Demaille <akim@epita.fr>
8767 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8769 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8771 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8772 (_AC_FUNC_VFORK): this.
8773 Remove AC_DEFINEs and don't guess cross-compilation values.
8774 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8775 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8776 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8778 Guess values if cross-compiling, but warn.
8779 * acfunctions: Add AC_FUNC_FORK.
8780 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8781 and vfork appropriately.
8783 2001-06-18 Akim Demaille <akim@epita.fr>
8785 * doc/autoconf.texi (Functions Portability): New section.
8787 2001-06-18 Akim Demaille <akim@epita.fr>
8789 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8791 Suggested by Andreas Schwab.
8793 2001-06-18 Akim Demaille <akim@epita.fr>
8795 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8796 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8797 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8798 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8799 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8800 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8801 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8804 2001-06-18 Akim Demaille <akim@epita.fr>
8806 * doc/autoconf.texi (ms): New index.
8807 (Macro Index): Rename as...
8808 (Autoconf Macro Index): this.
8809 (M4 Macro Index): New appendix.
8810 (Programming in M4): New chapter.
8811 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8812 (Quoting): Rename as...
8813 (M$ Quotation): this.
8814 Be part of `Programming in M4).
8816 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8818 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8819 in separate statements for compatibility with Tru64 v5.1.
8821 2001-06-17 Akim Demaille <akim@epita.fr>
8823 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8824 current values of the precious variables, not the previously
8826 Pass precious variables which are set to config.status.
8827 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8828 * tests/torture.at (AC_ARG_VAR): New.
8830 2001-06-15 Paul Eggert <eggert@twinsun.com>
8832 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8833 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8834 and explain why and how to replace them.
8835 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8836 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8838 2001-06-15 Akim Demaille <akim@epita.fr>
8840 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8841 Reported by Bruno Haible.
8843 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8844 (_AC_ARG_VAR_PRECIOUS): to here.
8846 2001-06-15 Pavel Roskin <proski@gnu.org>
8848 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8849 an unused pointer use cast to this type and `if' statement to
8850 avoid warnings from the compiler.
8851 (AC_HEADER_TIME): Likewise.
8852 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8853 in `if' statement to avoid warnings from the compiler. Declare
8854 ac_aggr static to avoid the need to initialize it.
8856 2001-06-14 Akim Demaille <akim@epita.fr>
8858 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8861 2001-06-13 Akim Demaille <akim@epita.fr>
8863 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8864 Suggested by Alexander Mai.
8866 2001-06-13 Akim Demaille <akim@epita.fr>
8868 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8869 sys/types.h and sys/stat.h, and check for them.
8871 2001-06-13 Akim Demaille <akim@epita.fr>
8873 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8876 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8878 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8879 succeeds and only try adding libdnet upon a failure.
8881 2001-06-12 Akim Demaille <akim@epita.fr>
8883 * autoscan.in (&output_kind): Output the comment only if it exists.
8884 (%kind_comment): Add entry for `programs'.
8885 (&output_programs): Use &output_kind.
8886 (&output_functions, &output_identifiers, &output_headers)
8887 (&output_programs): Inline, and remove.
8889 2001-06-12 Akim Demaille <akim@epita.fr>
8891 * autoscan.in (%kind_comment): New.
8893 (output_functions, output_identifiers, output_headers): Use it.
8895 2001-06-12 Akim Demaille <akim@epita.fr>
8897 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8898 arguments, to factor indirections into `%macro' and `%used'.
8899 (%generic_macro): Fix a typo.
8901 2001-06-12 Akim Demaille <akim@epita.fr>
8904 * autoscan.in (@kinds): Add `libraries'.
8905 Use `@kinds' instead of hard coded lists.
8906 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8907 Remove, replaced by...
8910 2001-06-12 Akim Demaille <akim@epita.fr>
8912 * autoscan.in (%functions_macros %headers_macros)
8913 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8917 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8919 * aclang.m4 (AC_NO_EXECUTABLES): Override
8920 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8922 2001-06-11 Akim Demaille <akim@epita.fr>
8924 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8926 Reported by Andreas Schwab.
8928 2001-06-11 Akim Demaille <akim@epita.fr>
8930 * Makefile.am, Makefile.maint: Typos.
8932 2001-06-09 Akim Demaille <akim@epita.fr>
8934 * doc/autoconf.texi (Here-Documents): New section, gathering
8935 documentation about here-documents.
8936 Use `href', not `uref', and other changes.
8938 2001-06-09 Akim Demaille <akim@epita.fr>
8940 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8943 2001-06-09 Akim Demaille <akim@epita.fr>
8945 * doc/autoconf.texi (Limitations of Builtins): Complete the
8946 description of the here-docs penalties with Alexandre Oliva's
8949 2001-06-01 Paul Eggert <eggert@twinsun.com>
8951 * doc/autoconf.texi: Talk about here documents and speedups.
8952 Do not use "echo" on arbitrary strings.
8953 Spell "here-documents" consistently with the standard.
8955 2001-06-09 Akim Demaille <akim@epita.fr>
8957 * doc/autoconf.texi (Concept Index): Introduce it.
8958 Regenerate the menus.
8960 2001-06-09 Akim Demaille <akim@epita.fr>
8962 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8963 * config/prev-version.txt: New.
8964 * config/move-if-change: New, for GNU libc.
8966 2001-06-06 Pavel Roskin <proski@gnu.org>
8968 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8970 2001-06-06 Akim Demaille <akim@epita.fr>
8972 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8973 properly when $1 is not a literal.
8974 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8976 2001-06-06 Akim Demaille <akim@epita.fr>
8978 Invoking AC_COPYRIGHT before AC_INIT fails.
8980 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8981 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8982 (_m4_divert(VERSION_USER)): New.
8983 (AC_COPYRIGHT): $2 is the diversion to use.
8984 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8985 (AC_INIT): Remove dead comments as now it's commutative.
8987 2001-06-06 Akim Demaille <akim@epita.fr>
8989 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8992 2001-06-05 Akim Demaille <akim@epita.fr>
8994 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8996 `*dir' variables cannot be NONE.
8997 Reported by Mark Kettenis.
8999 2001-06-05 Paul Eggert <eggert@twinsun.com>
9001 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
9003 2001-06-04 Akim Demaille <akim@epita.fr>
9005 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
9006 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
9007 (AC_TR_SH): Move as...
9008 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
9009 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
9011 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
9012 (_AS_TR_SH_PREPARE): New.
9013 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
9014 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
9016 2001-06-02 Akim Demaille <akim@epita.fr>
9018 * Makefile.am (.m4.m4f): Pass the options first.
9019 Fixes PR autoconf/182.
9021 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
9023 GNU getopt, when POSIXLY_CORRECT does not permute options and
9024 arguments. So pass the options first.
9025 Fixes PR autoconf/184.
9027 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
9028 (run_m4): Remove files.
9030 Update remainder of script to use them.
9031 (for warning in): Do not use a literal comma as it will not be
9034 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
9036 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
9037 Fortran compilers to check.
9038 (_AC_PROG_F77_V): Add '-###' as a possible option to print
9039 information on library and object files.
9040 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
9043 2001-06-02 Akim Demaille <akim@epita.fr>
9045 * autom4te.in (Request::@request): Declare with `vars', not `my',
9046 as it prevents updates via `do FILENAME'.
9048 2001-06-02 Akim Demaille <akim@epita.fr>
9050 * configure.in (standards_texi): Remove, dead code.
9052 2001-06-02 Akim Demaille <akim@epita.fr>
9056 2001-06-02 Pavel Roskin <proski@gnu.org>
9058 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
9059 for signals other than 0 - exit with code 1.
9060 * m4sh.m4 (AS_TMPDIR): Likewise.
9061 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
9062 * autoheader.in: Likewise.
9063 * autoreconf.in: Likewise.
9064 * tests/torture.at (Signal handling): New test for the above.
9066 2001-06-01 Akim Demaille <akim@epita.fr>
9068 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
9071 2001-05-31 Akim Demaille <akim@epita.fr>
9073 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
9074 Add copyright and comments.
9075 * acheaders: Add stdint.h.
9076 Suggested by Paul Eggert.
9078 2001-05-31 Akim Demaille <akim@epita.fr>
9080 * atgeneral.m4 (AT_INIT): Use $SHELL.
9081 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
9083 2001-05-31 Akim Demaille <akim@epita.fr>
9085 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9087 From Paul Eggert and Lars Hecking.
9089 2001-05-31 Akim Demaille <akim@epita.fr>
9091 * tests/base.at: Adjust line numbers in error messages.
9093 2001-05-31 Akim Demaille <akim@epita.fr>
9095 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
9096 to emit the bangshe line.
9097 Reported by David Carter.
9099 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
9101 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
9102 Fortran (95) compilers to check.
9104 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
9106 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
9109 2001-05-23 Pavel Roskin <proski@gnu.org>
9111 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
9112 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
9113 (AC_PROG_CXXCPP): Likewise.
9115 2001-05-22 Akim Demaille <akim@epita.fr>
9117 * config: New directory.
9118 * configure.in: AC_CONFIG_AUX_DIR it.
9119 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
9121 2001-05-22 Akim Demaille <akim@epita.fr>
9123 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
9124 * autoupdate.in: Specify the Emacs mode.
9125 * acversion.m4.in: Rename as...
9126 * acversion.m4: this.
9127 * tests/Makefile.am (CLEANFILES): More garbage.
9129 2001-05-22 Akim Demaille <akim@epita.fr>
9131 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
9133 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
9136 2001-05-21 Akim Demaille <akim@epita.fr>
9138 * configure.in: Bump to 2.50a.
9142 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9144 This file is part of GNU Autoconf.
9146 GNU Autoconf is free software; you can redistribute it and/or modify
9147 it under the terms of the GNU General Public License as published by
9148 the Free Software Foundation; either version 2, or (at your option)
9151 GNU Autoconf is distributed in the hope that it will be useful,
9152 but WITHOUT ANY WARRANTY; without even the implied warranty of
9153 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9154 GNU General Public License for more details.
9156 You should have received a copy of the GNU General Public License
9157 along with autoconf; see the file COPYING. If not, write to
9158 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
9159 Boston, MA 02110-1301, USA.