1 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
3 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
4 case the compiler dumps core. Problem reported for
5 OpenServer 5.0.7 by Tim Rice in
6 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
7 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
10 2006-06-06 Tim Rice <tim@multitalents.net>.
12 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
13 "ERROR" only shows up in "make check" output if there is an
16 2006-06-06 Eric Blake <ebb9@byu.net>
18 * tests/tools.at (automatically allowed tokens): Fix typo.
20 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
22 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
24 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
25 typically overflows on x86 CPUs, even though the C standard
28 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
30 * configure.ac (AC_INIT): Bump to 2.59e.
33 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
37 * config/texinfo.tex: Sync from upstream.
39 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
40 seen, invoke libtoolize with `--ltdl' argument.
41 * lib/autom4te.in (Autoreconf-preselections): Adjust.
43 Suggested by Eric Blake.
45 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
47 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
48 reported by Ralf Wildenhues.
49 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
51 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
57 * doc/autoconf.texi: Modernize some of the references to Solaris.
59 2006-06-05 Stepan Kasal <kasal@ucw.cz>
61 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
62 message issued by AC_REQUIRE.
63 * tests/m4sugar.at: Check m4_require's error message.
64 * tests/base.at: Check AC_REQUIRE's error message.
65 * tests/local.at (AT_CHECK_M4): New macro, almost identical
67 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
69 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
70 `expout' as the last parameter.
71 * tests/tools.at: Adapt to the above change.
73 2006-06-04 Stepan Kasal <kasal@ucw.cz>
75 * doc/autoconf.texi (Limitations of Usual Tools): Correct
76 information about race-free implementations of mkdir.
78 2006-06-04 Eric Blake <ebb9@byu.net>
80 * bin/autoreconf.in (help): Document M4 environment variable.
81 * bin/autoconf.as (Usage): Likewise.
82 * bin/autom4te.in (help): Likewise.
83 * doc/autoconf.texi (autom4te Invocation): Likewise.
85 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
87 * NEWS: GNU make now recommended for VPATH builds.
88 Mention that some macros are now documented to be obsolescent.
90 Prefer "current" to "modern" to describe
91 currently-used (albeit perhaps old-fashioned) hosts.
92 Mention which ancient features no longer need to be worried about.
93 setgid -> set-group-ID
94 setuid -> set-user-ID (these are the Posix terms)
95 Fix some misuses of "only".
96 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
97 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
98 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
99 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
100 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
101 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
102 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
103 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
104 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
105 Mention that these macros are obsolescent.
106 (Installation Directory Variables): shall -> should
107 (File Descriptors): Mention that 0, 1, 2 might get reopened.
108 Mention that it's now safe to use 3 and 4.
109 (Limitations of Usual Tools): cp -r is now specified by Posix.
110 Omit longwinded and obsolescent discussion of cp -f.
111 Modernize discussion of expr, ls.
112 (Limitations of Make): Modernize discussion of VPATH builds.
113 Mention $? as a workaround in some cases.
114 * doc/install.texi (Basic Installation):
115 Mention "./configure; make; make install" first. Be more
116 specific about why this file is generic. Remove unnecessary
117 parens. Remove misleading "only". Remove obsolete advice
118 about csh. Don't say "configure" takes awhile; say it
119 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
120 and CC=c99 rather than CC=c89, as these are blessed by current
121 Posix. Recommend GNU make if doing a VPATH build.
123 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
125 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
126 examples involving shell prompts.
128 2006-06-02 Stepan Kasal <kasal@ucw.cz>
129 and Paul Eggert <eggert@cs.ucla.edu>
131 * doc/autoconf.texi (Here-Documents): Add details about the
132 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
133 use "here-documents" instead of "here documents".
135 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
137 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
139 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
141 * doc/autoconf.texi (File System Conventions): Warn about ":"
142 anywhere in directory names.
144 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
146 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
147 about quoting the case statement, just in case.
148 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
149 was fixed in ksh93g; reported by Ralf Wildenhues.
151 2006-05-31 Stepan Kasal <kasal@ucw.cz>
153 * doc/autoconf.texi (System Services): Do not document
154 overriding EXEEXT via ac_cv_exeext=ext.
155 (Particular Programs) <AC_PROG_MKDIR_P>:
156 Document that ${MKDIR_P} understands --.
157 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
160 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
162 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
163 argument with leading hyphen. Problem reported by Paul Eggert.
165 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
167 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
168 about quoting ac_try: quote all of it, if any of it seems suspicious.
169 This means we don't have to worry about ${ or sed any more.
170 Also, double-quote the case statement, to work around misuses via
171 underquoting as reported by Ralf Wildenhues in
172 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
173 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
174 undocumented and dangerous macro.
175 Problem reported by Ralf Wildenhues in
176 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
178 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
181 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
182 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
184 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
186 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
187 since evidently some packages rely on the old, broken behavior.
188 Problem reported by Ralf Wildenhues in
189 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
190 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
191 pre-2006-05-26 definitions, but leave in the comments that
192 these macros are dangerous and should not be used.
193 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
194 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
195 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
196 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
197 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
199 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
201 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
202 the use of 'tr', since this is our only use of 'tr'.
204 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
205 and Paul Eggert <eggert@cs.ucla.edu>
207 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
208 Don't assume 'grep' works on long lines, since AIX grep doesn't.
210 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
212 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
213 the output file in the `${datarootdir}' test.
215 2005-05-28 Stepan Kasal <kasal@ucw.cz>
216 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
218 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
219 mention of `datarootdir' in the input file(s), but literal
220 `${datarootdir}' in the output file, and we haven't warned yet,
221 then warn as well: the user may have (erroneously) used
222 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
223 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
224 * tests/torture.at (datarootdir workaround): Extend this test.
227 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
228 and Paul Eggert <eggert@cs.ucla.edu>
230 * doc/autoconf.texi (autoheader Invocation): The first argument to
231 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
232 alternatives and clear up the language a bit.
234 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
236 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
237 ac_config_guess, ac_config_sub, ac_configure.
238 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
239 Fix typo that prevented an unnecessary space from being removed.
240 Problems reported by Ralf Wildenhues in:
241 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
243 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
245 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
246 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
247 Don't use the term "thread-safe" to talk about mkdir race
248 conditions, since the problem is more a process than a thread
249 issue. Problem reported by Stepan Kasal in:
250 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
251 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
252 the test for 'install' more closely. Look at MKDIR_P first.
253 Look in the PATH, and at /opt/sfw/bin.
254 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
255 Don't bother to try mkdir -p, since we already check mkdir --version;
256 just look at the version number. (There's no easy way to check
257 for race-free implementations.)
258 * tests/tools.at (autoconf: subdirectories): Adjust to above
259 changes, since MKDIR_P now might end in "/mkdir -p".
261 * doc/autoconf.texi (autoheader Invocation): Mention that the
262 first arg of AC_DEFINE_UNQUOTED must be a literal.
263 Problem reported by Ben Pfaff in
264 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
266 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
267 * doc/autoconf.texi (Special Chars in Variables): New section.
268 (Preset Output Variables): Warn about special chars in CPPFLAGS.
269 (Installation Directory Variables): Quote $(datadir) better.
270 (Limitations of Builtins): Describe some of eval's trickiness.
272 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
273 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
274 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
275 in front of every arg, not just trailing args. Quote apostrophes.
276 (_AC_EVAL_ECHO): New macro.
277 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
278 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
280 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
281 exposed by quoting of eval argument. Put the command on line line
283 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
284 (_AC_PATH_X, AC_PATH_X): Quote more safely.
285 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
286 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
287 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
288 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
289 Use eval more safely.
290 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
291 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
293 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
294 lines, exposed by quoting of eval argument.
296 2006-05-26 Stepan Kasal <kasal@ucw.cz>
297 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
299 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
300 initialization of `ac_cv_exeext', do not override it if it was
301 already set, unless it was set to `no', for compatibility with
302 Autoconf-2.13, and comment this.
303 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
304 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
305 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
306 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
307 Document that this test may be overridden by setting
310 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
312 Revert these two patches:
314 2006-04-06 Eric Blake <ebb9@byu.net>
315 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
316 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
319 2006-04-01 Stepan Kasal <kasal@ucw.cz>
320 Clean up _AC_COMPILER_EXEEXT* macros.
321 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
322 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
323 ac_file to the name of the default output file and call
324 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
325 initial `rm' of the candidate files...
326 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
327 the same list in subsequent `rm' calls, and for the temporary
328 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
329 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
330 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
331 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
332 no longer needed) by libtool. Make it a cache check.
333 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
334 copied here by mistake.
335 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
337 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
338 _AC_COMPILER_OBJEXT directly.
339 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
341 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
344 Fix description of how the buggy `sed' works.
346 2006-05-25 Noah Misch <noah@cs.caltech.edu>
350 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
351 ENOLCK. Only mention `make -j' when applicable. Only raise
352 fatal errors when `make -j' is involved. Improve error message.
354 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
356 * doc/autoconf.texi (Here-Documents): We now know more about
357 the variable expansion in here documents bug.
358 Thanks to Tim Rice and Stepan Kasal.
360 * doc/autoconf.texi (Making testsuite Scripts): Add an example
361 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
363 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
365 * tests/autotest.at (Multiline command from M4 expansion):
366 No failure to be expected if the shell quotes newlines in
367 commands in the `set -x' output. Report by Tim Rice.
370 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
372 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
373 expansion in the here-documents used by config.status, as that
374 runs afoul of the Korn shell version M-12/28/93d bug described in
375 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
376 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
377 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
379 2006-05-23 Jim Meyering <jim@meyering.net>
381 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
382 Fix typo introduced with 2006-04-02 change. It reversed the sense
385 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
387 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
388 ac_dB slightly, to save bytes in the script.
389 Max out at 50 lines, rather than 96; this is more likely
390 (though not guaranteed) to avoid obscure 'sed' failures.
392 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
394 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
395 `tr -d -' as bad option argument. Work around this by deleting
396 an unrelated character.
397 Report by Tim Rice <tim@multitalents.net>.
399 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
400 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
401 Stepan Kasal <kasal@ucw.cz>
403 * doc/autoconf.texi (Particular Programs): Do not promise that
404 we always prefer the GNU version of the program, and that we
405 search according to PATH; both rules can have exceptions.
406 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
407 AC_PROG_SED. Move descriptions of limitations
408 to the Limitations of Usual Tools section.
409 (Limitations of Usual Tools) <sed>: Mention script length
410 limitations with Solaris /usr/ucb/sed.
411 <grep>: Fix wording for empty alternative. Mention that -c and
412 -l should not be combined, and that -E and -F should not be
415 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
416 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
418 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
419 limits in Solaris 8 /usr/ucb/sed by testing a long script.
421 2006-05-22 Stepan Kasal <kasal@ucw.cz>
423 * doc/autoconf.texi (Defining Symbols): Literal parameter of
424 AC_DEFINE is now passed to m4_pattern_allow.
425 * NEWS: Mention that; likewise for AC_SUBST.
426 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
427 the parameter to m4_pattern_allow.
428 * tests/tools.at: Add a check for that.
430 2006-05-22 Stepan Kasal <kasal@ucw.cz>
432 * lib/autoconf/status.m4: Fix typos.
434 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
436 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
437 only the files that this macro generates.
439 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
441 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
442 the HP-UX sed limitation of 99 commands, labels do not count.
443 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
445 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
447 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
449 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
450 Import the following fix from coreutils:
452 2006-01-13 Jim Meyering <jim@meyering.net>
454 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
455 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
456 not double-quote uses of that variable, to accommodate the rare
457 case in which getmntent is available in none of the libraries
458 checked. This happens at least on FreeBSD 5.0.
460 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
462 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
463 ac_config_guess, ac_config_sub, and ac_configure, since evidently
464 some other programs unwisely rely on these undocumented vars.
465 But put in warning comments about them.
466 Problem reported by Ralf Wildenhues in
467 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
468 * NEWS: Document that these variables are intended to go away.
470 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
472 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
473 and set the language to C++ (analogous to the equivalent Fortran
476 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
477 * doc/autoconf.texi (C++ Compiler): Document it.
478 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
481 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
483 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
484 that caused config.status to generate 100-command sed scripts; the
485 portable limit is 99.
487 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
489 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
490 variable `ac_d' instead of `d' to avoid infringing namespace.
491 Report by Ralf Menzel.
493 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
495 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
496 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
497 * tests/tools.at (autoconf: subdirectories): New test, taken from
498 the corresponding problem report by Ralf Wildenhues in:
499 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
501 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
502 Quote some uses of shell variables if they might suffer unexpected
503 globbing. This doesn't fix all instances of quoting problems that
504 I found, just the easy ones that look safe.
505 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
506 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
507 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
508 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
509 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
510 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
511 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
513 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
514 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
516 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 * bin/autoreconf.in ($help): Reword according to the manual.
519 Suggested by Olly Betts.
521 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
522 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
524 * bin/autoreconf.in: Pass the directory argument to
525 `require_configure_ac'. Fix comment.
526 * tests/torture.at (Configuring subdirectories): Expose this.
527 Reported by Olly Betts.
529 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
531 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
532 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
535 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
536 `$configure_in' instead of `configure.in', to preserve
539 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
541 * config/config.guess, config/config.sub, config/texinfo.tex,
542 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
544 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
546 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
547 test for C99 conformance; (bool) 0.5 is an integer constant
548 expression, but (bool) -0.5 is not. Problem reported by Fedor
549 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
551 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
553 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
554 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
555 Warn about obsolete install-sh files. Remove stray sentence
556 fragment and fix cross reference.
557 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
558 install -d; this undoes the 2006-05-10 change.
559 (MKDIR_P): Mark with AN_MAKEVAR.
560 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
561 that we don't require $INSTALL to be thread-safe. Move comments
562 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
563 of AC_PROG_INSTALL. Output a message saying that we're checking
564 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
565 MKDIR_P instead of AC_SUBST.
566 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
567 Special magic for MKDIR_P, too.
568 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
570 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
572 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
574 Sync from Automake, as follows:
576 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
577 * config/install-sh: Initialize IFS, so field splitting isn't
579 * config/mkinstalldirs: Likewise.
580 * config/missing: Remove superfluous quotes. Replace all uses of
581 `[' by `test', for consistency, and for..
582 * config/missing (sed_minuso, sed_output): New variables.
583 (autom4te, help2man, makeinfo): Use them. Unifies detection of
584 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
585 Fixes `missing' to detect `--output' for help2man. Fixes
586 PR automake/483. Report by Dennis J. Linse.
587 (autom4te): Document in `missing --help'.
589 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
591 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
592 * config/install-sh: Don't use 'path' to talk about file names,
593 as per GNU coding standards. Close a race condition reported by Ralf
594 Wildenhues and Stepan Kasal. There is still a race condition
595 on hosts that predate Posix 1003.1-1992, but we can't help this.
596 Don't mishandle weird characters like space on pre-Posix hosts.
597 Invoke mkdir at most once per dir arg on pre-Posix hosts.
598 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
599 AC_PROG_MKDIR_P from AS_MKDIR_P.
600 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
601 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
602 earlier editions are not (including Automake 1.8.3).
603 Do not suggest mkinstalldirs for thread-safety.
604 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
605 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
606 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
607 presence of special characters and race conditions.
608 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
609 in Autoconf's name space.
611 2006-05-10 Bruno Haible <bruno@clisp.org>
612 and Paul Eggert <eggert@cs.ucla.edu>
614 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
615 from Automake with minor changes.
616 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
618 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
620 * config/install-sh: Update to Automake CVS version, as follows:
621 2006-04-25 Stepan Kasal <kasal@ucw.cz>
622 * lib/install-sh: Simplify the expr implementation of dirname.
623 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
624 * lib/install-sh: Handle --, and diagnose unknown options.
626 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
628 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
629 `./autom4te' to create `./testsuite', since the `all' target
630 will ensure its presence, but `installcheck' should not create
631 the uninstalled wrappers.
633 * tests/torture.at (Unusual Automake input files): Skip if we
634 detect automake < 1.8.
636 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
638 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
639 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
640 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
643 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
645 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
646 munge (multiple) white space and other oddities.
647 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
648 single quotes in variable assignment.
649 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
650 and similar failures by adding multiple spaces, tabs, and other
652 Report and different test suggested by Francesco Romani
653 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
655 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
656 single quotes, we only need to search for single quotes; this
657 both simplifies the search pattern, and makes us less
658 susceptible to `echo' variations for arguments not containing
660 (_AC_ARG_VAR_VALIDATE): Likewise.
662 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
664 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
665 `$*' and IFS concatenation issue with traditional shells and
666 bash-2.04. Report by Seanster@Seanster.com.
668 2006-05-03 Bruno Haible <bruno@clisp.org>
670 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
671 precisely which Mac OS X versions have the od problem.
673 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
675 * doc/autoconf.texi: Use @option systematically.
678 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
679 and Bruno Haible <bruno@clisp.org>
681 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
683 (Integer Overflow): Mention the special case of integer division
686 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
688 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
689 traditional shells like the Solaris one that do not use the
690 first IFS character for assembling `$*'.
691 Prompted by a related report from autoconf_bug@nro.ca.
693 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
694 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
696 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
697 Mention more problems with the -e option.
699 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
702 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
704 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
705 in URLs to improve DVI formatted output (requires texinfo 4.6).
706 (System Services, Systemology, Shellology): Likewise.
707 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
710 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
712 (Runtime): Fix macro argument names to match description:
713 `action-if-found' -> `action-if-true' and similarly.
714 (Obsolete Macros): Likewise.
715 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
716 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
717 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
719 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
721 * doc/autoconf.texi (Limitations of Make): Clean up markup.
724 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
727 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
729 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
730 /bin/sh set unsorted output.
731 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
732 * tests/local.at: Likewise.
734 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
736 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
737 (Integer Overflow, Null Pointers, Buffer Overruns):
738 (Floating Point Portability, Exiting Portably): New sections.
739 (Writing Test Programs): Fix some langauge. Recommend exiting
740 with status 1, not merely nonzero. Clarify exit declaration.
741 (Run Time): Move C exit status stuff to new Exiting Portably section.
742 (Systemology): Mention Posix and levenez. Update v7 reference.
743 (Portable Shell): Mention the Posix shell.
745 2006-04-25 Stepan Kasal <kasal@ucw.cz>
747 * bin/autoconf.as (me): Replace by as_me.
749 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
751 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
752 since as_me isn't set yet.
754 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
756 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
757 a few minor bugs in this area.
759 * doc/autoconf.texi (Programming in M4sh): Comment out the
760 documentation of AS_BASENAME, for now.
761 (Shell Substitutions): Do not use AS_DIRNAME in an example.
762 (Limitations of Builtins) <basename>: Do not refer to
764 * bin/autoconf.as (me): Don't use AS_BASENAME.
765 (dir): Remove the unused variable.
766 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
767 AS_DETECT_REQUIRED. All uses changed.
768 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
770 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
771 (AS_BASENAME): Use "basename --" to protect against leading "-".
772 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
773 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
774 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
775 (_AS_DIRNAME_PREPARE): Likewise.
776 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
777 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
778 (AS_DIRNAME): Use "dirname --".
780 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
782 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
783 of "run time" and "run-time" changed to "runtime", for consistency.
784 * lib/autoconf/fortran.m4: Likewise (in comment).
785 * lib/autoconf/functions.m4: Likewise.
786 * lib/autoconf/general.m4: Likewise.
787 * lib/autoconf/headers.m4: Likewise.
789 * doc/autoconf.texi (Run Time): Document the exit status situation
790 with more accuracy and detail.
792 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
794 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
795 Archive is not officially `GNU' any more. Update URL.
796 (Defining Directories): Likewise
797 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
799 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
801 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
802 newline from the `trap' code to finish `config.log'; the NetBSD
803 /bin/sh resets the exit status after an empty command, as
804 documented in doc/autoconf.texi.
805 Reported by Dalibor Topic <robilad@kaffe.org>.
807 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
809 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
810 Suggested by Bruno Haible.
812 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
814 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
815 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
816 Instead, just list the shells that we know work.
817 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
818 changed. Be more cautious about the _cv_ variable.
819 * tests/tools.at (Syntax of the shell scripts): Check the
820 _cv_ variable once, at first, to avoid an internal autoconf error
821 when sh -n does not work.
823 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
825 * lib/Autom4te/FileUtils.pm: Sync from Automake.
827 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
829 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
830 use ">&-" since we're only 99.999% sure that this is portable,
831 and since the MinGW bug is fixed in a different way.
832 * lib/autotest/general.m4 (AT_INIT): Likewise.
834 2006-04-16 Stepan Kasal <kasal@ucw.cz>
836 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
837 before opening config.log, to avoid hitting a bug on MinGW.
839 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
841 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
842 AS_MESSAGE_LOG_FD before reopening it onto the log file.
843 This works around a MinGW bug reported by Eric Paire.
844 Make sure that all writes to the log file append to it,
845 rather than possibly losing data.
846 * lib/autotest/general.m4 (AT_INIT): Likewise.
848 2006-04-14 Stepan Kasal <kasal@ucw.cz>
850 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
853 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
857 * configure.ac (AC_INIT): Bump to 2.59d.
859 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
863 * Makefile.maint (news-date-check): Do not require a leading `*'
864 before the release date in NEWS.
866 2006-04-12 Stepan Kasal <kasal@ucw.cz>
867 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
869 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
870 the instantiated file do not contain the string 'datarootdir'
871 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
872 @mandir@, replace the reference '${datarootdir}' by the value.
873 * tests/torture.at (datarootdir workaround): New test.
874 * NEWS: Advertise this temporary fixup.
875 Based on a patch by Bruno Haible, reported and analyzed by
876 Paul Eggert and Noah Misch.
878 2006-04-12 Eric Blake <ebb9@byu.net>
880 * tests/autotest.at (Debugging a failed test): Fix comment.
882 2006-04-12 Stepan Kasal <kasal@ucw.cz>
884 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
885 all the changes since 2006-04-07.
887 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
889 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
890 succeeded, but `ln -s file dir' failed, take care to remove the
891 leftover target before the next test, to prevent its spurious
892 failure; also make sure `ln file dir' works before selecting it.
893 Thanks to Keith Marshall for pointing this out.
896 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
897 assignments in `at_debug_args', so that we put them correctly
899 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
900 Reported by Eric Blake.
902 2006-04-11 Eric Blake <ebb9@byu.net>
904 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
905 top-level tests after micro-suite has been run. Used in...
906 (Debugging a successful test, Debugging script and environment),
907 (Debugging a failed test): ...these new tests. The first of these
909 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
910 macro, split out from...
911 (AT_INIT): ...here, so that using -d also generates a run script.
912 Document that -d inhibits top-level logging.
913 * doc/autoconf.texi (testsuite Invocation): Document that -d only
914 inhibits top-level logging; debug scripts are created.
916 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
918 * tests/autotest.at (Empty test, Empty check): New test to check it.
920 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
923 2006-04-10 Stepan Kasal <kasal@ucw.cz>
925 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
926 the files if a problem appears. Make the empty *.at files
927 read-only, too. Proposed by Ralf Wildenhues.
929 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
931 * config/Makefile.am: Add comment to force updated Makefile.in.
933 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
934 space only patch to this file, this patch causes the Makefile.in
935 files that include freeze.mk to be updated, and thus have a
936 newer time stamp again, which in turn makes a pristine CVS
937 checkout have correct time stamps.
939 * Makefile.maint (cvs-sv): New macro, to be used..
940 (config.guess-url_prefix, config.sub-url_prefix)
941 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
942 point to CVS text checkout of Gnulib files.
943 (copyright-check): Bump current year.
944 (announcement): Do not hard-wire `./announce-gen'.
945 (cvs-update): Propagate failures of `cvs' and `move-if-change'
947 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
949 (wget_files): Update config.guess, config.sub, texinfo.tex by
950 `wget-update', now that their URLs work again.
952 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
954 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
955 Problem noted by Paul D. Smith.
957 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
959 * doc/autoconf.texi: Remove unused words from word list.
960 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
961 .x-sc_trailing_space: New files.
963 * doc/standards.texi: Sync from gnulib.
965 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
966 `LIBOBJDIR' as experimental.
968 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
969 with a target directory; it's internally implemented as `cp'
970 anyway, but since Autoconf advertises the possibility to use
971 a target directory when LN_S is `ln -s', we need to find out.
972 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
973 analyzed by Keith Marshall <keith.marshall@total.com>.
977 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
979 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
980 confdefs.h as-is. In general, if it has backslash-newline or the
981 like, then it doesn't work either to sort or to remove empty
984 2006-04-09 Stepan Kasal <kasal@ucw.cz>
986 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
988 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
990 * lib/autom4te.in (Automake-preselections): Preselect
993 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
995 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
996 apostrophe within a single-quoted string, as this is the usual
997 tradition and is easier to read than '"'"'. Don't rely on the
998 shell treating "$/" like '$/'. Use a more-consistent indenting
1001 2006-04-09 Eric Blake <ebb9@byu.net>
1003 * tests/autotest.at (Backquote command substitution),
1004 (Multiline backquote command substitution): Remove mistaken
1005 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1007 (Parenthetical command substitution, Multiline parenthetical
1008 command substitution): here.
1010 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
1012 Import macros from gnulib (often changing their name).
1014 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1015 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1016 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1017 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1018 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1019 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1020 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1021 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1022 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1023 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1024 The manual mentions Gnulib more prominently.
1025 * doc/autoconf.texi (Gnulib): New node.
1026 (Pointers): Add Gnulib URL.
1027 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
1028 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
1030 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
1031 suggest a #define rather than a typedef for _Bool, and mention
1032 Gnulib rather than trying to substitute stdbool code.
1033 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1034 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1035 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1036 AC_STRUCT_DIRENT_D_TYPE.
1037 (Particular Types): Mention stdint.h and inttypes.h as standard
1039 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1040 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1041 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1042 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1043 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1044 (C Compiler): Move AC_C_LONG_DOUBLE to ...
1045 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
1046 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1047 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1048 (Coding Style). Don't mention m4_expand_once.
1049 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1050 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
1051 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1052 (AC_CHECK_FUNCS): Use it.
1053 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1054 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1055 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1056 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1057 (AC_HEADER_ASSERT): New macro.
1058 (AC_HEADER_STDBOOL): Don't assume "#error" works.
1059 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1060 Catch a bug in an HP-UX C compiler.
1061 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1062 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1063 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1064 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1065 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1066 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1069 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1070 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1072 2006-04-08 Stepan Kasal <kasal@ucw.cz>
1074 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1075 of the warning introduced by the 2001-08-28 change.
1077 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
1078 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1080 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1081 variables shall be overriden by the cache.
1082 * tests/torture.at (AC_ARG_VAR): Test also with a first value
1083 that contains braces.
1085 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1087 Revert the patch from 2006-04-01 and only improve
1088 _AS_DETECT_BETTER_SHELL:
1090 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1091 skip nonexistent directories.
1092 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1093 only shell candidates which exist.
1094 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1095 * lib/autotest/general.m4 (AT_INIT): No need to give three
1096 parameters to _AS_PATH_WALK.
1098 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
1099 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1102 distinguish m4sugar macros.
1103 * tests/tools.at (autoupdating with aclocal and m4_include):
1104 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
1105 test case by Noah Misch <noah@cs.caltech.edu>.
1107 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1109 Revert my change from 2006-03-17, in other words:
1110 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1112 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1113 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1116 2006-04-07 Eric Blake <ebb9@byu.net>
1118 * doc/autoconf.texi (Programming in M4sh): Document that
1119 AS_MKDIR_P exits the script on failure.
1120 * lib/autotest/general.m4: Remove redundant AS_ERROR.
1122 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1124 * config/elisp-comp, config/install-sh, config/mdate-sh,
1125 config/missing, config/mkinstalldirs: Sync from Automake.
1127 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1130 * doc/make-stds.texi: Sync from gnulib.
1132 2006-04-06 Eric Blake <ebb9@byu.net>
1134 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1135 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1138 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
1139 Eric Blake <ebb9@byu.net>,
1140 Paul Eggert <eggert@cs.ucla.edu>,
1141 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1143 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1144 whether `set' quotes correctly: redirect stderr of the tested
1145 `set', and use a subshell, for Ultrix; use `sed' instead of
1146 `grep' for zsh `set' which may write binary output; match only
1147 at the beginning of a line, to avoid false positives.
1148 In order to avoid false positives by unrelated variables with
1149 multiline content, put the dump algorithm in a subshell and
1150 unset all variables containing newlines (except some which are
1151 special to the shell). Warn about cache variables that are
1154 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1156 * config/config.guess, config/config.sub, config/texinfo.tex:
1159 * tests/mktests.sh: Reword comments.
1161 * tests/mktests.sh: Only skip internal macros starting with
1162 `_AC_' or `__AC_'. Noted by Stepan Kasal.
1163 Update exclusion lists for the test suite to this end:
1164 (AC_ARG_VAR): Do test this now.
1165 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1166 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1167 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1168 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1170 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1171 shell issue with double-quoted command substitutions of native
1173 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1176 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1177 no file matches the glob, discard the warning, set `nullglob'.
1178 (syntax-check): Likewise.
1179 (sc_cast_of_x_alloc_return_value): Likewise.
1180 (sc_cast_of_alloca_return_value, sc_error_exit_success)
1181 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1182 (m4-check): Likewise.
1183 (sc_system_h_headers): Do not print rule on execution.
1184 (sc_tight_scope): Do not fail for non-existing `src' directory.
1185 (sc_changelog): Skip the Copyright footer.
1186 * lib/autoconf/lang.m4: Remove trailing space.
1188 * lib/autoconf/status.m4: More replacements to
1189 <tab><space> where this makes sense.
1191 2006-04-06 Stepan Kasal <kasal@ucw.cz>
1193 * tests/Makefile.am (maintainer-check-posix):
1194 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1196 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1197 ac_config_<foo>s again, sometimes normalized, sometimes not.
1198 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1199 (AC_CONFIG_COMMANDS): Do not do so here.
1200 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1201 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1202 2005-07-25 rewrite. Noticed by Noah Misch.
1204 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1205 _AC_PRESERVE_HELP_ORDER, ...
1206 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1208 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1209 inside m4_expand_once; it is redundant.
1211 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1212 for --help from Cygnus `configure.'
1214 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
1216 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
1217 on a patch proposed by Ralf Wildenhues.
1219 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
1221 * lib/autoconf/status.m4: Replace <space>''<tab> with
1222 <tab><space> where this makes sense.
1224 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
1225 Noah Misch <noah@cs.caltech.edu>
1227 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1228 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1229 * doc/autoconf.texi (Help Formatting): New node.
1230 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1232 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1234 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1235 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1236 lib/autoconf/types.m4, lib/autotest/general.m4,
1237 tests/mktests.sh, tests/torture.at: White space cleanup:
1238 remove some SPACE before TAB, or add quoting ('' or @&t@).
1240 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1242 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1244 2006-04-05 Eric Blake <ebb9@byu.net>
1246 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1247 empty test suite works.
1248 * tests/autotest.at (Empty test suite): Remove xfail.
1250 2006-04-05 Noah Misch <noah@cs.caltech.edu>
1252 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1253 TAGS to ac_config_<foo>s.
1254 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
1255 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
1256 normalizing it, consistent it with previous releases.
1257 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
1259 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
1261 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
1262 Use simplified args that Eric Blake originally suggested.
1264 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
1266 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
1267 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
1268 Use 'comm' rather than N instances of grep; this also fixes a bug
1269 whereby substrings were incorrectly matched, causing us to not
1270 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
1271 (exclude_list): Exclude empty macros.
1272 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
1274 Use awk rather than grep -E or egrep, to avoid
1275 portability problems with regular expressions containing newlines.
1276 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
1277 Switch from grep to awk syntax.
1278 (ac_exclude_script): Renamed from ac_exclude_egrep.
1279 (au_exclude_script): Renamed from au_exclude_egrep.
1281 2006-04-04 Noah Misch <noah@cs.caltech.edu>
1283 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
1284 a subdirectory subject to Cygnus `configure'.
1285 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
1287 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
1288 report request when we have no AC_PACKAGE_BUGREPORT.
1290 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1294 * tests/mktests.sh: Update copyright year in the header of the
1297 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
1298 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
1299 typedef'ed restricted pointer, to catch a compiler bug on
1300 HP-UX 11.x, and fix warnings so it passes with -Werror.
1301 (_AC_PROG_CC_C99): Likewise.
1302 Reported by Albert Chin <china@thewrittenword.com>.
1303 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
1305 2006-04-03 Noah Misch <noah@cs.caltech.edu>
1307 * bin/autoscan.in (subdirs): New global.
1308 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
1309 (output): Emit AC_CONFIG_SUBDIRS as needed.
1310 * tests/autoscan.at (autoscan): Remove XFAIL.
1312 2006-04-03 Noah Misch <noah@cs.caltech.edu>
1314 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
1316 2006-04-03 Eric Blake <ebb9@byu.net>
1318 * THANKS: Add myself.
1320 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1322 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
1323 to log, point to testsuite output tree.
1325 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1327 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
1328 * doc/autoconf.texi (Function Portability): Mention that C++
1329 has trouble with 'exit'.
1330 (Guidelines): Test programs shouldn't use 'exit'.
1331 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
1332 Remove; all uses removed.
1333 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
1334 Return from 'main' instead of calling 'exit'.
1335 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
1336 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
1337 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
1338 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
1339 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
1340 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1341 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1342 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
1343 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1344 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1345 * tests/compile.at: Likewise.
1347 2006-04-02 Pavel Roskin <proski@gnu.org>
1349 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
1351 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1353 Clean up _AC_COMPILER_EXEEXT* macros.
1355 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1356 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1357 ac_file to the name of the default output file and call
1358 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
1359 initial `rm' of the candidate files...
1360 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
1361 the same list in subsequent `rm' calls, and for the temporary
1362 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1363 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1364 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1365 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1366 no longer needed) by libtool. Make it a cache check.
1367 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1368 copied here by mistake.
1369 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1370 _AC_COMPILER_EXEEXT.
1371 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1372 _AC_COMPILER_OBJEXT directly.
1373 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1375 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1377 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
1378 (AS_DIRNAME): Use it.
1379 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
1381 * tests/*.at: Remove the generated ones.
1383 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1385 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
1387 2006-04-01 Eric Blake <ebb9@byu.net>
1389 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
1390 directories, unless optional third argument supplied.
1391 (AS_UNAME): Don't optimize PATH walk.
1393 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
1395 2006-04-01 Eric Blake <ebb9@byu.net>
1396 and Stepan Kasal <kasal@ucw.cz>
1398 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
1401 2006-04-01 Noah Misch <noah@cs.caltech.edu>
1403 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
1404 Autoconf version number despite a zero- or one-argument AC_INIT.
1406 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
1408 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
1409 * doc/autoconf.texi (autoreconf Invocation): Document it.
1411 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
1412 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
1414 2006-04-01 Eric Blake <ebb9@byu.net>
1416 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
1417 * lib/autotest/general.m4: Be tolerant of existing directory when
1418 rm failed to remove it.
1420 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1422 * bin/autoupdate.in: Redefine m4_location so that warnings print
1423 the correct lines of the input file by subtracting..
1424 (_au__first_line): ..this new definition.
1426 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
1427 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
1428 Remove stray newline in output.
1429 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
1430 AC_DEFUN this for autoconf, including the obsoletion diagnose.
1431 Fixes autoupdating of code where the replacement output contains
1433 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1434 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
1435 (au_exclude_list): Add AC_LANG_SAVE.
1436 * tests/tools.at: Several new tests for all of this.
1437 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
1439 The AC_LANG_SAVE issue was reported against Libtool by
1440 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
1441 Kristian Kvilekval <kris@cs.ucsb.edu>.
1443 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1445 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
1446 switch all of them on and of when necessary. Fixes the bug when
1447 m4sugar macros (e.g., m4_define) were expanded after the first
1448 automatic update (e.g., after AC_PREREQ or AC_INIT).
1450 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
1452 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
1453 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
1455 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
1456 correctly. Problem reported by Eric Blake.
1457 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
1460 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
1462 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
1463 Tighten up the basename/dirname wording.
1465 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1467 * Makefile.maint (sc_texi_notab): New check: do not use TABs
1468 in texinfo files outside of verbatim environments.
1469 (syntax-check-rules): Update.
1470 * doc/autoconf.texi (Configuration Headers): Conform to it.
1472 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
1474 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
1475 aclocal cannot be given on the command line.
1477 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
1479 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
1480 Give an example for AS_DIRNAME instead of referring to Posix..
1481 (File System Conventions): Put discussion of // versus / here, and
1483 (Limitations of Usual Tools): Add basename. Remove verbiage
1484 after dirname, since it got moved to the above sections.
1485 All this was inspired by a patch proposed earlier by Eric Blake.
1487 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1489 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
1490 `$0' to protect against spaces.
1491 * lib/autotest/general.m4 (AT_INIT): Likewise.
1492 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
1495 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 * bin/autoscan.in: The value of find_configure_ac should be
1498 checked for existence, so we don't barf over a nonexisting
1499 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
1501 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1503 * bin/autoupdate.in: Fix some typos.
1505 2006-03-21 Stepan Kasal <kasal@ucw.cz>
1507 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
1509 * lib/autoscan/autoscan.list: Refreshed.
1511 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1513 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
1514 and Erlang related variables.
1516 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
1517 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
1518 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
1519 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
1520 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
1521 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
1522 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
1523 (_AC_PROG_OBJC_G): New macros.
1524 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
1525 * doc/autoconf.texi (Objective C Compiler): New node.
1526 (Preset Output Variables): Document OBJCFLAGS.
1527 (Language Choice): Document `Objective C' language.
1528 (Fortran Compiler): Fix typo.
1530 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
1532 2006-03-20 Stepan Kasal <kasal@ucw.cz>
1534 * doc/autoconf.texi (Default Includes): Fix typo
1535 s/AC_HEADERS_STDC/AC_HEADER_STDC/
1536 (Limitations of Usual Tools): s/unwriteable/unwritable/
1537 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
1538 Fix typos in the comments.
1540 2006-03-17 Stepan Kasal <kasal@ucw.cz>
1542 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
1543 Factor out the warning to...
1544 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
1545 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
1546 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1548 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
1549 case `ac_delim' when writing the sed script.
1551 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
1552 moved DUALCASE=1 ...
1553 (AS_SHELL_SANITIZE): ... here.
1554 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
1557 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
1559 (_AC_PATH_PROG): Store the result to VARIABLE.
1560 (AC_PATH_PROG): No need to set VARIABLE again.
1562 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
1563 the first one is usual AT_CHECK_MACRO test, the second one checks
1564 that the same works when cross-compiling.
1565 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
1566 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
1568 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1570 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
1571 the directory `/usr/bin/posix' in the shell search, to prefer
1572 the Posix shell not only in subsequent spawns as with `$BIN_SH'
1575 * doc/autoconf.texi (contents): To fix texi2html output, hide
1576 `@setcontentsaftertitlepage' for HTML.
1577 (Writing Autoconf Macros): Likewise, insert space after `@c'.
1578 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
1581 2006-03-16 Stepan Kasal <kasal@ucw.cz>
1583 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
1585 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
1586 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
1587 why IFS is restored so late; thank you, Ralf, for reminding us.
1589 2006-03-15 Stepan Kasal <kasal@ucw.cz>
1591 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
1592 variables in the examples.
1594 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1596 * doc/autoconf.texi (several sections): Cleaned up documentation for
1597 macros in erlang.m4.
1599 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1601 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
1602 failure condition for `$(cmd)' style command substitutions.
1603 (Parenthetical command substition, Multiline parenthetical
1604 command substition): Use it.
1606 * doc/autoconf.texi (Special Shell Variables): Missing word.
1607 Reported by Keith Marshall <keith.marshall@total.com>.
1609 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
1610 IFS even in case of empty `$PATH'.
1612 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1614 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
1615 `expr' away if there is nothing to do.
1616 < --keywords >: Simplify and robustify argument handling.
1617 Revert erroneous comment from 2005-08-23. Extend to allow
1618 keyword negation with `!'.
1619 Update help message. Remove broken code to prevent running
1620 tests multiple times.
1621 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
1622 Update and fix the documentation accordingly.
1623 * tests/autotest.at (Keywords): Renamed to..
1624 (Keywords and ranges): .. this. Extended to make sure negated
1625 keywords, keywords taken from AT_SETUP arguments, and numeric
1626 test ranges work, and that matching is case-insensitive.
1628 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1630 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
1631 allow to pass unnamed structs even in C++.
1632 (AC_CHECK_SIZEOF): Likewise.
1633 Also fix quoting error in `AC_MSG_FAILURE' arguments.
1634 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
1635 struct): New tests for unnamed structs, each both native and
1638 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
1639 a structure inside a cast, for C++ conformance.
1640 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
1641 Also fix quoting error in `AC_MSG_FAILURE' arguments.
1643 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
1644 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
1645 trying to execute the command `no'.
1647 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
1648 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
1651 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
1652 example. Do not emphasize `$%', it is hardly new and special.
1653 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
1655 * doc/autoconf.texi (Limitations of Usual Tools): Document
1656 OpenBSD and traditional `grep' failure to handle multiple
1657 patterns separated by newlines.
1659 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1661 * doc/autoconf.texi (several sections): Add documentation for macros
1664 2006-03-10 Eric Blake <ebb9@byu.net>
1666 * doc/autoconf.texi (Obsolete Macros): Fix wording of
1669 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
1671 * doc/autoconf.texi: Use @acronym more consistently for acronyms
1672 like BSD, GPL, LGPL. Fix minor English typos.
1673 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
1674 Mention that these macros are becoming obsolete.
1675 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
1676 Use more modern terminology for which standard is what.
1677 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
1679 (AC_PROG_CXX): Likewise.
1680 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
1681 Remove obsolete discussion about how to port to K&R.
1682 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
1683 the obsolescent AC_HEADER_STDC.
1684 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
1687 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1689 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1690 Remove stdin redirection from /dev/null to allow pipe to work.
1692 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
1694 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1695 Require that /lib/cpp include stdio.h correctly. Solaris 10's
1696 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
1699 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1701 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
1702 HP-UX sed is 99 commands, not 100.
1703 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
1704 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
1705 newline for portability.
1706 * tests/torture.at (Torturing config.status): Also test 100
1707 AC_SUBST_FILE invocations. Fix test to actually verify the
1708 AC_CONFIG_FILES output.
1709 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
1710 command, label, and read-file `r' limits. Unify HP-UX spelling.
1712 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
1714 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
1716 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
1717 * tests/mktests.sh: Small shell portability fixes.
1719 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1721 * doc/autoconf.texi (Caching Results): Fix the examples to use a
1722 recommended quoting style and discard unwanted output.
1724 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
1726 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
1727 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
1728 cases, and to work around Tru64 expr bug.
1730 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1732 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
1733 expr bug that turns the result of a regex match into a number if
1736 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1738 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
1739 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
1740 in section `Specific Compiler Characteristics'.
1742 2006-03-04 Eric Blake <ebb9@byu.net>
1744 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
1747 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1749 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1750 order of variable initialization, so even the Solaris 2.6 shell
1751 can create a config header correctly. Fixes lots of test suite
1754 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1756 * doc/autoconf.texi (Text processing Macros): New node to
1757 document the m4sugar macros m4_re_escape, m4_tolower,
1758 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1760 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
1762 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1763 XrmInitialize (0) -> XrmInitialize ().
1764 Reported by Toshio Kuratomi.
1766 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1768 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1769 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1770 * doc/autoconf.texi (Programming in M4sh): Adjusted.
1771 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
1772 both macros are defun'ed so that required macros are evaluated
1775 * doc/autoconf.texi (Prerequisite Macros): State more precisely
1776 where a required macro will be expanded.
1777 (Coding Style): Another reason not to use `m4_define'.
1779 2006-02-21 Eric Blake <ebb9@byu.net>
1781 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1783 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1785 * doc/autoconf.texi (Looping constructs): New node, to
1786 document m4_for, m4_foreach, m4_foreach_w, and mention
1787 obsolete AC_FOREACH.
1788 (Obsolete Macros): Document AC_FOREACH.
1789 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1790 (m4_for): Fix to never loop (almost) endlessly, work correctly
1791 with arithmetic expressions in arguments, a step of zero or
1792 non-integer multiple of the interval, and avoid integer
1794 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1797 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1799 Add basic support for Erlang, both for configuring Erlang/OTP
1800 tools, and Erlang as a conf test language.
1801 * lib/autoconf/erlang.m4: New file.
1802 * lib/autoconf/autoconf.m4: Add erlang.m4.
1803 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1804 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1805 * NEWS: Add short description of new macros.
1806 * THANKS: Add Romain Lenglet.
1808 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1810 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1811 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1813 2006-02-15 Eric Blake <ebb9@byu.net>
1815 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1818 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1820 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1821 (_AS_CASE): Private helper macro.
1822 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1823 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1824 Fix syntax of AS_IF description
1825 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1826 for the AC_REQUIRE mess.
1827 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1830 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
1832 * doc/autoconf.texi: Minor style cleanup.
1833 Be consistent about spaces after commas.
1834 Insert [] where empty args look a bit funny.
1835 Fix some "i.e." and "e.g." usages.
1836 Try to avoid "X/Y" usages.
1837 Don't be pedantic about "ISO C99"; just say C99.
1838 Prefer GNU style for spaces in front of parens.
1839 (Function Portability): Comment about C89 versus C99
1840 signed integer division.
1841 (Particular Headers): Use current gnulib style for dirent
1844 2006-02-14 Stepan Kasal <kasal@ucw.cz>
1845 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1847 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1848 macros without parameters.
1849 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1850 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1851 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1853 (autoupdate): Updated to match AU_ALIAS fix.
1855 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1856 and Paul Eggert <eggert@cs.ucla.edu>
1858 * doc/autoconf.texi (Programming in M4sh): Document
1859 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1861 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1863 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1864 (AS_BOURNE_COMPATIBLE): ..this.
1865 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1867 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1869 * doc/install.texi (Defining Variables): Tighten up the
1870 CONFIG_SHELL wording.
1872 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1873 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1875 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1876 of (set -o) rather than testing whether (set -o posix) succeeds,
1877 to work around a bug in the AIX 5.3 shell. Problem originally
1878 reportd by Howard Chu for libtool.
1880 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
1882 * doc/autoconf.texi (Running the Compiler, Running the Linker):
1883 Changes the macro arguments in summaries to match the
1886 2006-02-04 Stepan Kasal <kasal@ucw.cz>
1888 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
1889 hint as ``a workaround for a bug.''
1891 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1893 * bin/autoreconf.in: New option `--no-recursive'.
1894 Improve wording for subpackages a bit.
1895 * doc/autoconf.texi (autoreconf Invocation): Updated.
1898 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1899 in environment of `configure', not the command line.
1900 Reported by Howard Chu <hyc@highlandsun.com>.
1902 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1904 * doc/autoconf.texi (Limitations of Builtins): Document the
1905 problem with "trap -".
1907 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
1909 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1910 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1911 messages to differentiate Fortran and Fortran 77 tests.
1912 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1913 AC_LANG_ASSERT, to allow use in mixed-language projects.
1915 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1917 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1918 FOO" to "defined (FOO)".
1919 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1920 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1921 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1922 * tests/tools.at (ifnames): Likewise.
1924 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1926 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1927 * lib/Autom4te/General.pm (mktmpdir): Likewise.
1928 (END): Improve error message a bit.
1929 Reported by Bruce Korb <bkorb@gnu.org>.
1931 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1933 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1934 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1936 2006-01-11 Stepan Kasal <kasal@ucw.cz>
1938 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1939 requires sys/stream.h. Reported by Oliver Kiddle.
1941 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1942 Stepan Kasal <kasal@ucw.cz>
1944 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1945 before the removals of test dirs, use `find' to avoid modification
1946 of symlinked directories.
1948 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1950 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1951 Don't ignore the macro arguments.
1953 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
1955 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1956 declaration that works for MSVC.
1958 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1960 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1961 Add `*.map' and `.inf' for Green Hills compiler.
1962 Reported by Stefan Seefeld <stefan@codesourcery.com>.
1964 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1965 correctly: pad with spaces after FIRST_PREFIX if necessary,
1966 and compute string lenghts with `m4_qlen' instead of `m4_len'.
1967 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1968 * tests/m4sh.at (AS_HELP_STRING): Test extended.
1970 Reported by numerous people, numerous times.
1972 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
1974 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
1975 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
1976 * lib/autoconf/general.m4, lib/autoconf/status.m4:
1977 * lib/autotest/general.m4, tests/local.at:
1978 Update copyright year to 2006.
1980 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
1982 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
1983 for file names, again. Reported by Noah Misch.
1984 (Coding Style): Explain that s|a|b| is preferred for file names.
1985 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
1986 (AC_OUTPUT_MAKE_DEFS): Likewise.
1987 * lib/autotest/general.m4 (AT_INIT): Likewise.
1988 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
1989 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
1991 Fix Posix-conformance bugs re use of { command in sed scripts,
1992 and improve the sed-related documentation a bit.
1993 * doc/autoconf.texi (Installation Directory Variables): Use
1994 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
1995 rather than "sed" when talking about Sed in general.
1996 (Particular Programs): Likewise.
1997 (Coding Style): y is like s with respect to / and ,.
1998 (Limitations of Usual Tools): Document the weird restrictions
1999 that Posix has about { }. Use better quoting.
2000 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2001 Rewrite to conform to Posix rules about { } in sed scripts.
2002 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2003 * tests/foreign.at (Libtool): Likewise.
2004 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2005 Use our own style advice re 's,a,b,' versus 's|a|b|'.
2007 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2009 * lib/autoconf/status.m4: Fix typo.
2011 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2012 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2013 `-def', for the benefit of Portland `pgf90 -Mipa'.
2014 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2016 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
2018 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2019 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2020 shell from zsh to bash.
2022 2005-12-31 Stepan Kasal <kasal@ucw.cz>
2024 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2025 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
2027 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
2029 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2030 parentheses in $(...). Problem reported by Eric Blake.
2032 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
2034 * doc/autoconf.texi (Limitations of Usual Tools):
2035 Mention which characters can be escaped with \ in portable regular
2036 expressions used in grep, sed, expr. Mention the leading ^ problem
2037 with expr. Clean up some confusing wording. Mention which
2038 grep options are portable.
2040 2005-12-09 Stepan Kasal <kasal@ucw.cz>
2042 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2044 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
2046 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2047 patch, noted by Ralf Wildenhues.
2049 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2051 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2052 posix' unconditionally, for pdksh in `native sh' emulation.
2054 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
2056 * doc/autoconf.texi (Shellology): Document eval $? problem
2058 (Limitations of Builtins): Likewise.
2060 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2062 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2063 CONFIG_SHELL in the environment of the configure rerun.
2064 * doc/autoconf.texi (Here-Documents, config.status Invocation):
2065 Suggest passing CONFIG_SHELL absolute, and in the environment
2066 rather than as option.
2068 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2070 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2071 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2072 Fix macro quoting. Fix output for n * 98 substituted variables.
2074 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2076 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2077 `tmp' to avoid file removal race.
2079 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2081 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2082 ac_clean_files and LIBOBJS.
2084 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2086 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2087 Factor functionality to..
2088 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2089 `AC_SUBST($1)' in the public version.
2090 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2091 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2094 2005-11-01 Stepan Kasal <kasal@ucw.cz>
2096 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2099 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2101 * NEWS: Move AH_HEADER mention to right place.
2103 2005-10-27 Stepan Kasal <kasal@ucw.cz>
2105 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2106 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2108 2005-10-25 Stepan Kasal <kasal@ucw.cz>
2110 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2111 conftst2.$ac_objext.
2112 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2114 2005-10-24 Stepan Kasal <kasal@ucw.cz>
2116 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2117 conftest.o, to see whether the compiler really obeys; rm the object
2118 file before and after the test and register it with ac_clean_files.
2119 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2121 2005-10-21 Stepan Kasal <kasal@ucw.cz>
2123 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2124 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2125 code so that the most common case requires less forks.
2127 2005-10-20 Stepan Kasal <kasal@ucw.cz>
2129 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2130 not portable; thanks to Paul Eggert and Alexandre.
2132 * NEWS: Fix an old typo.
2134 2005-10-20 Jim Meyering <jim@meyering.net>
2136 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2137 the latter'', in two places.
2139 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
2141 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2142 AC_LANG_PROGRAM, fixing a typo. Don't give details about
2143 the inner workings of AC_LANG_FUNC_LINK_TRY.
2144 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2145 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
2146 by the function rather than ignoring it.
2147 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2148 comparing its address. Intel's interprocedural optimization was
2149 outsmarting the old heuristic. Problem reported by
2152 2005-10-19 Stepan Kasal <kasal@ucw.cz>
2154 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2156 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
2158 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2159 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
2161 2005-10-04 Stepan Kasal <kasal@ucw.cz>
2163 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2164 before removing it (chmod -R u+rwx); there are three instances of this.
2166 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2167 Stepan Kasal <kasal@ucw.cz>
2169 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2170 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2171 make its content writable before removing it. Remove an errorneous
2172 comment from the end, where the logs of the failed tests are copied
2173 to the main log file.
2175 2005-09-27 Stepan Kasal <kasal@ucw.cz>
2177 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2178 in case the computer is too quick. Double quote the configure.ac
2181 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2182 problems if the testsuite were running too fast.
2184 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2186 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2187 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2188 (which belong to Xt, not X itself). See Debian bug 327655.
2189 * NEWS: Mention this.
2191 2005-09-07 Stepan Kasal <kasal@ucw.cz>
2193 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2195 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
2197 * config/move-if-change: Don't output "$2 is unchanged";
2198 suggested by Ben Elliston. Handle weird characters correctly.
2200 2005-09-06 Stepan Kasal <kasal@ucw.cz>
2202 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2203 calls, so that the final expansion of this macro is shorter.
2204 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2205 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2206 the cleanup there. Use AS_VAR_* macros, to be more general.
2207 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2209 * lib/autoconf/general.m4: Use AS_IF where appropriate.
2211 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2213 2005-09-01 Stepan Kasal <kasal@ucw.cz>
2215 * doc/autoconf.texi (Configuration Headers): Add an index entry
2218 2005-08-26 Pavel Roskin <proski@gnu.org>
2220 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2221 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
2224 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
2226 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2227 The previous patch didn't work, so try a better one.
2229 2005-08-26 Stepan Kasal <kasal@ucw.cz>
2231 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2232 in the example. Reported by Bruno Haible.
2233 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
2234 "if $undefined_var;" succeeds with my shell.
2236 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2237 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2238 but change the m4_divert_text to m4_divert_once.
2240 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
2242 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2243 Work around bug in Solaris /usr/xpg4/bin/awk.
2244 The bug is present in at least Solaris 8 through 10.
2246 2005-08-24 Stepan Kasal <kasal@ucw.cz>
2248 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2249 some evil values and relying on the fact that $* concatenates the
2250 parameters by the first character from IFS.
2252 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2253 Stepan Kasal <kasal@ucw.cz>
2255 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
2256 first header appears, define AH_HEADER.
2257 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
2258 Update limitations about when to call AC_CONFIG_HEADERS.
2259 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
2260 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
2261 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
2262 ``Configuration Actions''; fix their index entries.
2264 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
2265 options correctly. Process N-M as M-N if M is smaller than N.
2266 Process ranges correctly so that N-N will run only N.
2267 Sort and uniquify the tests that will be run. If there is more
2268 than one test, reinsert the banners for the tests.
2269 * tests/autotest.at (Keywords): Unmark XFAIL.
2271 2005-08-23 Stepan Kasal <kasal@ucw.cz>
2273 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
2274 before passing the macro name to AH_TEMPLATE.
2276 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
2277 now opens log after option processing; in particular, --version
2278 and --help do not touch config.log.
2280 * Makefile.maint: Revert the change from 2005-08-12.
2282 2005-08-22 Stepan Kasal <kasal@ucw.cz>
2284 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
2286 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
2288 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2290 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
2291 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
2294 * doc/autoconf.texi (Defining Symbols, Changed Results):
2295 Prepend to LIBS, not append, in examples.
2297 2005-08-16 Stepan Kasal <kasal@ucw.cz>
2299 When building in place, set srcdir="."; suggested by Tim Van Holder.
2301 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
2302 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
2303 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
2304 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
2305 does not mean "no --srcdir option".
2307 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2309 * tests/autoscan.at (autoscan): New file.
2310 * tests/suite.at: Use it.
2311 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
2312 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
2314 * tests/autotest.at (Keywords): Test keywords combinations.
2316 2005-08-12 Stepan Kasal <kasal@ucw.cz>
2318 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
2319 add "2>&1"; gzip 1.2.4 prints help on stderr.
2321 2005-07-27 Stepan Kasal <kasal@ucw.cz>
2323 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
2324 was pushdef'ed twice while popped only once. Push it only once.
2325 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
2327 2005-07-26 Stepan Kasal <kasal@ucw.cz>
2329 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
2330 prefixed by mere "===", not "configure: === ".
2332 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
2334 * Makefile.maint: Update from Bison.
2336 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
2337 "<tab>" in comment, so that the point is understandable.
2339 2005-07-25 Stepan Kasal <kasal@ucw.cz>
2341 Rewrite substantial part of lib/autoconf/status.m4.
2342 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
2343 and CONFIG_COMMANDS are not processed in four separate loops.
2344 Instead, there is one main loop. This alows that the common code
2345 is expanded only once, thus config.status (and configure) is smaller.
2347 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
2348 the AC_LIST_FILES and cousins macros are no longer used.
2350 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
2351 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
2352 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
2353 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
2354 contain the initialization, nor the for loop, nor the associated
2355 commands; all these go to ...
2356 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
2357 _AC_OUTPUT_CONFIG_STATUS.
2358 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
2359 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
2360 (_AC_OUTPUT_FILE): The creation of the sed script ...
2361 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
2362 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
2363 _AC_OUTPUT_MAIN_LOOP.
2364 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
2365 _AC_CONFIG_COMMANDS): Use ...
2366 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
2367 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
2368 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
2369 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
2370 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
2371 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
2373 (_AC_CONFIG_UNIQUE): Update.
2374 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
2375 Replaced by this ...
2376 (_AC_LIST_TAGS): ... new common macro.
2377 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
2378 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
2379 (_AC_LIST_TAG_COMMANDS): ... new common macro.
2380 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
2381 this didn't belong to the `config commands' section.
2382 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
2383 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
2384 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
2385 to the `config commands' section either.
2386 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
2387 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
2389 ... and many changes to the comments nearby.
2391 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
2392 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
2393 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2394 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
2395 (#define header templates): The comment at the top of the generated
2396 header now includes the name(s) of the source file(s).
2398 Several unrelated small changes:
2400 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
2401 parameter to AC_DIAGNOSE.
2402 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
2403 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
2404 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
2405 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
2407 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
2408 in AC_OUTPUT doesn't double-quote it either.
2409 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
2412 2005-07-10 Stepan Kasal <kasal@ucw.cz>
2414 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
2415 versions of Portland Group compiler produce single- and double-quoted
2416 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
2417 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2419 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
2421 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2422 This is a corrected version of yesterday's patch.
2424 2005-07-07 Stepan Kasal <kasal@ucw.cz>
2426 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
2427 path, too; insert a "===" to emphasize the line.
2429 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
2430 ac_cv_build_alias to ac_build_alias.
2431 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
2433 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
2434 change eliminates it. Problem reported by Alexandre Duret-Lutz.
2435 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
2436 (AC_ARG_VAR): ... here.
2437 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
2440 Keep a list of all precious variables and process them with one simple
2441 for loop, instead of expanding all commands, or, OTOH, complicated
2442 processing of output of "set".
2443 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
2444 variable names in new macro...
2445 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
2446 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
2447 a loop to assign all ac_env_* and ac_cv_env_* variables.
2448 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
2450 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
2451 its value to shell variable ac_precious_vars and call
2452 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
2453 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
2454 _AC_ARG_VAR_VALIDATE.
2456 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
2457 and the AC_SUBSTs ...
2458 (AC_INIT): ... here.
2460 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
2461 the ac_subst_files section in config.log.
2463 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
2465 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
2467 * NEWS: New macro AC_C_TYPEOF.
2468 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
2469 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
2470 * tests/c.at (C keywords): Test AC_C_TYPEOF.
2472 Fix problems reported by Nicolas Joly.
2473 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
2474 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
2475 They are generated by the Tru64 v5.1B shell.
2477 2005-07-05 Stepan Kasal <kasal@ucw.cz>
2479 Fix my changes from 2005-07-01; reported by Noah Misch.
2480 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
2481 description, the macro now accepts only a single tag.
2482 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
2484 Fix cases when the varsions of Autoconf and Autotest don't match.
2485 Reported by Noah Misch.
2486 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
2487 at_top_builddir, for compatibility with older autotest.
2488 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
2489 is not set, use at_top_builddir, for compatibility with older
2490 versions of autoconf.
2492 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
2494 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
2495 Problem reported by Patrick Welche.
2497 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
2499 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
2500 sed substitution command, so that we allow | in program prefixes
2501 and program suffixes. (& is a problem anyway; we're not fixing
2503 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
2504 configure_input, top_builddir, srcdir, etc.
2505 * lib/autotest/general.m4 (AT_INIT): Likewise, for
2506 PATH_SEPARATOR in AUTOTEST_PATH.
2508 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
2510 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
2511 for loop over config.site files using `set', to allow
2512 directory names containing IFS characters.
2514 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
2516 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
2517 directories with weird names. Apparently some people like living
2518 on the edge. However, improve the test that "pwd" actually does
2519 report a name for the working directory.
2520 * NEWS: Remove the claim that we test for funny chars in dir names.
2522 2005-07-01 Stepan Kasal <kasal@ucw.cz>
2524 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
2526 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
2527 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
2528 Now accept a single tag, not whitespace separated list.
2529 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
2531 2005-06-30 Stepan Kasal <kasal@ucw.cz>
2533 * doc/autoconf.texi (Configuration Headers): Change the explanation
2534 about #include <config.h>.
2535 (Generic Functions): Mention the Gnulib project.
2536 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
2538 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
2539 document to output the default config_* lists to config.status.
2540 Don't recognize option --file, if the functionality is not there.
2541 Likewise for --header; moreover, recognize --he and --h as shortcuts
2542 for --help in that case.
2544 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
2545 matches the order of execution. No code changed.
2547 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2549 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
2550 single-quoted -cmdline argument in Portland Group compiler.
2551 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
2553 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
2555 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
2557 2005-06-29 Stepan Kasal <kasal@ucw.cz>
2559 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
2560 descriptors to child processes; reported by Norman Gray.
2562 2005-06-29 Stepan Kasal <kasal@ucw.cz>
2564 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
2566 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
2567 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
2568 (AC_SUBST): Call it.
2569 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
2570 the directory specific variables; but don't call it for configure_input.
2572 2005-06-28 Derek Price <derek@ximbiot.com>
2574 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
2577 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
2579 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
2580 directory have inherent problems with special characters like spaces,
2581 due to limitations in Make syntax. Problem reported by Alexandre
2583 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
2584 Also, fix Tru64 porting problem with shell patterns,
2585 reported by Ralf Wildenhues.
2587 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2589 * doc/autoconf.texi (Subdirectories): Fix markup typos.
2591 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
2593 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
2595 Fix some more shell quoting problems. Prompted by a bug report
2596 from Justace Clutter.
2597 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
2598 variable into diagnostic. Make the diagnostic an error, not a warning,
2599 because we really don't support spaces and suchlike in dir names.
2600 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
2601 Don't worry about backslashes in srcdir; it can't happen now.
2602 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
2603 Simplify ac_optarg handling.
2604 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
2606 2005-06-22 Stepan Kasal <kasal@ucw.cz>
2608 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
2609 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
2610 * tests/atlocal.in: Propagate $EGREP and $SED.
2611 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
2612 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
2614 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
2615 that '\|' is not allowed in BREs; recommend using newline separated
2616 list of patterns instead of multiple -e options.
2618 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
2620 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
2622 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2624 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
2626 2005-06-21 Stepan Kasal <kasal@ucw.cz>
2628 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
2629 b, t, r, w commands require single space, while : cannot have any.
2630 (Special Shell Variables): Fix sed code this in the example.
2631 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
2632 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
2634 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
2635 expand to the empty list. Don't use two pairs of m4_changequote,
2638 2005-06-20 Derek Price <derek@ximbiot.com>
2640 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
2642 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
2644 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
2645 * doc/autoconf.texi:
2646 Don't mention Solaris versions so much, if a
2647 problem is common to all extant versions of Solaris. Say "SunOS
2648 4" instead of "SunOS" for SunOS 4.
2649 (awk): Mention more of the limitations of traditional Awk.
2650 (cat): Don't talk about cat -v.
2652 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
2654 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
2655 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
2656 but the implementation is entirely different and is designed
2657 to be compatible with glibc strverscmp.
2658 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
2660 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
2661 on Mac OS X 10.4 reported by Peter O'Gorman in:
2662 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
2663 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
2664 Use shell builtins rather than 'expr', to work around expr bug.
2666 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
2668 * doc/autoconf.texi: "filesystem" -> "file system".
2669 "behaviour" -> "behavior".
2670 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
2671 * lib/autoconf/general.m4: Omit blank after ":" sed command,
2673 * lib/m4sugar/m4sh.m4: Likewise.
2674 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
2675 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
2677 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
2678 (.x.1): Ignore the time stamp in the .TH line when deciding whether
2679 to update the man page. That way, we don't have to check in new
2680 man pages every month.
2682 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
2683 quotes and backslashes. Patch from Derek Price.
2685 2005-06-10 Derek Price <derek@ximbiot.com>
2687 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
2690 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
2692 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
2693 -u, since it outputs chatter if the input files are the same.
2694 Problem reported by Ralf Menzel.
2696 2005-06-08 Derek Price <derek@ximbiot.com>
2698 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
2699 renaming them since they are about to be redefined anyhow.
2701 2005-06-08 Derek Price <derek@ximbiot.com>
2703 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
2704 redefined M4 macros to this node. Document m4_include & m4_sinclude.
2705 Move m4_undefine to alphabetical order.
2707 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
2709 * README: Recommend GNU M4 1.4.3 or later.
2710 * doc/autoconf.texi (Introduction): Likewise.
2711 Reword to avoid some formatting glitches.
2712 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
2713 Clarify explanation of HP compiler bug.
2714 Redo example output tp match current CVS snapshot.
2715 Use @example.org in email addresses when the examples
2716 might get inadvertently cut-and-pasted into user code.
2717 Remove example of autom4te usage that doesn't seem to work now.
2718 Use modern AC_INIT (except when the example is meant to be
2719 shown with Autoconf 2.13).
2720 Update ksh info for Solaris 9 and later.
2722 Modernize description of Automake versions a bit.
2723 Don't claim a future version of Autoconf is near.
2724 * doc/install.texi: Reword to avoid some formatting glitches.
2726 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2728 * doc/autoconf.texi: Add [] to examples, so that the manual
2729 follows its own advice about quoting better.
2730 Reword to avoid some formatting glitches.
2731 * doc/installt.exi: Reword to avoid some formatting glitches.
2733 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2734 Tru64 ksh pattern matching bug. Reported against Libtool by
2735 Albert Chin <libtool@mlists.thewrittenword.com> and
2736 Nicolas Joly <njoly@pasteur.fr>.
2738 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2740 m4_cdr of one-member list was [[]] (one-member list containing an
2741 empty string) instead of [] (an empty list. Callers were skewed to
2742 match this misbehaviour. As a consequence of this:
2743 - m4_foreach([x], [], [foo]) expanded to `foo', while
2744 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
2745 This bug has been fixed:
2747 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
2748 expand to an empty string; print error msg if called without
2750 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2751 misbehaviour; handle [] and [[]] correctly.
2753 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2755 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2756 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2757 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2759 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
2761 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2762 swallow records with more than 99 fields.
2763 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2764 parse the long line.
2766 2005-06-04 Stepan Kasal <kasal@ucw.cz>
2768 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2769 swallow literals longer than 399. Reported by Ralf Wildenhues.
2770 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2771 to workaround this limitation.
2773 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
2775 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2776 to gfortran, and make these the first two compiler names
2777 checked (following the general autoconf preference for gcc).
2779 2005-06-03 Stepan Kasal <kasal@ucw.cz>
2781 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2782 (DISTCLEANFILES): Remove $(check_SCRIPTS).
2783 (testsuite): Make sure autotest.m4f is up-to-date before using it.
2785 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
2787 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2788 expression of unbounded size when processing the --list
2789 option. This runs afoul of a limit of 399 bytes per regular
2790 expression on AIX. Problem reported by Ralf Wildenhues.
2792 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
2794 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2795 * doc/autoconf.texi (Particular Headers): Reword example
2796 for multiline stdbool replacement.
2797 (Setting Output Variables): Reword text a bit. Don't
2798 give all the details about |#_!!_#|.
2799 Reword description of line replacement.
2801 2005-05-31 Dan Manthey <dan_manthey@partech.com>
2803 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2804 now contain newlines, and substituted files must be referenced on
2805 a line alone; the sed scripts to substitute them are now very
2807 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2808 commands can be put in a sed script portably.
2809 * doc/autoconf.texi (Setting Output Variables): Document above
2810 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2811 use of multiline substitution.
2812 * tests/torture.at: No longer expect substitution of newline to fail.
2814 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
2816 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2817 From Ralf Menzel (trivial change).
2819 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
2821 * tests/local.at: Don't attempt to check for negated character
2822 classes in shell scripts. The test was too brittle.
2824 2005-05-25 Stepan Kasal <kasal@ucw.cz>
2826 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2827 * doc/autoconf.texi (Limitations of Builtins): Document this
2830 2005-05-24 Stepan Kasal <kasal@ucw.cz>
2832 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2833 common code; used in many places in the tree.
2834 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2835 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2837 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2839 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2840 messages when ac_unique_file is not found.
2841 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2842 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2843 commands, for consistency with AC_MSG_ERROR and such.
2845 * bin/autoconf.as: Make more use of "shift 2" in option processing.
2847 * bin/Makefile.am: Merge the two rules for creating scripts.
2849 2005-05-23 Stepan Kasal <kasal@ucw.cz>
2851 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2852 obsolete; it was never documented.
2853 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2855 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2857 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2858 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2859 (ac_top_builddir): ... this ...
2860 (ac_top_build_prefix): ... to this; the old name is also kept, for
2861 backward compatibility.
2862 (ac_top_builddir_sub): New variable, without the trailing slash,
2864 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2865 * doc/autoconf.texi (Configuration Actions): Rename
2866 ac_top_builddir to ac_top_build_prefix.
2867 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2868 at_top_builddir to at_top_build_prefix.
2869 * lib/autotest/general.m4 (AT_INIT): Likewise.
2871 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2873 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2876 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2878 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2879 argument to m4_foreach. I guess it was necessary in the past,
2880 but I think it's a no-op now.
2882 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2884 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2885 ``cat <<_ACEOF'' commands to one.
2886 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
2887 * lib/autoconf/status.m4: On various places, use expr instead of
2889 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
2890 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
2891 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2893 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2894 the wrong patterns between ``case'' and ``esac.'' The previous
2895 code had false positives.
2897 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
2899 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2901 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2904 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
2906 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2907 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2908 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2909 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2910 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2911 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2912 config/config.guess, config/config.sub, config/elisp-comp,
2913 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2914 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2915 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2916 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2917 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2918 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2919 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2920 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2921 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2922 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2923 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2924 lib/autoconf/general.m4, lib/autoconf/headers.m4,
2925 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2926 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2927 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2928 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2929 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2930 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2931 lib/autotest/general.m4, lib/emacs/Makefile.am,
2932 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2933 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2934 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2935 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2936 tests/compile.at, tests/foreign.at, tests/fortran.at,
2937 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2938 tests/semantics.at, tests/suite.at, tests/tools.at,
2939 tests/torture.at, tests/wrapper.as:
2940 Update FSF postal mail address.
2942 2005-05-13 Stepan Kasal <kasal@ucw.cz>
2944 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2946 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2947 enough arguments, similarly as in m4_bpatsubsts.
2949 2005-05-12 Stepan Kasal <kasal@ucw.cz>
2951 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2954 2005-05-11 Stepan Kasal <kasal@ucw.cz>
2956 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2957 for absolute directory names in one loop.
2958 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2959 abbreviations of --version and --debug.
2961 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
2963 * doc/autoconf.texi (Autoconf Language): Be more precise about
2964 quoting rules. Problems noted by Stepan Kasal.
2965 Also, throughout this document, be more careful about white space.
2966 "blank", "white space", and "space" all have different meanings
2967 and we should be careful to say what we mean.
2969 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
2971 Fix C++ related problems reported by Werner Lemberg.
2972 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
2973 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
2974 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
2975 avoid problems with C++ and throw.
2976 * tests/compile.at: .cpp, not .cc.
2978 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2980 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2982 * doc/autoconf.texi (Generic Functions): Typos.
2984 2005-05-02 Gary V. Vaughan <gary@gnu.org>
2986 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
2987 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
2988 set by latest automake.
2990 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
2992 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
2993 outputs 0 on GNU/Linux these days.
2995 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
2997 * doc/autoconf.texi (Autoconf Language): Add more description
2998 about quoting heuristics.
2999 (Limitations of Builtins): Describe "set -" problems.
3001 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3003 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3006 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3007 by AC_DEFINE; it was a mistake.
3008 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3010 2005-04-25 Stepan Kasal <kasal@ucw.cz>
3012 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3014 2005-04-22 Stepan Kasal <kasal@ucw.cz>
3016 * doc/autoconf.texi (External Software): Quadrigraphs are not
3017 processed correctly in AS_HELP_STRING; avoid this in the examples.
3018 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3019 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3020 comment and reduce m4_default([foo], []) to [foo].
3021 (m4_strip): Update the explanation.
3023 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
3025 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3026 Remove core.conftest.* too; it's generated by Tru64 5.1.
3027 Problem reported by Jennis Pruett.
3028 * lib/autoconf/functions.m4
3029 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3030 Don't bother to remove core files; AC_RUN_IFELSE should do that
3033 2005-04-19 Stepan Kasal <kasal@ucw.cz>
3035 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3037 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
3039 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3040 Report from Horst Wente.
3042 2005-04-15 Stepan Kasal <kasal@ucw.cz>
3044 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3047 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
3049 * doc/autoconf.texi (External Software, Package Options): Add
3050 examples showing how to implement --with-* and --enable-* options.
3052 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
3054 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3055 as well as configure.in. Problem reported by Gregorio Guidi.
3057 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
3059 * doc/autoconf.texi (Particular Functions): Use gnulib's current
3060 pattern for alloca snippet.
3062 2005-04-04 Stepan Kasal <kasal@ucw.cz>
3064 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3066 2005-04-01 Stepan Kasal <kasal@ucw.cz>
3068 * doc/autoconf.texi (Generic Programs): Fix a typo.
3070 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
3072 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3073 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
3075 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3077 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3078 Merge `-z option' as well for the benefit of Solaris link flags. Pass
3079 whole-archive (-zallextract, -zdefaultextract) options in the hope of
3080 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
3081 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3083 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
3085 * NEWS: The configure command now warns you if you attempt to use
3086 a directory whose name contains a special character like space,
3088 * doc/autoconf.texi (Installation Directory Variables): Allow
3089 "," in file names. Do not use \@; it's not a portable regexp.
3090 * bin/Makefile.am (edit): Likewise.
3091 * lib/Makefile.am (edit): Likewise.
3092 * tests/Makefile.am (edit): Likewise.
3093 * tests/semantics.at: Likewise.
3094 * tests/torture.at: Likewise.
3095 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3096 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3097 * doc/autoconf.texi (File System Conventions): Warn about
3098 unportable file names.
3099 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3101 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3102 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3103 ac_pwd, and quote srcdir.
3104 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3106 * doc/autoconf.texi: Fix some systematic formatting problems.
3107 ".)" needs a following @: if not at the end of a sentence, and
3108 similarly for "!)". "etc." should be preceded by a comma.
3109 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
3111 2005-03-22 Bruno Haible <bruno@clisp.org>
3113 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3114 argument is often called 'build-aux'.
3116 2005-03-07 Stepan Kasal <kasal@ucw.cz>
3118 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3119 macro AC_TRY_LINK is obsolete.
3120 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3123 2005-02-24 Stepan Kasal <kasal@ucw.cz>
3125 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3126 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3127 from a Common Lisp's `cl'.
3128 (AC_PROG_CXX): Behave according to the documentation: don't
3129 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3130 make the variable CCC precious; use `cl.exe', not `cl'.
3132 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3133 Alexandre Duret-Lutz <adl@gnu.org>
3135 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3136 /dev/null, as "configure" shouldn't read stdin, and this insulates
3137 us from problems (e.g., when testing for "cl"). Also, do this
3138 redirection before invoking "hostname" or "uname", and keep the
3139 original input stream available via...
3140 (AS_ORIGINAL_STDIN_FD): ... this new macro.
3141 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3142 bother with "</dev/null" since it's now done at the top of
3144 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3145 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3146 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3147 * doc/autoconf.texi (File Descriptor Macros): New section.
3148 (Printing Messages): Mention it.
3149 * tests/base.at (Input/Output): New test.
3151 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3153 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3154 newline if neither \c nor -n work, as that would output two
3155 newlines. Prefer -n to \c. Reported by Stepan Kasal.
3157 2005-02-12 Stepan Kasal <kasal@ucw.cz>
3159 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3160 This causes that any required macros inside will get before the if.
3161 * doc/autoconf.texi (autom4te.cache): A typo.
3163 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
3165 Undo previous change, except keep the change to
3166 lib/autoconf/programs.m4 that replaced grep with shell
3167 pattern-matching. This is because net-snmp configure reads stdin.
3168 Reported by Noah Misch.
3170 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
3172 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3173 from /dev/null, as "configure" shouldn't read stdin, and this
3174 insulates us from problems (e.g., when testing for "cl").
3175 Suggested by Alexandre Duret-Lutz. Also, do this redirection
3176 before invoking "hostname" or "uname".
3177 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3178 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3179 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3180 "</dev/null" since it's now done at the top of 'configure'.
3181 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3182 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3183 Also, replace grep with shell pattern-matching, to save a process.
3185 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
3187 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3188 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3189 avoid thinking that Allegro Common Lisp's "cl" command is a C++
3192 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
3194 * doc/autoconf.texi (Limitations of Usual Tools): Document that
3195 grep -q isn't portable. Improve grep -s explanation.
3196 Problem reported by Dan Manthey.
3198 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
3200 * doc/autoconf.texi (Special Shell Variables): Clarify
3201 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
3203 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
3205 * doc/autoconf.texi: Use @acronym for DJGPP.
3206 Fix some @code's that should have been @env's, and vice versa.
3207 Sort environment variable names.
3208 Mention that shells no longer inherit IFS.
3209 Don't recommend PATH_SEPARATOR=';' so strongly.
3210 Mention that $RANDOM might expand to the empty string.
3211 "symlink" and "soft link" -> "symbolic link".
3212 Improve mktemp description (reported by Bruno Haible).
3214 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
3216 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3217 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3219 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3222 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
3224 * NEWS: Mention AT_COPYRIGHT.
3226 * tests/local.at (AT_CMP): Use diff directly on input files rather
3229 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3230 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3232 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3233 and Paul Eggert <eggert@cs.ucla.edu>
3235 * tests/autotest.at (Empty test suite): New test.
3236 * tests/torture.at (Substitute and define special characters)
3237 (Substitute a 2000-byte string, Define to a 2000-byte string)
3238 (Substitute a newline, Define a newline): New tests.
3240 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3242 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3243 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3244 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3245 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3246 (Standard regular expressions): New test.
3247 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3248 excess test name quoting.
3249 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3250 CPPFLAGS to `configure' instead of setting it in `configure'.
3252 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3253 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
3256 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
3257 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
3259 * tests/local.at (AT_CMP): New macro.
3260 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
3261 (AC_SAVE_STATE): Move environment grep...
3262 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
3263 (AT_CONFIG_CMP): New macro.
3264 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
3265 * tests/c.at (Extensions): Do not exit early.
3266 * tests/atlocal.in: Inherit $GREP.
3268 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
3269 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
3271 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
3272 (AC_COPYRIGHT): Factor header comment portion out and move into...
3273 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
3274 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
3275 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
3277 * tests/local.at: Add Autoconf test suite copyright notice.
3278 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
3280 2005-02-04 Bruno Haible <bruno@clisp.org>
3281 and Paul Eggert <eggert@cs.ucla.edu>
3283 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
3285 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
3287 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
3288 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
3290 Try not to generated lines of unlimited length, as POSIX places a
3291 2047-byte limit on line length of portable text files.
3292 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
3293 Use newline as a separator, not space.
3294 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
3295 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
3298 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3300 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
3301 as_func_*. Add test to check whether positional parameters
3302 are restored after function return.
3304 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3306 * doc/autoconf.texi (Special Shell Variables): Mention _,
3307 BIN_SH, DUALCASE. Say that variables other than "status" are safe
3308 if they contain a lower-case letter. The DUALCASE problem was
3309 reported by Ralf Wildenhues.
3311 * bin/autoconf.as: Don't exit with status 0 after write failure
3312 with --help or --version.
3313 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
3314 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
3316 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3318 * doc/autoconf.texi (Limitations of Usual Tools):
3319 Unicos 9 sed limitations.
3320 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
3321 to get the option-enhanced interface on older Crays. Try ftn for
3322 Fortran 95 (newer Crays).
3324 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
3326 * man/Makefile.am (.x.1): Go back to the simple solution, but take
3327 care to echo the commands, so the user knows what's going on.
3328 Modified from a suggestion by Stepan Kasal.
3330 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
3331 with a cross reference. Derived from a suggestion by Bruce Korb.
3333 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
3335 * doc/autoconf.texi (config.status Invocation): Warn about
3336 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
3337 * doc/install.texi (Defining Variables): Likewise.
3338 Based on a proposed patch by Ralf Wildenhues.
3340 * man/Makefile.am (.x.1): Make sure the required generated files
3341 are up to date. Problem and original solution proposed by Stepan Kasal.
3342 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
3343 implicit-man-prerequisites): New rules, used by the above.
3345 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
3346 * config/config.guess, config/config.sub, config/install-sh: Likewise.
3347 * config/missing, config/texinfo.tex: Likewise.
3349 2005-01-29 Stepan Kasal <kasal@ucw.cz>
3351 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
3352 Update the long comment explaining it.
3354 m4_require no longer writes an ``is required by'' line to the
3355 execution stack. It contains only one bit of non-redundant
3356 information: that the macro was required, not called. And even
3357 this bit is useless in most situations: have you ever met a macro
3358 which both calls and requires the same macro?
3360 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
3361 (_m4_defun_pro_outer): ... only via this macro, for the outermost
3363 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
3364 (m4_expansion_stack_pop): Remove the misplaced comment.
3365 (m4_require): Don't put the ``is required by'' line to the
3366 execution stack; slightly improve the out-of-a-defun error message.
3367 (_m4_divert_grow): New macro, counter for the temporary diversions.
3368 (_m4_require_call): Use it.
3369 * tests/m4sugar.at (m4_require): Expect output without the
3370 ``is required by'' messages.
3372 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
3374 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
3375 rather than x for expr.
3377 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
3379 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
3380 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3381 * lib/autotest/general.m4 (AT_INIT): Likewise.
3382 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
3383 * tests/mktests.sh: Likewise.
3385 2005-01-27 Akim Demaille <akim@epita.fr>
3387 Have autoheader honor --force.
3389 * doc/make-stds.texi, doc/standards.texi: Update from masters.
3390 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
3391 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
3392 from masters, so that FileUtils.pm's update_file provide --force
3394 * bin/autoheader.in: Pass $force to update_file so that
3395 config.h.in is always recreated when --force.
3397 2005-01-24 Stepan Kasal <kasal@ucw.cz>
3399 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
3401 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
3403 * doc/autoconf.texi (Limitations of Builtins): Clarify that
3404 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
3406 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
3408 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
3409 Warn about newline stripping in `` and $(). Update Solaris
3411 (Limitations of Builtins): Use expr "X...", not expr "x...", as
3412 X insulates us from future changes to Posix.
3413 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
3416 2005-01-19 Stepan Kasal <kasal@ucw.cz>
3418 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
3419 you cannot use AC_DEFINE to define macros containing `[' or `]'.
3421 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
3423 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
3424 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
3425 bug-tar mailing list.
3427 2005-01-05 Stepan Kasal <kasal@ucw.cz>
3429 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
3431 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
3433 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
3434 ulongval to be static, to avoid unwanted GCC warning. Problem
3435 reported by Michael Jennings via Daniel Reed; see
3436 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
3438 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
3440 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
3441 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
3442 datadir, infodir, and mandir. Adjust argument parsing code.
3443 (_AC_INIT_HELP): Update help text.
3444 * doc/autoconf.texi (Installation Directory Variables): Document
3447 2005-01-04 Noah Misch <noah@cs.caltech.edu>
3449 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
3450 not seem to work, assume it does set $(MAKE).
3451 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
3453 2005-01-03 Stepan Kasal <kasal@ucw.cz>
3455 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
3457 2005-01-03 Stepan Kasal <kasal@ucw.cz>
3459 A cleanup of the diversion support in m4sugar.
3461 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
3462 (_m4_divert_n_stack): New macro; the expansion is
3463 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
3465 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
3466 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
3467 stored in _m4_divert_diversion or _m4_divert_dump.
3468 (m4_divert_pop): When the parameter is given, compare the symbolic
3469 name with the last diversion pushed on the stack. Previously, the
3470 current diversion was compared with the numeric value of the
3471 diversion given as the parameter.
3472 (m4_require): If the macro hasn't been expanded yet, call ...
3473 (_m4_require_call): this new macro.
3475 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3477 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
3478 Workarounds for documented `case' limitations.
3480 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
3482 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
3483 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
3485 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
3487 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
3488 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3489 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
3491 Patch from Roger Leigh (with some minor changes) as follows:
3492 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
3493 Resurrect AC_PROG_CC_STDC.
3494 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
3495 AC_PROG_CC_C89, AC_PROG_CC_C99.
3496 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
3497 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
3498 AC_PROG_CC_C99): New macros.
3499 (AC_PROG_CC_STDC): Use them.
3500 (_AC_PROG_CC_STDC): Remove.
3501 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
3502 * THANKS: Add Roger Leigh.
3504 2004-12-30 Noah Misch <noah@cs.caltech.edu>
3506 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
3507 signals that the package uses Automake; a `Makefile.am' is typical but
3508 not essential. Reported by Magnus Therning.
3509 * tests/torture.at (autoreconf.): New banner.
3510 (autoreconf and non-AC configure): Rename to `Non-Autoconf
3512 (autoreconf an empty directory): Rename to `Empty directory'.
3513 (Unusual Automake input files): New test.
3515 2004-12-30 Noah Misch <noah@cs.caltech.edu>
3517 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
3518 (AT_SETUP): Clear AT_capture_files.
3519 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
3520 (AT_KEYWORDS): Fix comment typo.
3521 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
3522 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
3523 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
3525 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
3527 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
3528 If the variable to set is already set, set ac_cv_path_$1
3529 to the preset value so caller can assume ac_cv_path_$1
3530 is available. (trivial change)
3532 2004-12-27 Noah Misch <noah@cs.caltech.edu>
3534 * BUGS (Minor Problems): Warn about makefile limitations.
3535 * Makefile.am: Find and update `INSTALL' in $(srcdir).
3536 * man/Makefile.am: Find and update manual pages in $(srcdir).
3538 2004-12-24 Eric Blake <ebb9@byu.net>
3540 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
3541 shells in subshell, to avoid noise from ash. (trivial change)
3543 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3545 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3546 problems with SunOS ksh and backslash escaping, Bourne shells and
3547 closing brackets (both within character classes). Bug reported
3548 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
3549 <read>: New entry. Mention non-availability of -r.
3551 2004-12-21 Akim Demaille <akim@epita.fr>
3553 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
3554 avoid cluttering displayed messages. Rather, prepend srcdir where
3555 AT_LINE is used for log files.
3557 2004-12-21 Stepan Kasal <kasal@ucw.cz>
3559 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
3560 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
3561 no longer part of the macro, quote the occurrence of ``$tmp''.
3562 * doc/autoconf.texi (Forbidden Patterns): Typo.
3564 2004-12-21 Akim Demaille <akim@epita.fr>
3566 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
3567 separated from the test title by forcing a white space.
3569 2004-12-21 Akim Demaille <akim@epita.fr>
3571 Enable Emacs navigation within testsuite.log files.
3573 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
3574 use the compilation mode.
3575 (AT_LINE): Point to the srcdir.
3577 2004-12-19 Noah Misch <noah@cs.caltech.edu>
3579 * tests/Makefile.am (installcheck-local): Use $(bindir).
3580 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
3581 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
3582 Makefile.am scheme Autoconf now uses.
3584 2004-12-18 Noah Misch <noah@cs.caltech.edu>
3586 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
3587 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
3589 2004-12-18 Noah Misch <noah@cs.caltech.edu>
3591 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
3592 (_AT_CHECK): Use it.
3593 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
3594 (AS_ESCAPE): Fix comment.
3595 * tests/autotest.at: Adjust section banner comments.
3596 (AT_CHECK_AT): Accept STATUS and STDERR.
3597 (AT_CHECK_AT_TEST): Likewise.
3598 (Invalid brace-enclosed parameter expansion)
3599 (Multiline command from M4 expansion)
3600 (Double-M4-quoted command): New tests.
3602 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
3604 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
3606 2004-12-17 Akim Demaille <akim@epita.fr>
3608 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
3610 Suggested by Alexandre Duret-Lutz.
3611 * doc/autoconf.texi (Setting Output Variables): Catch up.
3613 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3615 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
3617 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3619 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
3620 remove the comment which said we cannot.
3622 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3624 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
3625 Reini Urban and Paul Eggert for reporting the dependencies.
3627 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
3628 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
3629 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
3631 2004-12-17 Stepan Kasal <kasal@ucw.cz>
3633 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
3634 so that eg. ``autoscan --help'' doesn't truncate it.
3636 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
3638 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
3639 generated conftest files.
3641 2004-12-13 Noah Misch <noah@cs.caltech.edu>
3643 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
3644 tracing on commands with possibly-escaped newlines.
3645 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
3646 discontinued behavior and its implications.
3647 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
3648 (BSx641-newline in command, BS-BS-newline in command)
3649 (BSx640-newline in command, Newline-CODE-BS-newline in command)
3650 (Single-quote-BS-newline in command)
3651 (Single-quote-newline-BS-newline in command): New tests.
3653 2004-12-13 Stepan Kasal <kasal@ucw.cz>
3655 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
3656 on platforms where it works.
3657 (_AS_TEST_PREPARE): Test for ``test -x''.
3658 (_AS_BROKEN_TEST_PREPARE): Nuke.
3660 2004-12-13 Stepan Kasal <kasal@ucw.cz>
3662 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
3663 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
3664 give only 4-letter prefix to AS_TMPDIR, comment fixed.
3665 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
3666 create the temporary directory.
3667 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
3669 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
3671 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
3674 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
3676 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
3678 2004-12-11 Noah Misch <noah@cs.caltech.edu>
3680 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
3681 to avoid using a negated character class. Reported by Nicolas Joly.
3682 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
3684 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
3686 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
3687 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
3688 Don't depend on .x file explicitly, since "make" does that for us.
3689 Suggested by Stepan Kasal.
3691 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
3693 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
3694 ifnames): Factor common code. And they said it couldn't be done!
3696 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3698 * bin/.cvsignore: Add autoconf.in.
3699 * tests/.cvsignore: Add wrapper.in.
3700 * lib/autotest/general.m4: Escape '$' in case pattern.
3702 2004-12-09 Noah Misch <noah@cs.caltech.edu>
3704 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
3706 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
3708 * tests/autotest.at: New file.
3709 * tests/suite.at: Include it.
3710 * tests/Makefile.am: Distribute it.
3712 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
3713 shell tracing on a command that could contain multiple lines.
3714 * doc/autoconf.text: Document that fact and its implications.
3715 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
3716 * tests/autotest.at (Multiline backquote command substitution,
3717 Multiline parameter expansion, Literal multiline command,
3718 Multiline parenthetical command substitution): Remove XFAIL.
3720 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3722 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
3723 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
3725 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3727 * configure.ac (test suite): Cease to generate wrapper scripts.
3728 * configure: Regenerate.
3729 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
3730 (m4f_dependencies): Adjust accordingly.
3731 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
3732 (wrapper.in): Generate it in the build directory.
3733 (MAINTAINERCLEANFILES): Delete wrapper.in.
3734 (CLEANFILES): Add wrapper.in.
3735 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
3736 the output. Replace each $as_me with a @wrap_program@.
3737 * tests/wrapper.in: Delete it; we always build it.
3739 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
3740 (EXTRA_DIST): Remove autoconf.in.
3741 (CLEANFILES): Add autoconf.in.
3742 (autoconf): Find autoconf.in in the build directory.
3743 * bin/autoconf.in: Delete it; we always build it.
3745 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3747 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
3748 PATH members so as to not prepend an empty element. Move a comment.
3749 * Makefile.am (SUBDIRS): Build in `tests' last.
3750 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3752 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
3754 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3755 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
3756 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3757 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3759 2004-12-07 Stepan Kasal <kasal@ucw.cz>
3761 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3764 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
3766 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3767 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
3768 * doc/autoconf.texi (Particular Functions): Mention new behavior.
3770 2004-12-03 Stepan Kasal <kasal@ucw.cz>
3772 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3773 out the common code to ...
3774 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3775 value of the #define--default to 1, iff the macro was called
3776 with exactly one parameter.
3778 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
3780 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3781 "char c = '\200';" rather than "char c = 0x80;" as the
3782 latter doesn't conform to the strict C standard due to
3783 overflow on signed char hosts.
3785 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3786 to -qlanglvl=ansi. We don't want to disable extensions.
3788 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
3790 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3791 (Using Autotest, testsuite Scripts, Writing testsuite.at):
3792 Reword slightly to avoid some English-language problems noted
3793 by Ralf Wildenhues in:
3794 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3796 2004-11-29 Stepan Kasal <kasal@ucw.cz>
3798 * NEWS: Add ^L above each release.
3800 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
3802 Fix documentation problems reported by Russ Boylan in
3803 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3804 along with some nearby cruft.
3805 * doc/autoconf.texi (Libtool): Libtool can be used without
3806 Automake (not without Autoconf).
3807 (Introduction): Mention lists.gnu.org.
3808 * BUGS: Don't mention bugs.gnu.org.
3809 Remove mention of ancient libtool compatibility problem.
3810 * NEWS: Mention that bugs.gnu.org is kaput.
3811 * README: Likewise. Mention where mailing list archives can be found.
3813 2004-11-28 Stepan Kasal <kasal@ucw.cz>
3815 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3816 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3818 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
3820 * doc/autoconf.texi (Pretty Help Strings): Go back to
3821 single-quoting assignments to cache variables.
3823 2004-11-23 Stepan Kasal <kasal@ucw.cz>
3825 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3826 with the examples; fix the bug in MY_ARG_WITH example reported
3827 by Alexandre Duret-Lutz.
3828 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3829 expansion of $1 in the comment emitted to configure.
3831 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
3833 * doc/autoconf.texi (Pretty Help Strings): Fix typo
3834 in my editing of the previous patch. Problem reported
3835 by Alexandre Duret-Lutz.
3837 2004-11-22 Stepan Kasal <kasal@ucw.cz>
3839 * doc/autoconf.texi (Autoconf Language): Explain that
3840 ``descriptions'' may not be double quotes.
3841 (Quotation Rule Of Thumb): Likewise.
3842 (Pretty Help Strings): Likewise; remove the wrong comment;
3843 simplify the examples and improve their quoting.
3845 2004-11-13 Stepan Kasal <kasal@ucw.cz>
3847 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3848 the $1_found variable, don't test whether the file is executable;
3849 Both things are checked ...
3850 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3851 the former ``test -f''.
3852 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3854 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
3856 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3859 2004-11-10 Derek R. Price <derek@ximbiot.com>
3861 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3862 limitations. Reorder paragraphs for clarity.
3864 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
3866 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3867 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3868 variants", "Unix", and some related minor wording fixups.
3870 (Shellology, Special Shell Variables): Document that the Zsh
3871 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
3872 to Alexandre Duret-Lutz for this info.
3874 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
3876 * doc/autoconf.texi (One-Shot Macros): New node.
3878 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
3880 * doc/autoconf.texi (Function Portability): Fix misdescription
3881 of putenv. Problem reported by Michael Wardle.
3883 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
3885 * doc/autoconf.texi (auindex): New macro.
3886 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
3887 Problem reported by Stepan Kasal.
3889 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
3891 Fix problems reported by Andreas Buening in:
3892 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3893 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3895 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3896 readable; it's not true in OS/2-emx.
3898 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
3900 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3901 "/usr/include", clear ac_x_includes instead of leaving it as "no"
3902 (trivial change). Problem and patch reported by Andrew Church in:
3903 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3905 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
3907 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3908 three args in examples. Problem reported by Frederik Fouvry in:
3909 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3910 Also, fix some minor spacing and punctuation bugs.
3912 2004-09-02 Akim Demaille <akim@epita.fr>
3914 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3915 "case" to restore ordering.
3916 Reported by Stepan Kasal.
3918 2004-08-26 Akim Demaille <akim@epita.fr>
3920 * doc/autoconf.texi: Minor typos and stylos.
3922 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3924 * configure.ac (AC_INIT): Bump to 2.59c.
3926 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3930 * README: Add advice about m4 1.4.2.
3932 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3933 texinfo.tex for now (done by hand now).
3934 * Makefile.maint (wget_files, cvs_files):
3935 Remove ansi2knr.c; nobody uses it.
3936 (ansi2knr.c-url_prefix): Remove.
3937 (cvs-update): Fix test for failure. I don't know why it ever
3940 * doc/autoconf.texi: Update URLs, some of which went stale.
3941 Use @uref rather than @href.
3943 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3944 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
3946 * config/config.guess, config/config.sub, config/elisp-comp,
3947 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3948 doc/fdl.texi, doc/standards.texi: Sync with master copy.
3950 * NEWS, TODO, configure.ac, bin/autoscan.in,
3951 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3952 doc/install.texi, lib/Autom4te/Configure_ac.pm,
3953 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3954 lib/autoconf/programs.m4, lib/autoconf/status.m4,
3955 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3956 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3957 tests/tools.at, tests/torture.at:
3958 Use "file name" rather than "filename" or "path",
3959 to be consistent with the terminology of the GNU coding standards.
3961 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
3963 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3964 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3965 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
3966 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3968 More fixes to support spaces in the name of the build directory.
3969 This isn't a complete fix but it's an improvement.
3971 * bin/autoconf.as (autom4te_options): New var.
3972 Use it instead of appending to AUTOM4TE, so that we can allow
3973 spaces in the build directory's absolute name.
3974 * bin/autoheader.in ($autoconf): Allow spaces in file names.
3975 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
3976 AT_CHECK_NOESCAPE): Likewise.
3977 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
3978 main program): Likewise.
3980 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
3982 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
3983 From Ralf Corsepius in:
3984 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
3986 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
3988 * doc/autoconf.texi (Function Portability): Document isinf and
3989 and isnan. From a suggestion by Kevin Ryde.
3991 * lib/Autom4te/General.pm (END): Return correct exit status even
3992 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
3994 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
3996 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
3997 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
3998 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4000 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
4002 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4003 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4004 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4005 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4006 * lib/autom4te.in (Automake-preselections): Preselect
4007 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
4009 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
4011 * lib/autom4te.in (Automake-preselections): Preselect
4012 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
4015 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
4017 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4019 * doc/autoconf.texi (Shellology): Mention BIN_SH.
4020 Document problem with "`""`" in pdksh POSIX mode.
4022 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
4024 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4025 with pdksh, too. Problem reported by Patrick Welche via
4027 * doc/autoconf.texi (Shellology): Note that set -o posix is
4028 useful for pkdsh, too.
4030 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
4032 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4033 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4034 Don't fail if ENV or BASH_ENV is readonly.
4035 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4036 etc. are read only. Problem reported by Ludovic Courtes.
4038 2004-06-23 Noah Misch <noah@cs.caltech.edu>
4040 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4041 zsh, disable GLOB_SUBST to avoid backslash handling problems.
4044 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
4046 * doc/autoconf.texi (File System Conventions): Warn about
4047 names like "aux". Problem reported by Eric Blake.
4049 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4050 by zero instead of array size, so that we can use any arithmetic
4051 constant expression (instead of requiring an integer constant
4052 expression). This allows us to test expressions like DBL_MAX <
4053 LDBL_MAX, which didn't conform to the C standard using the old
4055 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4056 now that we can do floating-point tests at compile time.
4058 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
4060 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4061 and LDBL_EPSILON, as the resulting expression isn't an
4062 integer constant expression and violates the C standard.
4063 Problem reported by Nelson H. F. Beebe. Also, check
4064 for "L" suffix, and check that long double doesn't have
4065 worse range or precision than double, that mixed-mode
4066 arithmetic doesn't generate a diagnostic, that double
4067 constants fit in long double.
4069 2004-06-03 Kevin Ryde <user42@zip.com.au>
4071 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4072 malloc(0) and realloc(NULL,size).
4074 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4077 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
4079 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4080 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
4083 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
4085 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4086 can be rewritten using if-then-else. Suggested by Bruno Haible.
4088 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4090 * doc/autoconf.texi (testsuite Scripts): Fix typo.
4091 Problem reported by Stepan Kasal.
4093 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
4095 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4096 change). Patch reported by Ralf Wildenhues in
4097 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4099 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4100 function F exists if the compiler and linker let you compile an
4101 expression like (F != 0). Recent versions of GCC optimize away
4102 the reference to F in that case, since every function address must
4103 be nonzero, so the link succeeds even if F does not exist.
4104 Problem reported by Manu in
4105 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4107 * doc/autoconf.texi (Systemology): Standardize on the spelling of
4108 "Unix". Many uses changed.
4109 (Limitations of Builtins): Explain better why the ! command isn't
4112 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
4114 * lib/autom4te.in (Automake-preselections): Preselect
4115 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4117 2004-05-19 Kevin Ryde <user42@zip.com.au>
4119 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4120 referencing AC_FUNC_STRERROR_R.
4122 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4123 note pessimistic assumption when cross compiling.
4125 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
4127 * doc/autoconf.texi (Limitations of Make): Note that BSD make
4128 (until 2004) invoked subcommands with sh -e, contra POSIX.
4129 Reported by Kevin Ryde.
4131 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
4133 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4134 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4135 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4136 `test -f " /usr/bin/grep"', which _always_ failed.
4137 (AC_PROG_SED): Ditto bogus PATH fix.
4138 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4139 requires that grep correctly supports _multiple_ `-e' options, rather
4140 than stating only that grep should accept `-e'.
4142 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
4144 Port to C99, which requires that 'exit' be declared.
4146 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4147 to ensure that stdlib.h is included.
4148 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4149 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4150 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4151 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4152 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4153 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4154 when using 'exit' in a test; C99 requires that 'exit' be declared.
4156 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
4158 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4159 now prefers 'grep' implementations that accept -e.
4160 (Limitations of Usual Tools): Describe problems of traditional
4161 egrep and fgrep with long input lines, and of traditional grep
4163 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4164 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4165 All callers changed. Append /usr/xpg4/bin to the PATH, for
4167 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4168 the user with complaints about multiple -e options.
4169 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4170 Define it with AC_PROG_GREP.
4171 * configure.ac (AC_PROG_GREP): Add.
4172 * lib/freeze.mk (GREP): New macro.
4174 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
4176 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4177 a possible candidate only after all others fail, rather than
4178 consulting it first. This improves backward compatibility by
4179 better reflecting the way shell selection occurred in previous
4180 versions of Autoconf, and should help to avoid triggering latent
4181 problems in other packages, such as the one in Automake where zsh
4182 is not handled robustly:
4183 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4184 Although it is not Autoconf's responsibility to work around
4185 problems in Automake, it nevertheless makes sense to avoid
4186 introducing unnecessary incompatibilites.
4188 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
4189 Gary V. Vaughan <gary@gnu.org>
4191 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4192 how deeply nested we are when a suitable tool is found, set the
4193 ac_path_TOOL_found flag.
4194 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4195 nested we are in this macro. Break out of all 3 nested loops if
4196 ac_path_TOOL_found is set.
4198 2004-04-21 Gary V. Vaughan <gary@gnu.org>
4200 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4201 of the _AS_PATH_WALK loop too if GNU flavor is found.
4203 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
4205 * doc/autoconf.texi (Limitations of Make): Update documentation
4206 for `$<'. New entry `Long lines', based on a report from Simon
4207 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
4208 paragraph about DJGPP, based on a mail from Richard Dawe.
4210 2004-04-20 Paul Eggert <eggert@twinsun.com>
4212 * tests/c.at (C keywords): Don't assume that GCC supports
4213 "restrict" and "inline", as sufficiently-old GCC versions do not
4214 (also, GCC configured to be in pedantic C89 mode does not).
4215 Problem reported by Sumit Pandya in:
4216 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4218 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4219 consider -g to work if it generates warnings when plain compiles
4220 don't. Problem reported by Braden McDaniel in:
4221 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4223 * doc/autoconf.texi (Slashes): New section, to document a problem
4224 reported by Jim Meyering in:
4225 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4227 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4228 linker output files before linking, to work around IRIX 6 linker bug.
4229 Problem reported by Rainer Orth in:
4230 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4232 2004-04-20 Gary V. Vaughan <gary@gnu.org>
4234 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4235 best tool so far counter rely on the tool path variable name to
4236 avoid checks for one tool being affected by the results of running
4237 the length check on a previous tool.
4239 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4240 match expression argument, as different greps have different
4241 regular expression flavours.
4242 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4244 (AC_PROG_EGREP): Pass 'EGREP$'.
4245 (AC_PROG_GREP): Pass 'GREP$'.
4247 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
4249 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4250 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4252 2004-03-29 Paul Eggert <eggert@twinsun.com>
4254 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
4255 Types, Specific Compiler Characteristics, System Services,
4256 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
4257 etc. consistently instead of 'long', 'short', 'unsigned' etc.
4258 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
4259 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
4261 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
4262 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
4263 AC_TYPE_OFF_T): Likewise.
4264 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
4267 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
4268 pacify libtool 1.5.2. Fix quoting problems in sed command.
4270 2004-03-28 Paul Eggert <eggert@twinsun.com>
4272 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
4273 now defines HAVE_DECL_TZNAME if it is declared, when
4274 HAVE_STRUCT_TM_TM_ZONE is not defined.
4275 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
4276 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
4279 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
4281 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
4282 superfluous backslashing of quotes (") in sed expressions;
4283 thanks to Paul Eggert.
4285 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
4287 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
4288 Fortran compiler is ifort, also added pghpf; thanks to Nelson
4289 H. F. Beebe for the bug report.
4291 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
4293 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
4294 quoted -cmdline argument in Portland Group compiler (bug
4295 reported by Jeffrey J. Barteet).
4297 2004-03-25 Kevin Ryde <user42@zip.com.au>
4299 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
4300 (Run Time): ... here, where it's now mentioned.
4302 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
4304 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
4305 inherits from language Autoconf-without-aclocal-m4.
4306 (Customizing autom4te): Adjust example; the cache must now be
4307 disabled for language Autoconf-without-aclocal-m4.
4309 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
4310 Nathanael Nerode <neroden@twcny.rr.com>
4312 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
4313 AC_CHECK_TOOLS): Warn if a cross-tool is found without
4315 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4316 AC_CHECK_TARGET_TOOLS): New macros.
4317 * doc/autoconf.texi (Generic Programs): Document
4318 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
4319 AC_CHECK_TARGET_TOOLS, and warn for future changes
4320 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
4322 (Specifying Names): Document the reason for these future
4324 * tests/mktests.sh: Do not generate tests for the
4326 * NEWS: Document these changes.
4328 * doc/autoconf.texi: Avoid macros with unbraced arguments,
4329 they make TeX hang up.
4331 2004-03-15 Paul Eggert <eggert@bogus.example.com>
4333 * NEWS: New macro AC_CHECK_ALIGNOF.
4334 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
4335 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
4336 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
4338 (AC_CHECK_ALIGNOF): New macro.
4339 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
4340 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
4343 2004-03-03 Paul Eggert <eggert@twinsun.com>
4345 * bin/Makefile.am (edit): Don't use $< in a context where
4346 POSIX doesn't require support for it. Use $@.in instead.
4347 Problem reported by Anthony N. Frasso in
4348 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
4349 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
4351 2004-02-23 Gary V. Vaughan <gary@gnu.org>
4353 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
4354 from the next generation of Libtool.
4355 * lib/autom4te.in (Autoreconf-preselections): Ditto.
4357 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4359 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
4360 is not always thread-safe. Report from Nathanael Nerode.
4362 2004-02-18 Paul Eggert <eggert@twinsun.com>
4364 Fix a dependencies problem, stemming from a Autoconf 2.59 build
4365 problem on QNX reported by Stephen Rasku in
4366 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
4368 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
4369 $(m4sh_m4f_dependencies); this removes a FIXME.
4370 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
4371 (MAINTAINERCLEANFILES): Split into pieces,
4372 one per related section. Add $(srcdir)/wrapper.in.
4374 2004-02-09 Paul Eggert <eggert@twinsun.com>
4376 * doc/autoconf.texi (Setting Output Variables): Emphasize that
4377 AC_SUBST provides no portable way to escape literal newlines.
4379 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
4380 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
4381 Darwin uses -lcrt2.o and there's little point to cataloging all
4382 the system variants. Partial fix reported by Andreas Waechter in:
4383 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
4384 for bug reported by Nelson H. F. Beebe in:
4385 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
4387 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
4389 * doc/autoconf.texi (AU_DEFUN): Fix English,
4390 suggested by Paul Eggert.
4391 * lib/autoconf/autoupdate.m4: Correct reference to
4392 acobsolete.m4, suggested by Alexandre Duret-Lutz.
4394 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
4396 * bin/autoupdate.in: Define __file__ so that warnings
4397 refer to the correct file.
4398 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
4399 the behavior of the third argument.
4400 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
4401 correctly the behavior of the third argument. Document
4402 what the three macros that AU_DEFUN defines do. Fix
4403 warning message when the third argument includes $0
4404 (reported by Alexandre Duret-Lutz).
4406 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
4407 Eric Sunshine <sunshine@sunshineco.com>
4408 Paul Eggert <eggert@twinsun.com>
4410 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
4411 (AS_INIT): Output shell initialization there. Removed optional
4412 parameter. Expand _AS_SHELL_FN_SPY.
4413 (AS_INIT_WITH_SHELL_FN): Removed.
4414 (_AS_SHELL_FN_SPY): New macro.
4415 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
4417 (AS_SHELL_SANITIZE): Remove loop to find better shell
4418 and documentation for the parameter.
4419 (_AS_DETECT_BETTER_SHELL): Move it here.
4420 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
4421 (_AS_RUN): Move it here, support testing with eval.
4422 (AS_REQUIRE_SHELL_FN): Require shell functions when
4424 (_AS_LINENO_WORKS): Put around braces, we do not
4425 trigger the bash bug anymore.
4426 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
4427 use AS_INIT_WITH_SHELL_FN.
4428 * bin/autoconf.in, tests/wrapper.in: Regenerated.
4430 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
4432 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
4433 * doc/autoconf.texi: Don't say that the third parameter
4435 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
4436 (AU_DEFUN): Honor the third parameter, create autoupdate
4437 macros with AU_DEFINE.
4438 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
4439 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
4440 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
4441 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
4442 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
4443 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
4444 AC_XENIX_DIR): Likewise.
4445 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
4446 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
4447 * lib/autoconf/status.m4: Remove FIXME.
4448 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
4449 that the macro is not present anymore in the updated
4451 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
4454 2004-01-28 Paul Eggert <eggert@twinsun.com>
4456 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
4458 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
4459 2003 (except 1997) to the list of copyright years. This undoes
4460 the 2003-05-22 change, which removed the older years from the list.
4461 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
4463 2004-01-27 Gary V. Vaughan <gary@gnu.org>
4464 Albert Chin-A-Young <china@thewrittenword.com>
4466 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
4467 grep or ggrep program in PATH that accepts as long lines as
4469 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
4471 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
4472 egrep and fgrep respectively if $GREP -E/-F don't work.
4473 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
4474 _AC_PROG_GREP, and AC_PROG_SED.
4475 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
4476 longest input length accepted by a command.
4477 (AC_PROG_SED): Use it.
4478 * doc/autoconf.texi (Particular Programs): Document the changes.
4481 2004-01-27 Paul Eggert <eggert@twinsun.com>
4483 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
4484 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4485 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
4486 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
4488 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
4489 bin/autoconf.in, config/Makefile.in, config/config.guess,
4490 config/config.sub, config/install-sh, config/mdate-sh,
4491 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
4492 lib/Makefile.in, lib/Autom4te/Makefile.in,
4493 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
4494 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
4495 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
4496 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
4497 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
4498 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
4499 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
4500 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
4501 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
4502 tests/actypes.at: Regenerate and/or sync with original
4505 2004-01-26 Paul Eggert <eggert@twinsun.com>
4507 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
4508 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
4509 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
4510 not <inttypes.h>. Problem reported by Tim Mooney in
4511 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
4512 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
4515 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
4516 otherwise "make check" fails because it forbids cmp (I guess
4517 because cmp treats files as binary on DOS-like systems).
4519 * tests/mktests.sh: Update copyright date to 2004, since some tests
4520 have changed in 2004.
4522 2004-01-23 Gary V. Vaughan <gary@gnu.org>
4524 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
4525 non-truncating sed or gsed program in PATH.
4526 * tests/acprograms.at: Add it.
4527 * doc/autoconf.texi (Particular Programs): Document it.
4530 2004-01-15 Paul Eggert <eggert@twinsun.com>
4532 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
4533 -std1 disables some useful extensions on Tru64. Problem reported
4535 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
4537 2004-01-14 Paul Eggert <eggert@twinsun.com>
4539 * doc/autoconf.texi (Programming in M4sh): Document that
4540 AS_MKDIR_P succeeds if the destination is a symbolic link
4541 to an existing directory.
4542 (Limitations of Usual Tools): Note that mkdir -p might not
4543 succeed on symlinks to directories.
4545 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
4547 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
4548 * bin/autoheader.in: Grammar fix in message.
4549 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
4550 Test for dir before calling mkdir -p. (trivial changes)
4552 2004-01-13 Eric Blake <ebb9@byu.net>
4554 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
4555 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
4557 2004-01-10 Jim Meyering <jim@meyering.net>
4559 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
4561 2004-01-09 Paul Eggert <eggert@twinsun.com>
4563 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
4564 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
4565 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
4566 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
4567 AC_COMPILE_IFELSE, since we now assume our caller invokes
4568 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
4569 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
4570 of AC_RUN_IFELSE; this avoids the warning mentioned above.
4571 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
4573 2004-01-07 Paul Eggert <eggert@twinsun.com>
4575 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
4576 `"'...'"`, as it's confusing (and I suspect it may not work on
4577 some platforms). The code was incorrect anyway, as it assumed
4578 that \$ evaluated to itself in that context. Reported by
4579 Alexandre Duret-Lutz.
4581 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
4583 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
4584 and _LT_AC_TAGCONFIG.
4586 2004-01-06 Paul Eggert <eggert@twinsun.com>
4588 * doc/autoconf.texi (One Macro Call): Fix an incorrect
4589 example, and add more examples. Reported by Eric Sunshine.
4591 2004-01-05 Paul Eggert <eggert@twinsun.com>
4593 * doc/autoconf.texi (Limitations of Usual Tools):
4594 Remove warning against "rm -fr" introduced yesterday; it
4597 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
4598 autoscan, autoupdate, ifnames): Don't use chmod -w.
4599 * lib/Makefile.am (autom4te.cfg): Likewise.
4600 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
4603 2004-01-04 Paul Eggert <eggert@twinsun.com>
4604 Paolo Bonzini <bonzini@gnu.org>
4606 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
4607 by doing lineno substitution only on lines containing "$LINENO".
4609 2004-01-04 Paul Eggert <eggert@twinsun.com>
4611 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
4612 Use "rm -f" to remove conftest.sed, not plain "rm".
4613 Bug reported by David Relson in
4614 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
4616 * Makefile.am (autom4te-update):
4617 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
4618 * Makefile.maint (my-distcheck, do-po-update): Likewise.
4619 * doc/autoconf.texi (Guidelines): Likewise.
4620 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
4621 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
4622 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4623 * lib/autotest/general.m4 (AT_INIT): Likewise.
4624 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
4625 * tests/Makefile.am (clean-local): Likewise.
4626 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
4628 * doc/autoconf.texi (Limitations of Usual Tools):
4629 Warn against "rm -fr".
4631 2004-01-03 Paul Eggert <eggert@twinsun.com>
4633 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
4634 -c -o might not work. From a suggestion by Kevin Ryde.
4635 (C Compiler, Generating Sources, Limitations
4636 of Usual Tools, Limitations of Make, Making testsuite Scripts):
4637 Don't put '-o' after non-options, as POSIX doesn't allow this.
4638 Mention that cc's name might be gcc or c89 or whatever.
4640 2004-01-04 Kevin Ryde <user42@zip.com.au>
4642 * doc/autoconf.texi: Add various further index entries.
4644 2003-12-29 Paul Eggert <eggert@twinsun.com>
4646 * bin/autoreconf.in (autoreconf_current_directory):
4647 Fix typo: mkdir without umask arg.
4649 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
4651 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
4652 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
4653 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
4654 explanation clearer.
4656 2003-12-24 Andreas Schwab <schwab@suse.de>
4658 * doc/autoconf.texi (Default Includes): Fix misspelling of
4659 AC_INCLUDES_DEFAULT.
4661 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
4663 * configure.ac: Test if sh -n works.
4664 * configure: Regenerate.
4665 * tests/atlocal.in: Store the result here.
4666 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
4667 tools.at, looking in atlocal's ac_cv_sh_n_works instead
4668 of explicitly testing.
4669 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
4670 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
4671 * tests/tools.at (Syntax of the shell scripts): Simplify
4672 using AT_CHECK_SHELL_SYNTAX.
4673 (Syntax of the Perl scripts): Remove definition of
4674 AT_CHECK_PERL_SYNTAX.
4676 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
4678 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
4679 stderr to /dev/null.
4680 * bin/autoconf.in: Regenerate.
4681 * bin/wrapper.in: Regenerate.
4683 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
4685 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
4686 Extracted from AS_SHELL_SANITIZE.
4687 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
4689 (AS_SHELL_SANITIZE): Move reinvocation code from
4690 _AS_LINENO_WORKS, use it to find out if shell
4692 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
4694 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
4695 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
4697 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
4698 * bin/autoconf.in: Regenerate.
4699 * tests/wrapper.in: Regenerate.
4700 * tests/tools.at: Test the syntax of tests/autoconf
4701 and tests/testsuite.
4703 2003-11-24 Akim Demaille <akim@epita.fr>
4705 * config/announce-gen (&print_locations, &print_signatures)
4708 No longer rely on Gnus to inline the list of signatures: compute
4711 2003-11-24 Akim Demaille <akim@epita.fr>
4713 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
4714 override some files.
4715 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
4716 From Debian Autoconf 2.58.
4718 2003-11-24 Akim Demaille <akim@epita.fr>
4720 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
4722 From Debian Autoconf 2.58.
4724 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4726 * TODO: Remove already done things. Update the part about finding
4727 tools for the target.
4729 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4731 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
4732 Make wording more consistent.
4733 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4734 Explain the transition better.
4735 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
4736 the transition better.
4738 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4740 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
4741 parameter of AU_DEFUN.
4742 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
4743 (AU_DEFUN): Remove the third parameter, it was not used.
4744 Use AC_DEFUN directly, not AU_DEFINE.
4745 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
4746 the expanded body, consistently with other macros such as AC_USG.
4748 2003-11-17 Paul Eggert <eggert@twinsun.com>
4750 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4751 into the initial confdefs.h, to work around a bug in NextStep 3.3
4752 patch 3 reported by Eric Sunshine.
4754 2003-11-15 Kevin Ryde <user42@zip.com.au>
4756 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4757 than $target since the latter is not usual, add guidelines on when to
4758 use or not use the system type.
4760 2003-11-12 Derek Price <derek@ximbiot.com>
4762 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4763 typo misrepaired by an auto-spellcheck.
4765 2003-11-12 Akim Demaille <akim@epita.fr>
4767 * bin/autoreconf.in (&parse_args): Don't call automake with
4768 --force-missing unless it actually supports it.
4769 From Debian #219336.
4771 2003-11-12 Akim Demaille <akim@epita.fr>
4773 * configure.ac: Bump to 2.59a.
4776 2003-11-06 Akim Demaille <akim@epita.fr>
4780 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
4782 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4783 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4784 and ac_abs_top_srcdir are absolute paths.
4785 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4787 2003-11-05 Akim Demaille <akim@epita.fr>
4789 * configure.ac: Bump to 2.58a.
4791 2003-11-05 Kevin Ryde <user42@zip.com.au>
4793 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4794 it provokes a warning from makeinfo about looking like a cross
4795 reference in info output.
4797 * doc/autoconf.texi (Function Portability): Add notes on signal
4798 handler return type, as per AC_TYPE_SIGNAL.
4800 2003-11-04 Akim Demaille <akim@epita.fr>
4803 * doc/standards.texi: Update from master.
4805 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4807 2003-11-04 Akim Demaille <akim@epita.fr>
4809 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4810 computing the absolute path to d1 in the source hierarchy: it may
4811 not exist at all. So don't cd into it.
4812 From Alexandre Duret-Lutz.
4813 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4815 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4816 From Paul Eggert, but named after Perl's IO::Spec->catfile.
4817 * doc/autoconf.texi (Programming in M4sh): Document.
4818 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4820 2003-11-03 Pavel Roskin <proski@gnu.org>
4822 * doc/autoconf.texi (Generic Structure Checks): Describe
4823 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4825 2003-10-31 Akim Demaille <akim@epita.fr>
4827 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4829 * doc/autoconf.texi (Language Choice): Document.
4830 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4831 the current language is Fortran.
4833 2003-10-31 Akim Demaille <akim@epita.fr>
4835 * bin/autom4te.in (&freeze): Use a less likely warning separator
4836 than `\n\n', so that `\n\n\n' is valid in warnings.
4837 Reported by Steve Huston.
4839 2003-10-28 Akim Demaille <akim@epita.fr>
4841 * Makefile.cfg (local_updates, executable-update): Tweak to be
4842 robust to parallel makes.
4843 Suggested by Alexandre Duret-Lutz.
4845 2003-10-27 Akim Demaille <akim@epita.fr>
4847 * Makefile.cfg (executable-update): New.
4848 (local_updates): Call it.
4850 2003-10-27 Akim Demaille <akim@epita.fr>
4852 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4853 Don't remove core.* as it may remove valid user files.
4854 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4855 (AC_FUNC_UTIME_NULL): Likewise.
4857 2003-10-23 Akim Demaille <akim@epita.fr>
4860 * config/config.guess, config/config.sub: Upgrade from masters.
4862 2003-10-23 Akim Demaille <akim@epita.fr>
4864 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4865 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
4868 2003-10-23 Akim Demaille <akim@epita.fr>
4870 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4871 Don't forget to remove conftest.err.
4873 2003-10-23 Akim Demaille <akim@epita.fr>
4875 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4876 same object file in $LIBOBJS.
4877 Reported by Alexandre Duret-Lutz & Derek Robert Price.
4878 * doc/autoconf.texi (Generic Functions): Adjust.
4880 2003-10-20 Paul Eggert <eggert@twinsun.com>
4882 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4883 Use 'eval', so that the resulting configure scripts work even if
4884 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4886 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4888 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
4889 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
4890 (_AC_LINK_IFELSE): Check the werror flag.
4891 * doc/autoconf.texi (Generic Compiler Characteristics): Document
4895 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4897 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4898 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
4899 override AC_LINK_IFELSE.
4901 2003-10-15 Paul Eggert <eggert@twinsun.com>
4903 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4904 pdksh 5.2.14. Bug reported by Ralf Corsepius.
4905 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4906 Mention /usr/dt/bin/dtksh on Solaris.
4907 (Shell Substitutions): Warn about $((...)).
4908 (Parentheses): New section.
4910 2003-10-15 Kevin Ryde <user42@zip.com.au>
4912 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4913 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
4915 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
4917 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4920 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
4922 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4923 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4925 2003-10-10 Andreas Schwab <schwab@suse.de>
4927 * bin/autoheader.in: Avoid empty first line in --version and
4929 * bin/ifnames.in: Likewise.
4931 2003-10-09 Paul Eggert <eggert@twinsun.com>
4933 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4934 Issue a more-informative diagnostic.
4935 Problems reported by Eric Sunshine.
4937 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4939 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4940 -mGLOB_options_string stuff for Intel ifc, which can cause
4941 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
4942 pattern-matching instead of grep.
4944 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4946 * doc/autoconf.texi: Document new FC Fortran macros.
4948 2003-10-08 Gary V. Vaughan <gary@gnu.org>
4950 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4951 that future autopoint/aclocal/automake/autoreconf will be able
4952 to trace to find where to install local m4 macros.
4953 * doc/autoconf.texi (Input): Document it.
4956 2003-10-06 Gary V. Vaughan <gary@gnu.org>
4958 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4959 -lcrtbegin.o to list of ignored flags and fix underquoting of
4962 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
4964 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4965 cache variable instead of $G77 to decide whether to include -O2,
4966 since $G77 is specific to Fortran 77.
4968 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4970 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
4971 free" flag. Re-order flags tested into rough order of popularity.
4973 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4975 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
4976 arguments so that it can be used with syntax identical to
4977 AC_PROG_F77, and so that we can more easily decide to
4978 remove/deprecate the DIALECT optional argument in the future if it
4980 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
4981 non-freeform-supporting compilers. Document freeform flags.
4983 2003-10-03 Akim Demaille <akim@epita.fr>
4985 * configure.ac: Look for emacs, not macs.
4986 Reported by Eric Sunshine.
4988 2003-10-03 Akim Demaille <akim@epita.fr>
4990 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
4991 * bin/autoreconf.in (autoreconf_current_directory): Create the
4992 AUX_DIR if needed, for sake of automake --add-missing etc.
4993 Suggested by Alexandre Duret-Lutz.
4995 2003-10-03 Akim Demaille <akim@epita.fr>
4997 * configure.ac: Quotation and formatting changes.
4998 (EMACS): Don't set it if it is not recent enough to support
5002 2003-10-02 Akim Demaille <akim@epita.fr>
5004 * bin/ifnames.in (&scan_file): Skip C++ comments.
5007 2003-10-01 Pavel Roskin <proski@gnu.org>
5009 * doc/autoconf.texi (Particular Structure Checks):
5010 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5012 2003-10-01 Akim Demaille <akim@epita.fr>
5016 2003-09-30 Paul Eggert <eggert@twinsun.com>
5018 * lib/Autom4te/XFile.pm: Use Errno.
5019 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
5020 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5022 2003-09-30 Akim Demaille <akim@epita.fr>
5024 * config/announce-gen (&print_news_deltas): Extracted from...
5025 (&print_changelog_deltas): here.
5026 (&news_file): Rename as...
5029 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
5031 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5032 have been created when invoking the compiler.
5033 * tests/fortran.at (GNU Fortran 77): Quote $G77.
5035 2003-09-29 Akim Demaille <akim@epita.fr>
5039 * config/mkinstalldirs: Upgrade.
5041 2003-09-28 Paul Eggert <eggert@twinsun.com>
5043 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5044 Problem reported by Lars J. Aas in
5045 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5046 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5047 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
5048 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5050 2003-09-26 Akim Demaille <akim@epita.fr>
5052 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5053 directory for AC_CONFIG_COMMANDS' first argument exists.
5054 This makes valid the invocation of _AC_SRCPATH that follows.
5055 Reported by Eric Sunshine.
5056 * doc/autoconf.texi (Configuration Commands): Adjust.
5058 2003-09-26 Akim Demaille <akim@epita.fr>
5060 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5061 Reported by Ralf Corsepius.
5063 2003-09-26 Akim Demaille <akim@epita.fr>
5065 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5067 Actually, use AU_ALIAS.
5070 2003-09-26 Paul Eggert <eggert@twinsun.com>
5072 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5073 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5074 Problem reported by Eric Sunshine in:
5075 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5077 2003-09-26 Akim Demaille <akim@epita.fr>
5079 The test suite are sometimes assigning timings incorrectly.
5080 Reported by Henk Krus.
5081 Diagnosed by Nicolas Joly.
5083 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5085 Instead of making AT_help a sequence of assignments to grow
5086 $at_help_all, just make AT_help_all be the growing contents of
5087 $at_help_all, and make a single assignment in...
5089 (at_times_skip): Flip the meaning and rename as...
5091 (AT_INIT): When summarizing the test that ran, remove
5092 $at_times_file after use, and check it is present before trying to
5095 2003-09-25 Akim Demaille <akim@epita.fr>
5099 * bin/Makefile.am (edit): Handle '@configure_input@'.
5100 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5101 (ifnames): chmod -w.
5102 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5103 executables, not bin/ executables! Otherwise all the magic needed
5104 to find non installed files is turned off. This caused a failure
5105 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5106 as found in its environment (sent by tests/autoreconf): pointing
5107 to bin/autom4te that could not find its files.
5108 * tests/mktests.sh: Force the replacement of generated files, for
5109 the sake of "mv" program that are interactive when overwriting a
5111 * config/install-sh: Upgrade from CVS Automake.
5113 2003-09-23 Paul Eggert <eggert@twinsun.com>
5115 * doc/autoconf.texi (Limitations of Builtins): Document test -h
5116 versus test -L issues.
5118 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
5119 Paul Eggert <eggert@twinsun.com>
5121 Trivial change to support GCC's configuration procedure.
5122 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5123 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5124 about inconsistency if the preprocessor is set to give errors for
5126 * doc/autoconf.texi (C Compiler Characteristics): Document this.
5128 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
5130 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5131 and XFile.pm from Automake.
5132 * lib/Autom4te/XFile.pm: Update from Automake.
5134 2003-09-12 Akim Demaille <akim@epita.fr>
5138 2003-09-12 Akim Demaille <akim@epita.fr>
5140 * config/config.guess, config/config.sub, config/missing,
5141 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5144 2003-09-12 Akim Demaille <akim@epita.fr>
5146 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5149 2003-09-11 Akim Demaille <akim@epita.fr>
5151 * doc/autoconf.texi (Header Portability): linux/random.h.
5152 From Peter Hendrickson.
5154 2003-09-10 Akim Demaille <akim@epita.fr>
5156 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5157 willing to edit the output files.
5159 2003-09-10 Akim Demaille <akim@epita.fr>
5161 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5163 * tests/mktests.sh: Skip AC_FC_SRCEXT.
5164 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5166 2003-09-09 Akim Demaille <akim@epita.fr>
5168 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5169 Reported by Gary Vaughan.
5170 * bin/autom4te.in (handle_m4): Likewise.
5172 2003-09-09 Akim Demaille <akim@epita.fr>
5174 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5177 2003-09-07 Paul Eggert <eggert@twinsun.com>
5179 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5180 Improve the accuracy of the wording about obsolescence.
5181 From a suggestion by Ian Lance Taylor in
5182 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5184 2003-09-05 Paul Eggert <eggert@twinsun.com>
5186 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5187 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
5189 2003-09-04 Akim Demaille <akim@epita.fr>
5191 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5194 2003-09-04 Akim Demaille <akim@epita.fr>
5196 * bin/autom4te.in: Use &fatal where more appropriate than &error.
5197 (freeze): When exiting, use $exit_code.
5198 * lib/autoconf/fortran.m4: Comment changes.
5200 2003-09-04 Akim Demaille <akim@epita.fr>
5202 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5204 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
5206 Add support for newer Fortran dialects. The F77 interface is
5207 unchanged, and continues to support Fortran 77. New FC macros
5208 correspond to all the old F77 macros, with output variables FC,
5209 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
5210 available dialect, but older dialects can be specified. There are
5211 new macros AC_FC_SRCEXT to set the source extension, and
5212 AC_FC_FREEFORM to accept free-form source files.
5214 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5216 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5217 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5218 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5219 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5220 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5221 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5222 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5223 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5224 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5225 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5226 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5227 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5228 AC_FC_SRCEXT, AC_FC_FREEFORM):
5230 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5231 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5232 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5233 Rewrite in terms of the above.
5234 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5235 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5236 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5237 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5239 2003-09-02 Paul Eggert <eggert@twinsun.com>
5241 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5242 Document problems with timestamp resolution that 'make', 'cp -p', and
5245 2003-08-27 Akim Demaille <akim@epita.fr>
5247 * tests/m4sugar.at (cross_warning): Make sure to enable the
5248 output, so that we can track spurious m4sugar output.
5249 * tests/local.at: Require 2.57.
5250 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5251 are defaulted by AT_CHECK anyway.
5252 Use AT_CHECK_AUTOM4TE.
5253 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
5256 2003-08-27 Akim Demaille <akim@epita.fr>
5258 * bin/autoheader.in: Issue the "Using auxiliary..." message only
5259 when -Wobsolete is set.
5260 Set it on by default.
5261 Suggested by Klee Dienes.
5263 2003-08-27 Akim Demaille <akim@epita.fr>
5265 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
5269 2003-08-26 Akim Demaille <akim@epita.fr>
5271 * doc/autoconf.texi (Output): Make clear that one can run code
5274 2003-08-25 Akim Demaille <akim@epita.fr>
5276 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
5279 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
5281 * bin/autoreconf.in (parse_args): Do not pass --no-force to
5282 Automake versions prior to 1.8.
5284 2003-08-25 Akim Demaille <akim@epita.fr>
5286 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
5289 2003-08-24 Akim Demaille <akim@epita.fr>
5291 * configure.ac: Bump to 2.57c.
5293 2003-08-22 Akim Demaille <akim@epita.fr>
5297 * Makefile.cfg (local-checks-to-skip): New.
5298 * Makefile.maint (local-check): Rename as...
5299 (local-checks-available): this.
5302 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
5303 * configure.ac: Require Automake 1.7.6.
5305 2003-08-22 Akim Demaille <akim@epita.fr>
5307 Output stack traces in warnings.
5309 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
5310 Replace the former...
5311 (m4_warn): Pass the call stack to _m4_warn.
5312 * bin/autom4te.in: Adjust to output the call stack.
5313 * tests/m4sugar.at (m4@&t@_warn): Adjust.
5315 2003-08-22 Akim Demaille <akim@epita.fr>
5317 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
5318 * bin/autom4te.in: Adjust.
5320 2003-08-21 Akim Demaille <akim@epita.fr>
5322 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
5324 (&getopt): Adjust the note and verb channels, depending upon
5326 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
5327 * bin/autoupdate.in: Adjust.
5328 Use &verb, not &verbose.
5330 2003-08-21 Akim Demaille <akim@epita.fr>
5332 * bin/autoheader.in (&parse_args): Use &parse_warnings and
5334 ($help): Use Autom4te::ChannelDefs::usage.
5335 * bin/autoscan.in: Use Autom4te::ChannelDefs.
5336 * lib/Autom4te/General.pm: Don't export error: you don't own it.
5338 2003-08-21 Akim Demaille <akim@epita.fr>
5340 First stab at preserving warnings between calls to autom4te,
5341 including when the cache is used.
5343 There are still several issues: (i) there are too many runs of m4
5344 (one for include, one for warnings, and some more), (ii) warnings
5345 spreading on several lines are not handled gracefully, (iii) the
5346 code meant to have the call stack display for errors does not work
5347 (its handling should move from m4 to autom4te).
5349 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
5351 (@preselect): Add m4_warn.
5352 ($exit_status): Remove, use $exit_code.
5353 ($help): Use Autom4te::ChannelDefs::usage.
5354 (&handle_m4): No longer define the m4_warnings.
5355 At each run, extract and report the warnings.
5356 Always cache the result, including if the exit status is on
5357 failure, since if nothing changes, we should result in the same
5358 failure, hence we can use the cache.
5359 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
5360 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
5362 (m4_warn): Redefine as a do-nothing: it is its invocation that
5363 matters, as warnings are now reported via traces.
5364 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
5365 the contents of m4_warn: make it _call_ m4_warn, so that tracing
5366 the latter reveals calls to the former.
5370 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
5372 2003-08-21 Akim Demaille <akim@epita.fr>
5374 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
5377 2003-08-21 Akim Demaille <akim@epita.fr>
5379 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
5381 * lib/Autom4te/ChannelDefs.pm: Doc typos.
5382 (&parse_warnings): Accept a list of warning requests.
5383 (&usage): Return a string, not a side effect.
5384 (cross): New warning category.
5386 2003-08-21 Akim Demaille <akim@epita.fr>
5388 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
5389 (&require_configure_ac): Accept an optional directory argument.
5390 ($configure_ac): Remove.
5391 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
5393 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
5394 * bin/autoscan.in: Adjust.
5396 2003-08-20 Akim Demaille <akim@epita.fr>
5398 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
5399 Reported by Alexandre Duret-Lutz.
5401 2003-08-20 Akim Demaille <akim@epita.fr>
5403 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
5404 * bin/autom4te: Adjust.
5405 In particular, be Autoconf tools are really silent when properly
5406 working, bind the verbosity of the 'note' channel to $verbose.
5407 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
5408 (&xsystem, &contents): Remove, since they are exported by...
5409 * lib/Autom4te/FileUtils.pm: this.
5411 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
5412 * lib/Autom4te/FileUtils.pm: here.
5414 2003-08-20 Akim Demaille <akim@epita.fr>
5416 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
5417 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
5420 2003-08-20 Akim Demaille <akim@epita.fr>
5422 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
5423 (autom4te-update): New.
5424 * Makefile.cfg (update): Bind autom4te-update.
5426 2003-08-19 Derek Price <derek@ximbiot.com>
5428 * lib/autotest/general.m4: Comment various HELP_* diversions.
5429 (PARSE_ARGS_BEGIN): New section for option parsing related
5431 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
5432 package specific options and associated help.
5434 2003-08-19 Akim Demaille <akim@epita.fr>
5436 * config/announce-gen, Makefile.cfg: New.
5437 * Makefile.am: Adjust.
5438 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
5440 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
5442 * lib/autom4te.in (Automake-preselections): Preselect
5443 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
5446 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
5448 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
5449 (Autoconf-without-aclocal-m4): ... this new language.
5450 * doc/autoconf.texi (autom4te Invocation): Mention
5451 Autoconf-without-aclocal-m4.
5453 2003-08-18 Derek Price <derek@ximbiot.com>
5455 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
5456 RUN-IF-PASS optional arguments.
5458 2003-08-18 Derek Price <derek@ximbiot.com>
5460 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
5462 2003-08-16 Derek Price <derek@ximbiot.com>
5464 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
5465 STDOUT & STDERR arguments.
5467 2003-08-14 Derek Price <derek@ximbiot.com>
5469 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
5470 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
5471 shorter column three. Add DESCRIPTION to log file content.
5473 2003-08-13 Derek Price <derek@ximbiot.com>
5475 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
5478 2003-08-12 Derek Price <derek@ximbiot.com>
5480 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
5481 (AT_CHECK_NOESCAPE): Move core functionality to...
5482 (_AT_CHECK): ...this new macro.
5484 2003-08-07 Derek Price <derek@ximbiot.com>
5486 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
5487 (AT_CHECK_NOESCAPE): ...to this new macro.
5489 2003-07-31 Paul Eggert <eggert@twinsun.com>
5491 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
5492 in Bash 2.01. Problem reported by Brian Gough in
5493 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
5495 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
5497 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
5498 -lcrt1.o, for OS X. (trivial change)
5500 2003-07-07 Paul Eggert <eggert@twinsun.com>
5502 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
5503 inside '#ifndef __cplusplus'. Problem reported by
5506 2003-07-06 Bill Clarke <llib@computer.org>
5508 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
5509 'long', not 'int', for benefit of Sun's recent C++ compilers
5510 (trivial change). See:
5511 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
5512 (This really should be 'intptr_t', not 'long', but that would
5515 2003-06-25 Akim Demaille <akim@epita.fr>
5517 * lib/Makefile.am (autom4te.cfg): Make it read only.
5518 Depend on Makefile since it contains substitutions.
5520 * lib/autom4te.in (args): Add local.at? for Autotest args.
5521 This change was made on autom4te.cfg which is generated.
5522 Reported by Raja R. Harinath.
5524 2003-06-25 Akim Demaille <akim@epita.fr>
5526 * doc/autoconf.texi (Header Portability): sys/mount.h.
5527 From Gareth McCaughan.
5529 2003-06-23 Akim Demaille <akim@epita.fr>
5531 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
5532 not all of them. This fixes 1. the fact that when testing
5533 Autoconf there are many many config.log, 2. the incorrect use of
5534 top_srcdir to find config.log.
5535 Don't mix the detailed output of failed test with the summary of
5536 failures. Rather, append detailed log afterwards.
5538 2003-06-23 Akim Demaille <akim@epita.fr>
5540 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
5541 always run: output config.log on $at_group_log.
5543 2003-06-23 Akim Demaille <akim@epita.fr>
5545 * tests/torture.at (#define header templates): Don't use quotes in
5546 C++ comments as it puzzles Emacs' sh font-lock-mode.
5548 2003-06-23 Akim Demaille <akim@epita.fr>
5550 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
5551 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
5552 * tests/atspecific.m4: Rename as...
5553 * tests/local.at: This.
5554 * tests/suite.at: Move the globals into...
5555 * tests/local.at: here.
5556 * tests/Makefile.am: Adjust.
5557 * doc/autoconf.texi (testsuite Scripts): Adjust.
5559 2003-06-21 Kevin Ryde <user42@zip.com.au>
5561 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
5562 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
5563 ensuring we add -std1 for full-ANSI.
5565 * doc/autoconf.texi (hdrindex): New macro.
5566 Add index entries for portability of various standard header files.
5568 2003-06-20 Akim Demaille <akim@epita.fr>
5570 * configure.ac: Bump to 2.57b.
5572 2003-06-20 Akim Demaille <akim@epita.fr>
5576 2003-06-20 Akim Demaille <akim@epita.fr>
5578 * bin/autom4te.in: Don't rely on $HOME being defined.
5579 Reported by Marc Espie as PR/233.
5581 2003-06-20 Akim Demaille <akim@epita.fr>
5583 * lib/autotest/general.m4: Use at_times_file only if used.
5586 2003-06-20 Akim Demaille <akim@epita.fr>
5588 * config/config.guess, config/config.sub, config/elisp-comp,
5589 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
5590 Update from masters.
5592 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
5594 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
5595 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
5596 (TEST_SCRIPT): New diversion.
5597 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
5598 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
5599 (AT_INIT): Support for expected failures.
5601 2003-06-02 Akim Demaille <akim@epita.fr>
5603 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
5605 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
5606 Autoconf nor Automake.
5607 (&contents): New, from Automake.
5610 2003-05-28 Paul Eggert <eggert@twinsun.com>
5612 * NEWS, doc/autoconf.texi (Particular Functions),
5613 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
5614 is the inverse of localtime.
5616 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
5618 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
5619 (handle_exec_errors): New function. Work around $! being
5620 altered by WEXITSTATUS.
5621 (xqx, xsystem): Use handle_exec_errors.
5623 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
5625 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
5626 Do not call `_exit()', simply modify `$?'.
5627 (xsystem): Reset $! before running system, and check it afterward.
5628 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
5629 63 for version mismatches.
5631 2003-05-23 Akim Demaille <akim@epita.fr>
5633 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
5634 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
5635 the middle of a line).
5636 * lib/m4sugar/m4sugar.m4: Likewise.
5637 Remove useless spaces in comments.
5639 2003-05-23 Akim Demaille <akim@epita.fr>
5641 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
5642 exit 63, so that we (or Automake's "missing") can tell the
5643 difference with a plain failure.
5644 * doc/autoconf.texi (Notices): Adjust.
5646 2003-05-23 Akim Demaille <akim@epita.fr>
5648 * Makefile.am, bin/Makefile.am, config/Makefile.am,
5649 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
5650 White spaces cleanup.
5652 2003-05-22 Jim Meyering <jim@meyering.net>
5653 Paul Eggert <eggert@twinsun.com>
5655 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
5656 Remove `#include <stdlib.h>' from the list; we should never
5657 make confdefs.h include <stdlib.h> or <cstdlib>, because the
5658 resulting namespace pollution would cause other tests to fail.
5659 Configure scripts run with some older versions of g++ and HP's
5660 aCC would fail due to such an #include. Problems reported by
5661 Matthew Mueller in <http://bugs.debian.org/120704> and by
5663 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
5664 In the test, use the test declaration before including <stdlib.h>,
5665 as that's closer to how it'll be used.
5667 2003-05-23 Akim Demaille <akim@epita.fr>
5669 * doc/autoconf.texi (Header Portability): ucred.h.
5672 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5674 Overhaul Autotest's logging: generate separate log files
5675 in testsuite.dir/NNN/testsuite.log, and append them to
5676 testsuite.log instead of re-running the test verbosely.
5678 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
5679 file descriptor, write 0 to at_status_file instead of setting
5680 at_status=0, initialize some new variables (at_status_file,
5681 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
5682 to rerun the tests, instead append the at_group_log to the
5683 at_suite_log when a test fails.
5684 (AT_SETUP): pipe the test case's output into at_tee_pipe,
5685 with the AS_MESSAGE_LOG_FD redirected to stdout.
5686 (AT_CLEANUP): save the output status in $at_status_file
5687 and restore it, redirect the AS_MESSAGE_LOG_FD back to
5689 (AT_CHECK): since tests are run with a redirected stdout,
5690 and used to be re-run in verbose mode, turn some $at_verbose
5691 into echo, and don't redirect the output of testing stdout
5694 * lib/autotest/autoconf.texi (testsuite Scripts): Update
5695 the name of the debugging directory and information about
5698 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5700 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
5703 2003-05-22 Akim Demaille <akim@epita.fr>
5705 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
5706 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
5707 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
5708 * lib/autoconf/status.m4: Fix and adjust copyright notices.
5710 2003-05-22 Akim Demaille <akim@epita.fr>
5712 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
5713 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
5714 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5715 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
5716 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5717 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5718 * lib/autoconf/status.m4, lib/autoconf/types.m4,
5719 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
5720 * tests/atspecific.m4, tests/base.at, tests/compile.at,
5721 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
5722 * tests/tools.at, tests/torture.at:
5723 Whitespace clean up.
5724 Suggested by Jim Meyering.
5726 2003-05-22 Akim Demaille <akim@epita.fr>
5728 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
5729 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
5730 Reported by Jim Meyering.
5732 2003-05-22 Akim Demaille <akim@epita.fr>
5734 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
5735 Add AC_HELP_STRING to the obsolete macros section.
5737 Use '@.' for sentences that ended in a capital letter.
5740 2003-05-22 Akim Demaille <akim@epita.fr>
5742 * config/config.guess, config/config.sub, config/elisp-comp,
5743 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
5744 * config/texinfo.tex, doc/standards.texi: Update from masters.
5746 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
5748 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5751 2003-05-21 Akim Demaille <akim@epita.fr>
5753 * bin/autoupdate.in ($m4): Fix quotation.
5754 Reported by Martin Mokrejs.
5756 2003-05-19 Paul Eggert <eggert@twinsun.com>
5758 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5759 Remove non-ASCII characters.
5761 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
5763 * tests/semantics.at (AC_SEARCH_LIBS): New test.
5764 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5765 AC_CHECK_HEADERS_NEW): New tests.
5767 2003-05-17 Akim Demaille <akim@epita.fr>
5769 * lib/autoconf/functions.m4: Use the default includes so that
5770 memcmp be declared before being tested.
5771 Reported by Sander Niemeijer.
5772 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5773 * doc/autoconf.texi (Default Includes): Document
5774 AC_INCLUDES_DEFAULT.
5776 2003-05-17 Akim Demaille <akim@epita.fr>
5778 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5779 * doc/autoconf.texi (Obsolete Macros): Adjust.
5780 Reported by Werner LEMBERG and Debian Bug 190886.
5782 2003-05-16 Akim Demaille <akim@epita.fr>
5784 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5785 user name space clashes.
5786 Reported by Bruno Haible.
5788 2003-05-16 Akim Demaille <akim@epita.fr>
5790 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5791 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5792 them uniform, and more robust to Perl special characters.
5793 Reported by Martin Mokrejs.
5795 2003-05-14 Akim Demaille <akim@epita.fr>
5797 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5799 2003-05-14 Akim Demaille <akim@epita.fr>
5801 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5804 2003-05-12 Akim Demaille <akim@epita.fr>
5806 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5808 From Matthias Andree.
5810 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
5812 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5815 2003-05-06 Akim Demaille <akim@epita.fr>
5817 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5818 longer updates aclocal.m4 if useless, (ii) if a file m4_included
5819 by aclocal.m4 is changed it might require the importing of another
5820 m4 extension file, i.e., aclocal must be run.
5822 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5823 (&parse_args): Use --force with aclocal if required and supported.
5824 (&autoreconf_current_directory): Use &run_aclocal.
5826 2003-05-06 Akim Demaille <akim@epita.fr>
5828 Lock autom4te's cache.
5830 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5831 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5832 argument instead of a file name, so that the request file remains
5833 open during the whole autom4te run.
5834 ($icache_file): New.
5835 (&freeze): Lock the $icache_file.
5837 2003-04-29 Derek Price <derek@ximbiot.com>
5839 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5840 seperator with m4_append_uniq(). It doesn't work.
5841 (AT_CLEANUP): Add `;' to end of at_help_all.
5842 (AT_INIT): Allow --keywords to be specified more than once. When
5843 grepping $at_help_all for keywords, use the field and keyword
5844 seperators to ensure a complete keyword match. Alter at_prev handling
5845 to support the new --keywords behavior.
5847 2003-04-27 Karl Berry <karl@freefriends.org>
5849 * doc/autoconf.texi: Make the dir entries in the autoconf manual
5850 align better with others. I also made some of the individual
5851 entries on one line, for brevity and to make it easier for me to
5852 sort my dir-example file in the Texinfo distribution :).
5854 2003-04-12 Jim Meyering <jim@meyering.net>
5856 * NEWS: Mention the new macro.
5857 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5858 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5859 * tests/c.at: Test AC_C_RESTRICT.
5860 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5862 2003-04-08 Akim Demaille <akim@epita.fr>
5864 * bin/ifnames.in: Skip C++ comments.
5867 2003-04-08 Akim Demaille <akim@epita.fr>
5869 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5870 From Ilya Zakharevich.
5872 2003-04-08 Akim Demaille <akim@epita.fr>
5874 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5877 2003-04-01 Derek Price <derek@ximbiot.com>
5879 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5880 from Akim's checkin of 2003-03-29.
5882 2003-04-01 Derek Price <derek@ximbiot.com>
5884 * tests/torture.at (Configuring subdirectories): Add missing
5885 close-quote for Akim's change from 2003-03-28.
5887 2003-04-01 Akim Demaille <akim@epita.fr>
5889 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
5890 (AC, AT, MS): these.
5891 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5894 * doc/Makefile.am (CLEANFILES): Adjust.
5895 (TEXI2DVI): Make it --batch.
5897 2003-03-31 Derek Price <derek@ximbiot.com>
5899 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5900 which removed the main loop.
5901 Thanks to Akim Demaille.
5903 2003-03-29 Akim Demaille <akim@epita.fr>
5905 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5907 From Ilya Zakharevich.
5909 2003-03-29 Akim Demaille <akim@epita.fr>
5911 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5912 documentation to read is Autoconf's.
5913 Suggested by Paul Eggert.
5915 2003-03-28 Akim Demaille <akim@epita.fr>
5917 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5918 reading the section "Present But Cannot Be Compiled" when the
5919 header causes problems.
5921 2003-03-28 Akim Demaille <akim@epita.fr>
5923 * tests/torture.at (Configuring subdirectories): Require aclocal
5924 1.4, otherwise the test fails, as it does support configure.ac.
5925 This fixes the "test 40 failed" bug reports.
5927 2003-03-28 Akim Demaille <akim@epita.fr>
5929 * doc/autoconf.texi (C Compiler): `#line' portability.
5930 From Paul Eggert and Nelson H. F. Beebe.
5932 2003-03-27 Derek Price <derek@ximbiot.com>
5934 * lib/autotest/general.m4: Eliminate main loop and reorganize test
5935 layout in order to allow scripting around test groups.
5937 2003-03-27 Derek Price <derek@ximbiot.com>
5939 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5940 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5941 use new diversions in preparation for accepting new arguments and
5942 allowing scripting around tests.
5943 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5945 2003-03-26 Derek Price <derek@ximbiot.com>
5947 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5948 obsolete AC_HELP_STRING.
5949 (AC_HELP_STRING): AU_DEFUN to...
5950 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5951 * tests/m4sh.at (AS_HELP_STRING): New test.
5953 * tests/acgeneral.at: Regenerated.
5955 2003-03-26 Derek Price <derek@ximbiot.com>
5957 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5958 sense. Verbosify the diversion definitions comment.
5960 2003-03-26 Derek Price <derek@ximbiot.com>
5962 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5965 2003-03-21 Eric Siegerman <eric_97@pobox.com>
5967 * doc/autoconf.texi (Present But Cannot Be Compiled):
5968 Grammar fixes and minor rewording. (trivial change)
5970 2003-03-06 Paul Eggert <eggert@twinsun.com>
5972 Work around a problem noted by Nelson H. F. Beebe with coreutils
5973 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
5974 2002/05/09) rejects '#line 32768 "configure"' because the line
5976 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
5978 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
5979 * doc/autoconf.texi (Generating Sources): Document this.
5981 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
5983 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
5984 file name for the m4 program, when it has an "exe" file extension.
5985 DJGPP's error messages include the error code in brackets -
5986 remove the error code during normalization.
5988 2003-02-28 Akim Demaille <akim@epita.fr>
5990 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
5992 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
5994 * doc/autoconf.texi (Limitations of Make): Remove the section
5995 about `$<' in inference rules, it was a bogus interpretation of
5996 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
5997 Tru64 make in the "target lookup" section.
5998 (Automake): Automake 1.5+ no longer requires special tools to be
5999 present on the developer's host.
6001 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
6003 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6004 to a shell that can handle redirection or quoting correctly.
6005 Override SHELL with the shell detected by configure.
6006 Use of $^O suggested by Tim van Holder.
6007 * bin/autom4te.in (BEGIN): Likewise.
6008 * bin/autoreconf.in (BEGIN): Likewise.
6009 * bin/autoscan.in (BEGIN): Likewise.
6010 * bin/autoupdate.in (BEGIN): Likewise.
6011 * bin/ifnames.in (BEGIN): Likewise.
6013 * bin/ifnames.in: Add final newline to help and version messages.
6015 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6016 to cope with DOS-style absolute paths, when constructing
6019 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6020 When constructing paths with IFS=:, quote the path. If we're
6021 constructing a DOS-style absolute path, we don't want to split it
6024 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6027 2003-02-25 Pavel Roskin <proski@gnu.org>
6029 * bin/autoheader.in: Add missing newline when printing
6030 suggestion how change AC_DEFINE call.
6032 2003-02-24 Paul Eggert <eggert@twinsun.com>
6034 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6035 2002-09-01 patch by replacing "test -n" with "test -z".
6036 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6037 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6039 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6040 to fix a mismatch between example and discussion.
6042 2003-02-24 Kevin Ryde <user42@zip.com.au>
6044 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6045 format starting with "-".
6047 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6049 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6050 is not portable inside Makefile.
6052 2003-02-20 Akim Demaille <akim@epita.fr>
6054 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6055 compiler says yeah, but preproc says nope, compiler is right.
6056 Conversely, prompt the reader to send a bug report to the
6057 maintainers of the package, not of Autoconf.
6059 2003-02-20 Klee Dienes <kdienes@apple.com>
6061 * bin/autoreconf.in (autoreconf_current_directory): Properly
6062 handle an empty aclocal.m4.
6064 2003-02-20 Akim Demaille <akim@epita.fr>
6066 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6070 2002-12-23 Paul Eggert <eggert@twinsun.com>
6072 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6073 innocuous variant befor including <limits.h> or <assert.h>. This
6074 works around a bug reported by Albert Chin: HP-UX 11i
6075 (and earlier versions) have a <limits.h> that declares
6076 gettimeofday and many other functions.
6078 2002-12-03 Paul Eggert <eggert@twinsun.com>
6082 * NEWS, configure.ac: Update version.
6084 * doc/fdl.texi: Upgrade to FDL version 1.2.
6086 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6087 nontrivially in main's body, so that f's external declaration is
6088 not optimized away in AIX. This should fix the bug reported by
6090 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6092 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6093 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6094 defined, to support freestanding compilers. This should fix the
6095 bug reported by Momchil Velkov in
6096 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6098 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6099 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6100 obsolete AC_CHECK_TYPE. The missing empty arg was reported
6101 by Simon Josefsson in
6102 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6104 * Makefile.maint (www-gnu): New macro.
6105 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6106 the location has moved.
6108 2002-12-02 Martin Frydl <martin@systinet.com>
6110 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6111 \(.*\) match is too long and there is something more to be checked.
6112 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6114 2002-11-15 Akim Demaille <akim@epita.fr>
6118 * config/install-sh: chmod +x.
6120 * config/move-if-change: Indenting changes.
6121 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6122 * configure.ac (AM_INIT_AUTOMAKE): here.
6125 2002-11-14 Akim Demaille <akim@epita.fr>
6129 * config/config.guess, config/config.sub, config/install-sh:
6130 Update from masters.
6132 2002-11-14 Akim Demaille <akim@epita.fr>
6134 * Makefile.maint: Sync with Bison, i.e.:
6135 (po-check): Scan .l and .y files instead of the
6136 .c and the .h files that they generate. This fixes the bug
6137 reported by Tim Van Holder in:
6138 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6139 Look for N_ as well as for _. Try to avoid matching #define for
6143 2002-11-14 Akim Demaille <akim@epita.fr>
6145 * doc/autoconf.texi (C Compiler): Compiling several files at once.
6146 From Paul Eggert and Albert Chin-A-Young.
6148 2002-11-14 Akim Demaille <akim@epita.fr>
6150 * doc/autoconf.texi (C Compiler): Solitary backslashes.
6151 From Paul Eggert and Albert Chin-A-Young.
6153 2002-11-14 Kevin Ryde <user42@zip.com.au>
6155 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6156 than assigning in main, to avoid HP cc +O3 optimizing it away.
6158 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
6160 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6161 option. Process --recheck after parsing all options. Pass -q
6162 option to configure on --recheck.
6163 (AC_OUTPUT): Pass -q from configure to config.status.
6164 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6165 arguments to record.
6166 * doc/autoconf.texi (config.status Invocation): Document
6167 config.status -q option.
6169 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
6171 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6172 Makefile.in if Makefile.am exists.
6173 (output): Strip `.am' from Makefiles. Don't
6174 output AC_CONFIG_FILES if no Makefiles were found.
6176 2002-11-07 Akim Demaille <akim@epita.fr>
6178 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6179 (local_updates): New.
6180 * Makefile.maint: Update, from CVS Bison.
6181 (local_updates): New.
6183 2002-11-06 Akim Demaille <akim@epita.fr>
6185 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6186 declaration in extern "C" too.
6187 Reported by Roberto Bagnara.
6189 2002-11-06 Akim Demaille <akim@epita.fr>
6191 * tests/torture.at (Configuring subdirectories): Don't use grep
6193 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6194 Reported by Ezra Peisach.
6196 2002-11-05 Akim Demaille <akim@epita.fr>
6198 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6200 We _have_ to stop using the old compatibility scheme that tried to
6201 avoid useless backslashes because Libtool 1.4.3 contains a
6202 AC_DEFINE([error_t], [int],
6203 [Define to a type to use for \`error_t' if it is not
6204 otherwise available.])
6205 We _have_ to quote the single quote and backslashes with \. The
6206 old compatibility scheme saw that ` was backslashed, and therefore
6207 did not quote the single quote. Hence before this patch, Autoconf
6208 was not compatible with Libtool.
6210 2002-11-04 Paul Eggert <eggert@twinsun.com>
6212 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6213 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6214 LC_NAME, LC_PAPER, LC_TELEPHONE.
6215 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6217 2002-11-04 Akim Demaille <akim@epita.fr>
6221 * Makefile.maint (update, cvs-update, po-update, do-po-update):
6223 * config/texinfo.tex: Update.
6225 2002-11-03 Akim Demaille <akim@epita.fr>
6227 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6229 (&autoreconf): here.
6230 ($help, $make, &parse_args, &autoreconf_current_directory):
6232 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6234 2002-10-31 Bruno Haible <bruno@clisp.org>
6236 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6237 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6238 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6239 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6240 to ac_cv_func_realloc_0_nonnull.
6241 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6243 2002-10-31 Akim Demaille <akim@epita.fr>
6245 The test suite was no longer checking for trailing envvars and files.
6247 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6248 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6250 2002-10-31 Akim Demaille <akim@epita.fr>
6252 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6253 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6254 Make variable, not a shell variable.
6255 Suggested by Bruno Haible.
6257 2002-10-31 Akim Demaille <akim@epita.fr>
6259 * bin/autom4te.in (load_configuration): Reject #args out of any
6262 2002-10-31 Akim Demaille <akim@epita.fr>
6264 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
6265 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
6266 (_AC_RUN_IFELSE): Use it.
6267 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
6268 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
6269 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
6272 2002-10-30 Akim Demaille <akim@epita.fr>
6274 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
6275 * doc/autoconf.texi (autom4te Invocation): Adjust.
6276 Suggested by Tim van Holder.
6278 2002-10-29 Paul Eggert <eggert@twinsun.com>
6280 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
6281 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
6282 Problem reported by Bruno Haible.
6284 2002-10-29 Akim Demaille <akim@epita.fr>
6286 * doc/autoconf.texi (Header Templates): Put also in words what the
6287 pictures says to assist free style readers.
6288 (Customizing autom4te): s/--cache=/--cache /.
6290 2002-10-29 Akim Demaille <akim@epita.fr>
6292 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
6294 sparc_address_test returns void.
6295 Use it with an argument, as prototyped.
6298 2002-10-29 Akim Demaille <akim@epita.fr>
6300 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
6301 configure.in, not configure.ac.
6302 Reported by Bruno Haible.
6304 2002-10-29 Akim Demaille <akim@epita.fr>
6306 * tests/torture.at (Deep Package): New test.
6307 (Configuring subdirectories): Don't use a testSubDir as Autotest
6310 2002-10-29 Akim Demaille <akim@epita.fr>
6312 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
6313 * doc/autoconf.texi (Invoking autom4te): Rename as...
6314 (autom4te Invocation): this, for consistency with the other nodes.
6316 2002-10-29 Akim Demaille <akim@epita.fr>
6318 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
6319 Reported by Ralf Corsepius.
6321 2002-10-29 Akim Demaille <akim@epita.fr>
6323 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6324 characters is a back as an `obsolete' warning now.
6325 Reported by Ralf Corsepius.
6327 2002-10-28 Akim Demaille <akim@epita.fr>
6329 * configure.ac: Bump to 2.54c.
6331 2002-10-28 Akim Demaille <akim@epita.fr>
6335 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
6337 2002-10-28 Akim Demaille <akim@epita.fr>
6339 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
6340 m4 executable names, and different GNU M4 version.
6341 Reported by Ezra Peisach and Paul Jarc.
6343 2002-10-27 Akim Demaille <akim@epita.fr>
6345 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
6348 2002-10-27 Akim Demaille <akim@epita.fr>
6350 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
6351 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
6352 Die when a simple Fortran program cannot be compiled.
6353 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
6354 Issue a warning if no function is given.
6356 2002-10-27 Akim Demaille <akim@epita.fr>
6358 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
6359 Move the documentation of AC_TRY_RUN to...
6360 (Obsolete Macros): here.
6361 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
6362 (autoconf Invocation): Remove the duplicates with `invoking
6364 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
6365 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6367 2002-10-27 Akim Demaille <akim@epita.fr>
6369 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
6370 and AC_LANG_FUNC_LINK_TRY.
6371 (Examining Libraries): Rename as...
6372 (Running the Linker): this.
6373 Document AC_LINK_IFELSE.
6374 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
6375 (Obsolete Macros): here.
6376 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
6377 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
6378 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
6379 * lib/autoconf/headers.m4 (AC_USG): Likewise.
6381 2002-10-27 Akim Demaille <akim@epita.fr>
6383 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
6385 More `check config.log' messages.
6387 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
6388 * doc/autoconf.texi (Printing Messages): Document it.
6389 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
6391 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
6392 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
6393 (_AC_COMPILER_OBJEXT): Likewise.
6394 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
6395 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
6397 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
6400 Deprecate macros with unusual interfaces.
6402 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
6403 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
6405 Document the new ones, and proper style.
6407 * doc/autoconf.texi (Generating Sources): New.
6408 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
6409 (Examining Declarations): Rename as...
6410 (Running the Preprocessor): this.
6411 Document AC_PREPROC_IFELSE.
6412 (Examining Syntax): Rename as...
6413 (Running the Compiler): this.
6414 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
6415 (Obsolete Macros): Move the definition of AC_TRY_CPP and
6416 AC_TRY_COMPILE here.
6418 2002-10-27 Akim Demaille <akim@epita.fr>
6420 Move sections around.
6422 * doc/autoconf.texi (Customizing autom4te): Remove a lost
6424 Reported by Burno Haible.
6425 (Language Choice): Now the first section of...
6426 (Writing Tests): this section.
6427 Make the introduction less C-centric.
6428 (Guidelines, Test Functions): Move to...
6429 (Writing Test Programs): this new section.
6430 (Test Programs): Merge into...
6433 2002-10-27 Akim Demaille <akim@epita.fr>
6435 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
6436 autom4te.in that resulted in the need for two `make' runs.
6438 2002-10-27 Akim Demaille <akim@epita.fr>
6440 * configure.ac: Bump to 2.54b.
6442 2002-10-25 Akim Demaille <akim@epita.fr>
6446 * Makefile.maint: Update from the Coreutils.
6447 (AMTAR): Remove, obsolete.
6448 (automake_repo): Update to redhat.com.
6450 Adjust to the fact that ansi2knr is now hosted by Automake.
6451 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
6452 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
6453 Update from masters.
6454 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
6455 autoscan.pre is not to be installed, and autoscan.list is not to
6457 (CLEANFILES): Add autoscan.list.
6458 (autoscan.list): Disable the cache.
6459 * bin/Makefile.am: Include freeze.mk.
6461 2002-10-25 Akim Demaille <akim@epita.fr>
6463 * bin/autom4te.in (&load_configuration): Take the file as
6465 (&parse_args): Handle -C, --cache.
6467 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
6468 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
6469 * doc/autoconf.texi (Invoking autom4te): Document --cache.
6470 Now a subsection of...
6471 (Using autom4te): This new section.
6472 (Customizing autom4te): New.
6473 (autom4te.cache): Adjust.
6475 2002-10-25 Akim Demaille <akim@epita.fr>
6477 * doc/autoconf.texi (Generic Headers): More information on how to
6478 use AC_CHECK_HEADERS.
6480 2002-10-25 Akim Demaille <akim@epita.fr>
6482 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
6485 2002-10-25 Akim Demaille <akim@epita.fr>
6487 * bin/autoscan.in (output): Output AC_PREREQ.
6488 (%needed_macros): Add AC_PREREQ so that configure.ac without one
6491 2002-10-23 Akim Demaille <akim@epita.fr>
6493 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
6496 2002-10-23 Akim Demaille <akim@epita.fr>
6498 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
6499 Reported by Peter Eisentraut.
6501 2002-10-23 Akim Demaille <akim@epita.fr>
6503 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
6506 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
6507 Eggert's recommandations.
6509 2002-10-22 Akim Demaille <akim@epita.fr>
6511 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
6512 Bison, by Paul Eggert.
6513 * doc/autoconf.texi (Particular Headers): Document it.
6515 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
6517 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
6518 `$ac_configure_args'.
6520 2002-10-22 Akim Demaille <akim@epita.fr>
6522 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
6523 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
6526 2002-10-22 Akim Demaille <akim@epita.fr>
6528 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
6530 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6531 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
6532 (_AC_CHECK_HEADER_NEW): Rename as...
6533 (AC_CHECK_HEADER): this.
6535 2002-10-22 Akim Demaille <akim@epita.fr>
6537 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
6538 words about HP-UX cmp: it was actually a user-written cmp.
6540 2002-10-22 Akim Demaille <akim@epita.fr>
6542 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
6544 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6545 Quote for Perl '' strings, not "".
6546 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
6549 2002-10-22 Akim Demaille <akim@epita.fr>
6551 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
6552 characters is a syntax warning now.
6553 (_AS_QUOTE): Accept $2 as list of characters to quote.
6554 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
6555 Quote for Perl, not sh.
6556 * bin/autoheader.in: When $debug, report the file which is
6558 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
6559 `@', to tickle Perl's lists.
6560 Reported by Carlos Velasco.
6562 2002-10-18 Akim Demaille <akim@epita.fr>
6564 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
6565 missing included files _are_ errors.
6566 Thanks to Alexandre Duret-Lutz.
6567 * tests/tools.at (autom4te cache): Adjust.
6568 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
6569 (AT_CHECK_M4SUGAR): Use it.
6570 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6572 * tests/tools.at (autom4te): Now it does exit 1.
6574 2002-10-17 Akim Demaille <akim@epita.fr>
6576 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
6577 Fixes the `AC_ARG_VAR' test failures.
6578 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
6579 * lib/freeze.mk (check-forbidden-patterns): New.
6580 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
6581 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
6582 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
6584 Reported months ago by H. Merijn Brand.
6586 2002-10-17 Akim Demaille <akim@epita.fr>
6588 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
6590 2002-10-16 Paul Eggert <eggert@twinsun.com>
6592 * Makefile.maint (wget_files): Remove ansi2knr.c.
6593 (ansi2knr.c-url_prefix): Remove.
6595 2002-10-16 Akim Demaille <akim@epita.fr>
6597 Because of caching, some files that no longer exist and are no
6598 longer required can still cause errors.
6599 Reported by Alexandre Duret-Lutz.
6601 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
6602 to frozen files in @ARGV, as @ARGV must remain being a list of
6603 files. Rather, at M4 call sites, use this...
6604 (&files_to_options): New function.
6605 (&freeze): Use &error.
6606 (&up_to_date): If a file that was included according to the cache
6607 is no longer there, then the output is out dated.
6608 (&main): Don't even check whether a file is up to date is anyway
6610 * tests/tools.at (autom4te cache): New.
6612 2002-10-16 Akim Demaille <akim@epita.fr>
6614 * bin/autoconf.as: Kill dead options.
6615 * bin/autoupdate.in (&parse_args): Kill old options.
6616 * bin/autoreconf.in (&parse_args): Remove dead options.
6618 (&autoreconf): Report the directories we enter *and leave*, so
6619 that error messages can be easily located, and use GNU Make
6620 format, so that Emacs' compile mode understands us.
6621 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
6622 if some file was changed instead of `print'.
6623 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
6624 (&parse_args): Remove the dead options.
6625 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
6626 autoheader's quiet mode.
6627 (AT_CHECK_AUTOUPDATE): Likewise.
6628 * tests/tools.at (autoupdate): Adjust.
6629 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6631 2002-10-11 Akim Demaille <akim@epita.fr>
6633 No longer use CPP to check for the existing of headers: use CC to
6634 check for compilability.
6636 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
6637 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
6638 (_AC_CHECK_HEADER_NEW): Rename as...
6639 (AC_CHECK_HEADER): this.
6641 * lib/autotest/general.m4 (AT_INIT): Include the failed test
6642 numbers in the Subject suggestion.
6644 2002-10-11 Akim Demaille <akim@epita.fr>
6646 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
6647 Suggest using AC_CHECK_DECLS instead.
6649 2002-10-11 Akim Demaille <akim@epita.fr>
6651 * tests/torture.at (AC_ARG_VAR): Have configure report the value
6654 2002-10-11 Akim Demaille <akim@epita.fr>
6656 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
6657 file name to enable parallel executions.
6658 From Sam Varshavchik.
6660 2002-10-08 Akim Demaille <akim@epita.fr>
6662 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
6663 aclocal invocation, as Gettext macros might not be visible to
6665 Instead of blindly running autopoint, scan configure.ac (not the
6666 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
6667 Reported by Paul D. Smith.
6669 2002-10-08 Paul Eggert <eggert@twinsun.com>
6671 Work around problems found when POSIXLY_CORRECT=1 is set.
6672 None of this seems to have anything to do with POSIX, really,
6673 but it's how Perl getopt works.
6674 * bin/autom4te.in (parse_args): Configure GetOpt with
6676 * doc/autoconf.texi (Invoking autom4te):
6677 --warning -> --warnings.
6678 * lib/autom4te.in: --warning -> --warnings.
6680 2002-09-28 Akim Demaille <akim@epita.fr>
6682 * doc/autoconf.texi (autom4te.cache): New section.
6684 2002-09-28 Akim Demaille <akim@epita.fr>
6686 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
6687 (Automake-preselections): Update.
6688 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
6690 2002-09-28 Akim Demaille <akim@epita.fr>
6692 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
6693 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
6694 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6695 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
6697 2002-09-28 Akim Demaille <akim@epita.fr>
6699 * tests/torture.at (Configuring subdirectories): Be robust to
6700 users who use config.site to require for a cache: in this case,
6701 the two last configure runs, using two different sets of
6702 arguments, trigger a legitimate error.
6704 2002-09-28 Akim Demaille <akim@epita.fr>
6706 * tests/m4sh.at (Functions Support, Functions and return Support):
6709 2002-09-28 Akim Demaille <akim@epita.fr>
6711 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
6712 autoheader are Perl programs.
6713 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
6714 (autom4te): Specify that the sources are in the $srcdir.
6715 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6717 2002-09-28 Akim Demaille <akim@epita.fr>
6719 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
6720 (tm_zone): Move their rules to...
6721 * lib/autoconf/types.m4: here, using AN_ macros.
6722 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
6723 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
6724 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
6725 * lib/autoconf/programs.m4: here.
6726 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
6727 (ETAGS_FOR_AUTOCONF): New.
6730 2002-09-28 Akim Demaille <akim@epita.fr>
6732 * lib/autoconf/autoscan.m4: New file.
6733 * lib/autoconf/autoconf.m4: Include it.
6734 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
6735 that were listed in the original autoscan.list.
6736 * lib/autoconf/headers.m4: Similarly with headers.
6737 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
6738 (.m4.m4f): Don't pass --prepend-include, since that's done by
6739 tests/autom4te itself.
6740 * lib/autoscan/Makefile.am: Include freeze.mk.
6741 (autoscan.list): New target --this file is no longer a source.
6742 (autoscan.pre): New file.
6744 2002-09-28 Akim Demaille <akim@epita.fr>
6746 * bin/autoscan.in (@kinds): Make them singular.
6748 (&init_tables): When --debug, report the list of rules to ease
6749 tracking changes in autoscan.list.
6750 * lib/autoscan/autoscan.list (function): Strip comments, sort.
6752 2002-09-28 Akim Demaille <akim@epita.fr>
6754 * lib/autoscan/functions, lib/autoscan/headers,
6755 * lib/autoscan/identifiers, lib/autoscan/makevars,
6756 * lib/autoscan/programs: Merge into...
6757 * lib/autoscan/autoscan.list: this.
6758 * bin/autoscan.in (&init_tables): Adjust.
6760 2002-09-28 Akim Demaille <akim@epita.fr>
6762 * lib/autoscan/functions, lib/autoscan/headers,
6763 * lib/autoscan/identifiers, lib/autoscan/makevars,
6764 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6765 `functions' line is now prefixed with `function:'.
6766 * bin/autoscan.in (&init_tables): Adjust.
6768 2002-09-28 Akim Demaille <akim@epita.fr>
6770 From now on, autoscan files must always map a macro name to a
6771 word: there is no `default' macro for autoscan.
6773 * bin/autoscan.in (&init_tables): Reject entries with no macro at
6775 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6778 2002-09-28 Akim Demaille <akim@epita.fr>
6780 * bin/autoscan.in (%c_keywords): Remove.
6781 (&used): Keep only track of the words we might be interested in.
6782 (&output_kind): It is no longer needed to look for non active
6785 2002-09-27 Akim Demaille <akim@epita.fr>
6787 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6788 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6789 * lib/autoscan/functions: Adjust.
6790 * doc/autoconf.texi (Particular Functions): Adjust.
6792 2002-09-27 Akim Demaille <akim@epita.fr>
6794 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6796 Thanks to Bill Moseley and Paul Eggert.
6797 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6798 the tmpdir must be created.
6799 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6800 dir be in the build tree, instead of $TMPDIR.
6802 2002-09-27 Akim Demaille <akim@epita.fr>
6804 * bin/autoscan.in: Improve the comments.
6805 (&parse_args): Drop obsolete undocumented options.
6806 (&output_kind): Output warnings.
6807 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6808 (getwd): Trigger a warning.
6810 2002-09-26 Akim Demaille <akim@epita.fr>
6812 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6813 Reported by Ralf Corsepius.
6814 * doc/autoconf.texi (autoreconf Invocation): Likewise.
6816 2002-09-26 Akim Demaille <akim@epita.fr>
6818 Single suffix rules and seperated dependencies are not portable.
6820 * doc/autoconf.texi (Installation Directory Variables): Update.
6821 (Limitations of Make): Some about `Single Suffix Rules and
6822 Separated Dependencies'.
6823 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6824 (ifnames, autoscan, autom4te): Un-factor into several rules.
6826 2002-09-25 Paul Eggert <eggert@twinsun.com>
6828 * BUGS (Interoperability bugs): New section. Mention libtool
6829 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6831 2002-09-24 Paul Eggert <eggert@twinsun.com>
6833 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6834 make handles suffix-rules differently from GNU make.
6836 * bin/Makefile.am (SUFFIXES, .in): Remove.
6837 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6838 Move the body of the old .in rule here.
6840 2002-09-16 Akim Demaille <akim@epita.fr>
6842 i960 compilers create `b.out' files by default.
6843 Reported by Ralf Corsepius.
6845 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6846 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6848 2002-09-13 Paul Eggert <eggert@twinsun.com>
6850 * doc/autoconf.texi (Particular Headers): Remove obsolete
6851 reference to `struct timezone' in the description of
6854 2002-09-13 Akim Demaille <akim@epita.fr>
6858 * config/config.sub, config/config.guess: Update.
6859 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6860 * Makefile.am: Adjust.
6862 2002-09-13 Akim Demaille <akim@epita.fr>
6864 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6865 reading config.log when the compiler is rejected.
6866 Suggested by Guido Draheim.
6868 2002-09-13 Akim Demaille <akim@epita.fr>
6870 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6871 (chdir_init) might hang when stat'ing mounted directories.
6872 Reported by Vance Shipley.
6874 2002-09-12 Akim Demaille <akim@epita.fr>
6876 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6879 2002-09-12 Akim Demaille <akim@epita.fr>
6881 * doc/autoconf.texi (Defining Symbols): Present two different
6882 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6883 difference between 1 argument calls, and 2-3 argument calls.
6885 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
6887 * doc/autoconf.texi: Review grammar and punctuation.
6889 2002-09-11 Paul Eggert <eggert@twinsun.com>
6891 * doc/autoconf.texi: Fix minor formatting, spelling, and
6893 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6894 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6897 2002-09-11 Akim Demaille <akim@epita.fr>
6899 * doc/autoconf.texi (Questions): Rename as...
6901 (Defining Directories): New.
6903 2002-09-09 Akim Demaille <akim@epita.fr>
6905 * doc/autoconf.texi (Making testsuite Scripts): Update.
6906 Suggested by Nishio Futoshi.
6908 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
6910 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6911 plain `@' is wanted.
6913 2002-09-09 Akim Demaille <akim@epita.fr>
6915 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6916 `duplicates', since the algorithm was too naive and could keep
6917 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6918 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6919 Reported by Ralf Corsepius.
6920 * tests/torture.at (Configuring subdirectories): Exercise these
6923 2002-09-09 Akim Demaille <akim@epita.fr>
6925 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6926 looking for a replacement file.
6927 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6928 directory is relative.
6929 * doc/autoconf.texi (Generic Functions): Clarify the replacement
6930 directory definition.
6931 Reported by Andreas Schwab and Jim Meyering.
6933 2002-09-06 Akim Demaille <akim@epita.fr>
6935 * doc/autoconf.texi (Setting Output Variables): Clarify what
6936 precious variables are.
6937 Suggested by Pontus Skoeld.
6939 2002-09-05 Akim Demaille <akim@epita.fr>
6941 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6942 (ifnames, autoscan, autom4te): Since we don't only depend on
6943 configure.ac variables (such as VERSION etc.), but also on prefix
6944 and so forth, depend on Makefile, not configure.ac.
6945 Reported by Alexandre Duret-Lutz.
6946 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6948 2002-09-05 Kevin Ryde <user42@zip.com.au>
6950 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6951 doesn't seem to be confined to ia64, just say "some versions".
6953 2002-09-04 Akim Demaille <akim@epita.fr>
6955 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6957 * Makefile.am (maintainer-clean-local): Remove.
6958 (MAINTAINERCLEANFILES): Remove COPYING.
6960 2002-09-03 Paul Eggert <eggert@twinsun.com>
6962 * doc/autoconf.texi (Configuration Commands): Remove obsolete
6963 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
6966 2002-09-03 Akim Demaille <akim@epita.fr>
6968 * configure.ac: Bump to 2.53d.
6969 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6970 as of today, on Automake's team suggestion.
6972 2002-09-03 Akim Demaille <akim@epita.fr>
6976 2002-09-02 Akim Demaille <akim@epita.fr>
6978 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
6980 * configure.ac: Disable SITE_MACRO_DIR.
6982 2002-09-02 Jim Meyering <meyering@lucent.com>
6984 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
6985 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
6986 Also, tweak grammar: s/make sure to/be sure to/.
6988 2002-09-02 Paul Eggert <eggert@twinsun.com>
6990 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
6991 directory names are generally preferable to physical names.
6993 2002-09-02 Akim Demaille <akim@epita.fr>
6995 * lib/Autom4te/General.pm (&update_file): s/die/error/.
6996 Reported by Raja R. Harinath.
6997 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
6998 * bin/autoupdate.in: Use error instead of die.
7000 2002-09-01 Paul Eggert <eggert@twinsun.com>
7002 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7003 ordinary shell concatenation rather than echo+tr+sed command that
7004 runs afoul of a long-line-related sed bug in Solaris 8.
7006 * bin/autoheader.in (parse_args): --warning -> --warnings.
7008 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7009 stdout, as traditional "ls" does.
7010 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7011 _AC_COMPILER_EXEEXT_O): Likewise.
7012 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7014 * bin/autoconf.as: Add --prepend-include option. This patch was
7015 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7016 but bin/autoconf.in is generated automatically from bin/autoconf.as.
7018 * bin/autoconf.in, configure: Regenerate.
7020 * doc/autoconf.texi (Special Shell Variables): Mention
7021 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
7023 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7024 MAILPATH and set PS1, PS2, PS4 to default values, to work
7025 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7026 For LC_ALL etc, first try to set to "C" as POSIX requires and as
7027 the Autoconf documentation specifies; fall back to "unset" only if
7028 this fails. Use a shell for-loop for this rather than an m4 loop,
7029 to shorten the output script.
7031 2002-08-30 Paul Eggert <eggert@twinsun.com>
7033 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7034 1003.1-2001's requirements for CDPATH. Give a simpler workaround
7035 for the CDPATH problem. Document PWD.
7036 (Limitations of Builtins): Document the problem that "cd $foo" and
7037 "ls $foo" may refer to different directories in shells conforming
7038 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
7039 example, since the old example is now out of date.
7041 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7042 FOO" and "ls FOO" talk about different directories; this catches
7043 problems when POSIX 1003.1-2001 "cd" fails due to symlink
7046 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7047 of rolling our own unset.
7048 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7049 in practice we needn't worry about CDPATH if unset doesn't work.
7051 * Makefile.in, aclocal.m4, bin/Makefile.in,
7052 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7053 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7054 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7055 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7056 tests/Makefile.in: Regenerate with Automake 1.6.3.
7058 * config/config.guess, config/config.sub, config/mkinstalldirs:
7061 * configure: Regenerate with self.
7063 2002-08-30 Kevin Ryde <user42@zip.com.au>
7065 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7068 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7070 * bin/autom4te.in (Request::load): Correctly test for "do" read
7073 2002-08-29 Akim Demaille <akim@epita.fr>
7075 * lib/Autom4te/General.pm (&xqx): New.
7076 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7077 hand, which is not portable.
7079 * bin/autom4te.in: Use them.
7080 Use &error instead of die.
7081 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7084 2002-08-17 Paul Eggert <eggert@twinsun.com>
7086 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7087 default list of compilers to try, since it was long ago superseded
7088 by the ksh fc builtin. Suggested by Steven G. Johnson.
7090 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
7092 * doc/autoconf.texi (Invoking autom4te): End the option table,
7093 fixing a bug introduced by the previous patch.
7094 (Limitations of Make): Add a 'target lookup' subentry in the
7095 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
7097 2002-07-29 Mark D. Roth <roth@feep.net>
7099 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7100 options and use $AUTOM4TE_PATH.
7101 * doc/autoconf.texi: Remove documentation of autom4te
7102 --include-envvar and --site-macro-subdir options and document
7103 use of $AUTOM4TE_PATH.
7104 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7105 arguments from each language section.
7107 2002-07-29 Paul Eggert <eggert@twinsun.com>
7109 * doc/install.texi: Include copyright symbol in copyright notice.
7111 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7113 (AM_MAKEINFOFLAGS): New macro.
7114 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7115 * Makefile.am (INSTALL): Use the new macros.
7116 Use -o rather than --output, since "missing" does not grok --output.
7118 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7120 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7121 comments do not always work. Never trust the exit status of
7124 2002-07-24 Kevin Ryde <user42@zip.com.au>
7126 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7127 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7129 2002-07-23 Paul Eggert <eggert@twinsun.com>
7131 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7132 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7133 apparently treats PATH="nonexistent" as if it contained ".".
7134 Bug reported by Stefan `Sec' Zehl.
7136 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7138 * doc/autoconf.texi (Limitations of Make): Mention the special
7139 handling of the obj/ directory by BSD make.
7141 2002-07-20 Kevin Ryde <user42@zip.com.au>
7143 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7146 2002-07-19 Akim Demaille <akim@epita.fr>
7148 * doc/autoconf.texi (Function Portability): `exit'.
7149 (Programming in M4sh): Ethymology of M4sh.
7151 2002-07-19 Akim Demaille <akim@epita.fr>
7153 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7155 2002-07-18 Akim Demaille <akim@epita.fr>
7159 2002-07-18 Akim Demaille <akim@epita.fr>
7161 * config/config.guess, config/config.sub: Update.
7163 2002-07-18 Akim Demaille <akim@epita.fr>
7165 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7168 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7169 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7170 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7172 2002-07-18 Akim Demaille <akim@epita.fr>,
7173 Alexandre Duret-Lutz <duret_g@epita.fr>
7175 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7176 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7178 2002-07-17 Russ Allbery <rra@stanford.edu>
7180 * doc/autoconf.texi (Initializing configure): Clarify the
7181 description of the tarname default.
7183 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
7185 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7186 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7189 2002-07-17 Akim Demaille <akim@epita.fr>
7191 * lib/Autom4te/General.pm (find_file): Browse the directories in
7192 the order they are given.
7194 2002-07-17 Akim Demaille <akim@epita.fr>
7196 * tests/wrapsh.as, tests/wrappl.as: Merge into...
7197 * tests/wrapper.as: this.
7198 * tests/Makefile.am, configure.ac: Adjust.
7200 2002-07-17 Mark D. Roth <roth@feep.net>
7202 * configure.ac: Add --enable-site-macro-dir option.
7203 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7204 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7205 --site-macro-subdir options.
7206 * bin/autoconf.in: Add --prepend-include option.
7207 * bin/autoheader.in: Add --prepend-include option.
7208 * bin/autoreconf.in: Add --prepend-include option.
7209 * bin/autoscan.in: Add --prepend-include option.
7210 * bin/autoupdate.in: Add --prepend-include option.
7211 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7212 macro directory, remove note that include path directories are
7213 used in reverse order, and document --prepend-include option.
7214 * lib/autom4te.in: Use --prepend-include instead of --include.
7215 * tests/wrapsh.in: Use --prepend-include instead of --include.
7217 2002-07-17 Akim Demaille <akim@epita.fr>
7219 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7221 * doc/autoconf.texi (Initializing configure): Adjust.
7223 2002-07-17 Akim Demaille <akim@epita.fr>
7225 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7226 (_AC_FUNC_MALLOC): New.
7227 (AC_FUNC_MALLOC): Use the latter.
7228 Define HAVE_MALLOC to 0 if broken.
7229 * doc/autoconf.texi (Particular Functions): Adjust.
7231 2002-07-16 Akim Demaille <akim@epita.fr>
7233 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7234 * doc/autoconf.texi (C Compiler): Adjust.
7236 2002-07-09 Akim Demaille <akim@epita.fr>
7238 * doc/autoconf.texi: Properly set the ``header'' part.
7240 2002-07-09 Akim Demaille <akim@epita.fr>
7242 * doc/autoconf.texi (Systemology): Some about Darwin.
7244 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
7246 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7247 Don't use AC_REQUIRE in AU_DEFUN.
7249 2002-07-09 Art Haas <ahaas@neosoft.com>
7251 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7253 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
7255 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7256 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
7257 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
7258 so that Emacs setups GNU style for perl-mode and cperl-mode.
7260 2002-06-27 Paul Eggert <eggert@twinsun.com>
7262 * config/install-sh: Quote $src. Prefer || to test's -o option,
7263 as per "Limitations of Builtins".
7264 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
7265 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7267 * tests/mktests.sh: Use grep instead of fgrep, as per
7268 "Limitations of Builtins".
7270 2002-06-15 Paul Eggert <eggert@twinsun.com>
7272 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
7273 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
7274 so that we consistently test the just-built programs.
7275 * tests/wrappl.as: Likewise.
7277 2002-06-12 Paul Eggert <eggert@twinsun.com>
7279 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
7280 name, so that symlinks to 'autoconf' work properly. Bug reported
7282 * bin/autoheader.in (AUTOM4TE): Likewise.
7283 * bin/autoreconf.in (autoconf, autoheader): Likewise.
7284 * bin/autoscan.in (autom4te): Likewise.
7285 * bin/autoupdate.in (autom4te): Likewise.
7287 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
7288 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
7291 2002-06-11 Andreas Schwab <schwab@suse.de>
7293 * doc/autoconf.texi: Add more dir entries.
7295 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
7297 * bin/autom4te.in ($cache): Don't define using `$me', the name
7298 of the cache should not depend on the name under which autom4te
7301 2002-06-07 Akim Demaille <akim@epita.fr>
7303 * tests/tools.at (autoconf: forbidden tokens, basic)
7304 (autoconf: forbidden tokens, exceptions): Adjust to the change of
7305 words in autom4te.in.
7307 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
7309 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
7310 _AC_LANG_PROGRAM_C_F77_HOOKS.
7312 2002-06-07 Akim Demaille <akim@epita.fr>
7314 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
7316 (AC_REPLACE_FNMATCH): this.
7317 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
7318 AC_FUNC_FNMATCH_GNU.
7320 2002-06-07 Akim Demaille <akim@epita.fr>
7322 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
7323 Rosetta Stone for Unix.
7325 2002-06-07 Akim Demaille <akim@epita.fr>
7327 * bin/autom4te.in (warn_forbidden): When rejecting a token,
7328 suggest m4_pattern_allow.
7329 Suggested by Adam J. Richter.
7331 2002-06-07 Akim Demaille <akim@epita.fr>
7333 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
7334 ac_config_libobj_dir.
7335 (AC_CONFIG_LIBOBJ_DIR): New.
7336 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
7337 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
7338 Use ac_config_libobj_dir to find the replacement files.
7339 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
7340 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
7341 (AC_REPLACE_FNMATCH_GNU): these.
7342 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
7343 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
7344 * tests/mktests.sh (ac_exclude_list): Don't check
7345 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
7347 2002-06-06 Paul Eggert <eggert@twinsun.com>
7349 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
7352 * doc/autoconf.texi (Configuration Links): Likewise.
7353 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
7355 2002-06-05 Paul Eggert <eggert@twinsun.com>
7357 * config/config.guess, config/config.sub, config/texinfo.tex:
7358 Update from masters.
7360 2002-05-29 Paul Eggert <eggert@twinsun.com>
7362 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
7363 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7364 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
7366 * lib/autoconf/Makefile.am (check-local): Likewise.
7367 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
7368 * lib/autoconf/types.m4 (commentary only): Likewise.
7369 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
7370 * lib/autotest/Makefile.am (check-local): Likewise.
7371 * lib/m4sugar/Makefile.am (check-local): Likewise.
7372 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
7373 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
7375 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
7376 * doc/autoconf.texi (Particular Programs): Document them.
7377 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
7380 2002-05-27 Paul Eggert <eggert@twinsun.com>
7382 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
7383 * NEWS, doc/autoconf.texi (Particular Types): Document it.
7384 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
7385 instead of AC_MBSTATE_T, which never existed.
7387 2002-05-23 Akim Demaille <akim@epita.fr>
7389 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
7390 version of Autoconf that is discussed.
7392 2002-05-22 Paul Eggert <eggert@twinsun.com>
7394 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
7395 from the default list of compilers to try. Suggested by
7397 * NEWS: Document the above.
7398 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
7400 2002-05-17 Paul Eggert <eggert@twinsun.com>
7402 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
7403 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
7404 This improves on an earlier suggestion by H. Peter Anvin.
7406 2002-05-16 Paul Eggert <eggert@twinsun.com>
7408 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
7409 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
7410 Both macros now accept an optional source-dir arg.
7411 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
7413 * NEWS: Document this.
7414 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
7416 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
7417 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
7418 not for GNU extensions; this undoes part of the 2000-11-03 change,
7419 reverting to 2.13-compatible behavior.
7420 Add new optional argument DIR.
7421 (AC_FUNC_FNMATCH_GNU): New macro.
7423 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
7425 2002-05-08 Paul Eggert <eggert@twinsun.com>
7427 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
7428 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
7429 and it causes a 'test' syntax error if it fails.
7430 Bug reported by Stephen Gildea.
7432 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
7433 If prototypes are supported, use them to check this at compile-time,
7434 instead of trying to check it at run-time. If we must do a run-time
7435 check, assume that setvbuf is standard when cross-compiling, as
7436 nonstandard setvbuf occurs only on ancient and unlikely hosts.
7437 Bug reported by Paul D. Smith.
7439 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
7440 argument specifying location of getloadavg.c. This removes a
7441 FIXME. This idea was taken from Jim Meyering's implementation in
7443 * doc/autoconf.texi (Particular Functions): Document this.
7444 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
7445 that's what the code does; this fixes a bug reported by
7448 2002-05-03 Akim Demaille <akim@epita.fr>
7450 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
7451 autopoint instead of gettextize.
7452 ($uses_alocal): Rename as...
7453 ($uses_aclocal): this.
7454 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7455 Suggested by Bruno Haible.
7457 2002-05-03 Akim Demaille <akim@epita.fr>
7459 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
7461 2002-04-29 Paul Eggert <eggert@twinsun.com>
7463 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
7464 files to be 1 second older; just set them to be the same time.
7465 Also, sleep 1 second after the first aclocal, to work around
7466 problems with sub-second time stamps on the input files.
7468 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
7470 * doc/autoconf.texi: Mention "set -e -x" lossage
7471 under node "Limitations of Builtins".
7473 2002-04-29 Akim Demaille <akim@epita.fr>
7475 * doc/install.texi: Better wording for setting variables when
7477 From Christian Cornelssen.
7479 2002-04-29 Akim Demaille <akim@epita.fr>
7481 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
7482 of lack of $LINENO support, then the test will compare the $LINENO
7483 in testsuite vs. the lineno in the test file. This is wrong, of
7485 Be sure to protect it.
7486 Reported by Patrick Welche.
7488 2002-04-25 Akim Demaille <akim@epita.fr>
7490 * doc/autoconf.texi (Obsolete Macros): Typo.
7491 Reported by Vladimir Volovich.
7493 2002-04-25 Akim Demaille <akim@epita.fr>
7495 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
7496 than some of the input files, hence, on the second run of aclocal,
7497 if some of its input are younger, make them older.
7498 Suggested by Paul Eggert.
7500 2002-04-25 Akim Demaille <akim@epita.fr>
7502 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
7503 Thanks to Paul Eggert.
7505 2002-04-25 Akim Demaille <akim@epita.fr>
7507 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
7508 and ac_subst_vars be sh variables containing the list of
7509 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
7511 (_AC_INIT_PREPARE): Use them to log them.
7512 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
7513 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
7514 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
7515 _AC_SUBST_FILES and _AC_SUBST_VARS.
7516 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
7518 2002-04-24 Akim Demaille <akim@epita.fr>
7520 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
7521 autoheader, so that automake does not complain about a missing
7522 config.h.in that was to be created.
7524 2002-04-23 Akim Demaille <akim@epita.fr>
7526 * bin/autoheader.in (parse_args): --warning takes an argument.
7529 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
7531 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
7532 and bb.out when cleaning up.
7534 2002-04-22 Akim Demaille <akim@epita.fr>
7538 2002-04-22 Akim Demaille <akim@epita.fr>
7540 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
7542 2002-04-22 Akim Demaille <akim@epita.fr>
7544 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
7546 Reported by Gregory Giannoni.
7548 2002-04-22 Akim Demaille <akim@epita.fr>
7550 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
7551 Fixes false failures on Darwin.
7553 2002-04-21 Paul Eggert <eggert@twinsun.com>
7555 * TODO, bin/autoupdate.in, doc/autoconf.texi,
7556 lib/autoconf/general.m4, lib/autoconf/libs.m4,
7557 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
7558 tests/tools.at: Minor spelling and grammar fixes.
7560 2002-04-20 Paul Eggert <eggert@twinsun.com>
7562 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
7563 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
7564 * lib/autotest/general.m4 (AT_INIT): Likewise.
7565 * tests/atgeneral.m4 (AT_INIT): Likewise.
7567 2002-04-19 Paul Eggert <eggert@twinsun.com>
7569 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
7570 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
7571 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
7572 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7573 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
7574 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
7575 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
7576 Minor spelling and grammar fixes.
7578 * doc/autoconf.texi: Follow the outline suggested in the GNU
7579 Sample Texts sections of the Texinfo 4.2 manual. Most
7580 importantly, this makes sure that the copyright notices appear in
7581 all output formats. You probably need Texinfo 4.2 to generate
7584 Fix some bugs when using "$@" when there might be zero positional
7585 arguments in cases where this matters.
7587 * bin/autoconf.as: Rewrite so that the problem does not come up.
7588 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
7589 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
7590 * lib/autotest/general.m4 (AT_INIT): Likewise.
7592 * bin/autoheader.in: Use 'case' statement to work around problem.
7593 * bin/auto4mte.in: Likewise.
7594 * bin/autoreconf.in: Likewise.
7595 * bin/autoscan.in: Likewise.
7596 * bin/autoupdate.in: Likewise.
7597 * bin/ifnames.in: Likewise.
7599 * doc/autoconf.texi (Shell Substitutions): Document the problem.
7601 * lib/autotest/general.m4 (AT_INIT):
7602 Use Zsh alias to work around problem.
7603 * tests/atgeneral.m4 (AT_INIT): Likewise.
7605 * tests/c.at: We can't have zero arguments, so remove workaround
7606 that is not portable to Zsh.
7608 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
7610 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
7611 from aclocal.m4 too.
7613 2002-04-12 Akim Demaille <akim@epita.fr>
7615 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
7617 2002-04-10 Akim Demaille <akim@epita.fr>
7619 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
7620 workaround for ${1+"$@"}.
7621 * doc/autoconf.texi (Shell Substitutions): Explain it.
7622 From Oliver Kiddle and Peter Stephenson.
7624 Have M4sh perform minimal shell sanitizing.
7626 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
7628 (_AS_PREPARE): this new macro.
7630 (AS_INIT): Invoke AS_SHELL_SANITIZE.
7631 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
7633 Adjust Autoconf and Autotest.
7635 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
7636 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
7637 * lib/autotest/general.m4 (AT_INIT): Likewise.
7638 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
7639 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
7642 Use this M4sh to generate Autoconf's shell scripts.
7644 * tests/wrapsh.as: New, precursor of wrapsh.in.
7645 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
7646 on Autotest and M4sh.
7647 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
7648 (wrapsh.in): New target.
7649 * bin/autoconf.as: New, precursor of autoconf.in.
7650 (autoconf.in): New target.
7652 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
7654 * doc/autoconf.texi (Limitations of Make): Mention the issue
7655 with indented comments in rules.
7657 2002-04-09 Andreas Schwab <schwab@suse.de>
7659 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
7660 ac_top_builddir when setting ac_abs_top_builddir.
7662 2002-04-06 Kevin Ryde <user42@zip.com.au>
7664 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
7665 (Portable Shell): Cross reference to Systemology.
7667 2002-04-05 Akim Demaille <akim@epita.fr>
7669 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
7670 directories when descending in a SUBDIRS.
7671 Reported by Ezra Peisach.
7673 2002-04-04 Andreas Schwab <schwab@suse.de>
7675 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
7676 contains no literal separators.
7678 2002-04-03 Akim Demaille <akim@epita.fr>
7680 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
7681 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
7682 Use dnl, not the KILL diversion.
7684 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
7685 (AC_CONFIG_LINKS): here.
7687 Don't use the KILL diversion, as it kills spurious output, which
7688 results in failures being hidden.
7689 Use m4_defn where appropriate.
7690 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
7691 after the second argument.
7693 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
7694 syntax, as it is provided by M4sugar.
7695 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
7697 2002-04-03 Andreas Schwab <schwab@suse.de>
7699 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
7700 expanded if $# <= 2.
7702 * bin/autoreconf.in (autoreconf): Run automake after rerunning
7705 2002-04-03 Akim Demaille <akim@epita.fr>
7707 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
7708 (_AC_COMPILER_EXEEXT_REJECT): New.
7709 Also recognize *.bb and *.bbg as compilation byproducts.
7710 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
7711 (_AC_COMPILER_OBJEXT): Use them.
7712 Fixes Debian #138666.
7714 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
7716 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
7718 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
7719 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
7720 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
7721 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
7723 (AC_C_INLINE): Same.
7724 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
7725 * doc/autoconf.texi, NEWS: Document.
7726 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
7729 2002-04-02 Akim Demaille <akim@epita.fr>
7731 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
7732 _AS_MKDIR_P_PREPARE.
7734 2002-03-28 Kevin Ryde <user42@zip.com.au>
7736 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
7737 to avoid versions of HP C which don't allow that.
7739 2002-03-27 Paul Eggert <eggert@twinsun.com>
7741 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
7742 (AS_SHELL_SANITIZE): Invoke it.
7743 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
7745 2002-03-26 Akim Demaille <akim@epita.fr>
7747 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
7749 2002-03-26 Akim Demaille <akim@epita.fr>
7751 * doc/autoconf.texi (Introduction): The GNATS base moved.
7753 2002-03-25 Paul Eggert <eggert@twinsun.com>
7755 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7756 as POSIX requires, as it doesn't work with Zsh.
7757 * doc/autoconf.texi (Assignments): Document the problem.
7759 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7761 * doc/autoconf.texi (Limitations of Make): Mention more issue
7762 about VPATH, overriding of macros in sub-makes, and handling of
7765 2002-03-21 Paul Eggert <eggert@twinsun.com>
7767 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7768 problem with here-document buffer boundaries.
7770 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7771 when reinvoking the shell, to work around problems with installers
7772 who put strange things like "cd" commands in their environments.
7774 2002-03-19 Akim Demaille <akim@epita.fr>
7776 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7779 2002-03-19 Akim Demaille <akim@epita.fr>
7781 * bin/autoscan.in (scan_file): Specify the location in `&used'
7785 2002-03-19 Akim Demaille <akim@epita.fr>
7787 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7788 From Nishio Futoshi.
7790 2002-03-19 Akim Demaille <akim@epita.fr>
7792 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7794 2002-03-18 Paul Eggert <eggert@twinsun.com>
7796 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7797 (Limitations of Usual Tools): Add mkdir section.
7799 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7800 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
7801 back on AS_DIRNAME to compute prefixes otherwise; this is
7802 roughly what mkinstalldirs does. That way, we need not have
7803 our own filename disassembler. The old disassembler did not
7804 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7806 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7807 Create at_test_all by a series of assignments,
7808 not by a single assignment of a long string. The latter causes ksh
7809 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7810 presumably because of a buffer overrun.
7812 2002-03-14 Paul Eggert <eggert@twinsun.com>
7814 * lib/autotest/general.m4 (at_times_skip):
7815 Renamed from at_times. Now a boolean.
7816 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7817 says 'times: not found'.
7819 2002-03-14 Akim Demaille <akim@epita.fr>
7821 * bin/autoreconf.in (&study_gettextize): New.
7822 (&autoreconf): Handle newest gettextize.
7823 Rerun aclocal if needed.
7824 Suggested by Andreas Schwab.
7826 2002-03-13 Akim Demaille <akim@epita.fr>
7828 * doc/autoconf.texi (Special Shell Variables): More about IFS.
7830 2002-03-13 Akim Demaille <akim@epita.fr>
7832 * doc/autoconf.texi (Header Portability): New.
7833 Add information about stdint.h and inttypes.h from Paul Eggert.
7835 2002-03-13 Akim Demaille <akim@epita.fr>
7837 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7841 2002-03-12 Akim Demaille <akim@epita.fr>
7843 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7846 2002-03-11 Andreas Schwab <schwab@suse.de>
7848 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7849 does not do it if --with-lispdir is given.
7851 2002-03-08 Akim Demaille <akim@epita.fr>
7855 2002-03-08 Akim Demaille <akim@epita.fr>
7857 * doc/autoconf.texi (Subdirectories): Clarify that the
7858 subdirectory should exist.
7860 2002-03-08 Akim Demaille <akim@epita.fr>
7862 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7864 2002-03-08 Akim Demaille <akim@epita.fr>
7866 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7867 aliases the actual variables, and modifications of the former
7870 2002-03-08 Akim Demaille <akim@epita.fr>
7872 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7873 because of C-c: have m4 output in tmp files, then mv them.
7875 2002-03-08 Akim Demaille <akim@epita.fr>
7877 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7878 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7879 * bin/ifnames.in: Copyright update.
7881 2002-03-08 Akim Demaille <akim@epita.fr>
7883 * doc/autoconf.texi (Invoking autom4te): New.
7885 2002-03-05 Akim Demaille <akim@epita.fr>
7887 * doc/autoconf.texi (Specifying Names): Clarification suggested by
7890 2002-03-05 Akim Demaille <akim@epita.fr>
7894 2002-03-04 Akim Demaille <akim@epita.fr>
7896 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7897 * lib/autoconf/general.m4 (AC_INIT): More informative error
7900 2002-03-04 Akim Demaille <akim@epita.fr>
7902 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7905 2002-03-04 Akim Demaille <akim@epita.fr>
7907 * doc/autoconf.texi (Transforming Names): Equality between target
7908 and host is irrelevant.
7909 (Specifying Names, Canonicalizing): Remove all references to the
7910 backward compatibility hooks. Rather, collect them all into...
7911 (Hosts and Cross-Compilation): this new section.
7912 * doc/install.texi (System Type): Ditto.
7913 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7914 that `--host' implies cross-compilation.
7916 2002-03-04 Akim Demaille <akim@epita.fr>
7918 * doc/autoconf.texi (Evaluation Macros): New.
7919 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7921 (_m4_foreach): Define the variant with immediate evaluation so
7922 that it contains exactly the items, not an expression which
7923 evaluation is the current item.
7924 (m4_re_string, m4_re_word): Don't over quote them.
7926 2002-03-04 Akim Demaille <akim@epita.fr>
7928 Instead of having stacking `shift's evaluated at the end, let
7929 `foreach' loops immediately evaluate them.
7931 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7932 $*. This is the n-th time I change my mind, but hopefully this is
7935 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7937 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7938 it was only a hack for m4_text_wrap.
7939 (m4_car2): Remove, replaced by...
7941 (_m4_foreach): Adjust.
7942 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7943 m4_bpatsubst for clarification.
7945 2002-03-04 Akim Demaille <akim@epita.fr>
7947 * doc/autoconf.texi (Changequote is Evil): New.
7949 2002-03-03 Kevin Ryde <user42@zip.com.au>
7951 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7952 on old systems like SunOS.
7954 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
7956 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7957 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7958 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7959 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7962 2002-02-28 Akim Demaille <akim@epita.fr>
7964 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7967 2002-02-28 Kevin Ryde <user42@zip.com.au>
7969 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
7971 2002-02-25 Akim Demaille <akim@epita.fr>
7973 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
7976 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
7978 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
7979 translate \r\n to \n.
7981 2002-02-07 Akim Demaille <akim@epita.fr>
7985 2002-02-07 Akim Demaille <akim@epita.fr>
7987 Fix Autoconf PR/209.
7988 Also reported by Frank Denis.
7990 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
7992 2002-02-07 Akim Demaille <akim@epita.fr>
7994 Fix Autoconf PR/207:
7995 AC_PREFIX_PROGRAM fails with dashed program names
7997 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
7998 variable when looking for the prefix program.
7999 Now it also works for shell variables.
8001 2002-02-07 Akim Demaille <akim@epita.fr>
8003 * doc/autoconf.texi (Limitations of Builtins): More about
8006 2002-02-06 Akim Demaille <akim@epita.fr>
8008 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8009 case/esac, some shells don't support it.
8010 Reported by Zack Weinberg.
8011 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8013 2002-02-06 Akim Demaille <akim@epita.fr>
8015 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8016 sure not to introduce newlines in at_groups.
8017 * lib/autotest/Makefile.am (autotest.m4f): Typo.
8019 2002-02-06 Akim Demaille <akim@epita.fr>
8021 * tests/torture.at (Configuring subdirectories): Skip if aclocal
8024 2002-02-05 Paul Eggert <eggert@twinsun.com>
8026 * doc/autoconf.texi (Specific Compiler Characteristics):
8027 Describe HP-UX cc bug workaround more accurately.
8028 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8030 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8031 cross-compilers, too. This undoes some of the most recent change
8034 2002-02-05 Akim Demaille <akim@epita.fr>
8036 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8037 to make sure they are up to date when `check' is run.
8039 2002-02-05 Akim Demaille <akim@epita.fr>
8041 * doc/autoconf.texi (Making testsuite Scripts): Document
8044 2002-02-05 Akim Demaille <akim@epita.fr>
8046 * lib/freeze.mk: New.
8048 2002-02-05 Akim Demaille <akim@epita.fr>
8050 Implement `autom4te --freeze'.
8052 * bin/autom4te.in (&freeze): New.
8053 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8054 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8056 2002-02-05 Akim Demaille <akim@epita.fr>
8058 * bin/autom4te.in (&parse_args): Implement `frozen files are
8059 optional are the sum of the previous files on the command line'.
8060 Also, pass `--reload-state=' on them, so...
8062 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8063 (M4sh): Rely on M4sugar.
8064 (Autotest, M4sh, M4sugar): Use frozen files.
8066 2002-01-31 Akim Demaille <akim@epita.fr>
8068 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8069 * doc/autoconf.texi (Initializing configure): Adjust.
8071 2002-01-30 Akim Demaille <akim@epita.fr>
8073 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8074 alphanumeric to `-' instead of `_'.
8076 2002-01-30 Akim Demaille <akim@epita.fr>
8078 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8079 for plain code, the other for cross-compilation code. The latter
8080 is now run with GCC only.
8081 * doc/autoconf.texi (Compilers and Preprocessors): New.
8083 2002-01-30 Akim Demaille <akim@epita.fr>
8085 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8087 * doc/autoconf.texi (Initializing configure): Explain how to
8088 change AC_INIT default values.
8090 2002-01-29 Akim Demaille <akim@epita.fr>
8092 * tests/torture.at (Configuring subdirectories): Use configure.in,
8093 so that aclocal 1.4 works.
8094 Reported by Alexandre Duret-Lutz and Larry Schmitt.
8096 2002-01-28 Akim Demaille <akim@epita.fr>
8098 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8101 2002-01-28 Akim Demaille <akim@epita.fr>
8103 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8104 AUTOTEST_PATH *after* it was set.
8105 Don't put `.' in the PATH: the user should be precise and `./' if
8106 needed. In addition, given that the test suite does some `cd', if
8107 `.' is in the path, the `tested programs' sections will report
8108 programs found in the test suite's directory, while during the
8109 tests (performed in their own directory), these programs are no
8110 longer visible. In other words, the results is confusing and
8112 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8114 2002-01-24 Akim Demaille <akim@epita.fr>
8118 2002-01-24 Akim Demaille <akim@epita.fr>
8120 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8121 * doc/autoconf.texi: Finally add Akim as an author.
8123 2002-01-24 Akim Demaille <akim@epita.fr>
8125 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8126 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8127 Bourne. Use /bin/sh.
8128 From Andreas Buening.
8130 2002-01-24 Akim Demaille <akim@epita.fr>
8132 * config/config.guess, config/config.sub, config/texinfo.tex:
8133 Update from masters.
8135 2002-01-24 Akim Demaille <akim@epita.fr>
8137 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8138 * config/auxdir.m4, config/cond.m4, config/depend.m4,
8139 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8140 * config/missing.m4, config/sanity.m4, config/select.m4,
8141 * config/strip.m4: Remove, to ease sync'ing with any version of
8144 2002-01-24 Akim Demaille <akim@epita.fr>
8146 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8147 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8148 Reported by Geir Ove Myhr.
8150 2002-01-21 Akim Demaille <akim@epita.fr>
8152 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8154 2002-01-21 Akim Demaille <akim@epita.fr>
8156 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8157 message on invalid options.
8158 * bin/autom4te.in (parse_args): Don't use
8159 Autoconf::General::getopt with non valid options.
8161 2002-01-17 Jim Meyering <meyering@lucent.com>
8163 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8164 $ac_cv_exeext so we don't use an old, invalid, cached value.
8166 2002-01-11 Akim Demaille <akim@epita.fr>
8168 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8170 * doc/autoconf.texi (Function Portability): Document the strnlen
8172 (Particular Functions): Document AC_FUNC_STRNLEN.
8173 * lib/autoscan/functions: Adjust.
8175 2002-01-06 Akim Demaille <akim@epita.fr>
8177 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8178 package.m4, since is really depends upon configure.ac, not
8180 * doc/autoconf.texi (testsuite Scripts): Adjust.
8181 * tests/Makefile.am (package.m4): New.
8182 EXTRA_DIST it since its a source.
8184 2002-01-06 Akim Demaille <akim@epita.fr>
8186 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8187 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8188 and PACKAGE_BUGREPORT from here...
8189 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8191 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8192 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8193 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8194 * tests/tools.at (autoheader): Adjust.
8195 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8197 2002-01-06 Akim Demaille <akim@epita.fr>
8199 * bin/autoscan.in (scan_file): Use `&used'.
8201 2002-01-03 Akim Demaille <akim@epita.fr>
8203 * doc/autoconf.texi (Output): Improved wording regarding use of
8207 2001-12-18 Kevin Ryde <user42@zip.com.au>
8209 * doc/autoconf.texi (Function Portability): Add notes on sscanf
8210 sometimes needing writable input.
8212 2001-12-17 Jim Meyering <meyering@lucent.com>
8214 * doc/autoconf.texi (New Macros): Tweak wording.
8216 2001-12-14 Akim Demaille <akim@epita.fr>
8218 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8219 trailing files, don't apply `-rf' to files which might not be
8220 created by configure (core, core.*, and *.core), but just `rm -f'.
8221 Suggested by Jonathan Kamens.
8223 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
8225 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8227 2001-12-14 Akim Demaille <akim@epita.fr>
8229 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8231 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
8233 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8234 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8235 abs_srcdir, top_srcpath to abs_top_srcdir.
8236 (_AC_OUTPUT_FILES): Adjust.
8237 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8238 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8239 * tests/wrappl.in, tests/wrapsh.in: Adjust.
8241 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
8243 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8244 C/Fortran linking on HP/UX, by extracting the Fortran library
8245 search path from the LPATH line in the $F77 -v output.
8247 2001-12-12 Kevin Ryde <user42@zip.com.au>
8249 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8250 forbidden file descriptors table.
8252 2001-11-26 Akim Demaille <akim@epita.fr>
8254 * bin/autoscan.in (%c_keywords): Build it at top level.
8255 Map to 1 in order to simplify its uses.
8257 2001-11-26 Akim Demaille <akim@epita.fr>
8259 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
8260 Remove $filepath, useless.
8261 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
8262 variables, they are really part of the tokens.
8263 Split the input line on spaces and then look for tokens.
8264 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
8265 because of `lex$U.$(OBJEXT)'.
8266 (&scan_files): Use "@list" instead of join.
8267 * doc/Makefile.am (CLEANFILES): Add *.fns.
8269 2001-11-26 Akim Demaille <akim@epita.fr>
8271 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
8272 Remove, replaced by...
8273 * tests/wrappl.in: Be common for all the Perl executables.
8274 In particular autoscan and autoheader want -I.
8275 * configure.ac: Adjust.
8276 * lib/autoscan/headers: errno.h is portable.
8278 2001-11-26 Akim Demaille <akim@epita.fr>
8280 * bin/autoscan.in (used): New.
8283 2001-11-26 Akim Demaille <akim@epita.fr>
8285 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
8287 (&scan_sh_file): Remove a duplicate pattern.
8288 (&check_configure_ac): Use long options.
8289 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
8291 2001-11-26 Akim Demaille <akim@epita.fr>
8293 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
8294 Before, having a line containing the opening of a multi line
8295 comment made the whole line be ignored.
8297 2001-11-26 Akim Demaille <akim@epita.fr>
8299 * doc/autoconf.texi (Using an Autotest Test Suite): New.
8300 (testsuite Scripts): Be one of its subsection.
8301 (Autotest Logs): New.
8303 2001-11-26 Akim Demaille <akim@epita.fr>
8305 Test groups are now run two directories deeper.
8307 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
8308 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
8310 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
8311 top_srcdir, builddir and top_builddir.
8312 Use `at_*dir' relatively to the directory containing the
8313 suite, use `*dir' when relatively to the current group dir.
8315 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
8317 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
8318 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
8319 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
8322 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
8324 * doc/autoconf.texi (Using System Type): Add an example of `case
8325 $host' usage so people quit using `case $target' everywhere.
8327 2001-11-22 Akim Demaille <akim@epita.fr>
8329 * doc/autoconf.texi (Installation Directory Variables): Englishoes
8330 spotted by Jim Meyering.
8332 2001-11-16 Paul Eggert <eggert@twinsun.com>
8334 This patch implements a `long double' suggestion by Oliver Kiddle.
8336 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
8337 static, to catch errors if the value isn't known at compile-time
8338 and the compiler supports dynamic arrays. Change its name from
8339 `_array_' to `test_array' to avoid potential name clashes.
8340 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
8341 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
8342 better than double. Catch a bug in GCC 2.95.2 x86.
8343 * doc/autoconf.texi (C Compiler): Document the above.
8346 2001-11-13 Akim Demaille <akim@epita.fr>
8348 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
8350 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
8352 2001-11-13 Akim Demaille <akim@epita.fr>
8354 * lib/autotest/general.m4 (AT_INIT): After having run the test
8355 group, go back to the initial directory, not to at_suite_dir.
8357 2001-11-13 Akim Demaille <akim@epita.fr>
8359 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
8360 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
8361 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
8363 (AT_CHECK_CONFIGURE): Use absolute paths.
8364 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
8365 The problem is still the old one: there is no means in M4 (that I
8366 know about) to create a defining macro, because there is no means
8367 to create `$1' etc., therefore, the defining macro ``swallows''
8368 all the arguments meant to the defined macro.
8370 2001-11-13 Akim Demaille <akim@epita.fr>
8372 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
8373 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
8375 * tests/aclocal.m4: Remove, as it is no longer used.
8377 2001-11-13 Akim Demaille <akim@epita.fr>
8379 * lib/autotest/general.m4: Change `tests?' into `groups?' in
8380 variable names when referring to a single test group, or to
8381 `suite' when referring to the whole test suite.
8382 `at_last_test' is removed: m4 compute at_format itself.
8383 (at_stdout, at_stder1, at_stderr): New variables.
8384 (AT_CHECK): Use them.
8386 2001-11-13 Akim Demaille <akim@epita.fr>
8388 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
8390 Create `testsuite.dir/003/run' instead of `testsuite.003'.
8391 Do it as soon as a test fails, don't wait till the end of the test
8393 Don't remove $as_me.[0-9]*, since these files no longer exist.
8395 2001-11-13 Akim Demaille <akim@epita.fr>
8397 * tests/tools.at: Use absolute paths, since we are no longer run
8400 2001-11-13 Akim Demaille <akim@epita.fr>
8402 Now that tests are running in their own private dir, there is no
8403 need to list the files to remove at the end of tests groups.
8405 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
8406 (AT_data_files, at_data_files): Remove.
8407 (AT_CLEANUP, AT_DATA): Simplify.
8409 Remove the group dir if !debug && !failed.
8410 * tests/atspecific.m4: Adjust.
8412 2001-11-13 Akim Demaille <akim@epita.fr>
8414 Start a new layout for Autotest: `testsuite' creates
8415 `testsuite.dir' in which the at-check-line etc. files are to be
8416 found, and `testsuite.dir/003' where the test group 3 is run.
8418 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
8419 at_check_line_file, at_format, at_test_normalized, at_group_dir
8421 Create the directories.
8422 Use absolute paths for at- files.
8425 2001-11-11 Michael Matz <matz@kde.org>
8427 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
8429 (m4_car): Properly quote arguments.
8431 2001-11-13 Akim Demaille <akim@epita.fr>
8433 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
8434 with stricter rules on LIBOBJS.
8436 2001-11-12 Paul Eggert <eggert@twinsun.com>
8438 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
8439 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
8442 2001-11-12 Akim Demaille <akim@epita.fr>
8444 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
8446 2001-11-12 Akim Demaille <akim@epita.fr>
8448 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8449 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
8450 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
8451 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
8452 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
8453 specify to what the macro should be defined (typically to 1).
8455 2001-11-12 Akim Demaille <akim@epita.fr>
8457 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
8460 2001-11-12 Akim Demaille <akim@epita.fr>
8462 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8463 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
8464 definition used by Automake where LEX is +/- "${missing} lex" and
8465 `missing' itself contains variables.
8467 2001-11-12 Akim Demaille <akim@epita.fr>
8469 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
8470 Now that M4sh pushes BODY, the comments were output at the end of
8473 2001-11-08 Akim Demaille <akim@epita.fr>
8475 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
8476 that we can trace macros from aclocal.m4.
8477 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
8478 obsoleted, and redirect to the former anyway.
8479 Reported by Ralf Corsepius.
8481 2001-11-08 Akim Demaille <akim@epita.fr>
8483 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
8484 processed only if present.
8485 * tests/torture.at (Configuring subdirectories): Use autoreconf
8486 instead of successive calls to autoconf.
8487 Add a nonexistent subdirectory to exercise the patch above.
8488 Reported by Ralf Corsepius.
8490 2001-11-08 Kevin Ryde <user42@zip.com.au>
8492 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
8493 doesn't accept .S files.
8495 2001-11-07 Akim Demaille <akim@epita.fr>
8497 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
8498 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
8499 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
8500 * bin/autom4te.in (warn_forbidden): New.
8501 (handle_output): Use it.
8502 Read m4_pattern_forbid with messages.
8504 2001-11-05 Akim Demaille <akim@epita.fr>
8506 * bin/autom4te.in (--normalize): Remove.
8507 * lib/autom4te.in: Adjust.
8509 2001-11-05 Akim Demaille <akim@epita.fr>
8511 * tests/Makefile.am (testsuite): Rename this target as...
8512 ($(TESTSUITE)): this.
8515 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
8517 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
8518 the --prefix option, also remove it's argument.
8520 2001-11-05 Akim Demaille <akim@epita.fr>
8522 * doc/autoconf.texi (testsuite Invocation): Update.
8523 (Writing testsuite.at): Update.
8525 2001-11-03 Akim Demaille <akim@epita.fr>
8527 * doc/autoconf.texi: s/@code/@command/ where appropriate.
8529 2001-11-03 Akim Demaille <akim@epita.fr>
8531 * lib/Autom4te/General.pm: (&catfile, &canonfile)
8532 (&file_name_is_absolute): New, wrappers around routines from
8534 Use and export them.
8535 (&find_configure_ac): Optionally take a directory where to look at.
8536 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
8538 Default @ARGV to `.', not find_configure_ac.
8539 (&autoreconf): Argument is a directory.
8540 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
8541 * doc/autoconf.texi (autoreconf Invocation): Update.
8543 2001-11-03 Akim Demaille <akim@epita.fr>
8545 * lib/Autom4te/General.pm (@export_vars, @export_subs)
8546 (@export_forward_subs): New.
8547 Add basename, dirname, and fileparse.
8549 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
8550 Don't look for aclocal flags if we already know aclocal is not
8552 Move aclocal.m4t only if it exists.
8553 Reported by Ezra Peisach.
8555 2001-11-03 Akim Demaille <akim@epita.fr>
8557 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
8558 passed on command line, defaulting to ./configure.ac if present.
8559 (&maybe_autoreconf, File::Find): Remove, unused.
8560 (&autoreconf): If autoconf is not used, don't try to trace.
8562 2001-11-02 Akim Demaille <akim@epita.fr>
8564 * configure.ac: Bump to 2.52g.
8566 2001-11-02 Akim Demaille <akim@epita.fr>
8570 2001-11-02 Akim Demaille <akim@epita.fr>
8572 * config/config.guess, config/config.sub, doc/standards.texi:
8573 * config/lispdir.m4: Update from masters.
8574 * configure.ac: Bump to 2.52f.
8576 2001-11-02 Akim Demaille <akim@epita.fr>
8578 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
8579 Don't run aclocal when aclocal.m4 is not from aclocal.
8581 Don't run libtoolize and gettextize if --install is not given.
8583 2001-11-01 Paul Eggert <eggert@twinsun.com>
8585 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
8586 be invoked before _AS_LINENO_PREPARE.
8587 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
8588 than character ranges.
8590 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
8591 invoking AS_BASENAME. Set the locale variables to 'C' if
8592 possible, as POSIX requires this to get the traditional
8594 * doc/autoconf.texi (Special Shell Variables): Describe the above.
8596 2001-10-31 Paul Eggert <eggert@twinsun.com>
8598 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
8599 with {}, as that triggers a bug in Bash 2.05.
8601 (_AS_LINENO_PREPARE): Use Sed rather than
8602 Awk. Fix the sed prepass to work even if there are multiple
8603 instances of $LINENO on the same line. Do not substitute for
8604 other variables like $LINENOT. Do not check file dates; such a
8605 check is unreliable on sufficiently fast machines, and removing
8606 the check makes the code simpler and more reliable. Check for
8607 output and chmod failures.
8609 * doc/autoconf.texi (Special Shell Variables): Document
8612 2001-10-31 Akim Demaille <akim@epita.fr>
8614 * tests/Makefile.am (atconfig): Remove this target, Automake
8617 2001-10-31 Akim Demaille <akim@epita.fr>
8619 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
8620 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
8621 provided, while it is optional.
8622 * configure.ac: Adjust.
8624 2001-10-26 Paul Eggert <eggert@twinsun.com>
8626 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
8627 lib/Autom4te/Struct.pm:
8628 Require Perl 5.005_03 instead of just 5.005, as some tests fail
8631 * doc/autoconf.texi (Special Shell Variables): Document some
8632 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
8634 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
8635 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
8636 eval $LINENO is not portable in practice.
8638 2001-10-24 Akim Demaille <akim@epita.fr>
8640 * lib/Autom4te/General.pm (backname): New.
8642 2001-10-24 Akim Demaille <akim@epita.fr>
8644 * m4/: Remove, merged into...
8647 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
8649 * doc/autoconf.texi (Shellology): Mention the problems with bash
8650 2.05's use of ANSI quoting in its `set' builtin.
8652 2001-10-22 Paul Eggert <eggert@twinsun.com>
8654 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
8655 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
8656 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
8657 POSIX decided to standardize on the int flavor of strerror_r.
8658 Always do char* test, as there's no reason not to.
8659 Assign to a char* var, to catch strerror_r that returns int*.
8661 * doc/autoconf.texi (Particular Functions):
8662 Document the above changes. Also, document the fact that
8663 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
8665 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
8667 2001-10-20 Akim Demaille <akim@epita.fr>
8669 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
8670 the executable was missing from the log.
8672 2001-10-20 Akim Demaille <akim@epita.fr>
8674 * lib/Autom4te/General.pm (&update_file): If destination is
8675 unchanged, remove the source.
8676 (&up_to_date_p): Don't be verbose, be debug.
8677 * bin/autoreconf.in: No longer support --m4dir.
8678 (&autoreconf): Display the full path of the configure.ac we are
8681 Be sure to honor --force with gettextize.
8683 * doc/autoconf.texi: Adjust.
8685 2001-10-20 Akim Demaille <akim@epita.fr>
8687 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
8689 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
8690 `intl' is already present, as it refuses unless --force.
8691 (&parse_args): Use -I, --include instead of the old Autoconf
8693 ($localdir, $autoconf_dir): Remove.
8695 (&maybe_autoreconf): New, to preserve $_ for File::Find.
8697 2001-10-19 Jens Petersen <petersen@redhat.com>
8699 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
8700 * doc/autoconf.texi (Particular Programs): Likewise.
8702 2001-10-19 Akim Demaille <akim@epita.fr>
8704 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
8705 file in @configure_input@.
8706 Don't mention `automatically' in addition to `generated'.
8707 * tests/torture.at (#define header templates): Adjust.
8709 2001-10-19 Akim Demaille <akim@epita.fr>
8711 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
8712 comment, explain how to install automatic mode selection.
8715 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
8717 * bin/autoreconf.in (autoreconf): Display the path to the
8718 configure.ac being studied.
8720 2001-10-18 Paul Eggert <eggert@twinsun.com>
8722 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
8723 long, to work around a bug in the HP C compiler version HP92453-01
8726 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
8727 (AS_BASENAME_EXPR): New macro.
8728 (AS_BASENAME_SED): Do not assume GNU sed semantics.
8729 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
8730 and fall back on 'sed' only if the other two fail. This makes
8731 AS_BASENAME act more like AS_DIRNAME.
8732 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
8733 contains white space.
8734 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
8735 Use AS_DIRNAME, since I think it's now DOS-friendly.
8736 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
8737 Allow "dirname //FOO" to return either / or //, as POSIX allows
8740 2001-10-10 Akim Demaille <akim@epita.fr>
8742 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
8743 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
8746 2001-10-10 Akim Demaille <akim@epita.fr>
8748 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8750 (_AS_ECHO_N): AS_REQUIREs it.
8752 2001-10-10 Akim Demaille <akim@epita.fr>
8754 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8755 (AC_INCLUDES_DEFAULT): Move to...
8756 * lib/autoconf/headers.m4: here.
8757 * lib/autoconf/types.m4: Comment changes.
8758 * doc/autoconf.texi: Specify where the default includes are used
8759 in the macro prototypes.
8761 2001-10-09 Akim Demaille <akim@epita.fr>
8763 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8766 2001-10-08 Akim Demaille <akim@epita.fr>
8768 * bin/autoreconf.in (&autoreconf): Remove debugging code.
8769 (&parse_args): Pass verbosity/debugging options to subtools when
8770 --debug, not when --verbose.
8771 * lib/autom4te.in (Autoreconf-preselections): New.
8774 2001-10-08 Akim Demaille <akim@epita.fr>
8776 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8778 2001-10-08 Akim Demaille <akim@epita.fr>
8780 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8781 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8783 2001-10-08 Akim Demaille <akim@epita.fr>
8785 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8786 (Syntax of the shell scripts): Don't.
8787 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8788 bother with $force since...
8789 * lib/Autom4te/General.pm: does.
8791 2001-10-08 Akim Demaille <akim@epita.fr>
8793 * bin/autoreconf.in: Rewrite in Perl.
8794 * configure.ac: Adjust.
8795 * lib/Autom4te/General.pm (&up_to_date_p): New.
8796 * bin/autom4te.in (&up_to_date_p): Use it.
8798 (&up_to_date): this.
8800 2001-10-08 Akim Demaille <akim@epita.fr>
8802 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8803 (m4_list_cmp): Use $0 to reinvoke yourself.
8804 (m4_patsubsts): New.
8805 (m4_strip, m4_version_unletter): Use it.
8806 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8808 2001-10-08 Akim Demaille <akim@epita.fr>
8810 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8811 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8812 * lib/autoconf/types.m4, lib/autotest/general.m4,
8813 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8814 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8815 m4_bregexp, m4_bpatsubst, and m4_bmatch.
8816 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8818 2001-10-08 Akim Demaille <akim@epita.fr>
8820 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8822 2001-10-08 Akim Demaille <akim@epita.fr>
8824 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8825 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8826 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8827 * tests/tools.at, tests/m4sh.at: Use it.
8828 * tests/m4sh.at: Don't rely on Autoconf macros.
8829 (DIRNAME_TEST): Also exercise the expr variant.
8830 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8831 preferred M4sugar extension is now `.4s'.
8832 * tests/README: Remove.
8834 2001-10-08 Akim Demaille <akim@epita.fr>
8836 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8837 (m4_provide_if): this.
8838 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8839 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8840 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8841 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8843 2001-10-08 Akim Demaille <akim@epita.fr>
8845 Use `add-log-current-defun-function' for ChangeLog creation.
8846 Suggested by Tom Tromey.
8848 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8849 (autotest-mode): Adjust.
8850 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8851 'comment-region onto `C-c ;'.
8852 Comments are `#', not `dnl'.
8853 (autoconf-current-defun): New.
8854 (autoconf-font-lock-keywords): Recognize `m4_defun'.
8856 2001-10-08 Akim Demaille <akim@epita.fr>
8858 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8859 * lib/m4sugar/m4sh.m4: here.
8860 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8861 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8862 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8863 include handle the m4_pattern_*, no longer push the
8864 BODY diversion nor set the /bin/sh line, AS_INIT does it.
8865 * lib/autotest/general.m4 (AT_INIT): Likewise.
8866 * tests/base.at: Adjust the tests to use AS_INIT.
8867 * tests/tools.at (AT_DATA_FORBIDDEN): New.
8868 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8871 2001-10-07 Paul Eggert <eggert@twinsun.com>
8873 * doc/autoconf.texi (config.status Invocation):
8874 CONFIG_SHELL defaults to a shell that supports LINENO if available.
8876 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8877 shell does not support LINENO, and if CONFIG_SHELL is unset or
8878 empty, and if we can find a shell that does support LINENO,
8879 then set CONFIG_SHELL to that shell and then re-execute
8880 ourselves with CONFIG_SHELL.
8882 2001-10-05 Paul Eggert <eggert@twinsun.com>
8884 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8885 doesn't exist. Remove *.tmp, as a .tmp file is created during the
8886 build of $(TESTSUITE).
8888 2001-10-05 Akim Demaille <akim@epita.fr>
8890 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
8891 iff we are a bareword.
8892 Reported by Raja R Harinath.
8894 2001-10-05 Akim Demaille <akim@epita.fr>
8896 * tests/m4sh.at (LINENO): New.
8897 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8898 PATH_SEPARATOR before using it.
8899 Fix the absolute path case/esac pattern.
8900 Provide $0 as fallback for as_myself.
8901 Reported by Raja R Harinath.
8903 2001-10-05 Akim Demaille <akim@epita.fr>
8905 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8906 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8908 2001-10-05 Akim Demaille <akim@epita.fr>
8910 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8911 (AS_SHELL_SANITIZE): here. Use it.
8912 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8915 2001-10-04 Akim Demaille <akim@epita.fr>
8917 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8918 combination of Awk and sed to replace $LINENO.
8920 2001-10-02 Paul Eggert <eggert@twinsun.com>
8922 * doc/autoconf.texi (Limitations of Builtins): You can't use
8923 "source"; it's not portable. Remove confusing and
8924 somewhat-incorrect example involving "." and "/".
8926 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8927 compatibility with POSIX shells.
8929 2001-10-02 Akim Demaille <akim@epita.fr>
8931 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8932 instead of exec'ing to preserve $0 and $@.
8934 2001-10-01 Akim Demaille <akim@epita.fr>
8936 * tests/testsuite (AT_INIT) <at_pass_list>: New.
8937 Don't run twice the same test.
8939 2001-10-01 Akim Demaille <akim@epita.fr>
8941 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8942 No longer output the list of tests.
8943 <--list>: New option.
8944 <--full-help>: Remove.
8945 Complete the short/long options duality.
8946 Various small adjustments.
8948 2001-10-01 Akim Demaille <akim@epita.fr>
8950 * doc/autoconf.texi: Use @kbd for user input.
8951 Always use `$' as shell prompt.
8953 2001-09-30 Paul Eggert <eggert@twinsun.com>
8955 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8956 Don't use nested parenthesization. This patch was originally
8957 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8958 but somehow it didn't get incorporated then.
8959 * doc/autoconf.texi (Limitations of Usual Tools):
8960 Clarify remark about sed and nested parenthesization.
8962 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8963 Report an error if the size cannot be determined even though
8965 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8966 Check for `expr' arithmetic overflow, and for compilation failure,
8967 and invoke a new argument $4 if either is discovered.
8968 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8969 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
8971 2001-09-28 Akim Demaille <akim@epita.fr>
8973 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
8974 * m4/lispdir.m4: New.
8975 * aclocal.m4, configure.ac: Adjust.
8977 2001-09-28 Akim Demaille <akim@epita.fr>
8979 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
8981 (AT_INIT): More the wrapped section to where it will be expanded.
8982 Output `AT_tested' only when existing.
8983 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
8985 2001-09-27 Akim Demaille <akim@epita.fr>
8987 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
8988 generates too many bug reports.
8990 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
8991 status when executing the ACTION-IF-FALSE.
8992 * tests/base.at (AC_TRY_*): Rename as...
8993 (AC_TRY_COMMAND): this.
8994 (AC_RUN_IFELSE): New.
8995 * tests/compile.at (Extensions, C keywords)
8996 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
8997 (Broken/missing compilers, AC_PROG_CPP with warnings)
8998 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
8999 * tests/c.at (Extensions, C keywords)
9000 (Broken/missing compilers, AC_PROG_CPP with warnings)
9001 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9002 (AC_PROG_CPP requires AC_PROG_CC): here and...
9003 * tests/fortran.at (GNU Fortran 77): there.
9004 * doc/autoconf.texi (autoconf Invocation): Fix the example:
9005 AC_TRY_RUN is about compilation, not shell commands.
9006 (Test Programs): AC_TRY_RUN works as used to be advertised.
9008 2001-09-27 Akim Demaille <akim@epita.fr>
9010 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9012 Be sure to detect when $LINENO always returns the same value.
9013 Look for the original script, basename($0) is certainly not
9015 Pass the CLI arguments to `$as_me.lineno'.
9017 2001-09-25 Akim Demaille <akim@epita.fr>
9019 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9020 Be sure the close and reopen the LOG fd before and after using tee
9022 <at_tests_pattern>: Adjust to the new format of at_help_all.
9024 2001-09-23 Akim Demaille <akim@epita.fr>
9026 * bin/autom4te.in (parse_args): There can be several invocations
9029 2001-09-23 Akim Demaille <akim@epita.fr>
9031 * doc/autoconf.texi (Top): Wrap in @ifnottex.
9033 2001-09-23 Akim Demaille <akim@epita.fr>
9035 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9036 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9037 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9038 builddir, buildpath, top_builddir, and top_buildpath.
9039 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9040 the current directory.
9041 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9042 variables *before* changing the current directory.
9043 Skip nonexistent dirs.
9044 * doc/autoconf.texi (Preset Output Variables): Document these
9047 * lib/autotest/general.m4: Do not reset AT_victims.
9048 Don't compute at_srcdir nor at_top_srcdir.
9050 * tests/tools.at: Hence use top_srcdir.
9052 * tests/Makefile.am, tests/autoconf, tests/autoheader,
9053 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9055 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9056 * tests/wrapsh.in, tests/autoupdate.in: New.
9057 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9058 * configure.ac: Build the position independent wrappers.
9060 * man/Makefile.am: Now that test wrappers are position
9061 independent, use them and drop dark envvar magic.
9063 2001-09-23 Akim Demaille <akim@epita.fr>
9065 * doc/autoconf.texi (Common Shell Constructs): Rename as...
9066 (Programming in M4sh): this.
9067 Promote to @section.
9069 2001-09-23 Akim Demaille <akim@epita.fr>
9071 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9072 Pass $at_debug_args to the rerun test suite.
9073 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9074 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9077 2001-09-23 Akim Demaille <akim@epita.fr>
9079 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9081 2001-09-23 Akim Demaille <akim@epita.fr>
9083 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9086 2001-09-23 Akim Demaille <akim@epita.fr>
9088 * lib/Autom4te/General.pm (&debug): New.
9089 * bin/autom4te.in ($language): Move to...
9091 Handle --language in languages.
9092 * lib/autom4te.in (Automake-selections, Autoheader-selections)
9093 (Autoscan-selections): New.
9096 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
9098 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9099 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9100 to match current versions from CVS Automake.
9102 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
9104 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9107 2001-09-22 Akim Demaille <akim@epita.fr>
9109 * lib/autoconf/autotest.m4: Create `package.m4'.
9110 * tests/Makefile.am (package.m4): Remove.
9112 2001-09-22 Akim Demaille <akim@epita.fr>
9114 Rely on `$LINENO' when possible instead of `__oline__'.
9116 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9117 `$LINENO' support replacement when not supported.
9118 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9119 them explicitly to be sure they are not output before this section
9120 (via m4_require). Cosmetic only.
9121 * lib/autoconf/c.m4, lib/autoconf/general.m4,
9122 * lib/autoconf/programs.m4: Replace all the occurrences of
9123 `__oline__' with `$LINENO'.
9124 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9126 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
9128 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9129 character (u: -> ue) in a code comment.
9130 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9133 2001-09-21 Akim Demaille <akim@epita.fr>
9135 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9136 Suggested by Jim Meyering.
9138 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9140 * lib/autoconf/programs.m4: Use extensions listed in
9141 $ac_executable_extensions when looking for programs.
9143 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9145 * lib/autoconf/general.m4: Fix a small Englisho.
9146 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
9147 setting up ac_dir_suffix and ac_top_builddir.
9148 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9150 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9152 * doc/autoconf.texi (File System Conventions): Clarify the use of
9154 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9155 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9156 be used instead of ':'.
9157 * lib/autotest/general.m4: Replace occurrences of ':' in
9158 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9160 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9162 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9163 arguments. Fixed a typo.
9165 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9167 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9168 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
9170 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9172 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9173 * bin/autoupdate.in: Ditto.
9174 * bin/autoheader.in: Reworded a few comments.
9175 * bin/autoconf.in: Reworded help text for a few options.
9176 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9177 * bin/autoscan.in, bin/autoupdate.in: Ditto.
9179 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9181 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9182 already have $file). Set output files to binary mode (helps avoid
9183 CR issues on DOSish systems).
9185 2001-09-19 Akim Demaille <akim@epita.fr>
9187 * lib/autotest/general.m4: Englishoes.
9188 From Tim Van Holder and Alexey Mahotkin.
9190 2001-09-18 Paul Eggert <eggert@twinsun.com>
9192 * doc/autoconf.texi (Common Shell Constructs): New node,
9193 documenting AS_DIRNAME.
9194 (Limitations of Usual Tools): Refer to it when discussing dirname.
9195 Also, update discussion of POSIX standard to reflect latest draft.
9197 * lib/autoconf/c.m4:
9198 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9200 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9201 Do not pass a first argument with leading '-'
9202 to expr, by parenthesizing initial integers that might be negative.
9204 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9205 now merely checks whether it is an error to pass an argument
9208 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9209 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
9210 whether it is a (compile-time) error to pass an argument to
9211 getpgrp. This simpler test supports the revised documentation,
9212 and is all that AC_FUNC_GETPGRP's users really need.
9214 2001-09-18 Akim Demaille <akim@epita.fr>
9216 * doc/autoconf.texi (Limitations of Make) <$<>: New.
9218 2001-09-18 Akim Demaille <akim@epita.fr>
9220 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9222 * lib/autotest/general.m4 (AT_INIT): Adjust.
9224 2001-09-18 Paul Wagland <paul@wagland.net>
9226 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9228 Add test for AS_BASENAME.
9229 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9230 added test. It now correctly handles /1/2/3/, returning '3' not ''.
9231 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9232 * tests/base.at: Fixed the expected responses. The old ones were
9234 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9235 the documentation claims it should (and how it behaved in 2.13).
9237 2001-09-18 Akim Demaille <akim@epita.fr>
9239 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9240 the AC_CONFIG_COMMANDS invocation.
9241 This also solves the name clash problems.
9242 Don't set the package's ID.
9243 * lib/m4sugar/Makefile.am (version.m4): Revamp.
9244 No longer to be shipped.
9245 (version.in): Remove.
9246 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9247 * lib/autoconf/status.m4: Adjust.
9248 Use `m4_PACKAGE_STRING'.
9249 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9250 the only optional argument is the name of the test suite.
9251 Expect `package.m4' to define the package signature.
9252 * lib/autom4te.in (Autotest): Add `package.m4?'.
9253 * tests/Makefile.am (package.m4): New.
9254 * tests/suite.at: ifnames is a victim.
9256 2001-09-18 Akim Demaille <akim@epita.fr>
9258 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
9259 AC_LIBSOURCE, AC_CONFIG_FILES.
9260 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
9261 program version string doesn't match the package's.
9262 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
9265 2001-09-17 Paul Eggert <eggert@twinsun.com>
9267 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9268 Allow expression to return any value that can fit into unsigned long
9269 (not int, as before). Check for output errors.
9271 2001-09-17 Bruno Haible <haible@ilog.fr>
9273 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
9274 Always include <stdio.h> and <stdlib.h>. Evaluate
9275 the expression in an extra function before these includes. Call
9276 fprintf "%d" only after ensuring the argument is of type 'int'.
9277 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
9279 2001-09-17 Paul Eggert <eggert@twinsun.com>
9281 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
9282 or CFLAGS=-O5. In that case, the linker has a relaxed view of
9283 fatal errors, and AC_CHECK_LIB causes it to include libraries even
9284 when they don't exist.
9286 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
9287 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
9290 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
9291 version with the version used by fileutils 4.1, except use
9292 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
9295 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
9297 2001-09-13 Akim Demaille <akim@epita.fr>
9299 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
9301 Reported by Gerrit P. Haase.
9303 2001-09-13 Akim Demaille <akim@epita.fr>
9305 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
9306 m4_defn'ing is valid.
9308 2001-09-13 Akim Demaille <akim@epita.fr>
9310 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
9311 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
9314 2001-09-13 Akim Demaille <akim@epita.fr>
9316 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
9318 (m4_re_escape): New.
9319 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
9320 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
9321 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
9323 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
9324 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
9325 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
9326 AT_tests_all for consistency.
9328 (AT_VICTIMS): Similar to AT_KEYWORDS.
9329 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
9331 2001-09-13 Akim Demaille <akim@epita.fr>
9333 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
9335 2001-09-13 Akim Demaille <akim@epita.fr>
9337 * lib/autotest/general.m4 (AT_INIT): Create and remove
9338 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
9339 test suites can cohabit.
9341 2001-09-13 Akim Demaille <akim@epita.fr>
9343 * tests/mktests.sh: Don't output banners for empty test files.
9345 2001-09-13 Akim Demaille <akim@epita.fr>
9347 Test suites can be run independently of configure.
9349 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
9350 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
9351 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
9353 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
9355 * lib/autotest/general.m4: Use ECHO_*.
9357 2001-09-13 Akim Demaille <akim@epita.fr>
9359 * bin/ifnames.in: Rewrite in Perl.
9360 * configure.ac: Don't look for AWK.
9361 * tests/tools.at (AWK portability): Remove.
9362 (Syntax of the shell scripts): Don't check ifnames.
9363 (AT_CHECK_PERL_SYNTAX): New.
9364 (Syntax of the Perl scripts): Check ifnames.
9365 * tests/ifnames: New.
9367 2001-09-13 Akim Demaille <akim@epita.fr>
9369 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
9371 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
9372 Remove all the other keywords.
9374 2001-09-10 Akim Demaille <akim@epita.fr>
9376 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
9377 SETUP: no longer used.
9378 Support -k, --keywords.
9379 <at_help>: Be `no', `short', or `long'.
9380 <at_help_all>: New variable.
9382 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
9383 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
9384 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
9385 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
9386 No longer fill the HELP diversion.
9387 (AT_CLEANUP): Use them.
9388 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
9389 (m4_list_append): Remove.
9391 Spread a few keywords in the Autoconf test suite.
9393 2001-09-10 Akim Demaille <akim@epita.fr>
9395 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
9396 PATH_SEPARATOR, let M4sh compute it.
9397 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
9398 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
9400 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
9401 Simplify when the path is not a literal.
9402 (AS_UNAME): Use it to report PATH.
9403 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
9404 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
9405 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
9406 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
9407 normalize the path, and to look for victims.
9408 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
9409 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
9411 2001-09-07 Akim Demaille <akim@epita.fr>
9413 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
9414 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
9415 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
9416 related variables into `at_package_*'.
9417 * lib/autotest/general.m4 (AT_VICTIMS): New.
9418 (AT_INIT): Adjust for stand-alone/embedded test suites.
9419 (AS_MESSAGE_LOG_FD): Define and use it.
9420 * tests/suite.at (AT_VICTIMS): Use it.
9421 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
9424 2001-09-07 Akim Demaille <akim@epita.fr>
9426 Move toward possibly stand-alone test suites.
9428 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
9429 in addition, it introduces useless differences in logs.
9430 (AT_INIT): Let atconfig and atlocal be both optional.
9431 Adjust PATH computation.
9432 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
9434 2001-09-07 Akim Demaille <akim@epita.fr>
9436 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
9439 2001-09-05 Akim Demaille <akim@epita.fr>
9441 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
9442 to avoid GCC warnings.
9445 2001-09-05 Akim Demaille <akim@epita.fr>
9447 * bin/autom4te.in: --language is -l, not -s.
9449 2001-09-05 Akim Demaille <akim@epita.fr>
9451 Be ready to handle filenames as stupid as `dnl.at', for if even
9452 the maintainer is dumb enough to do that...
9454 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
9455 excellence in M4 quotation: consider `__file__' is active.
9457 And BTW, when invoking m4, pass the --include in the right order:
9460 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
9463 2001-09-05 Akim Demaille <akim@epita.fr>
9465 * lib/Autom4te/XFile.pm: New lib file.
9466 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
9467 * bin/autoheader.in: Use it.
9469 2001-09-05 Akim Demaille <akim@epita.fr>
9471 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
9474 2001-09-05 Akim Demaille <akim@epita.fr>
9476 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
9477 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
9479 * bin/autoscan.in: Use `getopt' and `find_files' etc.
9480 Add -I, --include support.
9481 * doc/autoconf.texi (autoscan Invocation): Adjust.
9483 2001-09-05 Akim Demaille <akim@epita.fr>
9485 CVS GNU M4 doesn't like `undefine(undefined)'.
9487 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
9488 New, extracted from main.
9489 Use IO::File wherever possible.
9490 (input.m4): Be constant, use -I instead of hard coding $tmp.
9491 Therefore be a quoted heredoc.
9492 Don't invoke `_au_disable', since ac was not loaded, but just
9495 2001-08-31 Akim Demaille <akim@epita.fr>
9499 2001-08-31 Akim Demaille <akim@epita.fr>
9501 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
9503 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
9505 2001-08-31 Akim Demaille <akim@epita.fr>
9507 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
9508 serious problems handling heredocs in heredocs.
9509 Reported by Nicolas Joly.
9511 2001-08-31 Akim Demaille <akim@epita.fr>
9513 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
9514 (Making testsuite Scripts): Update.
9516 2001-08-31 Akim Demaille <akim@epita.fr>
9518 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
9520 2001-08-31 Akim Demaille <akim@epita.fr>
9522 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
9523 (testsuite Scripts): There is no such thing as `atconfig.in'.
9524 And actually one diagram is missing: test suite runtime.
9526 2001-08-31 Akim Demaille <akim@epita.fr>
9528 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
9531 2001-08-31 Akim Demaille <akim@epita.fr>
9533 * bin/autoupdate.in (@include): `installcheck' revealed the path
9534 to m4sugar was lacking!
9536 2001-08-31 Akim Demaille <akim@epita.fr>
9538 * man/Makefile.am (.x.1): We really have to pass
9539 autom4te_perllibdir.
9541 2001-08-31 Akim Demaille <akim@epita.fr>
9543 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
9544 debug scripts, in particular passing explicitly listed tests to
9547 2001-08-31 Akim Demaille <akim@epita.fr>
9549 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
9550 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
9551 Use directly autom4te, not autoconf.
9552 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
9554 2001-08-31 Akim Demaille <akim@epita.fr>
9556 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
9557 * bin/autoheader.in (%symbol): Strip arguments of macros.
9559 2001-08-31 Akim Demaille <akim@epita.fr>
9561 * doc/autoconf.texi: Catch up -I, --include changes.
9563 2001-08-31 Akim Demaille <akim@epita.fr>
9565 * bin/autom4te.in (&parse_args): Die on unknown languages.
9566 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
9568 Promote --include over --macrodir and other obsolete options.
9570 2001-08-31 Akim Demaille <akim@epita.fr>
9572 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
9573 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
9574 * bin/autom4te.in ($autoconf): Pass --force.
9575 `print $out' doesn't print `$_' but `$out'.
9576 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
9577 (autoheader): Pass --force since the test suite goes too fast for
9579 Adjust to the new autoheader messages.
9581 2001-08-31 Akim Demaille <akim@epita.fr>
9583 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
9584 Check the completeness of the #template.
9585 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
9586 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
9589 2001-08-31 Akim Demaille <akim@epita.fr>
9591 * lib/Autom4te/General.pm (&find_file, &update_file): New.
9592 * bin/autoupdate.in, bin/autoheader.in: Adjust.
9593 Drop AC_MACRODIR dead for real.
9594 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
9595 `autoheader: `config.hin' is created'.
9596 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
9598 2001-08-31 Akim Demaille <akim@epita.fr>
9600 * bin/autoheader.in: Rewrite in Perl.
9601 * tests/autoheader: Adjust.
9603 2001-08-31 Akim Demaille <akim@epita.fr>
9605 * bin/autoconf.in (--include, -I): New option.
9606 Map --localdir, --autoconf-dir onto it.
9607 Forward autom4te's options instead of interpreting them.
9608 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
9609 There is no such envvar since the inception of autom4te.cfg.
9610 * bin/autom4te.in (&parse_args): Uniquify `@include'.
9611 * bin/autoupdate.in: Adjust, and perform more control.
9612 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
9613 * tests/autoconf: Dittowise.
9615 2001-08-31 Akim Demaille <akim@epita.fr>
9617 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
9618 * bin/autom4te.in (&find_file): Support `FILE?' standing for
9620 Use -e, not -f, since /dev/null for instance is OK.
9621 (&parse_args): Adjust.
9622 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
9624 2001-08-31 Akim Demaille <akim@epita.fr>
9626 * configure.ac: Also find tested executables in bin.
9627 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
9628 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
9629 installed peer executables, only PATH is allowed to resolve it.
9630 Pass `autoconf_dir' via options, not via invisible envvars.
9631 * lib/Autom4te/General.pm (&find_peer): Remove.
9632 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
9633 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
9634 * man/Makefile.am: Let help2man rely on PATH instead of trying to
9635 find the executables for it.
9636 * tests/Makefile.am: Major cleanup. Too lazy to document...
9637 * tests/atlocal.in: Remove all the obscure envvar manipulations.
9639 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
9640 indeed related to running the test suite, while passing
9641 --autoconf-dir and others is related to running non installed
9642 Autoconf executables. So don't do that, leave it to...
9643 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
9644 * tests/autoscan: New.
9645 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
9646 refer to library files: rely on --language.
9648 2001-08-29 Akim Demaille <akim@epita.fr>
9650 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
9651 s/--set/--language/.
9653 2001-08-29 Akim Demaille <akim@epita.fr>
9655 * doc/autoconf.texi: Strip the @nodes.
9656 Suggested by Paul Eggert.
9657 (Initializing configure): Typo.
9659 2001-08-29 Akim Demaille <akim@epita.fr>
9661 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
9662 Suggested by Paul Eggert.
9664 2001-08-29 Akim Demaille <akim@epita.fr>
9666 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
9667 download in a tmp dir.
9669 2001-08-29 Akim Demaille <akim@epita.fr>
9671 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
9672 case insensitive OSes out there :(
9673 From Tim Van Holder.
9675 2001-08-29 Akim Demaille <akim@epita.fr>
9677 * lib/autom4te.in: New.
9678 * lib/Makefile.am (edit, autom4te.cfg): New.
9679 * bin/autom4te.in (BEGIN): Simplify.
9680 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
9681 (&load_configuration): New. Use it.
9682 (&parse_args): Support --mode, --set, and --melt.
9683 * bin/autoconf.in: Simplify and adjust.
9684 * tests/Makefile.am (AUTOMAKE): Use --set.
9685 * tests/atlocal.in: Adjust.
9686 * BUGS: distcheck and check are weak.
9688 2001-08-29 Akim Demaille <akim@epita.fr>
9690 * lib/autotest/general.m4: Use
9691 foo=`(command) 2>/dev/null`
9693 foo=`command` 2>/dev/null
9694 (at-devnull): Rename as...
9696 (--clean): Remove AT-* files too.
9697 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
9698 Reported by Nicolas Joly.
9700 2001-08-28 Akim Demaille <akim@epita.fr>
9702 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
9703 quotes inside single quotes.
9704 Reported by Nicolas Joly.
9706 2001-08-28 Kevin Ryde <user42@zip.com.au>
9708 * doc/autoconf.texi (Function Portability): Mention C right shifts.
9710 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
9712 * lib/autotest/general.m4: Reword some messages.
9713 (AT_INIT): Check for the `times' builtin before using it.
9714 Support test ranges as arguments to the testsuite.
9715 Have -e imply -d as the help text suggested.
9717 2001-08-27 Akim Demaille <akim@epita.fr>
9719 * Makefile.maint: Formatting changes.
9720 (do-po-update, po-update, cvs-update, update): New targets.
9723 2001-08-27 Akim Demaille <akim@epita.fr>
9725 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
9727 Pass it to debug-*.sh scripts.
9728 <AUTOTEST_PATH>: May contain absolute dir names.
9730 2001-08-27 Akim Demaille <akim@epita.fr>
9732 * lib/autotest/general.m4 (AT_INIT): Log the command line.
9733 Support `VAR=VAL' as arguments.
9734 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
9735 may be set via the command line.
9737 2001-08-27 Akim Demaille <akim@epita.fr>
9739 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
9740 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
9741 first the build dirs, then the src dirs.
9742 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
9744 2001-08-27 Akim Demaille <akim@epita.fr>
9746 * lib/autotest/general.m4 (AT_INIT): Output the definition of
9747 at_data_files earlier.
9748 (--clean, -c): New option.
9749 * tests/Makefile.am: Use this option.
9751 2001-08-27 Akim Demaille <akim@epita.fr>
9753 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9754 `ac_top_builddir' to mimic Automake's vocabulary, which much more
9757 * doc/autoconf.texi (Configuration Actions): Document the vars
9758 available in commands.
9759 Emphasize the risks of collisions in init-cmds.
9761 2001-08-27 Akim Demaille <akim@epita.fr>
9763 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9764 (Initializing configure): this new node.
9766 2001-08-27 Akim Demaille <akim@epita.fr>
9768 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9770 2001-08-27 Akim Demaille <akim@epita.fr>
9772 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9773 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9775 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9777 2001-08-27 Akim Demaille <akim@epita.fr>
9779 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9781 * lib/autoconf/autoheader.m4: this new file.
9782 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9783 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9785 * lib/autoconf/autoupdate.m4: this new file.
9787 2001-08-27 Akim Demaille <akim@epita.fr>
9789 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9790 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9791 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9793 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9794 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9796 2001-08-27 Akim Demaille <akim@epita.fr>
9798 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9799 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9800 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9801 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9802 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9803 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9804 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9805 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9806 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9807 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9808 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9809 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9810 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9811 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9812 (_AC_OUTPUT_SUBDIRS): Move to...
9813 * lib/autoconf/status.m4: this new file.
9814 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9815 * tests/Makefile.am, tests/suite.at: Adjust.
9817 2001-08-27 Akim Demaille <akim@epita.fr>
9821 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9822 (AMTAR): Help automake define it.
9823 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9824 needed, 1.5 can have a macro and a target with the same name.
9825 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9827 * m4/init.m4, m4/sanity.m4: Update.
9828 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9829 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9830 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9831 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9833 2001-08-27 Akim Demaille <akim@epita.fr>
9835 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9837 * lib/autoconf/version.in: Remove.
9838 * lib/m4sugar/version.in: New.
9839 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9841 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9842 the name of the directory they're in, instead of the filename,
9843 since version.m4 is now in m4sugar, but m4_acversion must not be
9844 classified as an Autoconf macro.
9845 ($input_m4): Don't qualify the path to m4sugar.
9846 Rather, pass autoconf_dir to m4.
9847 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9848 * tests/suite.at: Require 2.52c.
9850 2001-08-27 Akim Demaille <akim@epita.fr>
9852 testsuite.log should include config.log.
9854 * lib/autotest/autotest.m4: New.
9855 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9856 * tests/suite.at : Adjust.
9857 (AT_INIT): Log config.log.
9858 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9859 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9860 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9861 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9862 of config.log on traps.
9863 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9864 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9866 Open the log as soon as possible.
9867 Use the same log introduction as configure's.
9869 2001-08-22 Paul Eggert <eggert@twinsun.com>
9871 * doc/autoconf.texi (Indices): New node.
9872 Move indices out of the top level menu and into this submenu.
9874 2001-08-22 Akim Demaille <akim@epita.fr>
9876 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9878 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9880 2001-08-22 Akim Demaille <akim@epita.fr>
9882 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9883 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9884 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9885 * lib/autoconf/programs.m4: here.
9886 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
9887 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
9888 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
9889 * lib/autoconf/programs.m4: here.
9890 (_AC_DECL_YYTEXT): Rename as...
9891 (_AC_PROG_LEX_YYTEXT_DECL): this.
9892 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9893 * tests/Makefile.am, tests/suite.am: Adjust.
9895 2001-08-22 Akim Demaille <akim@epita.fr>
9897 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9899 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9901 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9902 * lib/autoconf/functions.m4: here.
9903 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9904 (AH_CHECK_LIB): Move to...
9905 * lib/autoconf/libs: this new file.
9906 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9907 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9908 * lib/autoconf/libs.m4: here.
9909 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9911 2001-08-22 Akim Demaille <akim@epita.fr>
9913 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9914 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9915 (AC_SITE_LOAD): Better logging of config.site.
9917 2001-08-20 Akim Demaille <akim@epita.fr>
9919 * configure.ac (AT_CONFIG): Fix the path.
9920 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9923 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
9925 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9926 program with AC_LANG_PROGRAM before feeding it to
9927 AC_COMPILE_IFELSE. Cleanup grep usage.
9929 2001-08-20 Akim Demaille <akim@epita.fr>
9931 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9932 * NEWS, README, README-alpha, TODO, tests/README: This package is
9933 `Autoconf', not `autoconf' (the executable).
9935 2001-08-20 Akim Demaille <akim@epita.fr>
9937 Info readers seem to need `Index' in the index node title :(
9939 * doc/autoconf.texi: Reverse the 2001-08-15 change which
9940 simplified index node names.
9942 2001-08-20 Akim Demaille <akim@epita.fr>
9944 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9945 arguments are not literals.
9946 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9947 Specify the output variables, and macros defined.
9949 2001-08-20 Akim Demaille <akim@epita.fr>
9951 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9952 (Examining Syntax) <AC_TRY_COMPILE>
9953 (Examining Libraries) <AC_TRY_LINK>
9954 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9956 Reported by Werner Lemberg.
9958 2001-08-20 Akim Demaille <akim@epita.fr>
9960 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9961 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9962 Load atlocal late enough to dump it in the log.
9963 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9965 2001-08-20 Akim Demaille <akim@epita.fr>
9967 * tests/torture.at (Configuring subdirectories): New test.
9968 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9970 * m4/atconfig.m4: Be sure the let $[0] be expandable.
9971 (top_srcdir): Fix its computation.
9973 2001-08-20 Akim Demaille <akim@epita.fr>
9975 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
9976 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
9978 Create `atconfig' automagically.
9979 Configure atlocal.in if present.
9980 * tests/atconfig.in: Remove.
9981 * tests/atlocal.in: New.
9982 * tests/Makefile.am: Adjust.
9984 2001-08-20 Akim Demaille <akim@epita.fr>
9986 Huh!?!?! There are still some user EOF tags used, which prevents
9987 their use in AC_CONFIG_COMMANDS for instance...
9989 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
9990 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
9991 `_CSEOF', or `_ATEOF', as appropriate.
9992 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
9993 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
9995 2001-08-20 Akim Demaille <akim@epita.fr>
9997 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
9998 * tests/semantics.at, tests/tools.at, tests/torture.at:
9999 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10001 2001-08-20 Akim Demaille <akim@epita.fr>
10003 Autotest invokes M4sh's initialization.
10005 * lib/autotest/general.m4: Adjust the diversion names.
10006 (AT_INIT): Run AS_INIT.
10007 Use the BINSH diversion to invoke /bin/sh.
10008 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10009 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10011 2001-08-20 Akim Demaille <akim@epita.fr>
10013 Let M4sh have its own diversions.
10015 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10016 (_m4_divert(NOTICE)): Rename as...
10017 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10018 (_m4_divert(HEADER-COMMENT)): these.
10019 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10020 (_m4_divert(NOTICE)): New, for Libtool.
10021 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10022 long ago with `_m4_divert(GROW)'.
10023 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10025 2001-08-20 Akim Demaille <akim@epita.fr>
10027 * tests/base.at, tests/compile.at, tests/foreign.at,
10028 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10029 * tests/semantics.at, tests/suite.at, tests/tools.at,
10030 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10032 2001-08-20 Akim Demaille <akim@epita.fr>
10034 * bin/autom4te.in (handle_output): Handle @__@.
10036 2001-08-20 Akim Demaille <akim@epita.fr>
10038 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10039 * lib/autotest/general.m4: Adjust the license.
10041 2001-08-17 Paul Eggert <eggert@twinsun.com>
10043 * doc/autoconf.texi (Function Portability): Mention snprintf,
10044 following up on a suggestion by Kevin Ryde.
10046 2001-08-17 Akim Demaille <akim@epita.fr>
10048 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10049 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10051 2001-08-17 Akim Demaille <akim@epita.fr>
10053 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10054 `$0.log' as for projects where testsuite is in src, we'd have
10055 testsuite.log created in src.
10057 2001-08-17 Akim Demaille <akim@epita.fr>
10059 * bin/autom4te.in (&parse_args): Recognize --normalize.
10061 2001-08-17 Akim Demaille <akim@epita.fr>
10063 Start implementing the AC_CHECK_HEADER transition scheme.
10065 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10066 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10067 (AC_CHECK_HEADER): Use them.
10069 2001-08-17 Akim Demaille <akim@epita.fr>
10071 * doc/autoconf.texi: Work around Texinfo buglets.
10072 (Transformation Rules): One example is enough, users are expected
10073 to have their brains on. And BTW, use DESTDIR.
10074 (dvar): New macro. Use it.
10076 2001-08-17 Akim Demaille <akim@epita.fr>
10078 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10079 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10080 looking for ChangeLogs.
10082 2001-08-17 Akim Demaille <akim@epita.fr>
10084 * bin/autom4te.in: --normalize is a new option.
10085 * bin/autoconf.in: Use it.
10087 2001-08-17 Akim Demaille <akim@epita.fr>
10089 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10090 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10092 2001-08-16 Paul Eggert <eggert@twinsun.com>
10094 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10097 2001-08-15 Akim Demaille <akim@epita.fr>
10099 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10102 2001-08-15 Akim Demaille <akim@epita.fr>
10104 * doc/autoconf.texi (pr): New index.
10105 (prindex, findex): Use, merge, and output them.
10106 (Environment Variable Index, Output Variable Index)
10107 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10108 (Autotest Macro Index): Rename as...
10109 (Environment Variables, Output Variables,Preprocessor Symbols)
10110 (Autoconf Macros, M4 Macros, Autotest Macros): these.
10111 * doc/install.texi: Use @command.
10112 (Environment Variables): Rename as...
10113 (Defining Variables): this.
10115 2001-08-15 Akim Demaille <akim@epita.fr>
10117 * doc/autoconf.texi (Function Portability): sprintf's return
10121 2001-08-15 Akim Demaille <akim@epita.fr>
10123 * Makefile.maint (CVS): New.
10124 (local-check): Run changelog-check. last.
10125 (alpha): Don't depend upon local-check, since...
10126 (cvs-dist): depends upon it.
10128 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
10130 * tests/Makefile.am: Use a clean-local rule to remove
10131 autom4te.cache (it's a directory, not a file.
10132 * Makefile.am: Ditto (but maintainer-clean-local).
10134 2001-08-15 Akim Demaille <akim@epita.fr>
10136 * bin/autom4te.in (@m4_warning): New.
10137 (&handle_m4): Use it.
10138 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10139 warnings are issued at each run.
10140 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10141 is in the src tree.
10143 2001-08-15 Akim Demaille <akim@epita.fr>
10145 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10146 don't waste time running `autoupdate --version' works.
10147 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10149 2001-08-13 Akim Demaille <akim@epita.fr>
10151 * doc/autoconf.texi (ma): Rename this index as...
10154 2001-08-13 Akim Demaille <akim@epita.fr>
10156 * Makefile.am: Remove dead code and dead comments.
10157 (pdf, html): New targets.
10158 * doc/autoconf.texi (Using Autotest): New chapter.
10159 * doc/Makefile.am (pdf): New targets.
10160 (CLEANFILES): Adjust.
10162 2001-08-13 Akim Demaille <akim@epita.fr>
10164 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10165 duration of the test suite.
10167 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10169 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10170 endianness for comparison instead of relying on AT_CHECK_ENV.
10172 2001-08-11 Paul Eggert <eggert@twinsun.com>
10174 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10175 to the INSTALL file.
10177 2001-08-11 Paul Eggert <eggert@twinsun.com>
10179 * NEWS: The autoconf manual now is distributed under the terms
10180 of the GNU Free Documentation License.
10182 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10183 Add an appendix "Copying This Manual" for the FDL.
10185 * doc/fdl.texi: New file, from
10186 <http://www.gnu.org/licenses/fdl.texi>.
10188 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10190 2001-08-10 Paul Eggert <eggert@twinsun.com>
10192 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10193 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10194 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10195 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10196 m4/sanity.m4, tests/README, tests/aclocal.m4,
10197 tests/atspecific.m4, tests/base.at, tests/compile.at,
10198 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10199 tests/semantics.at, tests/suite.at, tests/tools.at,
10200 tests/torture.at: Add copyright notice.
10202 * tests/mktests.sh: Update year in copyright notice.
10204 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10206 * tests/semantics.at (AC_C_BIGENDIAN): New test.
10208 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10210 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10211 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10212 * doc/autoconf.texi (C Compiler Characteristics): Update
10213 documentation for AC_C_BIGENDIAN.
10215 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10217 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10218 magic values from an object file when cross-compiling.
10219 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10221 2001-08-10 Akim Demaille <akim@epita.fr>
10223 * bin/autom4te.in (&handle_output): Don't use `grep' with side
10225 Suggested by Russ Allbery.
10227 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10229 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10230 current $prefix to the sub-configures.
10232 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
10234 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10235 extension (needed on BeOS). Reported by Guido van Rossum.
10237 2001-08-09 Akim Demaille <akim@epita.fr>
10239 * bin/autom4te.in ($icache): Load it only if older than autom4te.
10241 2001-08-07 Akim Demaille <akim@epita.fr>
10243 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10245 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
10246 No need to remove the files before and after the each test, before
10247 each test and at the end of the suite is enough.
10248 Display only the children `times', not the shell's.
10249 If the test failed or was skipped, at-times is not available.
10251 2001-08-07 Akim Demaille <akim@epita.fr>
10253 Always produce testsuite.log, including when there are no
10254 failures. This helps getting information on skipped tests, and
10255 duration of the tests. Err, implement the latter btw.
10257 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
10258 Dump information on the first run of each test.
10259 (AT_CLEANUP): Create `at-times' containing the duration of the
10262 2001-08-07 Akim Demaille <akim@epita.fr>
10264 The use of `dumpstat' revealed that `len' was used although it
10265 should not. m4_text_wrap was using it, but in the Autoconf world
10266 where it is legal. Hence (i) test M4sh in its own world, not
10267 Autoconf's, and (ii), ahem, fix the bug :)
10269 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
10270 does not like `' instead of [].
10271 (AT_INIT): Forbid `^_?AT_'.
10272 And don't output such tokens.
10273 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
10274 `script.as', and `autom4te.cache'.
10275 Remove `empty' and `macro' which are no longer used.
10276 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
10277 * tests/m4sugar.at: Use it.
10278 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
10280 2001-08-07 Akim Demaille <akim@epita.fr>
10282 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
10284 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
10286 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
10288 2001-08-04 Akim Demaille <akim@epita.fr>
10290 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
10291 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
10293 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
10294 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
10295 (AC_F77_MAIN): Likewise.
10297 2001-08-04 Akim Demaille <akim@epita.fr>
10299 Don't rely on M4sugar outputting the patterns in files, since we
10300 might process the output _without_ running m4, hence without these
10303 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
10304 * bin/autom4te.in (@Request::includes): Remove, unused.
10305 (@Request::source): Rename as...
10306 (@Request::input): this.
10307 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
10308 (&handle_output): Fetch the patterns from the traces.
10309 `$forbidden' and `$allowed' are constant: use m//o.
10310 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
10311 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
10313 2001-08-04 Akim Demaille <akim@epita.fr>
10315 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
10316 autoconf', i.e., in addition to caching traces, cache the output.
10318 * bin/autom4te.in (Request::cache): Rename as...
10319 (Request::id): this.
10320 ($cache, $icache, $tcache, $ocache): New.
10321 (&handle_m4): Save M4 output in the cache instead of $tmp.
10322 (&handle_output): Adjust.
10323 (&up_to_date_p): Check that the output cache is up to date too.
10324 (top level): Run `&handle_m4' iff force or the cache is invalid.
10325 Run `&handle_output' if the output cache is more recent.
10327 2001-08-04 Akim Demaille <akim@epita.fr>
10329 * bin/autom4te.in ($force): New.
10330 (&parse_args, &print_usage): -f, --force is a new option.
10331 (&handle_output): CPP directives might have spaces after `#'.
10332 (&parse_args): The first file only can be frozen.
10334 2001-08-04 Akim Demaille <akim@epita.fr>
10336 Don't let autom4te compute the `include' traces several times:
10337 first check that the trace cache file is up to date, and then
10338 compare its timestamp with that of the output.
10340 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
10341 the preamble. Don't require 5.005 as Autom4te::General does it,
10342 and better yet (use `use', not `require'!).
10343 * lib/Autom4te/Struct.pm: Rename the last occurrences of
10344 Class::Struct as Autom4te::Struct.
10345 * lib/Autom4te/General.pm (File::stat): Use it.
10346 (&mtime): New, export it.
10347 * bin/autom4te.in: Use it.
10348 Declare `$req' is invalid if it is outdated.
10349 Don't declare it valid before saving it if something went wrong.
10351 2001-08-04 Akim Demaille <akim@epita.fr>
10353 Autom4te shall not encode Autoconf data, and preselecting traces
10354 must be proposed to the users.
10356 * bin/autom4te.in (@required_trace): Remove.
10358 (&parse_args, &print_usage): -p, --preselect is a new option.
10359 (&up_to_date_p): Adjust.
10360 * bin/autoconf.in: Preselect some Autoconf macros.
10362 2001-08-04 Akim Demaille <akim@epita.fr>
10364 * tests/tools.at (autoconf --trace: user macros): Check traces on
10365 macros invoked without arguments, and macros invoked with multiple
10368 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
10370 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
10373 2001-08-03 Akim Demaille <akim@epita.fr>
10375 * bin/autoconf.in ($@): Work around the usual sh bug.
10378 2001-08-03 Akim Demaille <akim@epita.fr>
10380 Clean up the handling of the M4 builtins tracing exception.
10382 * bin/autom4te.in (Request::request): Don't complete M4 builtins
10384 (@m4_builtins): Rename as...
10385 (@m4_builtin): this.
10386 (%m4_builtin_alternate_name): New.
10387 (&parse_args): Complete the trace requests with alternate names.
10388 (&handle_traces): Hence no longer do it here.
10389 (&trace_requests): Remove, unused.
10391 2001-08-03 Akim Demaille <akim@epita.fr>
10393 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
10394 m4_if, and m4_wrap.
10396 2001-08-03 Akim Demaille <akim@epita.fr>
10398 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
10399 (m4_divert_pop): Dump the whole diversion stack when a diversion
10401 * bin/autom4te.in (&handle_output): Remember of the first
10402 occurrence of a possibly undefined macro, not the last.
10403 Complain about the possibly undefined macros in the same order as
10404 the appear in the output.
10405 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
10406 * tests/tools.at (autoconf: forbidden tokens, basic)
10407 (autoconf: forbidden tokens, exceptions): No longer sort
10408 autoconf's stderr, as it is now deterministic.
10409 Check that `dnl' is caught.
10411 2001-08-01 Akim Demaille <akim@epita.fr>
10413 * configure.ac: Bump to 2.52c.
10415 2001-08-01 Akim Demaille <akim@epita.fr>
10419 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
10421 2001-08-01 Akim Demaille <akim@epita.fr>
10425 2001-08-01 Akim Demaille <akim@epita.fr>
10427 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
10430 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
10431 `END', as `Autom4te::General::END' will be triggered.
10432 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
10433 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
10434 system to run `mv', `rm', and `cmp'.
10436 2001-08-01 Akim Demaille <akim@epita.fr>
10438 * lib/Autom4te/General.pm (&unique): New.
10439 * bin/autoscan.in (&output): Use it to issue trace requests once.
10441 2001-08-01 Akim Demaille <akim@epita.fr>
10443 * lib/Autom4te/General.pm: New.
10444 * bin/autom4te.in (Autom4te::General): Use it.
10445 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
10446 (&find_configure_ac, &find_slave): Remove.
10447 * bin/autoscan.in: Likewise.
10448 * bin/autoupdate.in: Likewise.
10450 2001-08-01 Akim Demaille <akim@epita.fr>
10452 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
10453 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
10454 * bin: here, new directory.
10455 * lib/Autoconf: Rename as...
10456 * lib/Autom4te: this, to please case insensitive junkie OSes.
10458 2001-08-01 Akim Demaille <akim@epita.fr>
10460 * autom4te.in ($m4): Handle the --nesting-limit.
10461 * autoconf.in (M4): Remove.
10463 2001-08-01 Akim Demaille <akim@epita.fr>
10465 * autoconf.in ($AWK): Remove, no longer used.
10466 * test/tools.at: Use AT_CHECK_AUTOCONF.
10467 (AWK portability): Remove, for autoconf no longer uses AWK.
10468 (Syntax of the Perl scripts): New.
10469 * configure.ac: autoconf no longer needs an AWK with a good
10471 Use a static test on AC_PACKAGE_VERSION.
10472 * autom4te.in (&up_to_date_p): Output depends on the arguments.
10473 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
10474 * tests/atconfig.in (PERL): New.
10476 2001-08-01 Akim Demaille <akim@epita.fr>
10478 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
10479 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
10480 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
10481 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
10482 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
10483 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
10484 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
10485 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
10486 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
10487 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
10488 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
10489 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
10490 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
10491 * lib/autoconf/c.m4: here, new file.
10493 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
10494 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
10495 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
10496 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
10497 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
10498 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
10499 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
10500 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
10501 (AC_F77_FUNC): Move to...
10502 * lib/autoconf/fortran.m4: here, new file.
10504 2001-08-01 Akim Demaille <akim@epita.fr>
10506 * acfunctions.m4: Rename as...
10507 * lib/autoconf/functions.m4: this.
10508 * acgeneral.m4: Rename as...
10509 * lib/autoconf/general.m4: this.
10510 * acheaders.m4: Rename as...
10511 * lib/autoconf/headers.m4: this.
10512 * aclang.m4: Rename as...
10513 * lib/autoconf/lang.m4: this.
10514 * acoldnames.m4: Rename as...
10515 * lib/autoconf/oldnames.m4: this.
10516 * acspecific.m4: Rename as...
10517 * lib/autoconf/specific.m4: this.
10518 * actypes.m4: Rename as...
10519 * lib/autoconf/types.m4: this.
10520 * autoconf.m4: Rename as...
10521 * lib/autoconf/autoconf.m4: this.
10523 * m4sugar.m4: Rename as...
10524 * lib/m4sugar/m4sugar.m4: this.
10525 * m4sh.m4: Rename as...
10526 * lib/m4sugar/m4sh.m4: this.
10528 * tests/atgeneral.m4: Rename as...
10529 * lib/autotest/general.m4: this.
10531 * acfunctions: Rename as...
10532 * lib/autoscan/functions: this.
10533 * acheaders: Rename as...
10534 * lib/autoscan/headers: this.
10535 * acidentifiers: Rename as...
10536 * lib/autoscan/identifiers: this.
10537 * aclibraries: Rename as...
10538 * lib/autoscan/libraries: this.
10539 * acmakevars: Rename as...
10540 * lib/autoscan/makevars: this.
10541 * acprograms: Rename as...
10542 * lib/autoscan/programs: this.
10544 2001-08-01 Akim Demaille <akim@epita.fr>
10546 * doc/autoconf.texi: Moving/deleting open files is not portable.
10547 Portability issues for `.' (source), and more information about sed.
10549 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
10551 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
10552 which has a special meaning and is not a reference to libibmil.a.
10553 Reported by Matteo Frigo.
10555 2001-07-25 Pavel Roskin <proski@gnu.org>
10557 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
10560 2001-07-25 Akim Demaille <akim@epita.fr>
10562 * autoconf.in: Try to define the variables before using them.
10563 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
10564 instead of `$perllibdir'.
10565 * tests/atconfig.in ($autom4te_perllibdir): Export it.
10567 2001-07-25 Akim Demaille <akim@epita.fr>
10569 * autoconf.in (ac_LF_and_DOT): Remove, unused.
10571 2001-07-24 Akim Demaille <akim@epita.fr>
10573 Let autoconf use autom4te for traces.
10575 * autoconf.in ($task, task trace): Remove, merely pass --trace to
10577 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
10578 (Because I found no way for autom4te to accept `-').
10579 * autom4te.in (&Request::request): Beware of M4 builtins.
10580 (END): Don't try to remove the content of an empty dir.
10581 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
10582 (&handle_output): Set a default value to `$forbidden'.
10583 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
10584 ($autoconf): Pass --debug and --verbose.
10585 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
10588 2001-07-24 Akim Demaille <akim@epita.fr>
10590 Let autoconf use autom4te to create configure.
10592 * autoconf.in ($automate): New var.
10593 (task script): Use autom4te.
10594 * autom4te.in (File::Spec): Use it.
10596 (&parse_args): --warning is -W, not -w.
10597 Find the top level files.
10598 (&handle_m4): Pass the warnings flags.
10599 Don't report verbosely m4's failures, unless requested.
10600 (&handle_output): Don't complain for forbidden tokens in comments.
10601 Be sure to report all the forbidden tokens within a single line.
10602 (&trace_format_to_m4): Preserve `$_'.
10603 (&handle_traces): Sort the output macros.
10604 (&up_to_date_p): Find the files before trying to get its time stamp.
10606 2001-07-24 Akim Demaille <akim@epita.fr>
10608 * Makefile.am: Ship, build and install Autom4te.
10609 (SUBDIRS): Add lib.
10610 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
10611 * configure.in: Require Perl.
10612 * man/autom4te.in: New.
10614 2001-07-19 Paul Eggert <eggert@twinsun.com>
10616 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
10617 example, rather than (exit 1); exit (which isn't portable).
10619 2001-07-18 Akim Demaille <akim@epita.fr>
10623 2001-07-18 Akim Demaille <akim@epita.fr>
10625 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
10626 was run, while they are needed also when it is expanded.
10627 Reported by Nicolas Joly.
10629 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
10630 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
10631 AC_F77_DUMMY_MAIN being expanded.
10633 2001-07-18 Akim Demaille <akim@epita.fr>
10635 * configure.in: Bump to 2.51a.
10637 2001-07-17 Akim Demaille <akim@epita.fr>
10641 2001-07-17 Akim Demaille <akim@epita.fr>
10643 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
10644 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
10646 2001-07-17 Akim Demaille <akim@epita.fr>
10648 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
10649 used. Well, then use the prototypes when you can, and runtime as
10651 Reported by Artur Frysiak
10653 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
10654 (AC_FUNC_GETPGRP): Use it.
10655 First try to compile with 0-ary or 1-ary calls.
10657 2001-07-17 Akim Demaille <akim@epita.fr>
10659 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
10663 2001-07-17 Akim Demaille <akim@epita.fr>
10665 * Makefile.maint: Sync. with cppi 1.10.
10667 2001-07-17 Akim Demaille <akim@epita.fr>
10669 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
10670 AC_F77_DUMMY_MAIN has been run.
10671 From Pavel Roskin and Steven G. Johnson.
10673 2001-07-17 Akim Demaille <akim@epita.fr>
10675 * configure.in: Rename as...
10676 * configure.ac: this.
10678 2001-07-17 Akim Demaille <akim@epita.fr>
10680 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
10683 * Makefile.maint (release-archive-dir): Rename as...
10684 (release_archive_dir): this, so that it can be specialized in
10687 2001-07-14 Akim Demaille <akim@epita.fr>
10689 * configure.in: Bump to 2.50d.
10691 2001-07-14 Akim Demaille <akim@epita.fr>
10694 * Makefile.maint (alpha): Typo.
10696 2001-07-14 Akim Demaille <akim@epita.fr>
10698 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
10700 2001-07-14 Akim Demaille <akim@epita.fr>
10702 * config/config.guess, config/config.sub, config/texinfo.tex
10703 * doc/standards.texi, doc/make-stds.texi: Update.
10705 2001-07-14 Akim Demaille <akim@epita.fr>
10707 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
10709 2001-07-14 Akim Demaille <akim@epita.fr>
10711 * Makefile.maint (maintainer-check): Rename as...
10712 (maintainer-distcheck): this.
10713 (changelog-check, static-check): New.
10716 2001-07-14 Kevin Ryde <user42@zip.com.au>
10718 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
10719 for CXX is g++, not gcc.
10721 2001-07-14 Akim Demaille <akim@epita.fr>
10723 * doc/autoconf.texi (Files): New subsection.
10725 2001-07-14 Akim Demaille <akim@epita.fr>
10727 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
10729 (Generic Compiler Characteristics): this.
10730 (C++ Compiler): New subsection.
10732 2001-07-14 Akim Demaille <akim@epita.fr>
10734 * autoscan.in: Use IO::File.
10735 Adjust all the routines to use it.
10736 ($log): New file (autoscan.log).
10737 (output): Dump detailed logs into $log, and a shortened version to
10739 (&scan_makefile): Refine the regexp catching tokens in the code.
10740 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
10741 and the `configure.ac' checking feature.
10743 2001-07-12 Akim Demaille <akim@epita.fr>
10745 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
10746 Reported by Michael Elizabeth Chastain.
10748 * autoconf.in: Refuse such AWK.
10749 * configure.in: Likewise.
10750 * Makefile.am (acversion.m4): Do not use move-if-change this file
10752 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10754 2001-07-10 Jens Petersen <petersen@redhat.com>
10756 * autoscan.in (&scan_makefile): Improve programs regexp to parse
10757 things like "g++", "file.c" and "some-conf" as tokens.
10758 (&scan_file): Match C++ files extensions.
10759 If the filename extension is C++ then ask for c++.
10761 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
10763 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10764 AC_TRY_LINK_FUNC, to check whether defining a dummy
10765 main-like routine is needed for linking with F77 libs.
10767 2001-07-05 Pavel Roskin <proski@gnu.org>
10769 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10771 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10774 2001-07-05 Akim Demaille <akim@epita.fr>
10776 * Makefile.am (move_if_change): New. Use it instead of `mv'.
10777 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10779 Reported by Nicolas Joly.
10781 2001-07-04 Akim Demaille <akim@epita.fr>
10783 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10785 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10786 warnings from compilers.
10787 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10788 for all the compilers, not only GNU. Hence move from here...
10789 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10791 2001-07-04 Akim Demaille <akim@epita.fr>
10793 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10794 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10797 2001-07-04 Akim Demaille <akim@epita.fr>
10799 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10800 the ``strings.h'' change claimed below.
10802 2001-07-04 Akim Demaille <akim@epita.fr>
10804 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10806 2001-07-04 Akim Demaille <akim@epita.fr>
10808 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10809 strings.h if usable with string.h.
10810 Suggested by Paul Eggert.
10812 2001-07-04 Akim Demaille <akim@epita.fr>
10814 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10815 From Jens Petersen.
10817 2001-07-03 Akim Demaille <akim@epita.fr>
10819 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10822 2001-07-03 Akim Demaille <akim@epita.fr>
10824 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10825 compiler, not the preprocessor.
10826 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10827 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10829 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10830 earlier if there are.
10832 2001-07-03 Akim Demaille <akim@epita.fr>
10834 * autoscan.in ($initfile): Remove.
10835 (&find_file): Rename as...
10836 (&scan_file): this.
10837 Immediately scan the current file, instead of gathering them, and
10838 later having them handled by &scan_files.
10839 (&scan_files): Merely invoke Find::File.
10842 2001-07-02 Akim Demaille <akim@epita.fr>
10844 * autoscan.in: Formatting changes, matching the invocation order.
10845 (File::Find): Use it instead of Perl 4's `find.pl'.
10846 (&wanted): Rename as...
10847 (&find_file): this.
10849 2001-07-01 Pavel Roskin <proski@gnu.org>
10851 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10852 break in the argument to AC_TRY_LINK_FUNC.
10853 (AC_F77_MAIN): Remove conftest* after using break in the
10854 argument to AC_TRY_LINK.
10856 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
10858 Add alternate 'main' routine detection for linking C/C++ with Fortran,
10859 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10861 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10862 dummy alternate main is required even if the user provides her own
10864 (AC_F77_MAIN): New macro to detect whether it is possible to
10865 provide an alternate 'main' function name, using the 'main' from
10866 the Fortran libraries.
10867 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10868 cross-language link tests can be performed successfully.
10869 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
10870 after $LIBS, for consistency; this should be the general rule since
10871 the user may want to link to Fortran libraries that require $FLIBS.
10872 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10874 2001-06-29 Pavel Roskin <proski@gnu.org>
10876 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10877 at-stdout and at-stderr instead of removing the newline
10878 from the echo output, which is not guaranteed to work.
10880 2001-06-28 Jens Petersen <petersen@redhat.com>
10882 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10883 confdefs.h when non-zero.
10885 2001-06-28 Akim Demaille <akim@epita.fr>
10887 * configure.in: Bump to 2.50c.
10889 2001-06-26 Akim Demaille <akim@epita.fr>
10893 2001-06-26 Akim Demaille <akim@epita.fr>
10897 2001-06-25 Pavel Roskin <proski@gnu.org>
10899 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10900 argument, AUTOCONF-FLAGS.
10901 * tests/mktests.sh (update_exclude_list): Add
10902 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10903 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10904 AC_FUNC_WAIT3 with "-W no-obsolete".
10906 2001-06-25 Akim Demaille <akim@epita.fr>
10908 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10910 2001-06-25 Akim Demaille <akim@epita.fr>
10912 * autoscan.in (%macro): Now maps from word to list of macros.
10913 (&init_tables): Die when a word which is already handled by
10914 explicit macros is mapped to the default macro.
10915 (&print_unique): Remove, inlined in...
10916 (&output_kind): here.
10917 (File::Basename): Use it.
10918 (&output): Sort the CONFIG_FILES.
10919 * acheaders: Normalize.
10920 * acfunctions: Likewise.
10922 2001-06-25 Akim Demaille <akim@epita.fr>
10924 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10925 characteristics in the logs.
10926 Suggested by Mo DeJong.
10928 2001-06-24 Akim Demaille <akim@epita.fr>
10930 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10931 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10932 * doc/autoconf.texi (Autoconf 2.13): New section.
10934 2001-06-24 Akim Demaille <akim@epita.fr>
10936 * autoconf.in (Task traces): Separate the error messages from the
10937 traces to improve robustness.
10939 2001-06-23 Akim Demaille <akim@epita.fr>
10941 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10942 three as failures are unlikely, and speed matters.
10944 2001-06-23 Akim Demaille <akim@epita.fr>
10946 * doc/autoconf.texi (Redefined M4 Macros): New.
10948 2001-06-23 Akim Demaille <akim@epita.fr>
10950 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10951 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10954 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
10956 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10957 config.status targets to after the evaluation of the INIT-CMDS.
10958 Double quote config.status targets (used to be single quoted).
10960 2001-06-23 Akim Demaille <akim@epita.fr>
10962 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10963 Check the content of the created file.
10964 Check the ./config.status command line invocation.
10966 2001-06-23 Akim Demaille <akim@epita.fr>
10968 * tests/foreign.at (Libtool): Reject prehistoric versions.
10970 2001-06-23 Akim Demaille <akim@epita.fr>
10972 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
10973 preexisting files matching a.*.
10975 2001-06-23 Akim Demaille <akim@epita.fr>
10977 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
10979 * doc/autoconf.texi (AC_ARG_VAR): Update.
10981 2001-06-21 Akim Demaille <akim@epita.fr>
10983 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
10984 precious variables have changed.
10985 * tests/torture.at (AC_ARG_VAR): Adjust.
10987 2001-06-21 Akim Demaille <akim@epita.fr>
10989 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
10990 but some sed choke on multiple `;', and other tools (e.g.,
10991 Automake), include the separator themselves.
10993 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
10995 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
10997 * doc/autoconf.texi (Functions Portability): Rename as...
10998 (Function Portability): this.
10999 (Function Portability): Document potential problems with unlink().
11001 2001-06-19 Paul Eggert <eggert@twinsun.com>
11003 * NEWS, doc/autoconf.texi: Document quadrigraphs.
11005 2001-06-18 Akim Demaille <akim@epita.fr>
11007 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11009 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
11011 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11012 (_AC_FUNC_VFORK): this.
11013 Remove AC_DEFINEs and don't guess cross-compilation values.
11014 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11015 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11016 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11017 vfork doesn't work.
11018 Guess values if cross-compiling, but warn.
11019 * acfunctions: Add AC_FUNC_FORK.
11020 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11021 and vfork appropriately.
11023 2001-06-18 Akim Demaille <akim@epita.fr>
11025 * doc/autoconf.texi (Functions Portability): New section.
11027 2001-06-18 Akim Demaille <akim@epita.fr>
11029 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11031 Suggested by Andreas Schwab.
11033 2001-06-18 Akim Demaille <akim@epita.fr>
11035 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11036 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11037 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11038 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11039 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11040 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11041 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11044 2001-06-18 Akim Demaille <akim@epita.fr>
11046 * doc/autoconf.texi (ms): New index.
11047 (Macro Index): Rename as...
11048 (Autoconf Macro Index): this.
11049 (M4 Macro Index): New appendix.
11050 (Programming in M4): New chapter.
11051 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11052 (Quoting): Rename as...
11053 (M$ Quotation): this.
11054 Be part of `Programming in M4).
11056 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
11058 * tests/torture.at (AC_ARG_VAR): Set variables and export them
11059 in separate statements for compatibility with Tru64 v5.1.
11061 2001-06-17 Akim Demaille <akim@epita.fr>
11063 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11064 current values of the precious variables, not the previously
11066 Pass precious variables which are set to config.status.
11067 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11068 * tests/torture.at (AC_ARG_VAR): New.
11070 2001-06-15 Paul Eggert <eggert@twinsun.com>
11072 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11073 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11074 and explain why and how to replace them.
11075 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11076 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11078 2001-06-15 Akim Demaille <akim@epita.fr>
11080 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11081 Reported by Bruno Haible.
11083 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11084 (_AC_ARG_VAR_PRECIOUS): to here.
11086 2001-06-15 Pavel Roskin <proski@gnu.org>
11088 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11089 an unused pointer use cast to this type and `if' statement to
11090 avoid warnings from the compiler.
11091 (AC_HEADER_TIME): Likewise.
11092 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11093 in `if' statement to avoid warnings from the compiler. Declare
11094 ac_aggr static to avoid the need to initialize it.
11096 2001-06-14 Akim Demaille <akim@epita.fr>
11098 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11101 2001-06-13 Akim Demaille <akim@epita.fr>
11103 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11104 Suggested by Alexander Mai.
11106 2001-06-13 Akim Demaille <akim@epita.fr>
11108 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11109 sys/types.h and sys/stat.h, and check for them.
11111 2001-06-13 Akim Demaille <akim@epita.fr>
11113 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11116 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11118 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11119 succeeds and only try adding libdnet upon a failure.
11121 2001-06-12 Akim Demaille <akim@epita.fr>
11123 * autoscan.in (&output_kind): Output the comment only if it exists.
11124 (%kind_comment): Add entry for `programs'.
11125 (&output_programs): Use &output_kind.
11126 (&output_functions, &output_identifiers, &output_headers)
11127 (&output_programs): Inline, and remove.
11129 2001-06-12 Akim Demaille <akim@epita.fr>
11131 * autoscan.in (%kind_comment): New.
11132 (output_kind): New.
11133 (output_functions, output_identifiers, output_headers): Use it.
11135 2001-06-12 Akim Demaille <akim@epita.fr>
11137 * autoscan.in (&print_unique): Take `$kind' and `$word' as
11138 arguments, to factor indirections into `%macro' and `%used'.
11139 (%generic_macro): Fix a typo.
11141 2001-06-12 Akim Demaille <akim@epita.fr>
11143 * aclibraries: New.
11144 * autoscan.in (@kinds): Add `libraries'.
11145 Use `@kinds' instead of hard coded lists.
11146 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11147 Remove, replaced by...
11150 2001-06-12 Akim Demaille <akim@epita.fr>
11152 * autoscan.in (%functions_macros %headers_macros)
11153 (%identifiers_macros %programs_macros %makevars_macros): Remove,
11157 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
11159 * aclang.m4 (AC_NO_EXECUTABLES): Override
11160 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11162 2001-06-11 Akim Demaille <akim@epita.fr>
11164 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11166 Reported by Andreas Schwab.
11168 2001-06-11 Akim Demaille <akim@epita.fr>
11170 * Makefile.am, Makefile.maint: Typos.
11172 2001-06-09 Akim Demaille <akim@epita.fr>
11174 * doc/autoconf.texi (Here-Documents): New section, gathering
11175 documentation about here-documents.
11176 Use `href', not `uref', and other changes.
11178 2001-06-09 Akim Demaille <akim@epita.fr>
11180 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11183 2001-06-09 Akim Demaille <akim@epita.fr>
11185 * doc/autoconf.texi (Limitations of Builtins): Complete the
11186 description of the here-docs penalties with Alexandre Oliva's
11189 2001-06-01 Paul Eggert <eggert@twinsun.com>
11191 * doc/autoconf.texi: Talk about here documents and speedups.
11192 Do not use "echo" on arbitrary strings.
11193 Spell "here-documents" consistently with the standard.
11195 2001-06-09 Akim Demaille <akim@epita.fr>
11197 * doc/autoconf.texi (Concept Index): Introduce it.
11198 Regenerate the menus.
11200 2001-06-09 Akim Demaille <akim@epita.fr>
11202 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11203 * config/prev-version.txt: New.
11204 * config/move-if-change: New, for GNU libc.
11206 2001-06-06 Pavel Roskin <proski@gnu.org>
11208 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11210 2001-06-06 Akim Demaille <akim@epita.fr>
11212 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11213 properly when $1 is not a literal.
11214 Fixes PR Autoconf/187, reported by Bram Moolenaar.
11216 2001-06-06 Akim Demaille <akim@epita.fr>
11218 Invoking AC_COPYRIGHT before AC_INIT fails.
11220 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11221 * acgeneral.m4 (_m4_divert(VERSION_FSF))
11222 (_m4_divert(VERSION_USER)): New.
11223 (AC_COPYRIGHT): $2 is the diversion to use.
11224 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11225 (AC_INIT): Remove dead comments as now it's commutative.
11227 2001-06-06 Akim Demaille <akim@epita.fr>
11229 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11232 2001-06-05 Akim Demaille <akim@epita.fr>
11234 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11236 `*dir' variables cannot be NONE.
11237 Reported by Mark Kettenis.
11239 2001-06-05 Paul Eggert <eggert@twinsun.com>
11241 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11243 2001-06-04 Akim Demaille <akim@epita.fr>
11245 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11246 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11247 (AC_TR_SH): Move as...
11248 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11249 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11251 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11252 (_AS_TR_SH_PREPARE): New.
11253 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11254 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
11256 2001-06-02 Akim Demaille <akim@epita.fr>
11258 * Makefile.am (.m4.m4f): Pass the options first.
11259 Fixes PR autoconf/182.
11261 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
11263 GNU getopt, when POSIXLY_CORRECT does not permute options and
11264 arguments. So pass the options first.
11265 Fixes PR autoconf/184.
11267 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
11268 (run_m4): Remove files.
11270 Update remainder of script to use them.
11271 (for warning in): Do not use a literal comma as it will not be
11274 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
11276 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
11277 Fortran compilers to check.
11278 (_AC_PROG_F77_V): Add '-###' as a possible option to print
11279 information on library and object files.
11280 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
11283 2001-06-02 Akim Demaille <akim@epita.fr>
11285 * autom4te.in (Request::@request): Declare with `vars', not `my',
11286 as it prevents updates via `do FILENAME'.
11288 2001-06-02 Akim Demaille <akim@epita.fr>
11290 * configure.in (standards_texi): Remove, dead code.
11292 2001-06-02 Akim Demaille <akim@epita.fr>
11294 * autom4te.in: New.
11296 2001-06-02 Pavel Roskin <proski@gnu.org>
11298 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
11299 for signals other than 0 - exit with code 1.
11300 * m4sh.m4 (AS_TMPDIR): Likewise.
11301 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
11302 * autoheader.in: Likewise.
11303 * autoreconf.in: Likewise.
11304 * tests/torture.at (Signal handling): New test for the above.
11306 2001-06-01 Akim Demaille <akim@epita.fr>
11308 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
11311 2001-05-31 Akim Demaille <akim@epita.fr>
11313 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
11314 Add copyright and comments.
11315 * acheaders: Add stdint.h.
11316 Suggested by Paul Eggert.
11318 2001-05-31 Akim Demaille <akim@epita.fr>
11320 * atgeneral.m4 (AT_INIT): Use $SHELL.
11321 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
11323 2001-05-31 Akim Demaille <akim@epita.fr>
11325 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11327 From Paul Eggert and Lars Hecking.
11329 2001-05-31 Akim Demaille <akim@epita.fr>
11331 * tests/base.at: Adjust line numbers in error messages.
11333 2001-05-31 Akim Demaille <akim@epita.fr>
11335 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
11336 to emit the bangshe line.
11337 Reported by David Carter.
11339 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
11341 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
11342 Fortran (95) compilers to check.
11344 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
11346 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
11349 2001-05-23 Pavel Roskin <proski@gnu.org>
11351 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
11352 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
11353 (AC_PROG_CXXCPP): Likewise.
11355 2001-05-22 Akim Demaille <akim@epita.fr>
11357 * config: New directory.
11358 * configure.in: AC_CONFIG_AUX_DIR it.
11359 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
11361 2001-05-22 Akim Demaille <akim@epita.fr>
11363 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
11364 * autoupdate.in: Specify the Emacs mode.
11365 * acversion.m4.in: Rename as...
11366 * acversion.m4: this.
11367 * tests/Makefile.am (CLEANFILES): More garbage.
11369 2001-05-22 Akim Demaille <akim@epita.fr>
11371 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
11373 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
11376 2001-05-21 Akim Demaille <akim@epita.fr>
11378 * configure.in: Bump to 2.50a.
11382 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
11384 This file is part of GNU Autoconf.
11386 GNU Autoconf is free software; you can redistribute it and/or modify
11387 it under the terms of the GNU General Public License as published by
11388 the Free Software Foundation; either version 2, or (at your option)
11391 GNU Autoconf is distributed in the hope that it will be useful,
11392 but WITHOUT ANY WARRANTY; without even the implied warranty of
11393 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11394 GNU General Public License for more details.
11396 You should have received a copy of the GNU General Public License
11397 along with autoconf; see the file COPYING. If not, write to
11398 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11399 Boston, MA 02110-1301, USA.