1 2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
6 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
8 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
10 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
12 2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
13 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
16 warnings (uninitialized value).
17 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
19 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
21 (AC_STRUCT_TM): Likewise, avoid unused variables.
23 2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
25 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
26 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
27 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
28 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
31 2006-09-19 Eric Blake <ebb9@byu.net>
33 * m4/m4.m4: Change copyright.
34 * configure: Regenerate.
35 * Makefile.in: Likewise.
36 * bin/Makefile.in: Likewise.
37 * doc/Makefile.in: Likewise.
38 * lib/Makefile.in: Likewise.
39 * lib/Autom4te/Makefile.in: Likewise.
40 * lib/autoconf/Makefile.in: Likewise.
41 * lib/autoscan/Makefile.in: Likewise.
42 * lib/autotest/Makefile.in: Likewise.
43 * lib/emacs/Makefile.in: Likewise.
44 * lib/m4sugar/Makefile.in: Likewise.
45 * man/Makefile.in: Likewise.
46 * tests/Makefile.in: Likewise.
48 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
49 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
50 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
51 --error-output, to avoid warnings with M4 2.0.
53 2006-09-19 Stepan Kasal <kasal@ucw.cz>
55 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
56 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
57 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.
59 2006-09-15 Stepan Kasal <kasal@ucw.cz>
61 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
62 expansion of AC_CHECK_FUNCS.
64 2006-09-14 Stepan Kasal <kasal@ucw.cz>
66 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
67 mistaken comment: the path has to be relative; do not use
70 2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
73 argument to `--prefix' for sub-configure scripts.
74 Pass `--silent' to sub-configure scripts.
75 * tests/torture.at (Configuring subdirectories): Add tests
77 * doc/autoconf.texi (Setting Output Variables): Fix example to
78 not show `--silent' being passed to a `configure' re-run.
80 2006-09-12 Paul Eggert <eggert@cs.ucla.edu>
82 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
83 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
84 for the existence of the directory at configure-time. That's
85 too late, anyway. Problem reported by Stefan Seefeld.
87 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
88 7.1.4 /usr/bin/posix/sh described by Tim Rice in
89 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
91 2006-09-11 Stepan Kasal <kasal@ucw.cz>
93 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
94 works with GNU M4 1.4.3 again; make the normalized form
95 match the current m4 message; fix the description.
96 * test/tools.at (autom4te cache): Adapt to the change.
98 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
100 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
101 to catch glibc bug 2821
102 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
104 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
105 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
106 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now
109 2006-09-08 Stepan Kasal <kasal@ucw.cz>
111 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
113 (Autoconf): ... here.
114 (Autoscan-preselections): Delete.
116 2006-09-07 Stepan Kasal <kasal@ucw.cz>
118 * lib/autom4te.in (Automake-preselections): Preselect
121 2006-09-05 Paul Eggert <eggert@cs.ucla.edu>
123 * doc/autoconf.texi (Preset Output Variables): srcdir and
124 top_srcdir are not necessarily relative. Problem reported
127 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
129 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
130 f90/f95 because the latter drivers of AIX Fortran 9.1 do not
131 accept files with extension `.f'. For consistency, also prefer
133 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug
136 2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>
138 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
139 of ERLANG_LIB_VER_* variables.
140 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
143 2006-09-03 Paul Eggert <eggert@cs.ucla.edu>
144 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
146 * doc/autoconf.texi (Limitations of Builtins): Document 'unset'
147 bugs of Bash 2.01 and 2.05a.
148 (Fortran Compiler): Document that AC_PROG_CC should be called
149 before AC_PROG_FC, due to a bug in Autoconf.
151 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
153 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
154 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
155 except the first two arguments are reversed.
156 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
157 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer
158 caches nor outputs a diagnostic. Suggested by Bruno Haible.
159 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
160 equivalent to the old AC_COMPUTE_INT.
161 (AC_COMPUTE_INT): No longer caches or reports. New signature.
162 All uses changed to AC_CACHE_CHECK_INT.
163 * tests/base.at (AC_CACHE_CHECK_INT): New test.
164 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.
166 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
168 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
169 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New
170 programs should use their Gnulib counterparts.
171 * doc/autoconf.texi (Particular Functions): Likewise.
172 (Macro Names, testsuite Invocation): Replace uses of these
173 obsolete macros with uses of non-obsolete macros.
175 2006-08-29 Eric Blake <ebb9@byu.net>
177 * configure.ac (AC_INIT): Bump to 2.60b.
180 2006-08-28 Eric Blake <ebb9@byu.net>
182 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
183 mistakenly swapped on 2006-08-15.
185 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
187 * NEWS: Version 2.60a.
189 2006-08-25 Stepan Kasal <kasal@ucw.cz>
191 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
192 file created by the PGI compiler.
194 2006-08-25 Noah Misch <noah@cs.caltech.edu>
196 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
199 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
201 Fix Lex library problem reported to us by Julio Garvia.
202 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
203 for the default, which the user can override.
204 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
206 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
207 didn't work if some values were cached but not others. Test for
208 broken lex libraries like native ia64-hp-hpux11.22; see
209 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
210 work around the problem by preferring an empty LEXLIB to -lfl or
211 -ll. Let the user set LEXLIB='' to indicate no library needed.
213 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
215 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
217 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
219 Rework to use more-modern build style.
220 Many files are renamed; all uses of their names were changed.
221 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.
222 * .x-sc_useless_cpp_parens: New file.
223 * build-aux/config.guess: Renamed from config/config.guess. Update.
224 * build-aux/config.sub: Renamed from config/config.sub. Update.
225 * build-aux/elisp-comp: Renamed from config/elisp-comp.
226 * build-aux/install-sh: Renamed from config/install-sh. Update.
227 * build-aux/mdate-sh: Renamed from config/mdate-sh.
228 * build-aux/missing: Renamed from config/missing.
229 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.
230 * build-aux/vc-list-files: Renamed from config/vc-list-files.
231 * config/Makefile.am: Removed.
232 * config/mkinstalldirs: Removed.
233 * config/move-if-change: Removed.
234 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.
235 * Makefile.am (SUBDIRS): Remove config.
236 (ACLOCAL_AMFLAGS): Include from m4, not config.
237 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
238 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
239 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake.
240 Fail if there's an error.
241 * Makefile.cfg (move_if_change): Remove.
242 (wget_files): Remove.
243 (cvs_executable_files): New macro.
244 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.
245 (executable-update): Use $(cvs_executable_files).
246 (local-checks-to-skip): Remove.
247 * Makefile.maint: Merge from coreutils, plus add our own changes
248 (gzip_rsyncable): New macro.
250 (CVS_LIST): Use build-aux/vc-list-files.
251 (VERSION_REGEXP): New macro.
252 (local-checks-available): Add patch-check, $(syntax-check-rules),
254 (syntax-check-rules): Compute dynamically.
255 (sc_cast_of_x_alloc_return_value): Work even if no source files.
256 (sc_cast_of_alloca_return_value): Likewise.
257 (sc_prohibit_atoi_atof): Simplify regexp.
258 (sc_no_if_have_config_h, sc_require_config_h):
259 (sc_prohibit_assert_without_use,
260 (sc_obsolete_symbols): Check for O_NDELAY.
261 (sc_texi_notab): Remove.
262 (sc-changelog): Don't make an exception for '----' lines.
263 (.re-list): Remove, so we don't have a junk file behind.
264 (sc_system_h_headers): Remove the need for .re-list.
265 (sc_the_the): New rule.
266 (sc_tight_scope): Simplify.
267 (sc_trailing_blank): Renamed from sc_trailing_space.
268 (longopt_re): New macro.
269 (sc_two_space_separator_in_usage): New rule.
270 (sc_unmarked_diagnostics): Look at all files under CVS.
271 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
272 (news-date-check, changelog-check): Version is OK.
273 (po-check): Look for lib files even if not in CVS.
274 (copyright-check): Use $() not ``.
275 (maintainer-distcheck): Do not depend on changelog-check.
276 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
277 Also check for -Wpointer-arith.
278 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
279 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
281 (announcement): Add --gpg-key-id arg.
283 (move_if_change): Just use mv.
284 (local_updates: Remove wget-update, po-update.
285 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
286 (config.guess-url_prefix, config.sub-url_prefix): Remove.
287 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
288 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
289 ($(get-targets)): Remove.
290 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
291 (gnulib_repo): Renamed from automake_repo. Get from gnulib now.
292 (cvs-update): Get from gnulib.
293 (emut_upload_commands): gnupload is in build-aux now.
294 (alpha beta major): Add changelog-check. Check version.
295 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
296 (AC_CONFIG_FILES): Remove.
297 * bin/autoconf.as: Add spaces to avoid distcheck warning.
298 * config/announce-gen: Sync from coreutils.
299 * doc/make-stds.texi: Sync from gnulib.
300 * doc/standards.texi: Likewise.
301 * man/Makefile.am: Adjust for config -> build-aux renaming.
302 * tests/Makefile.am: Prefer $(FOO) to @FOO@.
303 * tests/local.at: Adjust from config -> build-aux renaming.
304 * tests/tools.at: Likewise.
305 * tests/torture.at: Likewise.
307 * NEWS: The C99 check now tests for vararg macros and 64-bit
309 * doc/autoconf.texi (C Compiler): Document // comments, va_copy.
310 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
311 64-bit preprocessor ints. Check for static initialization of
312 long long. Remove unnecessary casts.
314 2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
316 * doc/autoconf.texi (Particular Programs): Mention that
317 @INSTALL@ and @MKDIR_P@ may vary for different output files.
318 Reported by Alexandre Duret-Lutz.
320 2006-08-24 Paul Eggert <eggert@cs.ucla.edu>
322 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
323 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by
325 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.
327 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
329 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
330 pacify insanely picky compilers. Problem reported by Eric Blake.
332 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
333 longer supported by Sun.
335 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
337 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
338 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
339 -Wundef -Werror". Problem reported by David Fang in
340 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
341 * doc/autoconf.texi (Header Templates, Default Includes):
342 (Particular Functions, Generic Functions, Header Portability):
343 (Particular Headers, Generic Headers, Generic Declarations, Guidelines):
344 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
345 (Present But Cannot Be Compiled, Preprocessor Symbol Index):
346 Prefer #ifdef to #if.
347 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
348 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
349 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
350 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
352 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
353 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
354 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
355 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
356 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
357 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
360 2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
362 * doc/autoconf.texi (Limitations of Usual Tools): Document sed
363 problems with arg script text that doesn't end in newline, and
364 with '-e a...'. Problems reported by Ralf Wildenhues.
366 2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)
368 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
369 check for libXt by a check for libX11.
371 2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 * doc/autoconf.texi (config.status Invocation): Adjust according
376 2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
378 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
379 --help' should mention that `--version' outputs configuration
380 settings. Report by Bruno Haible.
382 2006-08-06 Paul Eggert <eggert@cs.ucla.edu>
384 Fix test suite failures reported by Pierre in
385 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
386 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
387 the compiler created a file "b.out" when it didn't create anything
389 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
390 Discard stderr too, when invoking the test script.
392 2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)
394 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
395 in the restoring of the werror flag.
397 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
399 * doc/autoconf.texi (Volatile Objects): Be even a little
400 less skeptical about "volatile", after discussion with
401 Bruno Haible on bug-gnulib.
402 (Limitations of Usual Tools): Warn about sed stripping
403 leading white space from text. From Bruno Haible.
405 2006-07-20 Paul Eggert <eggert@cs.ucla.edu>
407 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
408 compiler complains about it, even if things works after the
409 complaint. Problem reported by Peter O'Gorman.
411 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
412 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.
413 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
415 2006-07-17 Paul Eggert <eggert@cs.ucla.edu>
417 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space
418 after -R regardless of host. Patrick Welche reports that this
419 fixes things on NetBSD 3.99.
421 * NEWS: Recommend M4 1.4.5.
423 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
424 * tests/tools.at (autom4te cache): Update wording of diagnostic
427 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
429 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
431 (Volatile Objects): Be a little less skeptical about what
432 "volatile" means. Derived from thoughts by Ben Pfaff in
433 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
435 2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
437 * doc/autoconf.texi: Fix some typos.
439 2006-07-07 Paul Eggert <eggert@cs.ucla.edu>
441 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
442 more globally, since the 2006-06-30 patch didn't suffice. Problem
443 reported by Keith Marshall. Also, don't bother with builddir2,
444 since it shouldn't be needed any more.
446 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
448 * doc/autoconf.texi (Generic compiler characteristics):
449 Document AC_COMPUTE_INT. Fix wrong statements on Default
450 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.
452 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
453 (_AC_COMPUTE_INT): Add obsoletion warnings.
454 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
457 * NEWS: Document change.
459 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
461 * doc/autoconf.texi (Volatile Objects): New section.
463 * NEWS: Document previous change.
465 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
467 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
468 Require that long long int be at least 64 bits wide. C99 requires
469 this and enough programs depend on it so we should check for it.
470 Bruno Haible reports in
471 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>
472 that long long int is 32 bits wide with some nonstandard compilers.
473 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
475 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
477 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
478 to a nonexistent file, so that we don't have to worry about
479 a local site configuration that doesn't use /usr/local.
480 Problem reported by Keith Marshall in
481 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
483 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
485 * doc/autoconf.texi: Be more consistent about using @acronym with
486 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't
487 quite right (it talked about "OSF/Tru64", even though the
488 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
489 and it even mentioned "OSF 4"!) and at this point there's little
490 reason to talk about OSF any more, since it died in 1994.
491 (Specific Compiler Characteristics): Simplify example of
493 (File Descriptors): Reorder to make the text flow better.
494 Remove joke about "appreciate the various levels"; I didn't get it.
495 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
496 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
497 (File Descriptors, Limitations of Usual Tools):
498 Tone down the advice against renaming or removing open files.
499 (Limitations of Usual Tools): Add a new section, on 'rm'.
501 2006-06-26 Stepan Kasal <kasal@ucw.cz>
503 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
504 -lXt in LIBS, idea from Karsten Hopp; this was due since
507 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
508 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
509 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
510 (which belong to Xt, not X itself). See Debian bug 327655.
512 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
514 * configure.ac (AC_INIT): Bump to 2.60a.
517 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521 * configure.ac, NEWS: Update.
523 2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
525 * config/texinfo.tex: Sync from upstream.
527 * bin/autom4te.in (handle_traces): Transform the `@S|@'
528 quadrigraph correctly in traces.
530 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:
533 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
534 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
536 * doc/autoconf.texi (Changed Directory Variables): New node,
537 to document the whole `datarootdir' business a bit better.
539 * tests/torture.at (datarootdir workaround): Extend test.
540 Prompted by report by Alexandre Julliard.
542 2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
544 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility
545 when using default mode of IBM C 6 for AIX. Problem and two-line
546 fix reported by Larry Jones.
548 2006-06-22 Alexandre Julliard <julliard@winehq.org>
550 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
551 about literal '${datarootdir}' if a definition is found in the
554 2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
556 * NEWS: Use "M4" rather than "m4" when appropriate.
557 Problem reported by Eric Blake.
558 * doc/autoconf.texi: Likewise.
559 Use @acronym around BSD, GCC, and GNU when appropriate.
560 (Why GNU M4): Renamed from "Why GNU m4".
561 (Redefined M4 Macros): Mention that Posix
562 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
563 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
566 2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
568 * bin/autom4te.in (handle_output): Do not forbid the empty
570 * tests/tools.at (autoconf: the empty token): New test.
572 2006-06-20 Stepan Kasal <kasal@ucw.cz>
574 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap
575 calls, so that we do not care whether they are LIFO or FIFO;
576 in the m4_wrap, do not check which diversion is the topmost
577 one, just check that the stack is balanced at the end.
578 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the
579 base diversion forever--pop the previous diversion before
580 opening the new one; consequently, remove the m4_wrap call.
581 * lib/autotest/general.m4 (AT_INIT): Likewise.
582 * tests/m4sugar.at: Do not use
583 m4_wrap([m4_diversion_pop([..])]), for educational purposes.
585 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
586 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
588 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
589 * doc/autoconf.texi (Redefined M4 Macros): Likewise.
590 Rework example of m4wrap token-pasting trouble so that it doesn't
591 care whether it's LIFO or FIFO.
592 Fix some "contrary to"s that are awkward in English.
594 2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
596 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'
597 to `yes' instead of `int$1_t' if the type is found, for more
598 consistent configure output (where $1 is the number of bits).
599 (_AC_TYPE_UINT): Likewise for `uint$1_t'.
600 Suggested by Bruno Haible.
602 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
603 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
604 with system headers. Report by Bruno Haible.
606 2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
608 * config/config.guess, config/config.sub: Sync from upstream.
610 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
611 in order to avoid picking up an older installed frozen m4sh.m4f.
612 Besides an outdated shell startup, this could have been created
613 by an earlier M4 version with incompatible frozen file format.
615 2006-06-16 Paul Eggert <eggert@cs.ucla.edu>
617 * README: Recommend m4 1.4.4 instead of 1.4.3..
618 * doc/autoconf.texi: Likewise.
619 (Special Chars in Names): Say that $(.FOO) is portable, as
620 suggested by Stepan Kasal.
621 (Installation Directory Variables, Build Directories):
622 (Automatic Remaking, Subdirectories, Fortran Compiler):
623 (Making testsuite Scripts, Defining Directories):
624 Quote variable usages better.
625 (Making testsuite Scripts): Add clean-local rule to makefile
626 snippet, by Eric Blake.
627 (Installation Directory Variables): Fix table item font.
628 Reword slightly to clarify. Generalize advice about
629 not using special characters to include all file-related
630 vars, not just VPATH.
631 (Special Chars in Variables): Warn about special characters in
633 (Assignments): Clarify default-value example as suggested by
635 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
636 (Special Shell Variables): Note leading ./ or ../, as suggested
638 (Limitations of Builtins): Under cd, warn about CDPATH.
639 (The Make Macro MAKEFLAGS): Untabify. Problem reported by
642 2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * doc/autoconf.texi (Configuration Actions): Remove duplicate
645 `@var', for texi2html.
646 (Systemology): Some more word wrapping, for DVI output.
647 (autom4te Invocation): The short option for `--melt' is `-M',
650 2006-06-15 Paul Eggert <eggert@cs.ucla.edu>
652 * doc/autoconf.texi: More formatting and English tweaks,
653 many suggested by Ralf Wildenhues.
654 Reword to avoid "@code{...}'s" and the like, since it's ugly
655 with Emacs info mode. discontents -> woes.
656 Put a few "will"s back. time stamp -> timestamp.
657 side-effect -> side effect.
659 2006-06-14 Paul Eggert <eggert@cs.ucla.edu>
661 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
662 Warn about $@ not persisting. Problem reported by Julien Danjou in
663 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
664 (Special Chars in Names): Renamed from Leading _ in Macro Names.
665 Mention other special chars, too.
667 2006-06-14 Eric Blake <ebb9@byu.net>
669 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
671 2006-06-13 Paul Eggert <eggert@cs.ucla.edu>
673 * doc/autoconf.texi: Some systematic minor improvements, as
674 follows. Use "makefile" when talking about makefiles
675 generally (which might be named "makefile" or "Makefile" or even
676 "foo.mk"), "Makefile" when talking about a specific makefile
677 called "Makefile". This unclutters the text from weird quotes
678 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}
679 values" rather than "@var{foo}s" and similar constructs containing
680 "}s". Use "Make rules" rather than "Makefile rules". Minor
681 English-language improvements. Change the prefix "sub-" to "sub"
683 Put blank lines around examples more consistently.
684 Avoid "rather" and "very" as intensifiers.
685 Avoid "will" as an auxiliary.
686 (Limitations of Make): Split this node into....
687 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
688 (Leading _ in Macro Names, Backslash-Newline-Newline):
689 (Backslash-Newline Comments, Long Lines in Makefiles):
690 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
691 (obj/ and Make, make -k Status, VPATH and Make):
692 (VPATH and Double-colon, $< in Explicit Rules):
693 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
694 (Make Target Lookup, Single Suffix Rules, Timestamps and Make):
695 New nodes, resulting from splitup of Limitations of Make.
696 All cross-references changed. Raise the top node from
697 a section to a chapter, and all subnodes accordingly.
698 Redo the introductory wording to match the new organization.
699 (Installation Directory Variables): Use an example that is
700 closer to what Autoconf actually does. Mention that VPATH's
701 value should not contain metacharacters or white space.
702 (Fortran Compiler): Fix a VPATH bug in an example.
703 (Leading _ in Macro Names): Mention that this problem is no longer
704 of practical concern.
705 (VPATH and Make): Reword the advice to make it clearer
706 that Autoconf and Automake support VPATH in non-GNU make, but
707 many packages have bugs in this area.
708 ($< in Explicit Rules): Refer to Build Directories rather
709 than using a (non-VPATH-safe) example.
710 (Automatic Rule Rewriting): Mention the sort of disaster that
711 can ensue with Solaris-style rule rewriting with VPATH.
713 2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
715 * doc/install.texi (Compilers and Options): Weaken the
716 suggestion to use GNU make for VPATH builds.
718 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
719 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.
721 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
722 in regular expression.
724 2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
726 * doc/autoconf.texi (Installation Directory Variables):
727 Drop extra @samp from `@table @samp' item.
728 (Limitations of Usual Tools): Comment fix.
729 Do not nest @samp just to point to other table items.
730 (Writing testsuite.at) <AT_CHECK>: The second argument to
731 `@dvar' is already @samp'ed.
732 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
733 do not use @var in the second argument.
735 2006-06-07 Paul Eggert <eggert@cs.ucla.edu>
737 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
738 $as_shell.exe too. Problem reported by Andreas Buening in
739 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.
741 2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
743 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
744 `unused variable' compiler warning, for `-Wall -Werror'.
745 Reported by Jaap Haitsma in
746 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.
748 2006-06-06 Paul Eggert <eggert@cs.ucla.edu>
750 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
751 case the compiler dumps core. Problem reported for
752 OpenServer 5.0.7 by Tim Rice in
753 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.
754 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
757 2006-06-06 Tim Rice <tim@multitalents.net>.
759 * lib/freeze.mk: Quiet check-forbidden-patterns so the string
760 "ERROR" only shows up in "make check" output if there is an
763 2006-06-06 Eric Blake <ebb9@byu.net>
765 * tests/tools.at (automatically allowed tokens): Fix typo.
767 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
769 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
771 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
772 typically overflows on x86 CPUs, even though the C standard
775 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
777 * configure.ac (AC_INIT): Bump to 2.59e.
780 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
784 * config/texinfo.tex: Sync from upstream.
786 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
787 seen, invoke libtoolize with `--ltdl' argument.
788 * lib/autom4te.in (Autoreconf-preselections): Adjust.
790 Suggested by Eric Blake.
792 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
794 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
795 reported by Ralf Wildenhues.
796 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
798 2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
802 2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
804 * doc/autoconf.texi: Modernize some of the references to Solaris.
806 2006-06-05 Stepan Kasal <kasal@ucw.cz>
808 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
809 message issued by AC_REQUIRE.
810 * tests/m4sugar.at: Check m4_require's error message.
811 * tests/base.at: Check AC_REQUIRE's error message.
812 * tests/local.at (AT_CHECK_M4): New macro, almost identical
814 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
816 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support
817 `expout' as the last parameter.
818 * tests/tools.at: Adapt to the above change.
820 2006-06-04 Stepan Kasal <kasal@ucw.cz>
822 * doc/autoconf.texi (Limitations of Usual Tools): Correct
823 information about race-free implementations of mkdir.
825 2006-06-04 Eric Blake <ebb9@byu.net>
827 * bin/autoreconf.in (help): Document M4 environment variable.
828 * bin/autoconf.as (Usage): Likewise.
829 * bin/autom4te.in (help): Likewise.
830 * doc/autoconf.texi (autom4te Invocation): Likewise.
832 2006-06-04 Paul Eggert <eggert@cs.ucla.edu>
834 * NEWS: GNU make now recommended for VPATH builds.
835 Mention that some macros are now documented to be obsolescent.
837 Prefer "current" to "modern" to describe
838 currently-used (albeit perhaps old-fashioned) hosts.
839 Mention which ancient features no longer need to be worried about.
840 setgid -> set-group-ID
841 setuid -> set-user-ID (these are the Posix terms)
842 Fix some misuses of "only".
843 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
844 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
845 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
846 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
847 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
848 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
849 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
850 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
851 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
852 Mention that these macros are obsolescent.
853 (Installation Directory Variables): shall -> should
854 (File Descriptors): Mention that 0, 1, 2 might get reopened.
855 Mention that it's now safe to use 3 and 4.
856 (Limitations of Usual Tools): cp -r is now specified by Posix.
857 Omit longwinded and obsolescent discussion of cp -f.
858 Modernize discussion of expr, ls.
859 (Limitations of Make): Modernize discussion of VPATH builds.
860 Mention $? as a workaround in some cases.
861 * doc/install.texi (Basic Installation):
862 Mention "./configure; make; make install" first. Be more
863 specific about why this file is generic. Remove unnecessary
864 parens. Remove misleading "only". Remove obsolete advice
865 about csh. Don't say "configure" takes awhile; say it
866 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,
867 and CC=c99 rather than CC=c89, as these are blessed by current
868 Posix. Recommend GNU make if doing a VPATH build.
870 2006-06-03 Paul Eggert <eggert@cs.ucla.edu>
872 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
873 examples involving shell prompts.
875 2006-06-02 Stepan Kasal <kasal@ucw.cz>
876 and Paul Eggert <eggert@cs.ucla.edu>
878 * doc/autoconf.texi (Here-Documents): Add details about the
879 pre-ksh93g bug. Reword slightly to make it clearer. Consistently
880 use "here-documents" instead of "here documents".
882 2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
884 * config/texinfo.tex, doc/standards.texi: Sync from upstream.
886 2006-06-01 Paul Eggert <eggert@cs.ucla.edu>
888 * doc/autoconf.texi (File System Conventions): Warn about ":"
889 anywhere in directory names.
891 2006-05-31 Paul Eggert <eggert@cs.ucla.edu>
893 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
894 about quoting the case statement, just in case.
895 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug
896 was fixed in ksh93g; reported by Ralf Wildenhues.
898 2006-05-31 Stepan Kasal <kasal@ucw.cz>
900 * doc/autoconf.texi (System Services): Do not document
901 overriding EXEEXT via ac_cv_exeext=ext.
902 (Particular Programs) <AC_PROG_MKDIR_P>:
903 Document that ${MKDIR_P} understands --.
904 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
907 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
909 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
910 argument with leading hyphen. Problem reported by Paul Eggert.
912 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
914 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
915 about quoting ac_try: quote all of it, if any of it seems suspicious.
916 This means we don't have to worry about ${ or sed any more.
917 Also, double-quote the case statement, to work around misuses via
918 underquoting as reported by Ralf Wildenhues in
919 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.
920 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this
921 undocumented and dangerous macro.
922 Problem reported by Ralf Wildenhues in
923 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.
925 2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
927 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
928 `dirname -- /' returns `/', for SunOS dirname scripts that escaped.
929 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.
931 2006-05-30 Paul Eggert <eggert@cs.ucla.edu>
933 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
934 since evidently some packages rely on the old, broken behavior.
935 Problem reported by Ralf Wildenhues in
936 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.
937 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the
938 pre-2006-05-26 definitions, but leave in the comments that
939 these macros are dangerous and should not be used.
940 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.
941 (_AC_DO): Renamed from _AC_EVAL. All callers changed.
942 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.
943 (_AC_DO_VAR): Renamed from AC_TRY_EVAL.
944 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.
946 2006-05-29 Paul Eggert <eggert@cs.ucla.edu>
948 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
949 the use of 'tr', since this is our only use of 'tr'.
951 2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952 and Paul Eggert <eggert@cs.ucla.edu>
954 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
955 Don't assume 'grep' works on long lines, since AIX grep doesn't.
957 2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
959 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
960 the output file in the `${datarootdir}' test.
962 2005-05-28 Stepan Kasal <kasal@ucw.cz>
963 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
965 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
966 mention of `datarootdir' in the input file(s), but literal
967 `${datarootdir}' in the output file, and we haven't warned yet,
968 then warn as well: the user may have (erroneously) used
969 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct
970 `AC_SUBST([mydatadir], ['${datadir}/my'])'.
971 * tests/torture.at (datarootdir workaround): Extend this test.
974 2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
975 and Paul Eggert <eggert@cs.ucla.edu>
977 * doc/autoconf.texi (autoheader Invocation): The first argument to
978 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the
979 alternatives and clear up the language a bit.
981 2006-05-27 Paul Eggert <eggert@cs.ucla.edu>
983 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
984 ac_config_guess, ac_config_sub, ac_configure.
985 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
986 Fix typo that prevented an unnecessary space from being removed.
987 Problems reported by Ralf Wildenhues in:
988 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html
990 2006-05-26 Paul Eggert <eggert@cs.ucla.edu>
992 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
993 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
994 Don't use the term "thread-safe" to talk about mkdir race
995 conditions, since the problem is more a process than a thread
996 issue. Problem reported by Stepan Kasal in:
997 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
998 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
999 the test for 'install' more closely. Look at MKDIR_P first.
1000 Look in the PATH, and at /opt/sfw/bin.
1001 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
1002 Don't bother to try mkdir -p, since we already check mkdir --version;
1003 just look at the version number. (There's no easy way to check
1004 for race-free implementations.)
1005 * tests/tools.at (autoconf: subdirectories): Adjust to above
1006 changes, since MKDIR_P now might end in "/mkdir -p".
1008 * doc/autoconf.texi (autoheader Invocation): Mention that the
1009 first arg of AC_DEFINE_UNQUOTED must be a literal.
1010 Problem reported by Ben Pfaff in
1011 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
1013 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
1014 * doc/autoconf.texi (Special Chars in Variables): New section.
1015 (Preset Output Variables): Warn about special chars in CPPFLAGS.
1016 (Installation Directory Variables): Quote $(datadir) better.
1017 (Limitations of Builtins): Describe some of eval's trickiness.
1019 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
1020 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
1021 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
1022 in front of every arg, not just trailing args. Quote apostrophes.
1023 (_AC_EVAL_ECHO): New macro.
1024 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.
1025 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
1027 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
1028 exposed by quoting of eval argument. Put the command on line line
1030 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
1031 (_AC_PATH_X, AC_PATH_X): Quote more safely.
1032 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
1033 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
1034 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
1035 Handle special chars in prefix, ac_srcdir, ac_aux_dir.
1036 Use eval more safely.
1037 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
1038 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
1040 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
1041 lines, exposed by quoting of eval argument.
1043 2006-05-26 Stepan Kasal <kasal@ucw.cz>
1044 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1046 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
1047 initialization of `ac_cv_exeext', do not override it if it was
1048 already set, unless it was set to `no', for compatibility with
1049 Autoconf-2.13, and comment this.
1050 Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
1051 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
1052 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
1053 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
1054 Document that this test may be overridden by setting
1057 2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1059 Revert these two patches:
1061 2006-04-06 Eric Blake <ebb9@byu.net>
1062 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1063 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1066 2006-04-01 Stepan Kasal <kasal@ucw.cz>
1067 Clean up _AC_COMPILER_EXEEXT* macros.
1068 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
1069 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
1070 ac_file to the name of the default output file and call
1071 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
1072 initial `rm' of the candidate files...
1073 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
1074 the same list in subsequent `rm' calls, and for the temporary
1075 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
1076 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
1077 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
1078 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
1079 no longer needed) by libtool. Make it a cache check.
1080 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
1081 copied here by mistake.
1082 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
1083 _AC_COMPILER_EXEEXT.
1084 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
1085 _AC_COMPILER_OBJEXT directly.
1086 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1088 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1090 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
1091 Fix description of how the buggy `sed' works.
1093 2006-05-25 Noah Misch <noah@cs.caltech.edu>
1097 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
1098 ENOLCK. Only mention `make -j' when applicable. Only raise
1099 fatal errors when `make -j' is involved. Improve error message.
1101 2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1103 * doc/autoconf.texi (Here-Documents): We now know more about
1104 the variable expansion in here documents bug.
1105 Thanks to Tim Rice and Stepan Kasal.
1107 * doc/autoconf.texi (Making testsuite Scripts): Add an example
1108 how to use TESTSUITEFLAGS. Suggested by Eric Blake.
1110 2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1112 * tests/autotest.at (Multiline command from M4 expansion):
1113 No failure to be expected if the shell quotes newlines in
1114 commands in the `set -x' output. Report by Tim Rice.
1117 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
1119 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
1120 expansion in the here-documents used by config.status, as that
1121 runs afoul of the Korn shell version M-12/28/93d bug described in
1122 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
1123 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
1124 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.
1126 2006-05-23 Jim Meyering <jim@meyering.net>
1128 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
1129 Fix typo introduced with 2006-04-02 change. It reversed the sense
1132 2006-05-23 Paul Eggert <eggert@cs.ucla.edu>
1134 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
1135 ac_dB slightly, to save bytes in the script.
1136 Max out at 50 lines, rather than 96; this is more likely
1137 (though not guaranteed) to avoid obscure 'sed' failures.
1139 2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1141 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
1142 `tr -d -' as bad option argument. Work around this by deleting
1143 an unrelated character.
1144 Report by Tim Rice <tim@multitalents.net>.
1146 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,
1147 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1148 Stepan Kasal <kasal@ucw.cz>
1150 * doc/autoconf.texi (Particular Programs): Do not promise that
1151 we always prefer the GNU version of the program, and that we
1152 search according to PATH; both rules can have exceptions.
1153 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
1154 AC_PROG_SED. Move descriptions of limitations
1155 to the Limitations of Usual Tools section.
1156 (Limitations of Usual Tools) <sed>: Mention script length
1157 limitations with Solaris /usr/ucb/sed.
1158 <grep>: Fix wording for empty alternative. Mention that -c and
1159 -l should not be combined, and that -E and -F should not be
1162 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
1163 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1165 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
1166 limits in Solaris 8 /usr/ucb/sed by testing a long script.
1168 2006-05-22 Stepan Kasal <kasal@ucw.cz>
1170 * doc/autoconf.texi (Defining Symbols): Literal parameter of
1171 AC_DEFINE is now passed to m4_pattern_allow.
1172 * NEWS: Mention that; likewise for AC_SUBST.
1173 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
1174 the parameter to m4_pattern_allow.
1175 * tests/tools.at: Add a check for that.
1177 2006-05-22 Stepan Kasal <kasal@ucw.cz>
1179 * lib/autoconf/status.m4: Fix typos.
1181 2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1184 only the files that this macro generates.
1186 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
1188 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
1189 the HP-UX sed limitation of 99 commands, labels do not count.
1190 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
1192 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
1194 2006-05-21 Paul Eggert <eggert@cs.ucla.edu>
1196 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
1197 Import the following fix from coreutils:
1199 2006-01-13 Jim Meyering <jim@meyering.net>
1201 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of
1202 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need
1203 not double-quote uses of that variable, to accommodate the rare
1204 case in which getmntent is available in none of the libraries
1205 checked. This happens at least on FreeBSD 5.0.
1207 2006-05-20 Paul Eggert <eggert@cs.ucla.edu>
1209 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
1210 ac_config_guess, ac_config_sub, and ac_configure, since evidently
1211 some other programs unwisely rely on these undocumented vars.
1212 But put in warning comments about them.
1213 Problem reported by Ralf Wildenhues in
1214 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
1215 * NEWS: Document that these variables are intended to go away.
1217 2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1219 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
1220 and set the language to C++ (analogous to the equivalent Fortran
1223 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
1224 * doc/autoconf.texi (C++ Compiler): Document it.
1225 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
1228 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
1230 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
1231 that caused config.status to generate 100-command sed scripts; the
1232 portable limit is 99.
1234 2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1236 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
1237 variable `ac_d' instead of `d' to avoid infringing namespace.
1238 Report by Ralf Menzel.
1240 2006-05-18 Paul Eggert <eggert@cs.ucla.edu>
1242 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
1243 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.
1244 * tests/tools.at (autoconf: subdirectories): New test, taken from
1245 the corresponding problem report by Ralf Wildenhues in:
1246 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html
1248 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
1249 Quote some uses of shell variables if they might suffer unexpected
1250 globbing. This doesn't fix all instances of quoting problems that
1251 I found, just the easy ones that look safe.
1252 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):
1253 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):
1254 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
1255 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.
1256 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.
1257 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1258 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):
1260 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
1261 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.
1263 2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1265 * bin/autoreconf.in ($help): Reword according to the manual.
1266 Suggested by Olly Betts.
1268 2006-05-17 Olly Betts <olly@survex.com> (tiny change)
1269 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1271 * bin/autoreconf.in: Pass the directory argument to
1272 `require_configure_ac'. Fix comment.
1273 * tests/torture.at (Configuring subdirectories): Expose this.
1274 Reported by Olly Betts.
1276 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1278 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
1279 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
1280 Automake as follows:
1282 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
1283 `$configure_in' instead of `configure.in', to preserve
1284 directory component.
1286 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1288 * config/config.guess, config/config.sub, config/texinfo.tex,
1289 doc/make-stds.texi, doc/standards.texi: Sync from upstream.
1291 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
1293 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
1294 test for C99 conformance; (bool) 0.5 is an integer constant
1295 expression, but (bool) -0.5 is not. Problem reported by Fedor
1296 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
1298 2006-05-13 Paul Eggert <eggert@cs.ucla.edu>
1300 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
1301 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
1302 Warn about obsolete install-sh files. Remove stray sentence
1303 fragment and fix cross reference.
1304 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
1305 install -d; this undoes the 2006-05-10 change.
1306 (MKDIR_P): Mark with AN_MAKEVAR.
1307 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
1308 that we don't require $INSTALL to be thread-safe. Move comments
1309 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead
1310 of AC_PROG_INSTALL. Output a message saying that we're checking
1311 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for
1312 MKDIR_P instead of AC_SUBST.
1313 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
1314 Special magic for MKDIR_P, too.
1315 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
1317 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
1319 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
1321 Sync from Automake, as follows:
1323 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1324 * config/install-sh: Initialize IFS, so field splitting isn't
1326 * config/mkinstalldirs: Likewise.
1327 * config/missing: Remove superfluous quotes. Replace all uses of
1328 `[' by `test', for consistency, and for..
1329 * config/missing (sed_minuso, sed_output): New variables.
1330 (autom4te, help2man, makeinfo): Use them. Unifies detection of
1331 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
1332 Fixes `missing' to detect `--output' for help2man. Fixes
1333 PR automake/483. Report by Dennis J. Linse.
1334 (autom4te): Document in `missing --help'.
1336 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
1338 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.
1339 * config/install-sh: Don't use 'path' to talk about file names,
1340 as per GNU coding standards. Close a race condition reported by Ralf
1341 Wildenhues and Stepan Kasal. There is still a race condition
1342 on hosts that predate Posix 1003.1-1992, but we can't help this.
1343 Don't mishandle weird characters like space on pre-Posix hosts.
1344 Invoke mkdir at most once per dir arg on pre-Posix hosts.
1345 * doc/autoconf.texi (Programming in M4sh): Cross-reference to
1346 AC_PROG_MKDIR_P from AS_MKDIR_P.
1347 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
1348 from mkdir. Mention that Autoconf 2.60 install-sh is safe but
1349 earlier editions are not (including Automake 1.8.3).
1350 Do not suggest mkinstalldirs for thread-safety.
1351 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'
1352 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.
1353 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
1354 presence of special characters and race conditions.
1355 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
1356 in Autoconf's name space.
1358 2006-05-10 Bruno Haible <bruno@clisp.org>
1359 and Paul Eggert <eggert@cs.ucla.edu>
1361 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
1362 from Automake with minor changes.
1363 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
1365 2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
1367 * config/install-sh: Update to Automake CVS version, as follows:
1368 2006-04-25 Stepan Kasal <kasal@ucw.cz>
1369 * lib/install-sh: Simplify the expr implementation of dirname.
1370 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
1371 * lib/install-sh: Handle --, and diagnose unknown options.
1373 2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1375 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
1376 `./autom4te' to create `./testsuite', since the `all' target
1377 will ensure its presence, but `installcheck' should not create
1378 the uninstalled wrappers.
1380 * tests/torture.at (Unusual Automake input files): Skip if we
1381 detect automake < 1.8.
1383 2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1385 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
1386 is set to `no', then that overrides and sets ac_cv_prog_cc_c89
1387 and ac_cv_prog_cc_c99 to `no', for backward compatibility.
1390 2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1392 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
1393 munge (multiple) white space and other oddities.
1394 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
1395 single quotes in variable assignment.
1396 (AC_ARG_VAR, configure invocation): Adjust tests to expose this
1397 and similar failures by adding multiple spaces, tabs, and other
1399 Report and different test suggested by Francesco Romani
1400 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>.
1402 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
1403 single quotes, we only need to search for single quotes; this
1404 both simplifies the search pattern, and makes us less
1405 susceptible to `echo' variations for arguments not containing
1407 (_AC_ARG_VAR_VALIDATE): Likewise.
1409 2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1411 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
1412 `$*' and IFS concatenation issue with traditional shells and
1413 bash-2.04. Report by Seanster@Seanster.com.
1415 2006-05-03 Bruno Haible <bruno@clisp.org>
1417 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
1418 precisely which Mac OS X versions have the od problem.
1420 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
1422 * doc/autoconf.texi: Use @option systematically.
1424 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
1425 and Bruno Haible <bruno@clisp.org>
1427 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
1429 (Integer Overflow): Mention the special case of integer division
1432 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1434 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
1435 traditional shells like the Solaris one that do not use the
1436 first IFS character for assembling `$*'.
1437 Prompted by a related report from autoconf_bug@nro.ca.
1439 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
1440 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1442 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
1443 Mention more problems with the -e option.
1445 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1448 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
1450 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
1451 in URLs to improve DVI formatted output (requires texinfo 4.6).
1452 (System Services, Systemology, Shellology): Likewise.
1453 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
1456 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
1458 (Runtime): Fix macro argument names to match description:
1459 `action-if-found' -> `action-if-true' and similarly.
1460 (Obsolete Macros): Likewise.
1461 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
1462 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
1463 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
1465 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1467 * doc/autoconf.texi (Limitations of Make): Clean up markup.
1470 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
1473 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1475 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
1476 /bin/sh set unsorted output.
1477 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
1478 * tests/local.at: Likewise.
1480 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
1482 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
1483 (Integer Overflow, Null Pointers, Buffer Overruns):
1484 (Floating Point Portability, Exiting Portably): New sections.
1485 (Writing Test Programs): Fix some langauge. Recommend exiting
1486 with status 1, not merely nonzero. Clarify exit declaration.
1487 (Run Time): Move C exit status stuff to new Exiting Portably section.
1488 (Systemology): Mention Posix and levenez. Update v7 reference.
1489 (Portable Shell): Mention the Posix shell.
1491 2006-04-25 Stepan Kasal <kasal@ucw.cz>
1493 * bin/autoconf.as (me): Replace by as_me.
1495 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
1497 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
1498 since as_me isn't set yet.
1500 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
1502 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
1503 a few minor bugs in this area.
1505 * doc/autoconf.texi (Programming in M4sh): Comment out the
1506 documentation of AS_BASENAME, for now.
1507 (Shell Substitutions): Do not use AS_DIRNAME in an example.
1508 (Limitations of Builtins) <basename>: Do not refer to
1510 * bin/autoconf.as (me): Don't use AS_BASENAME.
1511 (dir): Remove the unused variable.
1512 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
1513 AS_DETECT_REQUIRED. All uses changed.
1514 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
1516 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
1517 (AS_BASENAME): Use "basename --" to protect against leading "-".
1518 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
1519 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
1520 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
1521 (_AS_DIRNAME_PREPARE): Likewise.
1522 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
1523 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
1524 (AS_DIRNAME): Use "dirname --".
1526 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
1528 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
1529 of "run time" and "run-time" changed to "runtime", for consistency.
1530 * lib/autoconf/fortran.m4: Likewise (in comment).
1531 * lib/autoconf/functions.m4: Likewise.
1532 * lib/autoconf/general.m4: Likewise.
1533 * lib/autoconf/headers.m4: Likewise.
1535 * doc/autoconf.texi (Run Time): Document the exit status situation
1536 with more accuracy and detail.
1538 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1540 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
1541 Archive is not officially `GNU' any more. Update URL.
1542 (Defining Directories): Likewise
1543 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
1545 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1547 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
1548 newline from the `trap' code to finish `config.log'; the NetBSD
1549 /bin/sh resets the exit status after an empty command, as
1550 documented in doc/autoconf.texi.
1551 Reported by Dalibor Topic <robilad@kaffe.org>.
1553 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
1555 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
1556 Suggested by Bruno Haible.
1558 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
1560 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
1561 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
1562 Instead, just list the shells that we know work.
1563 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
1564 changed. Be more cautious about the _cv_ variable.
1565 * tests/tools.at (Syntax of the shell scripts): Check the
1566 _cv_ variable once, at first, to avoid an internal autoconf error
1567 when sh -n does not work.
1569 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1571 * lib/Autom4te/FileUtils.pm: Sync from Automake.
1573 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
1575 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
1576 use ">&-" since we're only 99.999% sure that this is portable,
1577 and since the MinGW bug is fixed in a different way.
1578 * lib/autotest/general.m4 (AT_INIT): Likewise.
1580 2006-04-16 Stepan Kasal <kasal@ucw.cz>
1582 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
1583 before opening config.log, to avoid hitting a bug on MinGW.
1585 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
1587 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
1588 AS_MESSAGE_LOG_FD before reopening it onto the log file.
1589 This works around a MinGW bug reported by Eric Paire.
1590 Make sure that all writes to the log file append to it,
1591 rather than possibly losing data.
1592 * lib/autotest/general.m4 (AT_INIT): Likewise.
1594 2006-04-14 Stepan Kasal <kasal@ucw.cz>
1596 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1599 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1603 * configure.ac (AC_INIT): Bump to 2.59d.
1605 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1609 * Makefile.maint (news-date-check): Do not require a leading `*'
1610 before the release date in NEWS.
1612 2006-04-12 Stepan Kasal <kasal@ucw.cz>
1613 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1615 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
1616 the instantiated file do not contain the string 'datarootdir'
1617 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
1618 @mandir@, replace the reference '${datarootdir}' by the value.
1619 * tests/torture.at (datarootdir workaround): New test.
1620 * NEWS: Advertise this temporary fixup.
1621 Based on a patch by Bruno Haible, reported and analyzed by
1622 Paul Eggert and Noah Misch.
1624 2006-04-12 Eric Blake <ebb9@byu.net>
1626 * tests/autotest.at (Debugging a failed test): Fix comment.
1628 2006-04-12 Stepan Kasal <kasal@ucw.cz>
1630 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
1631 all the changes since 2006-04-07.
1633 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1635 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
1636 succeeded, but `ln -s file dir' failed, take care to remove the
1637 leftover target before the next test, to prevent its spurious
1638 failure; also make sure `ln file dir' works before selecting it.
1639 Thanks to Keith Marshall for pointing this out.
1642 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
1643 assignments in `at_debug_args', so that we put them correctly
1644 in the `run' script.
1645 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
1646 Reported by Eric Blake.
1648 2006-04-11 Eric Blake <ebb9@byu.net>
1650 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
1651 top-level tests after micro-suite has been run. Used in...
1652 (Debugging a successful test, Debugging script and environment),
1653 (Debugging a failed test): ...these new tests. The first of these
1655 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
1656 macro, split out from...
1657 (AT_INIT): ...here, so that using -d also generates a run script.
1658 Document that -d inhibits top-level logging.
1659 * doc/autoconf.texi (testsuite Invocation): Document that -d only
1660 inhibits top-level logging; debug scripts are created.
1662 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
1664 * tests/autotest.at (Empty test, Empty check): New test to check it.
1666 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
1669 2006-04-10 Stepan Kasal <kasal@ucw.cz>
1671 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
1672 the files if a problem appears. Make the empty *.at files
1673 read-only, too. Proposed by Ralf Wildenhues.
1675 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1677 * config/Makefile.am: Add comment to force updated Makefile.in.
1679 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
1680 space only patch to this file, this patch causes the Makefile.in
1681 files that include freeze.mk to be updated, and thus have a
1682 newer time stamp again, which in turn makes a pristine CVS
1683 checkout have correct time stamps.
1685 * Makefile.maint (cvs-sv): New macro, to be used..
1686 (config.guess-url_prefix, config.sub-url_prefix)
1687 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
1688 point to CVS text checkout of Gnulib files.
1689 (copyright-check): Bump current year.
1690 (announcement): Do not hard-wire `./announce-gen'.
1691 (cvs-update): Propagate failures of `cvs' and `move-if-change'
1693 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
1695 (wget_files): Update config.guess, config.sub, texinfo.tex by
1696 `wget-update', now that their URLs work again.
1698 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
1700 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
1701 Problem noted by Paul D. Smith.
1703 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1705 * doc/autoconf.texi: Remove unused words from word list.
1706 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
1707 .x-sc_trailing_space: New files.
1709 * doc/standards.texi: Sync from gnulib.
1711 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
1712 `LIBOBJDIR' as experimental.
1714 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
1715 with a target directory; it's internally implemented as `cp'
1716 anyway, but since Autoconf advertises the possibility to use
1717 a target directory when LN_S is `ln -s', we need to find out.
1718 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
1719 analyzed by Keith Marshall <keith.marshall@total.com>.
1723 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
1725 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
1726 confdefs.h as-is. In general, if it has backslash-newline or the
1727 like, then it doesn't work either to sort or to remove empty
1730 2006-04-09 Stepan Kasal <kasal@ucw.cz>
1732 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
1734 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1736 * lib/autom4te.in (Automake-preselections): Preselect
1739 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
1741 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
1742 apostrophe within a single-quoted string, as this is the usual
1743 tradition and is easier to read than '"'"'. Don't rely on the
1744 shell treating "$/" like '$/'. Use a more-consistent indenting
1747 2006-04-09 Eric Blake <ebb9@byu.net>
1749 * tests/autotest.at (Backquote command substitution),
1750 (Multiline backquote command substitution): Remove mistaken
1751 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
1753 (Parenthetical command substitution, Multiline parenthetical
1754 command substitution): here.
1756 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
1758 Import macros from gnulib (often changing their name).
1760 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
1761 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
1762 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
1763 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
1764 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
1765 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1766 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
1767 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
1768 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
1769 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
1770 The manual mentions Gnulib more prominently.
1771 * doc/autoconf.texi (Gnulib): New node.
1772 (Pointers): Add Gnulib URL.
1773 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
1774 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
1776 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
1777 suggest a #define rather than a typedef for _Bool, and mention
1778 Gnulib rather than trying to substitute stdbool code.
1779 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
1780 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
1781 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
1782 AC_STRUCT_DIRENT_D_TYPE.
1783 (Particular Types): Mention stdint.h and inttypes.h as standard
1785 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1786 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
1787 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
1788 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1789 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
1790 (C Compiler): Move AC_C_LONG_DOUBLE to ...
1791 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
1792 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
1793 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
1794 (Coding Style). Don't mention m4_expand_once.
1795 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
1796 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
1797 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
1798 (AC_CHECK_FUNCS): Use it.
1799 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
1800 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
1801 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
1802 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
1803 (AC_HEADER_ASSERT): New macro.
1804 (AC_HEADER_STDBOOL): Don't assume "#error" works.
1805 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
1806 Catch a bug in an HP-UX C compiler.
1807 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
1808 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
1809 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
1810 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
1811 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
1812 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
1815 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
1816 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
1818 2006-04-08 Stepan Kasal <kasal@ucw.cz>
1820 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
1821 of the warning introduced by the 2001-08-28 change.
1823 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
1824 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1826 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
1827 variables shall be overriden by the cache.
1828 * tests/torture.at (AC_ARG_VAR): Test also with a first value
1829 that contains braces.
1831 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1833 Revert the patch from 2006-04-01 and only improve
1834 _AS_DETECT_BETTER_SHELL:
1836 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
1837 skip nonexistent directories.
1838 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
1839 only shell candidates which exist.
1840 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
1841 * lib/autotest/general.m4 (AT_INIT): No need to give three
1842 parameters to _AS_PATH_WALK.
1844 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
1845 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1847 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
1848 distinguish m4sugar macros.
1849 * tests/tools.at (autoupdating with aclocal and m4_include):
1850 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
1851 test case by Noah Misch <noah@cs.caltech.edu>.
1853 2006-04-07 Stepan Kasal <kasal@ucw.cz>
1855 Revert my change from 2006-03-17, in other words:
1856 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
1858 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
1859 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
1862 2006-04-07 Eric Blake <ebb9@byu.net>
1864 * doc/autoconf.texi (Programming in M4sh): Document that
1865 AS_MKDIR_P exits the script on failure.
1866 * lib/autotest/general.m4: Remove redundant AS_ERROR.
1868 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1870 * config/elisp-comp, config/install-sh, config/mdate-sh,
1871 config/missing, config/mkinstalldirs: Sync from Automake.
1873 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
1876 * doc/make-stds.texi: Sync from gnulib.
1878 2006-04-06 Eric Blake <ebb9@byu.net>
1880 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
1881 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
1884 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
1885 Eric Blake <ebb9@byu.net>,
1886 Paul Eggert <eggert@cs.ucla.edu>,
1887 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1889 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
1890 whether `set' quotes correctly: redirect stderr of the tested
1891 `set', and use a subshell, for Ultrix; use `sed' instead of
1892 `grep' for zsh `set' which may write binary output; match only
1893 at the beginning of a line, to avoid false positives.
1894 In order to avoid false positives by unrelated variables with
1895 multiline content, put the dump algorithm in a subshell and
1896 unset all variables containing newlines (except some which are
1897 special to the shell). Warn about cache variables that are
1900 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1902 * config/config.guess, config/config.sub, config/texinfo.tex:
1905 * tests/mktests.sh: Reword comments.
1907 * tests/mktests.sh: Only skip internal macros starting with
1908 `_AC_' or `__AC_'. Noted by Stepan Kasal.
1909 Update exclusion lists for the test suite to this end:
1910 (AC_ARG_VAR): Do test this now.
1911 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
1912 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
1913 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
1914 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
1916 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
1917 shell issue with double-quoted command substitutions of native
1919 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
1922 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
1923 no file matches the glob, discard the warning, set `nullglob'.
1924 (syntax-check): Likewise.
1925 (sc_cast_of_x_alloc_return_value): Likewise.
1926 (sc_cast_of_alloca_return_value, sc_error_exit_success)
1927 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
1928 (m4-check): Likewise.
1929 (sc_system_h_headers): Do not print rule on execution.
1930 (sc_tight_scope): Do not fail for non-existing `src' directory.
1931 (sc_changelog): Skip the Copyright footer.
1932 * lib/autoconf/lang.m4: Remove trailing space.
1934 * lib/autoconf/status.m4: More replacements to
1935 <tab><space> where this makes sense.
1937 2006-04-06 Stepan Kasal <kasal@ucw.cz>
1939 * tests/Makefile.am (maintainer-check-posix):
1940 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
1942 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
1943 ac_config_<foo>s again, sometimes normalized, sometimes not.
1944 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
1945 (AC_CONFIG_COMMANDS): Do not do so here.
1946 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
1947 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
1948 2005-07-25 rewrite. Noticed by Noah Misch.
1950 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
1951 _AC_PRESERVE_HELP_ORDER, ...
1952 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
1954 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
1955 inside m4_expand_once; it is redundant.
1957 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
1958 for --help from Cygnus `configure.'
1960 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
1962 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
1963 on a patch proposed by Ralf Wildenhues.
1965 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
1967 * lib/autoconf/status.m4: Replace <space>''<tab> with
1968 <tab><space> where this makes sense.
1970 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
1971 Noah Misch <noah@cs.caltech.edu>
1973 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
1974 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
1975 * doc/autoconf.texi (Help Formatting): New node.
1976 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
1978 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1980 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
1981 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1982 lib/autoconf/types.m4, lib/autotest/general.m4,
1983 tests/mktests.sh, tests/torture.at: White space cleanup:
1984 remove some SPACE before TAB, or add quoting ('' or @&t@).
1986 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
1988 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
1990 2006-04-05 Eric Blake <ebb9@byu.net>
1992 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
1993 empty test suite works.
1994 * tests/autotest.at (Empty test suite): Remove xfail.
1996 2006-04-05 Noah Misch <noah@cs.caltech.edu>
1998 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
1999 TAGS to ac_config_<foo>s.
2000 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
2001 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
2002 normalizing it, consistent it with previous releases.
2003 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2005 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
2007 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
2008 Use simplified args that Eric Blake originally suggested.
2010 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
2012 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
2013 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
2014 Use 'comm' rather than N instances of grep; this also fixes a bug
2015 whereby substrings were incorrectly matched, causing us to not
2016 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
2017 (exclude_list): Exclude empty macros.
2018 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2020 Use awk rather than grep -E or egrep, to avoid
2021 portability problems with regular expressions containing newlines.
2022 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
2023 Switch from grep to awk syntax.
2024 (ac_exclude_script): Renamed from ac_exclude_egrep.
2025 (au_exclude_script): Renamed from au_exclude_egrep.
2027 2006-04-04 Noah Misch <noah@cs.caltech.edu>
2029 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
2030 a subdirectory subject to Cygnus `configure'.
2031 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
2033 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
2034 report request when we have no AC_PACKAGE_BUGREPORT.
2036 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2040 * tests/mktests.sh: Update copyright year in the header of the
2043 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
2044 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
2045 typedef'ed restricted pointer, to catch a compiler bug on
2046 HP-UX 11.x, and fix warnings so it passes with -Werror.
2047 (_AC_PROG_CC_C99): Likewise.
2048 Reported by Albert Chin <china@thewrittenword.com>.
2049 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2051 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2053 * bin/autoscan.in (subdirs): New global.
2054 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
2055 (output): Emit AC_CONFIG_SUBDIRS as needed.
2056 * tests/autoscan.at (autoscan): Remove XFAIL.
2058 2006-04-03 Noah Misch <noah@cs.caltech.edu>
2060 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
2062 2006-04-03 Eric Blake <ebb9@byu.net>
2064 * THANKS: Add myself.
2066 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2068 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
2069 to log, point to testsuite output tree.
2071 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2073 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
2074 * doc/autoconf.texi (Function Portability): Mention that C++
2075 has trouble with 'exit'.
2076 (Guidelines): Test programs shouldn't use 'exit'.
2077 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2078 Remove; all uses removed.
2079 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
2080 Return from 'main' instead of calling 'exit'.
2081 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
2082 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
2083 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
2084 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
2085 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
2086 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2087 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2088 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
2089 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2090 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2091 * tests/compile.at: Likewise.
2093 2006-04-02 Pavel Roskin <proski@gnu.org>
2095 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
2097 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2099 Clean up _AC_COMPILER_EXEEXT* macros.
2101 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
2102 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
2103 ac_file to the name of the default output file and call
2104 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
2105 initial `rm' of the candidate files...
2106 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
2107 the same list in subsequent `rm' calls, and for the temporary
2108 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
2109 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
2110 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
2111 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
2112 no longer needed) by libtool. Make it a cache check.
2113 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
2114 copied here by mistake.
2115 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
2116 _AC_COMPILER_EXEEXT.
2117 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
2118 _AC_COMPILER_OBJEXT directly.
2119 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2121 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2123 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
2124 (AS_DIRNAME): Use it.
2125 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
2127 * tests/*.at: Remove the generated ones.
2129 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2131 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
2133 2006-04-01 Eric Blake <ebb9@byu.net>
2135 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
2136 directories, unless optional third argument supplied.
2137 (AS_UNAME): Don't optimize PATH walk.
2139 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
2141 2006-04-01 Eric Blake <ebb9@byu.net>
2142 and Stepan Kasal <kasal@ucw.cz>
2144 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
2147 2006-04-01 Noah Misch <noah@cs.caltech.edu>
2149 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
2150 Autoconf version number despite a zero- or one-argument AC_INIT.
2152 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
2154 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
2155 * doc/autoconf.texi (autoreconf Invocation): Document it.
2157 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
2158 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
2160 2006-04-01 Eric Blake <ebb9@byu.net>
2162 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
2163 * lib/autotest/general.m4: Be tolerant of existing directory when
2164 rm failed to remove it.
2166 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2168 * bin/autoupdate.in: Redefine m4_location so that warnings print
2169 the correct lines of the input file by subtracting..
2170 (_au__first_line): ..this new definition.
2172 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
2173 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
2174 Remove stray newline in output.
2175 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
2176 AC_DEFUN this for autoconf, including the obsoletion diagnose.
2177 Fixes autoupdating of code where the replacement output contains
2179 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2180 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
2181 (au_exclude_list): Add AC_LANG_SAVE.
2182 * tests/tools.at: Several new tests for all of this.
2183 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
2185 The AC_LANG_SAVE issue was reported against Libtool by
2186 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
2187 Kristian Kvilekval <kris@cs.ucsb.edu>.
2189 2006-04-01 Stepan Kasal <kasal@ucw.cz>
2191 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
2192 switch all of them on and of when necessary. Fixes the bug when
2193 m4sugar macros (e.g., m4_define) were expanded after the first
2194 automatic update (e.g., after AC_PREREQ or AC_INIT).
2196 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
2198 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
2199 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
2201 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
2202 correctly. Problem reported by Eric Blake.
2203 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
2206 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
2208 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
2209 Tighten up the basename/dirname wording.
2211 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2213 * Makefile.maint (sc_texi_notab): New check: do not use TABs
2214 in texinfo files outside of verbatim environments.
2215 (syntax-check-rules): Update.
2216 * doc/autoconf.texi (Configuration Headers): Conform to it.
2218 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
2220 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
2221 aclocal cannot be given on the command line.
2223 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
2225 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
2226 Give an example for AS_DIRNAME instead of referring to Posix..
2227 (File System Conventions): Put discussion of // versus / here, and
2229 (Limitations of Usual Tools): Add basename. Remove verbiage
2230 after dirname, since it got moved to the above sections.
2231 All this was inspired by a patch proposed earlier by Eric Blake.
2233 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2235 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
2236 `$0' to protect against spaces.
2237 * lib/autotest/general.m4 (AT_INIT): Likewise.
2238 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
2241 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2243 * bin/autoscan.in: The value of find_configure_ac should be
2244 checked for existence, so we don't barf over a nonexisting
2245 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
2247 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2249 * bin/autoupdate.in: Fix some typos.
2251 2006-03-21 Stepan Kasal <kasal@ucw.cz>
2253 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
2255 * lib/autoscan/autoscan.list: Refreshed.
2257 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2259 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
2260 and Erlang related variables.
2262 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
2263 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
2264 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
2265 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
2266 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
2267 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
2268 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
2269 (_AC_PROG_OBJC_G): New macros.
2270 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
2271 * doc/autoconf.texi (Objective C Compiler): New node.
2272 (Preset Output Variables): Document OBJCFLAGS.
2273 (Language Choice): Document `Objective C' language.
2274 (Fortran Compiler): Fix typo.
2276 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2278 2006-03-20 Stepan Kasal <kasal@ucw.cz>
2280 * doc/autoconf.texi (Default Includes): Fix typo
2281 s/AC_HEADERS_STDC/AC_HEADER_STDC/
2282 (Limitations of Usual Tools): s/unwriteable/unwritable/
2283 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
2284 Fix typos in the comments.
2286 2006-03-17 Stepan Kasal <kasal@ucw.cz>
2288 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
2289 Factor out the warning to...
2290 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
2291 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
2292 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2294 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
2295 case `ac_delim' when writing the sed script.
2297 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
2298 moved DUALCASE=1 ...
2299 (AS_SHELL_SANITIZE): ... here.
2300 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
2303 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
2305 (_AC_PATH_PROG): Store the result to VARIABLE.
2306 (AC_PATH_PROG): No need to set VARIABLE again.
2308 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
2309 the first one is usual AT_CHECK_MACRO test, the second one checks
2310 that the same works when cross-compiling.
2311 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
2312 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
2314 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2316 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
2317 the directory `/usr/bin/posix' in the shell search, to prefer
2318 the Posix shell not only in subsequent spawns as with `$BIN_SH'
2321 * doc/autoconf.texi (contents): To fix texi2html output, hide
2322 `@setcontentsaftertitlepage' for HTML.
2323 (Writing Autoconf Macros): Likewise, insert space after `@c'.
2324 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
2327 2006-03-16 Stepan Kasal <kasal@ucw.cz>
2329 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
2331 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
2332 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
2333 why IFS is restored so late; thank you, Ralf, for reminding us.
2335 2006-03-15 Stepan Kasal <kasal@ucw.cz>
2337 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
2338 variables in the examples.
2340 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2342 * doc/autoconf.texi (several sections): Cleaned up documentation for
2343 macros in erlang.m4.
2345 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2347 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
2348 failure condition for `$(cmd)' style command substitutions.
2349 (Parenthetical command substition, Multiline parenthetical
2350 command substition): Use it.
2352 * doc/autoconf.texi (Special Shell Variables): Missing word.
2353 Reported by Keith Marshall <keith.marshall@total.com>.
2355 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
2356 IFS even in case of empty `$PATH'.
2358 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2360 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
2361 `expr' away if there is nothing to do.
2362 < --keywords >: Simplify and robustify argument handling.
2363 Revert erroneous comment from 2005-08-23. Extend to allow
2364 keyword negation with `!'.
2365 Update help message. Remove broken code to prevent running
2366 tests multiple times.
2367 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
2368 Update and fix the documentation accordingly.
2369 * tests/autotest.at (Keywords): Renamed to..
2370 (Keywords and ranges): .. this. Extended to make sure negated
2371 keywords, keywords taken from AT_SETUP arguments, and numeric
2372 test ranges work, and that matching is case-insensitive.
2374 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2376 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
2377 allow to pass unnamed structs even in C++.
2378 (AC_CHECK_SIZEOF): Likewise.
2379 Also fix quoting error in `AC_MSG_FAILURE' arguments.
2380 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
2381 struct): New tests for unnamed structs, each both native and
2384 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
2385 a structure inside a cast, for C++ conformance.
2386 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
2387 Also fix quoting error in `AC_MSG_FAILURE' arguments.
2389 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
2390 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
2391 trying to execute the command `no'.
2393 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
2394 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
2397 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
2398 example. Do not emphasize `$%', it is hardly new and special.
2399 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
2401 * doc/autoconf.texi (Limitations of Usual Tools): Document
2402 OpenBSD and traditional `grep' failure to handle multiple
2403 patterns separated by newlines.
2405 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2407 * doc/autoconf.texi (several sections): Add documentation for macros
2410 2006-03-10 Eric Blake <ebb9@byu.net>
2412 * doc/autoconf.texi (Obsolete Macros): Fix wording of
2415 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
2417 * doc/autoconf.texi: Use @acronym more consistently for acronyms
2418 like BSD, GPL, LGPL. Fix minor English typos.
2419 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
2420 Mention that these macros are becoming obsolete.
2421 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
2422 Use more modern terminology for which standard is what.
2423 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
2425 (AC_PROG_CXX): Likewise.
2426 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
2427 Remove obsolete discussion about how to port to K&R.
2428 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
2429 the obsolescent AC_HEADER_STDC.
2430 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
2433 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2435 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2436 Remove stdin redirection from /dev/null to allow pipe to work.
2438 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
2440 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
2441 Require that /lib/cpp include stdio.h correctly. Solaris 10's
2442 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
2445 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2447 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
2448 HP-UX sed is 99 commands, not 100.
2449 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
2450 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
2451 newline for portability.
2452 * tests/torture.at (Torturing config.status): Also test 100
2453 AC_SUBST_FILE invocations. Fix test to actually verify the
2454 AC_CONFIG_FILES output.
2455 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
2456 command, label, and read-file `r' limits. Unify HP-UX spelling.
2458 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
2460 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
2462 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
2463 * tests/mktests.sh: Small shell portability fixes.
2465 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2467 * doc/autoconf.texi (Caching Results): Fix the examples to use a
2468 recommended quoting style and discard unwanted output.
2470 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
2472 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
2473 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
2474 cases, and to work around Tru64 expr bug.
2476 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2478 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
2479 expr bug that turns the result of a regex match into a number if
2482 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2484 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
2485 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
2486 in section `Specific Compiler Characteristics'.
2488 2006-03-04 Eric Blake <ebb9@byu.net>
2490 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
2493 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2495 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
2496 order of variable initialization, so even the Solaris 2.6 shell
2497 can create a config header correctly. Fixes lots of test suite
2500 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2502 * doc/autoconf.texi (Text processing Macros): New node to
2503 document the m4sugar macros m4_re_escape, m4_tolower,
2504 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2506 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
2508 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
2509 XrmInitialize (0) -> XrmInitialize ().
2510 Reported by Toshio Kuratomi.
2512 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2514 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
2515 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
2516 * doc/autoconf.texi (Programming in M4sh): Adjusted.
2517 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
2518 both macros are defun'ed so that required macros are evaluated
2521 * doc/autoconf.texi (Prerequisite Macros): State more precisely
2522 where a required macro will be expanded.
2523 (Coding Style): Another reason not to use `m4_define'.
2525 2006-02-21 Eric Blake <ebb9@byu.net>
2527 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
2529 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2531 * doc/autoconf.texi (Looping constructs): New node, to
2532 document m4_for, m4_foreach, m4_foreach_w, and mention
2533 obsolete AC_FOREACH.
2534 (Obsolete Macros): Document AC_FOREACH.
2535 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
2536 (m4_for): Fix to never loop (almost) endlessly, work correctly
2537 with arithmetic expressions in arguments, a step of zero or
2538 non-integer multiple of the interval, and avoid integer
2540 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
2543 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
2545 Add basic support for Erlang, both for configuring Erlang/OTP
2546 tools, and Erlang as a conf test language.
2547 * lib/autoconf/erlang.m4: New file.
2548 * lib/autoconf/autoconf.m4: Add erlang.m4.
2549 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
2550 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
2551 * NEWS: Add short description of new macros.
2552 * THANKS: Add Romain Lenglet.
2554 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2556 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
2557 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2559 2006-02-15 Eric Blake <ebb9@byu.net>
2561 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
2564 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2566 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
2567 (_AS_CASE): Private helper macro.
2568 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
2569 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
2570 Fix syntax of AS_IF description
2571 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
2572 for the AC_REQUIRE mess.
2573 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
2576 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
2578 * doc/autoconf.texi: Minor style cleanup.
2579 Be consistent about spaces after commas.
2580 Insert [] where empty args look a bit funny.
2581 Fix some "i.e." and "e.g." usages.
2582 Try to avoid "X/Y" usages.
2583 Don't be pedantic about "ISO C99"; just say C99.
2584 Prefer GNU style for spaces in front of parens.
2585 (Function Portability): Comment about C89 versus C99
2586 signed integer division.
2587 (Particular Headers): Use current gnulib style for dirent
2590 2006-02-14 Stepan Kasal <kasal@ucw.cz>
2591 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2593 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
2594 macros without parameters.
2595 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
2596 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
2597 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
2599 (autoupdate): Updated to match AU_ALIAS fix.
2601 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2602 and Paul Eggert <eggert@cs.ucla.edu>
2604 * doc/autoconf.texi (Programming in M4sh): Document
2605 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
2607 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2609 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
2610 (AS_BOURNE_COMPATIBLE): ..this.
2611 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2613 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
2615 * doc/install.texi (Defining Variables): Tighten up the
2616 CONFIG_SHELL wording.
2618 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
2619 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2621 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
2622 of (set -o) rather than testing whether (set -o posix) succeeds,
2623 to work around a bug in the AIX 5.3 shell. Problem originally
2624 reportd by Howard Chu for libtool.
2626 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
2628 * doc/autoconf.texi (Running the Compiler, Running the Linker):
2629 Changes the macro arguments in summaries to match the
2632 2006-02-04 Stepan Kasal <kasal@ucw.cz>
2634 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
2635 hint as ``a workaround for a bug.''
2637 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2639 * bin/autoreconf.in: New option `--no-recursive'.
2640 Improve wording for subpackages a bit.
2641 * doc/autoconf.texi (autoreconf Invocation): Updated.
2644 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
2645 in environment of `configure', not the command line.
2646 Reported by Howard Chu <hyc@highlandsun.com>.
2648 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
2650 * doc/autoconf.texi (Limitations of Builtins): Document the
2651 problem with "trap -".
2653 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
2655 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
2656 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
2657 messages to differentiate Fortran and Fortran 77 tests.
2658 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
2659 AC_LANG_ASSERT, to allow use in mixed-language projects.
2661 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
2663 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
2664 FOO" to "defined (FOO)".
2665 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
2666 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
2667 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
2668 * tests/tools.at (ifnames): Likewise.
2670 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2672 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
2673 * lib/Autom4te/General.pm (mktmpdir): Likewise.
2674 (END): Improve error message a bit.
2675 Reported by Bruce Korb <bkorb@gnu.org>.
2677 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2679 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2680 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
2682 2006-01-11 Stepan Kasal <kasal@ucw.cz>
2684 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
2685 requires sys/stream.h. Reported by Oliver Kiddle.
2687 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2688 Stepan Kasal <kasal@ucw.cz>
2690 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
2691 before the removals of test dirs, use `find' to avoid modification
2692 of symlinked directories.
2694 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
2696 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
2697 Don't ignore the macro arguments.
2699 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
2701 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
2702 declaration that works for MSVC.
2704 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2706 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
2707 Add `*.map' and `.inf' for Green Hills compiler.
2708 Reported by Stefan Seefeld <stefan@codesourcery.com>.
2710 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
2711 correctly: pad with spaces after FIRST_PREFIX if necessary,
2712 and compute string lenghts with `m4_qlen' instead of `m4_len'.
2713 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
2714 * tests/m4sh.at (AS_HELP_STRING): Test extended.
2716 Reported by numerous people, numerous times.
2718 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
2720 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
2721 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
2722 * lib/autoconf/general.m4, lib/autoconf/status.m4:
2723 * lib/autotest/general.m4, tests/local.at:
2724 Update copyright year to 2006.
2726 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
2728 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
2729 for file names, again. Reported by Noah Misch.
2730 (Coding Style): Explain that s|a|b| is preferred for file names.
2731 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
2732 (AC_OUTPUT_MAKE_DEFS): Likewise.
2733 * lib/autotest/general.m4 (AT_INIT): Likewise.
2734 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
2735 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2737 Fix Posix-conformance bugs re use of { command in sed scripts,
2738 and improve the sed-related documentation a bit.
2739 * doc/autoconf.texi (Installation Directory Variables): Use
2740 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
2741 rather than "sed" when talking about Sed in general.
2742 (Particular Programs): Likewise.
2743 (Coding Style): y is like s with respect to / and ,.
2744 (Limitations of Usual Tools): Document the weird restrictions
2745 that Posix has about { }. Use better quoting.
2746 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
2747 Rewrite to conform to Posix rules about { } in sed scripts.
2748 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
2749 * tests/foreign.at (Libtool): Likewise.
2750 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
2751 Use our own style advice re 's,a,b,' versus 's|a|b|'.
2753 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2755 * lib/autoconf/status.m4: Fix typo.
2757 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
2758 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
2759 `-def', for the benefit of Portland `pgf90 -Mipa'.
2760 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
2762 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
2764 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
2765 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
2766 shell from zsh to bash.
2768 2005-12-31 Stepan Kasal <kasal@ucw.cz>
2770 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
2771 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
2773 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
2775 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
2776 parentheses in $(...). Problem reported by Eric Blake.
2778 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
2780 * doc/autoconf.texi (Limitations of Usual Tools):
2781 Mention which characters can be escaped with \ in portable regular
2782 expressions used in grep, sed, expr. Mention the leading ^ problem
2783 with expr. Clean up some confusing wording. Mention which
2784 grep options are portable.
2786 2005-12-09 Stepan Kasal <kasal@ucw.cz>
2788 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
2790 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
2792 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
2793 patch, noted by Ralf Wildenhues.
2795 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2797 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
2798 posix' unconditionally, for pdksh in `native sh' emulation.
2800 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
2802 * doc/autoconf.texi (Shellology): Document eval $? problem
2804 (Limitations of Builtins): Likewise.
2806 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2808 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
2809 CONFIG_SHELL in the environment of the configure rerun.
2810 * doc/autoconf.texi (Here-Documents, config.status Invocation):
2811 Suggest passing CONFIG_SHELL absolute, and in the environment
2812 rather than as option.
2814 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2816 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
2817 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
2818 Fix macro quoting. Fix output for n * 98 substituted variables.
2820 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2822 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
2823 `tmp' to avoid file removal race.
2825 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2827 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2828 ac_clean_files and LIBOBJS.
2830 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2832 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
2833 Factor functionality to..
2834 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
2835 `AC_SUBST($1)' in the public version.
2836 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
2837 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
2840 2005-11-01 Stepan Kasal <kasal@ucw.cz>
2842 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
2845 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2847 * NEWS: Move AH_HEADER mention to right place.
2849 2005-10-27 Stepan Kasal <kasal@ucw.cz>
2851 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
2852 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2854 2005-10-25 Stepan Kasal <kasal@ucw.cz>
2856 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
2857 conftst2.$ac_objext.
2858 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2860 2005-10-24 Stepan Kasal <kasal@ucw.cz>
2862 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
2863 conftest.o, to see whether the compiler really obeys; rm the object
2864 file before and after the test and register it with ac_clean_files.
2865 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
2867 2005-10-21 Stepan Kasal <kasal@ucw.cz>
2869 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
2870 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
2871 code so that the most common case requires less forks.
2873 2005-10-20 Stepan Kasal <kasal@ucw.cz>
2875 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
2876 not portable; thanks to Paul Eggert and Alexandre.
2878 * NEWS: Fix an old typo.
2880 2005-10-20 Jim Meyering <jim@meyering.net>
2882 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
2883 the latter'', in two places.
2885 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
2887 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
2888 AC_LANG_PROGRAM, fixing a typo. Don't give details about
2889 the inner workings of AC_LANG_FUNC_LINK_TRY.
2890 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
2891 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
2892 by the function rather than ignoring it.
2893 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
2894 comparing its address. Intel's interprocedural optimization was
2895 outsmarting the old heuristic. Problem reported by
2898 2005-10-19 Stepan Kasal <kasal@ucw.cz>
2900 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
2902 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
2904 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
2905 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
2907 2005-10-04 Stepan Kasal <kasal@ucw.cz>
2909 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
2910 before removing it (chmod -R u+rwx); there are three instances of this.
2912 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2913 Stepan Kasal <kasal@ucw.cz>
2915 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
2916 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
2917 make its content writable before removing it. Remove an errorneous
2918 comment from the end, where the logs of the failed tests are copied
2919 to the main log file.
2921 2005-09-27 Stepan Kasal <kasal@ucw.cz>
2923 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
2924 in case the computer is too quick. Double quote the configure.ac
2927 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
2928 problems if the testsuite were running too fast.
2930 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
2932 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
2933 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
2934 (which belong to Xt, not X itself). See Debian bug 327655.
2935 * NEWS: Mention this.
2937 2005-09-07 Stepan Kasal <kasal@ucw.cz>
2939 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
2941 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
2943 * config/move-if-change: Don't output "$2 is unchanged";
2944 suggested by Ben Elliston. Handle weird characters correctly.
2946 2005-09-06 Stepan Kasal <kasal@ucw.cz>
2948 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
2949 calls, so that the final expansion of this macro is shorter.
2950 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
2951 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
2952 the cleanup there. Use AS_VAR_* macros, to be more general.
2953 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
2955 * lib/autoconf/general.m4: Use AS_IF where appropriate.
2957 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
2959 2005-09-01 Stepan Kasal <kasal@ucw.cz>
2961 * doc/autoconf.texi (Configuration Headers): Add an index entry
2964 2005-08-26 Pavel Roskin <proski@gnu.org>
2966 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
2967 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
2970 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
2972 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2973 The previous patch didn't work, so try a better one.
2975 2005-08-26 Stepan Kasal <kasal@ucw.cz>
2977 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
2978 in the example. Reported by Bruno Haible.
2979 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
2980 "if $undefined_var;" succeeds with my shell.
2982 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
2983 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
2984 but change the m4_divert_text to m4_divert_once.
2986 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
2988 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
2989 Work around bug in Solaris /usr/xpg4/bin/awk.
2990 The bug is present in at least Solaris 8 through 10.
2992 2005-08-24 Stepan Kasal <kasal@ucw.cz>
2994 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
2995 some evil values and relying on the fact that $* concatenates the
2996 parameters by the first character from IFS.
2998 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
2999 Stepan Kasal <kasal@ucw.cz>
3001 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
3002 first header appears, define AH_HEADER.
3003 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
3004 Update limitations about when to call AC_CONFIG_HEADERS.
3005 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
3006 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
3007 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
3008 ``Configuration Actions''; fix their index entries.
3010 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
3011 options correctly. Process N-M as M-N if M is smaller than N.
3012 Process ranges correctly so that N-N will run only N.
3013 Sort and uniquify the tests that will be run. If there is more
3014 than one test, reinsert the banners for the tests.
3015 * tests/autotest.at (Keywords): Unmark XFAIL.
3017 2005-08-23 Stepan Kasal <kasal@ucw.cz>
3019 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
3020 before passing the macro name to AH_TEMPLATE.
3022 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
3023 now opens log after option processing; in particular, --version
3024 and --help do not touch config.log.
3026 * Makefile.maint: Revert the change from 2005-08-12.
3028 2005-08-22 Stepan Kasal <kasal@ucw.cz>
3030 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
3032 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
3034 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3036 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
3037 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
3040 * doc/autoconf.texi (Defining Symbols, Changed Results):
3041 Prepend to LIBS, not append, in examples.
3043 2005-08-16 Stepan Kasal <kasal@ucw.cz>
3045 When building in place, set srcdir="."; suggested by Tim Van Holder.
3047 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
3048 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
3049 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
3050 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
3051 does not mean "no --srcdir option".
3053 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3055 * tests/autoscan.at (autoscan): New file.
3056 * tests/suite.at: Use it.
3057 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
3058 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
3060 * tests/autotest.at (Keywords): Test keywords combinations.
3062 2005-08-12 Stepan Kasal <kasal@ucw.cz>
3064 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
3065 add "2>&1"; gzip 1.2.4 prints help on stderr.
3067 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3069 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
3070 was pushdef'ed twice while popped only once. Push it only once.
3071 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
3073 2005-07-26 Stepan Kasal <kasal@ucw.cz>
3075 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
3076 prefixed by mere "===", not "configure: === ".
3078 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
3080 * Makefile.maint: Update from Bison.
3082 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
3083 "<tab>" in comment, so that the point is understandable.
3085 2005-07-25 Stepan Kasal <kasal@ucw.cz>
3087 Rewrite substantial part of lib/autoconf/status.m4.
3088 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
3089 and CONFIG_COMMANDS are not processed in four separate loops.
3090 Instead, there is one main loop. This alows that the common code
3091 is expanded only once, thus config.status (and configure) is smaller.
3093 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
3094 the AC_LIST_FILES and cousins macros are no longer used.
3096 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
3097 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
3098 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
3099 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
3100 contain the initialization, nor the for loop, nor the associated
3101 commands; all these go to ...
3102 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
3103 _AC_OUTPUT_CONFIG_STATUS.
3104 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
3105 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
3106 (_AC_OUTPUT_FILE): The creation of the sed script ...
3107 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
3108 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
3109 _AC_OUTPUT_MAIN_LOOP.
3110 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
3111 _AC_CONFIG_COMMANDS): Use ...
3112 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
3113 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
3114 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
3115 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
3116 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
3117 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
3119 (_AC_CONFIG_UNIQUE): Update.
3120 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
3121 Replaced by this ...
3122 (_AC_LIST_TAGS): ... new common macro.
3123 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
3124 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
3125 (_AC_LIST_TAG_COMMANDS): ... new common macro.
3126 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
3127 this didn't belong to the `config commands' section.
3128 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
3129 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
3130 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
3131 to the `config commands' section either.
3132 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
3133 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
3135 ... and many changes to the comments nearby.
3137 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
3138 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
3139 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
3140 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
3141 (#define header templates): The comment at the top of the generated
3142 header now includes the name(s) of the source file(s).
3144 Several unrelated small changes:
3146 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
3147 parameter to AC_DIAGNOSE.
3148 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
3149 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
3150 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
3151 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
3153 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
3154 in AC_OUTPUT doesn't double-quote it either.
3155 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
3158 2005-07-10 Stepan Kasal <kasal@ucw.cz>
3160 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
3161 versions of Portland Group compiler produce single- and double-quoted
3162 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
3163 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3165 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
3167 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3168 This is a corrected version of yesterday's patch.
3170 2005-07-07 Stepan Kasal <kasal@ucw.cz>
3172 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
3173 path, too; insert a "===" to emphasize the line.
3175 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
3176 ac_cv_build_alias to ac_build_alias.
3177 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
3179 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
3180 change eliminates it. Problem reported by Alexandre Duret-Lutz.
3181 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
3182 (AC_ARG_VAR): ... here.
3183 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
3186 Keep a list of all precious variables and process them with one simple
3187 for loop, instead of expanding all commands, or, OTOH, complicated
3188 processing of output of "set".
3189 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
3190 variable names in new macro...
3191 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
3192 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
3193 a loop to assign all ac_env_* and ac_cv_env_* variables.
3194 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
3196 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
3197 its value to shell variable ac_precious_vars and call
3198 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
3199 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
3200 _AC_ARG_VAR_VALIDATE.
3202 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
3203 and the AC_SUBSTs ...
3204 (AC_INIT): ... here.
3206 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
3207 the ac_subst_files section in config.log.
3209 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
3211 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
3213 * NEWS: New macro AC_C_TYPEOF.
3214 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
3215 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
3216 * tests/c.at (C keywords): Test AC_C_TYPEOF.
3218 Fix problems reported by Nicolas Joly.
3219 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
3220 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
3221 They are generated by the Tru64 v5.1B shell.
3223 2005-07-05 Stepan Kasal <kasal@ucw.cz>
3225 Fix my changes from 2005-07-01; reported by Noah Misch.
3226 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
3227 description, the macro now accepts only a single tag.
3228 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
3230 Fix cases when the varsions of Autoconf and Autotest don't match.
3231 Reported by Noah Misch.
3232 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
3233 at_top_builddir, for compatibility with older autotest.
3234 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
3235 is not set, use at_top_builddir, for compatibility with older
3236 versions of autoconf.
3238 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
3240 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
3241 Problem reported by Patrick Welche.
3243 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
3245 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
3246 sed substitution command, so that we allow | in program prefixes
3247 and program suffixes. (& is a problem anyway; we're not fixing
3249 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
3250 configure_input, top_builddir, srcdir, etc.
3251 * lib/autotest/general.m4 (AT_INIT): Likewise, for
3252 PATH_SEPARATOR in AUTOTEST_PATH.
3254 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3256 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
3257 for loop over config.site files using `set', to allow
3258 directory names containing IFS characters.
3260 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
3262 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
3263 directories with weird names. Apparently some people like living
3264 on the edge. However, improve the test that "pwd" actually does
3265 report a name for the working directory.
3266 * NEWS: Remove the claim that we test for funny chars in dir names.
3268 2005-07-01 Stepan Kasal <kasal@ucw.cz>
3270 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
3272 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
3273 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
3274 Now accept a single tag, not whitespace separated list.
3275 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
3277 2005-06-30 Stepan Kasal <kasal@ucw.cz>
3279 * doc/autoconf.texi (Configuration Headers): Change the explanation
3280 about #include <config.h>.
3281 (Generic Functions): Mention the Gnulib project.
3282 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
3284 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
3285 document to output the default config_* lists to config.status.
3286 Don't recognize option --file, if the functionality is not there.
3287 Likewise for --header; moreover, recognize --he and --h as shortcuts
3288 for --help in that case.
3290 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
3291 matches the order of execution. No code changed.
3293 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3295 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
3296 single-quoted -cmdline argument in Portland Group compiler.
3297 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
3299 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3301 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
3303 2005-06-29 Stepan Kasal <kasal@ucw.cz>
3305 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
3306 descriptors to child processes; reported by Norman Gray.
3308 2005-06-29 Stepan Kasal <kasal@ucw.cz>
3310 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
3312 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
3313 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
3314 (AC_SUBST): Call it.
3315 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
3316 the directory specific variables; but don't call it for configure_input.
3318 2005-06-28 Derek Price <derek@ximbiot.com>
3320 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
3323 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
3325 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
3326 directory have inherent problems with special characters like spaces,
3327 due to limitations in Make syntax. Problem reported by Alexandre
3329 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
3330 Also, fix Tru64 porting problem with shell patterns,
3331 reported by Ralf Wildenhues.
3333 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3335 * doc/autoconf.texi (Subdirectories): Fix markup typos.
3337 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
3339 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
3341 Fix some more shell quoting problems. Prompted by a bug report
3342 from Justace Clutter.
3343 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
3344 variable into diagnostic. Make the diagnostic an error, not a warning,
3345 because we really don't support spaces and suchlike in dir names.
3346 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
3347 Don't worry about backslashes in srcdir; it can't happen now.
3348 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
3349 Simplify ac_optarg handling.
3350 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
3352 2005-06-22 Stepan Kasal <kasal@ucw.cz>
3354 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
3355 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
3356 * tests/atlocal.in: Propagate $EGREP and $SED.
3357 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
3358 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
3360 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
3361 that '\|' is not allowed in BREs; recommend using newline separated
3362 list of patterns instead of multiple -e options.
3364 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
3366 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
3368 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3370 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
3372 2005-06-21 Stepan Kasal <kasal@ucw.cz>
3374 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
3375 b, t, r, w commands require single space, while : cannot have any.
3376 (Special Shell Variables): Fix sed code this in the example.
3377 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
3378 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
3380 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
3381 expand to the empty list. Don't use two pairs of m4_changequote,
3384 2005-06-20 Derek Price <derek@ximbiot.com>
3386 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
3388 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
3390 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
3391 * doc/autoconf.texi:
3392 Don't mention Solaris versions so much, if a
3393 problem is common to all extant versions of Solaris. Say "SunOS
3394 4" instead of "SunOS" for SunOS 4.
3395 (awk): Mention more of the limitations of traditional Awk.
3396 (cat): Don't talk about cat -v.
3398 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
3400 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
3401 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
3402 but the implementation is entirely different and is designed
3403 to be compatible with glibc strverscmp.
3404 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
3406 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
3407 on Mac OS X 10.4 reported by Peter O'Gorman in:
3408 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
3409 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
3410 Use shell builtins rather than 'expr', to work around expr bug.
3412 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
3414 * doc/autoconf.texi: "filesystem" -> "file system".
3415 "behaviour" -> "behavior".
3416 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
3417 * lib/autoconf/general.m4: Omit blank after ":" sed command,
3419 * lib/m4sugar/m4sh.m4: Likewise.
3420 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
3421 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
3423 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
3424 (.x.1): Ignore the time stamp in the .TH line when deciding whether
3425 to update the man page. That way, we don't have to check in new
3426 man pages every month.
3428 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
3429 quotes and backslashes. Patch from Derek Price.
3431 2005-06-10 Derek Price <derek@ximbiot.com>
3433 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
3436 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
3438 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
3439 -u, since it outputs chatter if the input files are the same.
3440 Problem reported by Ralf Menzel.
3442 2005-06-08 Derek Price <derek@ximbiot.com>
3444 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
3445 renaming them since they are about to be redefined anyhow.
3447 2005-06-08 Derek Price <derek@ximbiot.com>
3449 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
3450 redefined M4 macros to this node. Document m4_include & m4_sinclude.
3451 Move m4_undefine to alphabetical order.
3453 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
3455 * README: Recommend GNU M4 1.4.3 or later.
3456 * doc/autoconf.texi (Introduction): Likewise.
3457 Reword to avoid some formatting glitches.
3458 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
3459 Clarify explanation of HP compiler bug.
3460 Redo example output tp match current CVS snapshot.
3461 Use @example.org in email addresses when the examples
3462 might get inadvertently cut-and-pasted into user code.
3463 Remove example of autom4te usage that doesn't seem to work now.
3464 Use modern AC_INIT (except when the example is meant to be
3465 shown with Autoconf 2.13).
3466 Update ksh info for Solaris 9 and later.
3468 Modernize description of Automake versions a bit.
3469 Don't claim a future version of Autoconf is near.
3470 * doc/install.texi: Reword to avoid some formatting glitches.
3472 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3474 * doc/autoconf.texi: Add [] to examples, so that the manual
3475 follows its own advice about quoting better.
3476 Reword to avoid some formatting glitches.
3477 * doc/installt.exi: Reword to avoid some formatting glitches.
3479 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
3480 Tru64 ksh pattern matching bug. Reported against Libtool by
3481 Albert Chin <libtool@mlists.thewrittenword.com> and
3482 Nicolas Joly <njoly@pasteur.fr>.
3484 2005-06-06 Stepan Kasal <kasal@ucw.cz>
3486 m4_cdr of one-member list was [[]] (one-member list containing an
3487 empty string) instead of [] (an empty list. Callers were skewed to
3488 match this misbehaviour. As a consequence of this:
3489 - m4_foreach([x], [], [foo]) expanded to `foo', while
3490 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
3491 This bug has been fixed:
3493 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
3494 expand to an empty string; print error msg if called without
3496 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
3497 misbehaviour; handle [] and [[]] correctly.
3499 2005-06-06 Stepan Kasal <kasal@ucw.cz>
3501 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
3502 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
3503 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
3505 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
3507 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
3508 swallow records with more than 99 fields.
3509 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
3510 parse the long line.
3512 2005-06-04 Stepan Kasal <kasal@ucw.cz>
3514 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
3515 swallow literals longer than 399. Reported by Ralf Wildenhues.
3516 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
3517 to workaround this limitation.
3519 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
3521 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
3522 to gfortran, and make these the first two compiler names
3523 checked (following the general autoconf preference for gcc).
3525 2005-06-03 Stepan Kasal <kasal@ucw.cz>
3527 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
3528 (DISTCLEANFILES): Remove $(check_SCRIPTS).
3529 (testsuite): Make sure autotest.m4f is up-to-date before using it.
3531 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
3533 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
3534 expression of unbounded size when processing the --list
3535 option. This runs afoul of a limit of 399 bytes per regular
3536 expression on AIX. Problem reported by Ralf Wildenhues.
3538 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
3540 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
3541 * doc/autoconf.texi (Particular Headers): Reword example
3542 for multiline stdbool replacement.
3543 (Setting Output Variables): Reword text a bit. Don't
3544 give all the details about |#_!!_#|.
3545 Reword description of line replacement.
3547 2005-05-31 Dan Manthey <dan_manthey@partech.com>
3549 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
3550 now contain newlines, and substituted files must be referenced on
3551 a line alone; the sed scripts to substitute them are now very
3553 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
3554 commands can be put in a sed script portably.
3555 * doc/autoconf.texi (Setting Output Variables): Document above
3556 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
3557 use of multiline substitution.
3558 * tests/torture.at: No longer expect substitution of newline to fail.
3560 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
3562 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
3563 From Ralf Menzel (trivial change).
3565 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
3567 * tests/local.at: Don't attempt to check for negated character
3568 classes in shell scripts. The test was too brittle.
3570 2005-05-25 Stepan Kasal <kasal@ucw.cz>
3572 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
3573 * doc/autoconf.texi (Limitations of Builtins): Document this
3576 2005-05-24 Stepan Kasal <kasal@ucw.cz>
3578 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
3579 common code; used in many places in the tree.
3580 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
3581 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
3583 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
3585 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
3586 messages when ac_unique_file is not found.
3587 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
3588 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
3589 commands, for consistency with AC_MSG_ERROR and such.
3591 * bin/autoconf.as: Make more use of "shift 2" in option processing.
3593 * bin/Makefile.am: Merge the two rules for creating scripts.
3595 2005-05-23 Stepan Kasal <kasal@ucw.cz>
3597 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
3598 obsolete; it was never documented.
3599 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
3601 2005-05-20 Stepan Kasal <kasal@ucw.cz>
3603 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
3604 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
3605 (ac_top_builddir): ... this ...
3606 (ac_top_build_prefix): ... to this; the old name is also kept, for
3607 backward compatibility.
3608 (ac_top_builddir_sub): New variable, without the trailing slash,
3610 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
3611 * doc/autoconf.texi (Configuration Actions): Rename
3612 ac_top_builddir to ac_top_build_prefix.
3613 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
3614 at_top_builddir to at_top_build_prefix.
3615 * lib/autotest/general.m4 (AT_INIT): Likewise.
3617 2005-05-20 Stepan Kasal <kasal@ucw.cz>
3619 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
3622 2005-05-17 Stepan Kasal <kasal@ucw.cz>
3624 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
3625 argument to m4_foreach. I guess it was necessary in the past,
3626 but I think it's a no-op now.
3628 2005-05-17 Stepan Kasal <kasal@ucw.cz>
3630 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
3631 ``cat <<_ACEOF'' commands to one.
3632 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
3633 * lib/autoconf/status.m4: On various places, use expr instead of
3635 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
3636 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
3637 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
3639 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
3640 the wrong patterns between ``case'' and ``esac.'' The previous
3641 code had false positives.
3643 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
3645 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
3647 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
3650 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
3652 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
3653 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,
3654 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
3655 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
3656 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
3657 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
3658 config/config.guess, config/config.sub, config/elisp-comp,
3659 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
3660 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
3661 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
3662 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
3663 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
3664 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
3665 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
3666 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
3667 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
3668 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
3669 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
3670 lib/autoconf/general.m4, lib/autoconf/headers.m4,
3671 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3672 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
3673 lib/autoconf/specific.m4, lib/autoconf/status.m4,
3674 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
3675 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
3676 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
3677 lib/autotest/general.m4, lib/emacs/Makefile.am,
3678 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
3679 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
3680 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
3681 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
3682 tests/compile.at, tests/foreign.at, tests/fortran.at,
3683 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
3684 tests/semantics.at, tests/suite.at, tests/tools.at,
3685 tests/torture.at, tests/wrapper.as:
3686 Update FSF postal mail address.
3688 2005-05-13 Stepan Kasal <kasal@ucw.cz>
3690 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
3692 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
3693 enough arguments, similarly as in m4_bpatsubsts.
3695 2005-05-12 Stepan Kasal <kasal@ucw.cz>
3697 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
3700 2005-05-11 Stepan Kasal <kasal@ucw.cz>
3702 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
3703 for absolute directory names in one loop.
3704 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
3705 abbreviations of --version and --debug.
3707 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
3709 * doc/autoconf.texi (Autoconf Language): Be more precise about
3710 quoting rules. Problems noted by Stepan Kasal.
3711 Also, throughout this document, be more careful about white space.
3712 "blank", "white space", and "space" all have different meanings
3713 and we should be careful to say what we mean.
3715 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
3717 Fix C++ related problems reported by Werner Lemberg.
3718 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
3719 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
3720 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
3721 avoid problems with C++ and throw.
3722 * tests/compile.at: .cpp, not .cc.
3724 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
3726 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3728 * doc/autoconf.texi (Generic Functions): Typos.
3730 2005-05-02 Gary V. Vaughan <gary@gnu.org>
3732 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
3733 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
3734 set by latest automake.
3736 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
3738 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
3739 outputs 0 on GNU/Linux these days.
3741 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
3743 * doc/autoconf.texi (Autoconf Language): Add more description
3744 about quoting heuristics.
3745 (Limitations of Builtins): Describe "set -" problems.
3747 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3749 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
3752 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
3753 by AC_DEFINE; it was a mistake.
3754 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
3756 2005-04-25 Stepan Kasal <kasal@ucw.cz>
3758 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
3760 2005-04-22 Stepan Kasal <kasal@ucw.cz>
3762 * doc/autoconf.texi (External Software): Quadrigraphs are not
3763 processed correctly in AS_HELP_STRING; avoid this in the examples.
3764 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
3765 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
3766 comment and reduce m4_default([foo], []) to [foo].
3767 (m4_strip): Update the explanation.
3769 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
3771 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
3772 Remove core.conftest.* too; it's generated by Tru64 5.1.
3773 Problem reported by Jennis Pruett.
3774 * lib/autoconf/functions.m4
3775 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
3776 Don't bother to remove core files; AC_RUN_IFELSE should do that
3779 2005-04-19 Stepan Kasal <kasal@ucw.cz>
3781 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
3783 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
3785 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
3786 Report from Horst Wente.
3788 2005-04-15 Stepan Kasal <kasal@ucw.cz>
3790 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
3793 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
3795 * doc/autoconf.texi (External Software, Package Options): Add
3796 examples showing how to implement --with-* and --enable-* options.
3798 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
3800 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
3801 as well as configure.in. Problem reported by Gregorio Guidi.
3803 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
3805 * doc/autoconf.texi (Particular Functions): Use gnulib's current
3806 pattern for alloca snippet.
3808 2005-04-04 Stepan Kasal <kasal@ucw.cz>
3810 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
3812 2005-04-01 Stepan Kasal <kasal@ucw.cz>
3814 * doc/autoconf.texi (Generic Programs): Fix a typo.
3816 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
3818 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
3819 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
3821 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3823 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
3824 Merge `-z option' as well for the benefit of Solaris link flags. Pass
3825 whole-archive (-zallextract, -zdefaultextract) options in the hope of
3826 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
3827 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
3829 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
3831 * NEWS: The configure command now warns you if you attempt to use
3832 a directory whose name contains a special character like space,
3834 * doc/autoconf.texi (Installation Directory Variables): Allow
3835 "," in file names. Do not use \@; it's not a portable regexp.
3836 * bin/Makefile.am (edit): Likewise.
3837 * lib/Makefile.am (edit): Likewise.
3838 * tests/Makefile.am (edit): Likewise.
3839 * tests/semantics.at: Likewise.
3840 * tests/torture.at: Likewise.
3841 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
3842 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
3843 * doc/autoconf.texi (File System Conventions): Warn about
3844 unportable file names.
3845 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
3847 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
3848 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
3849 ac_pwd, and quote srcdir.
3850 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
3852 * doc/autoconf.texi: Fix some systematic formatting problems.
3853 ".)" needs a following @: if not at the end of a sentence, and
3854 similarly for "!)". "etc." should be preceded by a comma.
3855 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
3857 2005-03-22 Bruno Haible <bruno@clisp.org>
3859 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
3860 argument is often called 'build-aux'.
3862 2005-03-07 Stepan Kasal <kasal@ucw.cz>
3864 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
3865 macro AC_TRY_LINK is obsolete.
3866 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
3869 2005-02-24 Stepan Kasal <kasal@ucw.cz>
3871 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
3872 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
3873 from a Common Lisp's `cl'.
3874 (AC_PROG_CXX): Behave according to the documentation: don't
3875 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
3876 make the variable CCC precious; use `cl.exe', not `cl'.
3878 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3879 Alexandre Duret-Lutz <adl@gnu.org>
3881 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
3882 /dev/null, as "configure" shouldn't read stdin, and this insulates
3883 us from problems (e.g., when testing for "cl"). Also, do this
3884 redirection before invoking "hostname" or "uname", and keep the
3885 original input stream available via...
3886 (AS_ORIGINAL_STDIN_FD): ... this new macro.
3887 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
3888 bother with "</dev/null" since it's now done at the top of
3890 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
3891 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3892 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3893 * doc/autoconf.texi (File Descriptor Macros): New section.
3894 (Printing Messages): Mention it.
3895 * tests/base.at (Input/Output): New test.
3897 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
3899 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
3900 newline if neither \c nor -n work, as that would output two
3901 newlines. Prefer -n to \c. Reported by Stepan Kasal.
3903 2005-02-12 Stepan Kasal <kasal@ucw.cz>
3905 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
3906 This causes that any required macros inside will get before the if.
3907 * doc/autoconf.texi (autom4te.cache): A typo.
3909 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
3911 Undo previous change, except keep the change to
3912 lib/autoconf/programs.m4 that replaced grep with shell
3913 pattern-matching. This is because net-snmp configure reads stdin.
3914 Reported by Noah Misch.
3916 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
3918 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
3919 from /dev/null, as "configure" shouldn't read stdin, and this
3920 insulates us from problems (e.g., when testing for "cl").
3921 Suggested by Alexandre Duret-Lutz. Also, do this redirection
3922 before invoking "hostname" or "uname".
3923 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3924 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
3925 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
3926 "</dev/null" since it's now done at the top of 'configure'.
3927 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
3928 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
3929 Also, replace grep with shell pattern-matching, to save a process.
3931 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
3933 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
3934 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
3935 avoid thinking that Allegro Common Lisp's "cl" command is a C++
3938 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
3940 * doc/autoconf.texi (Limitations of Usual Tools): Document that
3941 grep -q isn't portable. Improve grep -s explanation.
3942 Problem reported by Dan Manthey.
3944 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
3946 * doc/autoconf.texi (Special Shell Variables): Clarify
3947 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
3949 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
3951 * doc/autoconf.texi: Use @acronym for DJGPP.
3952 Fix some @code's that should have been @env's, and vice versa.
3953 Sort environment variable names.
3954 Mention that shells no longer inherit IFS.
3955 Don't recommend PATH_SEPARATOR=';' so strongly.
3956 Mention that $RANDOM might expand to the empty string.
3957 "symlink" and "soft link" -> "symbolic link".
3958 Improve mktemp description (reported by Bruno Haible).
3960 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
3962 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
3963 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
3965 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
3968 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
3970 * NEWS: Mention AT_COPYRIGHT.
3972 * tests/local.at (AT_CMP): Use diff directly on input files rather
3975 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
3976 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
3978 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3979 and Paul Eggert <eggert@cs.ucla.edu>
3981 * tests/autotest.at (Empty test suite): New test.
3982 * tests/torture.at (Substitute and define special characters)
3983 (Substitute a 2000-byte string, Define to a 2000-byte string)
3984 (Substitute a newline, Define a newline): New tests.
3986 2005-02-04 Noah Misch <noah@cs.caltech.edu>
3988 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
3989 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
3990 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
3991 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
3992 (Standard regular expressions): New test.
3993 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
3994 excess test name quoting.
3995 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
3996 CPPFLAGS to `configure' instead of setting it in `configure'.
3998 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
3999 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
4002 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
4003 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
4005 * tests/local.at (AT_CMP): New macro.
4006 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
4007 (AC_SAVE_STATE): Move environment grep...
4008 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
4009 (AT_CONFIG_CMP): New macro.
4010 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
4011 * tests/c.at (Extensions): Do not exit early.
4012 * tests/atlocal.in: Inherit $GREP.
4014 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
4015 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
4017 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
4018 (AC_COPYRIGHT): Factor header comment portion out and move into...
4019 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
4020 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
4021 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
4023 * tests/local.at: Add Autoconf test suite copyright notice.
4024 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
4026 2005-02-04 Bruno Haible <bruno@clisp.org>
4027 and Paul Eggert <eggert@cs.ucla.edu>
4029 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
4031 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
4033 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
4034 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
4036 Try not to generated lines of unlimited length, as POSIX places a
4037 2047-byte limit on line length of portable text files.
4038 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
4039 Use newline as a separator, not space.
4040 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
4041 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
4044 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4046 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
4047 as_func_*. Add test to check whether positional parameters
4048 are restored after function return.
4050 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4052 * doc/autoconf.texi (Special Shell Variables): Mention _,
4053 BIN_SH, DUALCASE. Say that variables other than "status" are safe
4054 if they contain a lower-case letter. The DUALCASE problem was
4055 reported by Ralf Wildenhues.
4057 * bin/autoconf.as: Don't exit with status 0 after write failure
4058 with --help or --version.
4059 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
4060 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
4062 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4064 * doc/autoconf.texi (Limitations of Usual Tools):
4065 Unicos 9 sed limitations.
4066 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
4067 to get the option-enhanced interface on older Crays. Try ftn for
4068 Fortran 95 (newer Crays).
4070 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
4072 * man/Makefile.am (.x.1): Go back to the simple solution, but take
4073 care to echo the commands, so the user knows what's going on.
4074 Modified from a suggestion by Stepan Kasal.
4076 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
4077 with a cross reference. Derived from a suggestion by Bruce Korb.
4079 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
4081 * doc/autoconf.texi (config.status Invocation): Warn about
4082 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
4083 * doc/install.texi (Defining Variables): Likewise.
4084 Based on a proposed patch by Ralf Wildenhues.
4086 * man/Makefile.am (.x.1): Make sure the required generated files
4087 are up to date. Problem and original solution proposed by Stepan Kasal.
4088 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
4089 implicit-man-prerequisites): New rules, used by the above.
4091 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
4092 * config/config.guess, config/config.sub, config/install-sh: Likewise.
4093 * config/missing, config/texinfo.tex: Likewise.
4095 2005-01-29 Stepan Kasal <kasal@ucw.cz>
4097 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
4098 Update the long comment explaining it.
4100 m4_require no longer writes an ``is required by'' line to the
4101 execution stack. It contains only one bit of non-redundant
4102 information: that the macro was required, not called. And even
4103 this bit is useless in most situations: have you ever met a macro
4104 which both calls and requires the same macro?
4106 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
4107 (_m4_defun_pro_outer): ... only via this macro, for the outermost
4109 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
4110 (m4_expansion_stack_pop): Remove the misplaced comment.
4111 (m4_require): Don't put the ``is required by'' line to the
4112 execution stack; slightly improve the out-of-a-defun error message.
4113 (_m4_divert_grow): New macro, counter for the temporary diversions.
4114 (_m4_require_call): Use it.
4115 * tests/m4sugar.at (m4_require): Expect output without the
4116 ``is required by'' messages.
4118 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
4120 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
4121 rather than x for expr.
4123 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
4125 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
4126 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
4127 * lib/autotest/general.m4 (AT_INIT): Likewise.
4128 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
4129 * tests/mktests.sh: Likewise.
4131 2005-01-27 Akim Demaille <akim@epita.fr>
4133 Have autoheader honor --force.
4135 * doc/make-stds.texi, doc/standards.texi: Update from masters.
4136 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
4137 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
4138 from masters, so that FileUtils.pm's update_file provide --force
4140 * bin/autoheader.in: Pass $force to update_file so that
4141 config.h.in is always recreated when --force.
4143 2005-01-24 Stepan Kasal <kasal@ucw.cz>
4145 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
4147 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
4149 * doc/autoconf.texi (Limitations of Builtins): Clarify that
4150 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
4152 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
4154 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
4155 Warn about newline stripping in `` and $(). Update Solaris
4157 (Limitations of Builtins): Use expr "X...", not expr "x...", as
4158 X insulates us from future changes to Posix.
4159 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
4162 2005-01-19 Stepan Kasal <kasal@ucw.cz>
4164 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
4165 you cannot use AC_DEFINE to define macros containing `[' or `]'.
4167 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
4169 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
4170 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
4171 bug-tar mailing list.
4173 2005-01-05 Stepan Kasal <kasal@ucw.cz>
4175 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
4177 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
4179 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
4180 ulongval to be static, to avoid unwanted GCC warning. Problem
4181 reported by Michael Jennings via Daniel Reed; see
4182 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
4184 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
4186 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
4187 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
4188 datadir, infodir, and mandir. Adjust argument parsing code.
4189 (_AC_INIT_HELP): Update help text.
4190 * doc/autoconf.texi (Installation Directory Variables): Document
4193 2005-01-04 Noah Misch <noah@cs.caltech.edu>
4195 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
4196 not seem to work, assume it does set $(MAKE).
4197 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
4199 2005-01-03 Stepan Kasal <kasal@ucw.cz>
4201 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
4203 2005-01-03 Stepan Kasal <kasal@ucw.cz>
4205 A cleanup of the diversion support in m4sugar.
4207 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
4208 (_m4_divert_n_stack): New macro; the expansion is
4209 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
4211 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
4212 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
4213 stored in _m4_divert_diversion or _m4_divert_dump.
4214 (m4_divert_pop): When the parameter is given, compare the symbolic
4215 name with the last diversion pushed on the stack. Previously, the
4216 current diversion was compared with the numeric value of the
4217 diversion given as the parameter.
4218 (m4_require): If the macro hasn't been expanded yet, call ...
4219 (_m4_require_call): this new macro.
4221 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4223 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
4224 Workarounds for documented `case' limitations.
4226 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
4228 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
4229 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
4231 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
4233 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
4234 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4235 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
4237 Patch from Roger Leigh (with some minor changes) as follows:
4238 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
4239 Resurrect AC_PROG_CC_STDC.
4240 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
4241 AC_PROG_CC_C89, AC_PROG_CC_C99.
4242 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
4243 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
4244 AC_PROG_CC_C99): New macros.
4245 (AC_PROG_CC_STDC): Use them.
4246 (_AC_PROG_CC_STDC): Remove.
4247 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
4248 * THANKS: Add Roger Leigh.
4250 2004-12-30 Noah Misch <noah@cs.caltech.edu>
4252 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
4253 signals that the package uses Automake; a `Makefile.am' is typical but
4254 not essential. Reported by Magnus Therning.
4255 * tests/torture.at (autoreconf.): New banner.
4256 (autoreconf and non-AC configure): Rename to `Non-Autoconf
4258 (autoreconf an empty directory): Rename to `Empty directory'.
4259 (Unusual Automake input files): New test.
4261 2004-12-30 Noah Misch <noah@cs.caltech.edu>
4263 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
4264 (AT_SETUP): Clear AT_capture_files.
4265 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
4266 (AT_KEYWORDS): Fix comment typo.
4267 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
4268 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
4269 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
4271 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
4273 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
4274 If the variable to set is already set, set ac_cv_path_$1
4275 to the preset value so caller can assume ac_cv_path_$1
4276 is available. (trivial change)
4278 2004-12-27 Noah Misch <noah@cs.caltech.edu>
4280 * BUGS (Minor Problems): Warn about makefile limitations.
4281 * Makefile.am: Find and update `INSTALL' in $(srcdir).
4282 * man/Makefile.am: Find and update manual pages in $(srcdir).
4284 2004-12-24 Eric Blake <ebb9@byu.net>
4286 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
4287 shells in subshell, to avoid noise from ash. (trivial change)
4289 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4291 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
4292 problems with SunOS ksh and backslash escaping, Bourne shells and
4293 closing brackets (both within character classes). Bug reported
4294 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
4295 <read>: New entry. Mention non-availability of -r.
4297 2004-12-21 Akim Demaille <akim@epita.fr>
4299 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
4300 avoid cluttering displayed messages. Rather, prepend srcdir where
4301 AT_LINE is used for log files.
4303 2004-12-21 Stepan Kasal <kasal@ucw.cz>
4305 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
4306 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
4307 no longer part of the macro, quote the occurrence of ``$tmp''.
4308 * doc/autoconf.texi (Forbidden Patterns): Typo.
4310 2004-12-21 Akim Demaille <akim@epita.fr>
4312 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
4313 separated from the test title by forcing a white space.
4315 2004-12-21 Akim Demaille <akim@epita.fr>
4317 Enable Emacs navigation within testsuite.log files.
4319 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
4320 use the compilation mode.
4321 (AT_LINE): Point to the srcdir.
4323 2004-12-19 Noah Misch <noah@cs.caltech.edu>
4325 * tests/Makefile.am (installcheck-local): Use $(bindir).
4326 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
4327 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
4328 Makefile.am scheme Autoconf now uses.
4330 2004-12-18 Noah Misch <noah@cs.caltech.edu>
4332 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
4333 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
4335 2004-12-18 Noah Misch <noah@cs.caltech.edu>
4337 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
4338 (_AT_CHECK): Use it.
4339 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
4340 (AS_ESCAPE): Fix comment.
4341 * tests/autotest.at: Adjust section banner comments.
4342 (AT_CHECK_AT): Accept STATUS and STDERR.
4343 (AT_CHECK_AT_TEST): Likewise.
4344 (Invalid brace-enclosed parameter expansion)
4345 (Multiline command from M4 expansion)
4346 (Double-M4-quoted command): New tests.
4348 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
4350 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
4352 2004-12-17 Akim Demaille <akim@epita.fr>
4354 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
4356 Suggested by Alexandre Duret-Lutz.
4357 * doc/autoconf.texi (Setting Output Variables): Catch up.
4359 2004-12-17 Stepan Kasal <kasal@ucw.cz>
4361 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
4363 2004-12-17 Stepan Kasal <kasal@ucw.cz>
4365 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
4366 remove the comment which said we cannot.
4368 2004-12-17 Stepan Kasal <kasal@ucw.cz>
4370 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
4371 Reini Urban and Paul Eggert for reporting the dependencies.
4373 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
4374 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
4375 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
4377 2004-12-17 Stepan Kasal <kasal@ucw.cz>
4379 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
4380 so that eg. ``autoscan --help'' doesn't truncate it.
4382 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
4384 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
4385 generated conftest files.
4387 2004-12-13 Noah Misch <noah@cs.caltech.edu>
4389 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
4390 tracing on commands with possibly-escaped newlines.
4391 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
4392 discontinued behavior and its implications.
4393 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
4394 (BSx641-newline in command, BS-BS-newline in command)
4395 (BSx640-newline in command, Newline-CODE-BS-newline in command)
4396 (Single-quote-BS-newline in command)
4397 (Single-quote-newline-BS-newline in command): New tests.
4399 2004-12-13 Stepan Kasal <kasal@ucw.cz>
4401 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
4402 on platforms where it works.
4403 (_AS_TEST_PREPARE): Test for ``test -x''.
4404 (_AS_BROKEN_TEST_PREPARE): Nuke.
4406 2004-12-13 Stepan Kasal <kasal@ucw.cz>
4408 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
4409 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
4410 give only 4-letter prefix to AS_TMPDIR, comment fixed.
4411 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
4412 create the temporary directory.
4413 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
4415 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
4417 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
4420 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
4422 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
4424 2004-12-11 Noah Misch <noah@cs.caltech.edu>
4426 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
4427 to avoid using a negated character class. Reported by Nicolas Joly.
4428 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
4430 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
4432 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
4433 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
4434 Don't depend on .x file explicitly, since "make" does that for us.
4435 Suggested by Stepan Kasal.
4437 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
4439 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
4440 ifnames): Factor common code. And they said it couldn't be done!
4442 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
4444 * bin/.cvsignore: Add autoconf.in.
4445 * tests/.cvsignore: Add wrapper.in.
4446 * lib/autotest/general.m4: Escape '$' in case pattern.
4448 2004-12-09 Noah Misch <noah@cs.caltech.edu>
4450 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
4452 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
4454 * tests/autotest.at: New file.
4455 * tests/suite.at: Include it.
4456 * tests/Makefile.am: Distribute it.
4458 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
4459 shell tracing on a command that could contain multiple lines.
4460 * doc/autoconf.text: Document that fact and its implications.
4461 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
4462 * tests/autotest.at (Multiline backquote command substitution,
4463 Multiline parameter expansion, Literal multiline command,
4464 Multiline parenthetical command substitution): Remove XFAIL.
4466 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
4468 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
4469 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
4471 2004-12-08 Noah Misch <noah@cs.caltech.edu>
4473 * configure.ac (test suite): Cease to generate wrapper scripts.
4474 * configure: Regenerate.
4475 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
4476 (m4f_dependencies): Adjust accordingly.
4477 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
4478 (wrapper.in): Generate it in the build directory.
4479 (MAINTAINERCLEANFILES): Delete wrapper.in.
4480 (CLEANFILES): Add wrapper.in.
4481 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
4482 the output. Replace each $as_me with a @wrap_program@.
4483 * tests/wrapper.in: Delete it; we always build it.
4485 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
4486 (EXTRA_DIST): Remove autoconf.in.
4487 (CLEANFILES): Add autoconf.in.
4488 (autoconf): Find autoconf.in in the build directory.
4489 * bin/autoconf.in: Delete it; we always build it.
4491 2004-12-08 Noah Misch <noah@cs.caltech.edu>
4493 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
4494 PATH members so as to not prepend an empty element. Move a comment.
4495 * Makefile.am (SUBDIRS): Build in `tests' last.
4496 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
4498 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
4500 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
4501 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
4502 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
4503 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
4505 2004-12-07 Stepan Kasal <kasal@ucw.cz>
4507 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
4510 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
4512 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
4513 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
4514 * doc/autoconf.texi (Particular Functions): Mention new behavior.
4516 2004-12-03 Stepan Kasal <kasal@ucw.cz>
4518 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
4519 out the common code to ...
4520 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
4521 value of the #define--default to 1, iff the macro was called
4522 with exactly one parameter.
4524 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
4526 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
4527 "char c = '\200';" rather than "char c = 0x80;" as the
4528 latter doesn't conform to the strict C standard due to
4529 overflow on signed char hosts.
4531 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
4532 to -qlanglvl=ansi. We don't want to disable extensions.
4534 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
4536 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
4537 (Using Autotest, testsuite Scripts, Writing testsuite.at):
4538 Reword slightly to avoid some English-language problems noted
4539 by Ralf Wildenhues in:
4540 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
4542 2004-11-29 Stepan Kasal <kasal@ucw.cz>
4544 * NEWS: Add ^L above each release.
4546 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
4548 Fix documentation problems reported by Russ Boylan in
4549 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
4550 along with some nearby cruft.
4551 * doc/autoconf.texi (Libtool): Libtool can be used without
4552 Automake (not without Autoconf).
4553 (Introduction): Mention lists.gnu.org.
4554 * BUGS: Don't mention bugs.gnu.org.
4555 Remove mention of ancient libtool compatibility problem.
4556 * NEWS: Mention that bugs.gnu.org is kaput.
4557 * README: Likewise. Mention where mailing list archives can be found.
4559 2004-11-28 Stepan Kasal <kasal@ucw.cz>
4561 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
4563 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
4565 * doc/autoconf.texi (Pretty Help Strings): Go back to
4566 single-quoting assignments to cache variables.
4568 2004-11-23 Stepan Kasal <kasal@ucw.cz>
4570 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
4571 with the examples; fix the bug in MY_ARG_WITH example reported
4572 by Alexandre Duret-Lutz.
4573 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
4574 expansion of $1 in the comment emitted to configure.
4576 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
4578 * doc/autoconf.texi (Pretty Help Strings): Fix typo
4579 in my editing of the previous patch. Problem reported
4580 by Alexandre Duret-Lutz.
4582 2004-11-22 Stepan Kasal <kasal@ucw.cz>
4584 * doc/autoconf.texi (Autoconf Language): Explain that
4585 ``descriptions'' may not be double quotes.
4586 (Quotation Rule Of Thumb): Likewise.
4587 (Pretty Help Strings): Likewise; remove the wrong comment;
4588 simplify the examples and improve their quoting.
4590 2004-11-13 Stepan Kasal <kasal@ucw.cz>
4592 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
4593 the $1_found variable, don't test whether the file is executable;
4594 Both things are checked ...
4595 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
4596 the former ``test -f''.
4597 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
4599 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
4601 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
4604 2004-11-10 Derek R. Price <derek@ximbiot.com>
4606 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
4607 limitations. Reorder paragraphs for clarity.
4609 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
4611 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
4612 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
4613 variants", "Unix", and some related minor wording fixups.
4615 (Shellology, Special Shell Variables): Document that the Zsh
4616 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
4617 to Alexandre Duret-Lutz for this info.
4619 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
4621 * doc/autoconf.texi (One-Shot Macros): New node.
4623 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
4625 * doc/autoconf.texi (Function Portability): Fix misdescription
4626 of putenv. Problem reported by Michael Wardle.
4628 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
4630 * doc/autoconf.texi (auindex): New macro.
4631 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
4632 Problem reported by Stepan Kasal.
4634 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
4636 Fix problems reported by Andreas Buening in:
4637 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
4638 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
4640 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
4641 readable; it's not true in OS/2-emx.
4643 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
4645 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
4646 "/usr/include", clear ac_x_includes instead of leaving it as "no"
4647 (trivial change). Problem and patch reported by Andrew Church in:
4648 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
4650 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
4652 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
4653 three args in examples. Problem reported by Frederik Fouvry in:
4654 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
4655 Also, fix some minor spacing and punctuation bugs.
4657 2004-09-02 Akim Demaille <akim@epita.fr>
4659 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
4660 "case" to restore ordering.
4661 Reported by Stepan Kasal.
4663 2004-08-26 Akim Demaille <akim@epita.fr>
4665 * doc/autoconf.texi: Minor typos and stylos.
4667 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
4669 * configure.ac (AC_INIT): Bump to 2.59c.
4671 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
4675 * README: Add advice about m4 1.4.2.
4677 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
4678 texinfo.tex for now (done by hand now).
4679 * Makefile.maint (wget_files, cvs_files):
4680 Remove ansi2knr.c; nobody uses it.
4681 (ansi2knr.c-url_prefix): Remove.
4682 (cvs-update): Fix test for failure. I don't know why it ever
4685 * doc/autoconf.texi: Update URLs, some of which went stale.
4686 Use @uref rather than @href.
4688 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
4689 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
4691 * config/config.guess, config/config.sub, config/elisp-comp,
4692 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
4693 doc/fdl.texi, doc/standards.texi: Sync with master copy.
4695 * NEWS, TODO, configure.ac, bin/autoscan.in,
4696 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
4697 doc/install.texi, lib/Autom4te/Configure_ac.pm,
4698 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
4699 lib/autoconf/programs.m4, lib/autoconf/status.m4,
4700 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
4701 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
4702 tests/tools.at, tests/torture.at:
4703 Use "file name" rather than "filename" or "path",
4704 to be consistent with the terminology of the GNU coding standards.
4706 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
4708 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
4709 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
4710 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
4711 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
4713 More fixes to support spaces in the name of the build directory.
4714 This isn't a complete fix but it's an improvement.
4716 * bin/autoconf.as (autom4te_options): New var.
4717 Use it instead of appending to AUTOM4TE, so that we can allow
4718 spaces in the build directory's absolute name.
4719 * bin/autoheader.in ($autoconf): Allow spaces in file names.
4720 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
4721 AT_CHECK_NOESCAPE): Likewise.
4722 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
4723 main program): Likewise.
4725 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
4727 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
4728 From Ralf Corsepius in:
4729 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
4731 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
4733 * doc/autoconf.texi (Function Portability): Document isinf and
4734 and isnan. From a suggestion by Kevin Ryde.
4736 * lib/Autom4te/General.pm (END): Return correct exit status even
4737 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
4739 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
4741 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
4742 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
4743 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
4745 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
4747 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
4748 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
4749 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
4750 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
4751 * lib/autom4te.in (Automake-preselections): Preselect
4752 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
4754 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
4756 * lib/autom4te.in (Automake-preselections): Preselect
4757 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
4760 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
4762 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
4764 * doc/autoconf.texi (Shellology): Mention BIN_SH.
4765 Document problem with "`""`" in pdksh POSIX mode.
4767 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
4769 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
4770 with pdksh, too. Problem reported by Patrick Welche via
4772 * doc/autoconf.texi (Shellology): Note that set -o posix is
4773 useful for pkdsh, too.
4775 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
4777 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
4778 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
4779 Don't fail if ENV or BASH_ENV is readonly.
4780 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
4781 etc. are read only. Problem reported by Ludovic Courtes.
4783 2004-06-23 Noah Misch <noah@cs.caltech.edu>
4785 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
4786 zsh, disable GLOB_SUBST to avoid backslash handling problems.
4789 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
4791 * doc/autoconf.texi (File System Conventions): Warn about
4792 names like "aux". Problem reported by Eric Blake.
4794 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
4795 by zero instead of array size, so that we can use any arithmetic
4796 constant expression (instead of requiring an integer constant
4797 expression). This allows us to test expressions like DBL_MAX <
4798 LDBL_MAX, which didn't conform to the C standard using the old
4800 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
4801 now that we can do floating-point tests at compile time.
4803 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
4805 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
4806 and LDBL_EPSILON, as the resulting expression isn't an
4807 integer constant expression and violates the C standard.
4808 Problem reported by Nelson H. F. Beebe. Also, check
4809 for "L" suffix, and check that long double doesn't have
4810 worse range or precision than double, that mixed-mode
4811 arithmetic doesn't generate a diagnostic, that double
4812 constants fit in long double.
4814 2004-06-03 Kevin Ryde <user42@zip.com.au>
4816 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
4817 malloc(0) and realloc(NULL,size).
4819 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
4822 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
4824 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
4825 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
4828 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
4830 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
4831 can be rewritten using if-then-else. Suggested by Bruno Haible.
4833 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
4835 * doc/autoconf.texi (testsuite Scripts): Fix typo.
4836 Problem reported by Stepan Kasal.
4838 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
4840 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
4841 change). Patch reported by Ralf Wildenhues in
4842 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
4844 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
4845 function F exists if the compiler and linker let you compile an
4846 expression like (F != 0). Recent versions of GCC optimize away
4847 the reference to F in that case, since every function address must
4848 be nonzero, so the link succeeds even if F does not exist.
4849 Problem reported by Manu in
4850 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
4852 * doc/autoconf.texi (Systemology): Standardize on the spelling of
4853 "Unix". Many uses changed.
4854 (Limitations of Builtins): Explain better why the ! command isn't
4857 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
4859 * lib/autom4te.in (Automake-preselections): Preselect
4860 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
4862 2004-05-19 Kevin Ryde <user42@zip.com.au>
4864 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
4865 referencing AC_FUNC_STRERROR_R.
4867 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
4868 note pessimistic assumption when cross compiling.
4870 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
4872 * doc/autoconf.texi (Limitations of Make): Note that BSD make
4873 (until 2004) invoked subcommands with sh -e, contra POSIX.
4874 Reported by Kevin Ryde.
4876 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
4878 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
4879 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
4880 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
4881 `test -f " /usr/bin/grep"', which _always_ failed.
4882 (AC_PROG_SED): Ditto bogus PATH fix.
4883 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
4884 requires that grep correctly supports _multiple_ `-e' options, rather
4885 than stating only that grep should accept `-e'.
4887 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
4889 Port to C99, which requires that 'exit' be declared.
4891 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
4892 to ensure that stdlib.h is included.
4893 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
4894 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
4895 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
4896 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
4897 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
4898 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
4899 when using 'exit' in a test; C99 requires that 'exit' be declared.
4901 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
4903 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
4904 now prefers 'grep' implementations that accept -e.
4905 (Limitations of Usual Tools): Describe problems of traditional
4906 egrep and fgrep with long input lines, and of traditional grep
4908 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
4909 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
4910 All callers changed. Append /usr/xpg4/bin to the PATH, for
4912 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
4913 the user with complaints about multiple -e options.
4914 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
4915 Define it with AC_PROG_GREP.
4916 * configure.ac (AC_PROG_GREP): Add.
4917 * lib/freeze.mk (GREP): New macro.
4919 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
4921 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
4922 a possible candidate only after all others fail, rather than
4923 consulting it first. This improves backward compatibility by
4924 better reflecting the way shell selection occurred in previous
4925 versions of Autoconf, and should help to avoid triggering latent
4926 problems in other packages, such as the one in Automake where zsh
4927 is not handled robustly:
4928 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
4929 Although it is not Autoconf's responsibility to work around
4930 problems in Automake, it nevertheless makes sense to avoid
4931 introducing unnecessary incompatibilites.
4933 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
4934 Gary V. Vaughan <gary@gnu.org>
4936 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
4937 how deeply nested we are when a suitable tool is found, set the
4938 ac_path_TOOL_found flag.
4939 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
4940 nested we are in this macro. Break out of all 3 nested loops if
4941 ac_path_TOOL_found is set.
4943 2004-04-21 Gary V. Vaughan <gary@gnu.org>
4945 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
4946 of the _AS_PATH_WALK loop too if GNU flavor is found.
4948 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
4950 * doc/autoconf.texi (Limitations of Make): Update documentation
4951 for `$<'. New entry `Long lines', based on a report from Simon
4952 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
4953 paragraph about DJGPP, based on a mail from Richard Dawe.
4955 2004-04-20 Paul Eggert <eggert@twinsun.com>
4957 * tests/c.at (C keywords): Don't assume that GCC supports
4958 "restrict" and "inline", as sufficiently-old GCC versions do not
4959 (also, GCC configured to be in pedantic C89 mode does not).
4960 Problem reported by Sumit Pandya in:
4961 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
4963 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
4964 consider -g to work if it generates warnings when plain compiles
4965 don't. Problem reported by Braden McDaniel in:
4966 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
4968 * doc/autoconf.texi (Slashes): New section, to document a problem
4969 reported by Jim Meyering in:
4970 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
4972 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
4973 linker output files before linking, to work around IRIX 6 linker bug.
4974 Problem reported by Rainer Orth in:
4975 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
4977 2004-04-20 Gary V. Vaughan <gary@gnu.org>
4979 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
4980 best tool so far counter rely on the tool path variable name to
4981 avoid checks for one tool being affected by the results of running
4982 the length check on a previous tool.
4984 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
4985 match expression argument, as different greps have different
4986 regular expression flavours.
4987 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
4989 (AC_PROG_EGREP): Pass 'EGREP$'.
4990 (AC_PROG_GREP): Pass 'GREP$'.
4992 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
4994 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
4995 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
4997 2004-03-29 Paul Eggert <eggert@twinsun.com>
4999 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
5000 Types, Specific Compiler Characteristics, System Services,
5001 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
5002 etc. consistently instead of 'long', 'short', 'unsigned' etc.
5003 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
5004 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
5006 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
5007 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
5008 AC_TYPE_OFF_T): Likewise.
5009 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
5012 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
5013 pacify libtool 1.5.2. Fix quoting problems in sed command.
5015 2004-03-28 Paul Eggert <eggert@twinsun.com>
5017 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
5018 now defines HAVE_DECL_TZNAME if it is declared, when
5019 HAVE_STRUCT_TM_TM_ZONE is not defined.
5020 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
5021 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
5024 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
5026 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
5027 superfluous backslashing of quotes (") in sed expressions;
5028 thanks to Paul Eggert.
5030 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
5032 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
5033 Fortran compiler is ifort, also added pghpf; thanks to Nelson
5034 H. F. Beebe for the bug report.
5036 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
5038 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
5039 quoted -cmdline argument in Portland Group compiler (bug
5040 reported by Jeffrey J. Barteet).
5042 2004-03-25 Kevin Ryde <user42@zip.com.au>
5044 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
5045 (Run Time): ... here, where it's now mentioned.
5047 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
5049 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
5050 inherits from language Autoconf-without-aclocal-m4.
5051 (Customizing autom4te): Adjust example; the cache must now be
5052 disabled for language Autoconf-without-aclocal-m4.
5054 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
5055 Nathanael Nerode <neroden@twcny.rr.com>
5057 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
5058 AC_CHECK_TOOLS): Warn if a cross-tool is found without
5060 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5061 AC_CHECK_TARGET_TOOLS): New macros.
5062 * doc/autoconf.texi (Generic Programs): Document
5063 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
5064 AC_CHECK_TARGET_TOOLS, and warn for future changes
5065 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
5067 (Specifying Names): Document the reason for these future
5069 * tests/mktests.sh: Do not generate tests for the
5071 * NEWS: Document these changes.
5073 * doc/autoconf.texi: Avoid macros with unbraced arguments,
5074 they make TeX hang up.
5076 2004-03-15 Paul Eggert <eggert@bogus.example.com>
5078 * NEWS: New macro AC_CHECK_ALIGNOF.
5079 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
5080 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
5081 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
5083 (AC_CHECK_ALIGNOF): New macro.
5084 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
5085 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
5088 2004-03-03 Paul Eggert <eggert@twinsun.com>
5090 * bin/Makefile.am (edit): Don't use $< in a context where
5091 POSIX doesn't require support for it. Use $@.in instead.
5092 Problem reported by Anthony N. Frasso in
5093 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
5094 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
5096 2004-02-23 Gary V. Vaughan <gary@gnu.org>
5098 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
5099 from the next generation of Libtool.
5100 * lib/autom4te.in (Autoreconf-preselections): Ditto.
5102 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5104 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
5105 is not always thread-safe. Report from Nathanael Nerode.
5107 2004-02-18 Paul Eggert <eggert@twinsun.com>
5109 Fix a dependencies problem, stemming from a Autoconf 2.59 build
5110 problem on QNX reported by Stephen Rasku in
5111 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
5113 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
5114 $(m4sh_m4f_dependencies); this removes a FIXME.
5115 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
5116 (MAINTAINERCLEANFILES): Split into pieces,
5117 one per related section. Add $(srcdir)/wrapper.in.
5119 2004-02-09 Paul Eggert <eggert@twinsun.com>
5121 * doc/autoconf.texi (Setting Output Variables): Emphasize that
5122 AC_SUBST provides no portable way to escape literal newlines.
5124 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
5125 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
5126 Darwin uses -lcrt2.o and there's little point to cataloging all
5127 the system variants. Partial fix reported by Andreas Waechter in:
5128 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
5129 for bug reported by Nelson H. F. Beebe in:
5130 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
5132 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
5134 * doc/autoconf.texi (AU_DEFUN): Fix English,
5135 suggested by Paul Eggert.
5136 * lib/autoconf/autoupdate.m4: Correct reference to
5137 acobsolete.m4, suggested by Alexandre Duret-Lutz.
5139 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
5141 * bin/autoupdate.in: Define __file__ so that warnings
5142 refer to the correct file.
5143 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
5144 the behavior of the third argument.
5145 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
5146 correctly the behavior of the third argument. Document
5147 what the three macros that AU_DEFUN defines do. Fix
5148 warning message when the third argument includes $0
5149 (reported by Alexandre Duret-Lutz).
5151 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
5152 Eric Sunshine <sunshine@sunshineco.com>
5153 Paul Eggert <eggert@twinsun.com>
5155 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
5156 (AS_INIT): Output shell initialization there. Removed optional
5157 parameter. Expand _AS_SHELL_FN_SPY.
5158 (AS_INIT_WITH_SHELL_FN): Removed.
5159 (_AS_SHELL_FN_SPY): New macro.
5160 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
5162 (AS_SHELL_SANITIZE): Remove loop to find better shell
5163 and documentation for the parameter.
5164 (_AS_DETECT_BETTER_SHELL): Move it here.
5165 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
5166 (_AS_RUN): Move it here, support testing with eval.
5167 (AS_REQUIRE_SHELL_FN): Require shell functions when
5169 (_AS_LINENO_WORKS): Put around braces, we do not
5170 trigger the bash bug anymore.
5171 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
5172 use AS_INIT_WITH_SHELL_FN.
5173 * bin/autoconf.in, tests/wrapper.in: Regenerated.
5175 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
5177 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
5178 * doc/autoconf.texi: Don't say that the third parameter
5180 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
5181 (AU_DEFUN): Honor the third parameter, create autoupdate
5182 macros with AU_DEFINE.
5183 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
5184 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
5185 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
5186 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
5187 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
5188 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
5189 AC_XENIX_DIR): Likewise.
5190 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
5191 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
5192 * lib/autoconf/status.m4: Remove FIXME.
5193 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
5194 that the macro is not present anymore in the updated
5196 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
5199 2004-01-28 Paul Eggert <eggert@twinsun.com>
5201 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
5203 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
5204 2003 (except 1997) to the list of copyright years. This undoes
5205 the 2003-05-22 change, which removed the older years from the list.
5206 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
5208 2004-01-27 Gary V. Vaughan <gary@gnu.org>
5209 Albert Chin-A-Young <china@thewrittenword.com>
5211 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
5212 grep or ggrep program in PATH that accepts as long lines as
5214 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
5216 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
5217 egrep and fgrep respectively if $GREP -E/-F don't work.
5218 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
5219 _AC_PROG_GREP, and AC_PROG_SED.
5220 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
5221 longest input length accepted by a command.
5222 (AC_PROG_SED): Use it.
5223 * doc/autoconf.texi (Particular Programs): Document the changes.
5226 2004-01-27 Paul Eggert <eggert@twinsun.com>
5228 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
5229 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5230 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
5231 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
5233 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
5234 bin/autoconf.in, config/Makefile.in, config/config.guess,
5235 config/config.sub, config/install-sh, config/mdate-sh,
5236 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
5237 lib/Makefile.in, lib/Autom4te/Makefile.in,
5238 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
5239 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
5240 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
5241 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
5242 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
5243 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
5244 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
5245 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
5246 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
5247 tests/actypes.at: Regenerate and/or sync with original
5250 2004-01-26 Paul Eggert <eggert@twinsun.com>
5252 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
5253 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
5254 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
5255 not <inttypes.h>. Problem reported by Tim Mooney in
5256 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
5257 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
5260 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
5261 otherwise "make check" fails because it forbids cmp (I guess
5262 because cmp treats files as binary on DOS-like systems).
5264 * tests/mktests.sh: Update copyright date to 2004, since some tests
5265 have changed in 2004.
5267 2004-01-23 Gary V. Vaughan <gary@gnu.org>
5269 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
5270 non-truncating sed or gsed program in PATH.
5271 * tests/acprograms.at: Add it.
5272 * doc/autoconf.texi (Particular Programs): Document it.
5275 2004-01-15 Paul Eggert <eggert@twinsun.com>
5277 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
5278 -std1 disables some useful extensions on Tru64. Problem reported
5280 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
5282 2004-01-14 Paul Eggert <eggert@twinsun.com>
5284 * doc/autoconf.texi (Programming in M4sh): Document that
5285 AS_MKDIR_P succeeds if the destination is a symbolic link
5286 to an existing directory.
5287 (Limitations of Usual Tools): Note that mkdir -p might not
5288 succeed on symlinks to directories.
5290 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
5292 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
5293 * bin/autoheader.in: Grammar fix in message.
5294 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
5295 Test for dir before calling mkdir -p. (trivial changes)
5297 2004-01-13 Eric Blake <ebb9@byu.net>
5299 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
5300 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
5302 2004-01-10 Jim Meyering <jim@meyering.net>
5304 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
5306 2004-01-09 Paul Eggert <eggert@twinsun.com>
5308 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
5309 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
5310 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
5311 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
5312 AC_COMPILE_IFELSE, since we now assume our caller invokes
5313 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
5314 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
5315 of AC_RUN_IFELSE; this avoids the warning mentioned above.
5316 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
5318 2004-01-07 Paul Eggert <eggert@twinsun.com>
5320 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
5321 `"'...'"`, as it's confusing (and I suspect it may not work on
5322 some platforms). The code was incorrect anyway, as it assumed
5323 that \$ evaluated to itself in that context. Reported by
5324 Alexandre Duret-Lutz.
5326 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
5328 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
5329 and _LT_AC_TAGCONFIG.
5331 2004-01-06 Paul Eggert <eggert@twinsun.com>
5333 * doc/autoconf.texi (One Macro Call): Fix an incorrect
5334 example, and add more examples. Reported by Eric Sunshine.
5336 2004-01-05 Paul Eggert <eggert@twinsun.com>
5338 * doc/autoconf.texi (Limitations of Usual Tools):
5339 Remove warning against "rm -fr" introduced yesterday; it
5342 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
5343 autoscan, autoupdate, ifnames): Don't use chmod -w.
5344 * lib/Makefile.am (autom4te.cfg): Likewise.
5345 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
5348 2004-01-04 Paul Eggert <eggert@twinsun.com>
5349 Paolo Bonzini <bonzini@gnu.org>
5351 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
5352 by doing lineno substitution only on lines containing "$LINENO".
5354 2004-01-04 Paul Eggert <eggert@twinsun.com>
5356 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
5357 Use "rm -f" to remove conftest.sed, not plain "rm".
5358 Bug reported by David Relson in
5359 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
5361 * Makefile.am (autom4te-update):
5362 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
5363 * Makefile.maint (my-distcheck, do-po-update): Likewise.
5364 * doc/autoconf.texi (Guidelines): Likewise.
5365 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
5366 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
5367 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
5368 * lib/autotest/general.m4 (AT_INIT): Likewise.
5369 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
5370 * tests/Makefile.am (clean-local): Likewise.
5371 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
5373 * doc/autoconf.texi (Limitations of Usual Tools):
5374 Warn against "rm -fr".
5376 2004-01-03 Paul Eggert <eggert@twinsun.com>
5378 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
5379 -c -o might not work. From a suggestion by Kevin Ryde.
5380 (C Compiler, Generating Sources, Limitations
5381 of Usual Tools, Limitations of Make, Making testsuite Scripts):
5382 Don't put '-o' after non-options, as POSIX doesn't allow this.
5383 Mention that cc's name might be gcc or c89 or whatever.
5385 2004-01-04 Kevin Ryde <user42@zip.com.au>
5387 * doc/autoconf.texi: Add various further index entries.
5389 2003-12-29 Paul Eggert <eggert@twinsun.com>
5391 * bin/autoreconf.in (autoreconf_current_directory):
5392 Fix typo: mkdir without umask arg.
5394 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
5396 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
5397 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
5398 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
5399 explanation clearer.
5401 2003-12-24 Andreas Schwab <schwab@suse.de>
5403 * doc/autoconf.texi (Default Includes): Fix misspelling of
5404 AC_INCLUDES_DEFAULT.
5406 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
5408 * configure.ac: Test if sh -n works.
5409 * configure: Regenerate.
5410 * tests/atlocal.in: Store the result here.
5411 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
5412 tools.at, looking in atlocal's ac_cv_sh_n_works instead
5413 of explicitly testing.
5414 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
5415 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
5416 * tests/tools.at (Syntax of the shell scripts): Simplify
5417 using AT_CHECK_SHELL_SYNTAX.
5418 (Syntax of the Perl scripts): Remove definition of
5419 AT_CHECK_PERL_SYNTAX.
5421 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
5423 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
5424 stderr to /dev/null.
5425 * bin/autoconf.in: Regenerate.
5426 * bin/wrapper.in: Regenerate.
5428 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
5430 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
5431 Extracted from AS_SHELL_SANITIZE.
5432 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
5434 (AS_SHELL_SANITIZE): Move reinvocation code from
5435 _AS_LINENO_WORKS, use it to find out if shell
5437 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
5439 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
5440 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
5442 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
5443 * bin/autoconf.in: Regenerate.
5444 * tests/wrapper.in: Regenerate.
5445 * tests/tools.at: Test the syntax of tests/autoconf
5446 and tests/testsuite.
5448 2003-11-24 Akim Demaille <akim@epita.fr>
5450 * config/announce-gen (&print_locations, &print_signatures)
5453 No longer rely on Gnus to inline the list of signatures: compute
5456 2003-11-24 Akim Demaille <akim@epita.fr>
5458 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
5459 override some files.
5460 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
5461 From Debian Autoconf 2.58.
5463 2003-11-24 Akim Demaille <akim@epita.fr>
5465 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
5467 From Debian Autoconf 2.58.
5469 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
5471 * TODO: Remove already done things. Update the part about finding
5472 tools for the target.
5474 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
5476 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
5477 Make wording more consistent.
5478 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5479 Explain the transition better.
5480 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
5481 the transition better.
5483 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
5485 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
5486 parameter of AU_DEFUN.
5487 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
5488 (AU_DEFUN): Remove the third parameter, it was not used.
5489 Use AC_DEFUN directly, not AU_DEFINE.
5490 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
5491 the expanded body, consistently with other macros such as AC_USG.
5493 2003-11-17 Paul Eggert <eggert@twinsun.com>
5495 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
5496 into the initial confdefs.h, to work around a bug in NextStep 3.3
5497 patch 3 reported by Eric Sunshine.
5499 2003-11-15 Kevin Ryde <user42@zip.com.au>
5501 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
5502 than $target since the latter is not usual, add guidelines on when to
5503 use or not use the system type.
5505 2003-11-12 Derek Price <derek@ximbiot.com>
5507 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
5508 typo misrepaired by an auto-spellcheck.
5510 2003-11-12 Akim Demaille <akim@epita.fr>
5512 * bin/autoreconf.in (&parse_args): Don't call automake with
5513 --force-missing unless it actually supports it.
5514 From Debian #219336.
5516 2003-11-12 Akim Demaille <akim@epita.fr>
5518 * configure.ac: Bump to 2.59a.
5521 2003-11-06 Akim Demaille <akim@epita.fr>
5525 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
5527 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
5528 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
5529 and ac_abs_top_srcdir are absolute paths.
5530 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
5532 2003-11-05 Akim Demaille <akim@epita.fr>
5534 * configure.ac: Bump to 2.58a.
5536 2003-11-05 Kevin Ryde <user42@zip.com.au>
5538 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
5539 it provokes a warning from makeinfo about looking like a cross
5540 reference in info output.
5542 * doc/autoconf.texi (Function Portability): Add notes on signal
5543 handler return type, as per AC_TYPE_SIGNAL.
5545 2003-11-04 Akim Demaille <akim@epita.fr>
5548 * doc/standards.texi: Update from master.
5550 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
5552 2003-11-04 Akim Demaille <akim@epita.fr>
5554 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
5555 computing the absolute path to d1 in the source hierarchy: it may
5556 not exist at all. So don't cd into it.
5557 From Alexandre Duret-Lutz.
5558 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
5560 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
5561 From Paul Eggert, but named after Perl's IO::Spec->catfile.
5562 * doc/autoconf.texi (Programming in M4sh): Document.
5563 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
5565 2003-11-03 Pavel Roskin <proski@gnu.org>
5567 * doc/autoconf.texi (Generic Structure Checks): Describe
5568 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
5570 2003-10-31 Akim Demaille <akim@epita.fr>
5572 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
5574 * doc/autoconf.texi (Language Choice): Document.
5575 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
5576 the current language is Fortran.
5578 2003-10-31 Akim Demaille <akim@epita.fr>
5580 * bin/autom4te.in (&freeze): Use a less likely warning separator
5581 than `\n\n', so that `\n\n\n' is valid in warnings.
5582 Reported by Steve Huston.
5584 2003-10-28 Akim Demaille <akim@epita.fr>
5586 * Makefile.cfg (local_updates, executable-update): Tweak to be
5587 robust to parallel makes.
5588 Suggested by Alexandre Duret-Lutz.
5590 2003-10-27 Akim Demaille <akim@epita.fr>
5592 * Makefile.cfg (executable-update): New.
5593 (local_updates): Call it.
5595 2003-10-27 Akim Demaille <akim@epita.fr>
5597 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
5598 Don't remove core.* as it may remove valid user files.
5599 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
5600 (AC_FUNC_UTIME_NULL): Likewise.
5602 2003-10-23 Akim Demaille <akim@epita.fr>
5605 * config/config.guess, config/config.sub: Upgrade from masters.
5607 2003-10-23 Akim Demaille <akim@epita.fr>
5609 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
5610 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
5613 2003-10-23 Akim Demaille <akim@epita.fr>
5615 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
5616 Don't forget to remove conftest.err.
5618 2003-10-23 Akim Demaille <akim@epita.fr>
5620 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
5621 same object file in $LIBOBJS.
5622 Reported by Alexandre Duret-Lutz & Derek Robert Price.
5623 * doc/autoconf.texi (Generic Functions): Adjust.
5625 2003-10-20 Paul Eggert <eggert@twinsun.com>
5627 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
5628 Use 'eval', so that the resulting configure scripts work even if
5629 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
5631 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
5633 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
5634 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
5635 (_AC_LINK_IFELSE): Check the werror flag.
5636 * doc/autoconf.texi (Generic Compiler Characteristics): Document
5640 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
5642 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
5643 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
5644 override AC_LINK_IFELSE.
5646 2003-10-15 Paul Eggert <eggert@twinsun.com>
5648 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
5649 pdksh 5.2.14. Bug reported by Ralf Corsepius.
5650 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
5651 Mention /usr/dt/bin/dtksh on Solaris.
5652 (Shell Substitutions): Warn about $((...)).
5653 (Parentheses): New section.
5655 2003-10-15 Kevin Ryde <user42@zip.com.au>
5657 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
5658 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
5660 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
5662 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
5665 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
5667 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
5668 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
5670 2003-10-10 Andreas Schwab <schwab@suse.de>
5672 * bin/autoheader.in: Avoid empty first line in --version and
5674 * bin/ifnames.in: Likewise.
5676 2003-10-09 Paul Eggert <eggert@twinsun.com>
5678 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
5679 Issue a more-informative diagnostic.
5680 Problems reported by Eric Sunshine.
5682 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
5684 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
5685 -mGLOB_options_string stuff for Intel ifc, which can cause
5686 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
5687 pattern-matching instead of grep.
5689 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
5691 * doc/autoconf.texi: Document new FC Fortran macros.
5693 2003-10-08 Gary V. Vaughan <gary@gnu.org>
5695 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
5696 that future autopoint/aclocal/automake/autoreconf will be able
5697 to trace to find where to install local m4 macros.
5698 * doc/autoconf.texi (Input): Document it.
5701 2003-10-06 Gary V. Vaughan <gary@gnu.org>
5703 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
5704 -lcrtbegin.o to list of ignored flags and fix underquoting of
5707 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
5709 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
5710 cache variable instead of $G77 to decide whether to include -O2,
5711 since $G77 is specific to Fortran 77.
5713 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
5715 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
5716 free" flag. Re-order flags tested into rough order of popularity.
5718 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
5720 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
5721 arguments so that it can be used with syntax identical to
5722 AC_PROG_F77, and so that we can more easily decide to
5723 remove/deprecate the DIALECT optional argument in the future if it
5725 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
5726 non-freeform-supporting compilers. Document freeform flags.
5728 2003-10-03 Akim Demaille <akim@epita.fr>
5730 * configure.ac: Look for emacs, not macs.
5731 Reported by Eric Sunshine.
5733 2003-10-03 Akim Demaille <akim@epita.fr>
5735 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
5736 * bin/autoreconf.in (autoreconf_current_directory): Create the
5737 AUX_DIR if needed, for sake of automake --add-missing etc.
5738 Suggested by Alexandre Duret-Lutz.
5740 2003-10-03 Akim Demaille <akim@epita.fr>
5742 * configure.ac: Quotation and formatting changes.
5743 (EMACS): Don't set it if it is not recent enough to support
5747 2003-10-02 Akim Demaille <akim@epita.fr>
5749 * bin/ifnames.in (&scan_file): Skip C++ comments.
5752 2003-10-01 Pavel Roskin <proski@gnu.org>
5754 * doc/autoconf.texi (Particular Structure Checks):
5755 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
5757 2003-10-01 Akim Demaille <akim@epita.fr>
5761 2003-09-30 Paul Eggert <eggert@twinsun.com>
5763 * lib/Autom4te/XFile.pm: Use Errno.
5764 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
5765 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
5767 2003-09-30 Akim Demaille <akim@epita.fr>
5769 * config/announce-gen (&print_news_deltas): Extracted from...
5770 (&print_changelog_deltas): here.
5771 (&news_file): Rename as...
5774 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
5776 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
5777 have been created when invoking the compiler.
5778 * tests/fortran.at (GNU Fortran 77): Quote $G77.
5780 2003-09-29 Akim Demaille <akim@epita.fr>
5784 * config/mkinstalldirs: Upgrade.
5786 2003-09-28 Paul Eggert <eggert@twinsun.com>
5788 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
5789 Problem reported by Lars J. Aas in
5790 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
5791 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
5792 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
5793 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
5795 2003-09-26 Akim Demaille <akim@epita.fr>
5797 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
5798 directory for AC_CONFIG_COMMANDS' first argument exists.
5799 This makes valid the invocation of _AC_SRCPATH that follows.
5800 Reported by Eric Sunshine.
5801 * doc/autoconf.texi (Configuration Commands): Adjust.
5803 2003-09-26 Akim Demaille <akim@epita.fr>
5805 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
5806 Reported by Ralf Corsepius.
5808 2003-09-26 Akim Demaille <akim@epita.fr>
5810 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
5812 Actually, use AU_ALIAS.
5815 2003-09-26 Paul Eggert <eggert@twinsun.com>
5817 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
5818 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
5819 Problem reported by Eric Sunshine in:
5820 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
5822 2003-09-26 Akim Demaille <akim@epita.fr>
5824 The test suite are sometimes assigning timings incorrectly.
5825 Reported by Henk Krus.
5826 Diagnosed by Nicolas Joly.
5828 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
5830 Instead of making AT_help a sequence of assignments to grow
5831 $at_help_all, just make AT_help_all be the growing contents of
5832 $at_help_all, and make a single assignment in...
5834 (at_times_skip): Flip the meaning and rename as...
5836 (AT_INIT): When summarizing the test that ran, remove
5837 $at_times_file after use, and check it is present before trying to
5840 2003-09-25 Akim Demaille <akim@epita.fr>
5844 * bin/Makefile.am (edit): Handle '@configure_input@'.
5845 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
5846 (ifnames): chmod -w.
5847 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
5848 executables, not bin/ executables! Otherwise all the magic needed
5849 to find non installed files is turned off. This caused a failure
5850 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
5851 as found in its environment (sent by tests/autoreconf): pointing
5852 to bin/autom4te that could not find its files.
5853 * tests/mktests.sh: Force the replacement of generated files, for
5854 the sake of "mv" program that are interactive when overwriting a
5856 * config/install-sh: Upgrade from CVS Automake.
5858 2003-09-23 Paul Eggert <eggert@twinsun.com>
5860 * doc/autoconf.texi (Limitations of Builtins): Document test -h
5861 versus test -L issues.
5863 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
5864 Paul Eggert <eggert@twinsun.com>
5866 Trivial change to support GCC's configuration procedure.
5867 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
5868 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
5869 about inconsistency if the preprocessor is set to give errors for
5871 * doc/autoconf.texi (C Compiler Characteristics): Document this.
5873 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
5875 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
5876 and XFile.pm from Automake.
5877 * lib/Autom4te/XFile.pm: Update from Automake.
5879 2003-09-12 Akim Demaille <akim@epita.fr>
5883 2003-09-12 Akim Demaille <akim@epita.fr>
5885 * config/config.guess, config/config.sub, config/missing,
5886 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
5889 2003-09-12 Akim Demaille <akim@epita.fr>
5891 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
5894 2003-09-11 Akim Demaille <akim@epita.fr>
5896 * doc/autoconf.texi (Header Portability): linux/random.h.
5897 From Peter Hendrickson.
5899 2003-09-10 Akim Demaille <akim@epita.fr>
5901 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
5902 willing to edit the output files.
5904 2003-09-10 Akim Demaille <akim@epita.fr>
5906 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
5908 * tests/mktests.sh: Skip AC_FC_SRCEXT.
5909 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
5911 2003-09-09 Akim Demaille <akim@epita.fr>
5913 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
5914 Reported by Gary Vaughan.
5915 * bin/autom4te.in (handle_m4): Likewise.
5917 2003-09-09 Akim Demaille <akim@epita.fr>
5919 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
5922 2003-09-07 Paul Eggert <eggert@twinsun.com>
5924 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
5925 Improve the accuracy of the wording about obsolescence.
5926 From a suggestion by Ian Lance Taylor in
5927 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
5929 2003-09-05 Paul Eggert <eggert@twinsun.com>
5931 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
5932 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
5934 2003-09-04 Akim Demaille <akim@epita.fr>
5936 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
5939 2003-09-04 Akim Demaille <akim@epita.fr>
5941 * bin/autom4te.in: Use &fatal where more appropriate than &error.
5942 (freeze): When exiting, use $exit_code.
5943 * lib/autoconf/fortran.m4: Comment changes.
5945 2003-09-04 Akim Demaille <akim@epita.fr>
5947 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
5949 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
5951 Add support for newer Fortran dialects. The F77 interface is
5952 unchanged, and continues to support Fortran 77. New FC macros
5953 correspond to all the old F77 macros, with output variables FC,
5954 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
5955 available dialect, but older dialects can be specified. There are
5956 new macros AC_FC_SRCEXT to set the source extension, and
5957 AC_FC_FREEFORM to accept free-form source files.
5959 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
5961 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
5962 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
5963 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
5964 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
5965 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
5966 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
5967 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
5968 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
5969 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
5970 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
5971 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
5972 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
5973 AC_FC_SRCEXT, AC_FC_FREEFORM):
5975 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
5976 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
5977 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
5978 Rewrite in terms of the above.
5979 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
5980 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
5981 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
5982 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
5984 2003-09-02 Paul Eggert <eggert@twinsun.com>
5986 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
5987 Document problems with timestamp resolution that 'make', 'cp -p', and
5990 2003-08-27 Akim Demaille <akim@epita.fr>
5992 * tests/m4sugar.at (cross_warning): Make sure to enable the
5993 output, so that we can track spurious m4sugar output.
5994 * tests/local.at: Require 2.57.
5995 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
5996 are defaulted by AT_CHECK anyway.
5997 Use AT_CHECK_AUTOM4TE.
5998 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
6001 2003-08-27 Akim Demaille <akim@epita.fr>
6003 * bin/autoheader.in: Issue the "Using auxiliary..." message only
6004 when -Wobsolete is set.
6005 Set it on by default.
6006 Suggested by Klee Dienes.
6008 2003-08-27 Akim Demaille <akim@epita.fr>
6010 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
6014 2003-08-26 Akim Demaille <akim@epita.fr>
6016 * doc/autoconf.texi (Output): Make clear that one can run code
6019 2003-08-25 Akim Demaille <akim@epita.fr>
6021 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
6024 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
6026 * bin/autoreconf.in (parse_args): Do not pass --no-force to
6027 Automake versions prior to 1.8.
6029 2003-08-25 Akim Demaille <akim@epita.fr>
6031 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
6034 2003-08-24 Akim Demaille <akim@epita.fr>
6036 * configure.ac: Bump to 2.57c.
6038 2003-08-22 Akim Demaille <akim@epita.fr>
6042 * Makefile.cfg (local-checks-to-skip): New.
6043 * Makefile.maint (local-check): Rename as...
6044 (local-checks-available): this.
6047 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
6048 * configure.ac: Require Automake 1.7.6.
6050 2003-08-22 Akim Demaille <akim@epita.fr>
6052 Output stack traces in warnings.
6054 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
6055 Replace the former...
6056 (m4_warn): Pass the call stack to _m4_warn.
6057 * bin/autom4te.in: Adjust to output the call stack.
6058 * tests/m4sugar.at (m4@&t@_warn): Adjust.
6060 2003-08-22 Akim Demaille <akim@epita.fr>
6062 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
6063 * bin/autom4te.in: Adjust.
6065 2003-08-21 Akim Demaille <akim@epita.fr>
6067 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
6069 (&getopt): Adjust the note and verb channels, depending upon
6071 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
6072 * bin/autoupdate.in: Adjust.
6073 Use &verb, not &verbose.
6075 2003-08-21 Akim Demaille <akim@epita.fr>
6077 * bin/autoheader.in (&parse_args): Use &parse_warnings and
6079 ($help): Use Autom4te::ChannelDefs::usage.
6080 * bin/autoscan.in: Use Autom4te::ChannelDefs.
6081 * lib/Autom4te/General.pm: Don't export error: you don't own it.
6083 2003-08-21 Akim Demaille <akim@epita.fr>
6085 First stab at preserving warnings between calls to autom4te,
6086 including when the cache is used.
6088 There are still several issues: (i) there are too many runs of m4
6089 (one for include, one for warnings, and some more), (ii) warnings
6090 spreading on several lines are not handled gracefully, (iii) the
6091 code meant to have the call stack display for errors does not work
6092 (its handling should move from m4 to autom4te).
6094 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
6096 (@preselect): Add m4_warn.
6097 ($exit_status): Remove, use $exit_code.
6098 ($help): Use Autom4te::ChannelDefs::usage.
6099 (&handle_m4): No longer define the m4_warnings.
6100 At each run, extract and report the warnings.
6101 Always cache the result, including if the exit status is on
6102 failure, since if nothing changes, we should result in the same
6103 failure, hence we can use the cache.
6104 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
6105 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
6107 (m4_warn): Redefine as a do-nothing: it is its invocation that
6108 matters, as warnings are now reported via traces.
6109 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
6110 the contents of m4_warn: make it _call_ m4_warn, so that tracing
6111 the latter reveals calls to the former.
6115 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
6117 2003-08-21 Akim Demaille <akim@epita.fr>
6119 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
6122 2003-08-21 Akim Demaille <akim@epita.fr>
6124 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
6126 * lib/Autom4te/ChannelDefs.pm: Doc typos.
6127 (&parse_warnings): Accept a list of warning requests.
6128 (&usage): Return a string, not a side effect.
6129 (cross): New warning category.
6131 2003-08-21 Akim Demaille <akim@epita.fr>
6133 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
6134 (&require_configure_ac): Accept an optional directory argument.
6135 ($configure_ac): Remove.
6136 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
6138 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
6139 * bin/autoscan.in: Adjust.
6141 2003-08-20 Akim Demaille <akim@epita.fr>
6143 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
6144 Reported by Alexandre Duret-Lutz.
6146 2003-08-20 Akim Demaille <akim@epita.fr>
6148 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
6149 * bin/autom4te: Adjust.
6150 In particular, be Autoconf tools are really silent when properly
6151 working, bind the verbosity of the 'note' channel to $verbose.
6152 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
6153 (&xsystem, &contents): Remove, since they are exported by...
6154 * lib/Autom4te/FileUtils.pm: this.
6156 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
6157 * lib/Autom4te/FileUtils.pm: here.
6159 2003-08-20 Akim Demaille <akim@epita.fr>
6161 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
6162 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
6165 2003-08-20 Akim Demaille <akim@epita.fr>
6167 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
6168 (autom4te-update): New.
6169 * Makefile.cfg (update): Bind autom4te-update.
6171 2003-08-19 Derek Price <derek@ximbiot.com>
6173 * lib/autotest/general.m4: Comment various HELP_* diversions.
6174 (PARSE_ARGS_BEGIN): New section for option parsing related
6176 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
6177 package specific options and associated help.
6179 2003-08-19 Akim Demaille <akim@epita.fr>
6181 * config/announce-gen, Makefile.cfg: New.
6182 * Makefile.am: Adjust.
6183 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
6185 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
6187 * lib/autom4te.in (Automake-preselections): Preselect
6188 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
6191 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
6193 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
6194 (Autoconf-without-aclocal-m4): ... this new language.
6195 * doc/autoconf.texi (autom4te Invocation): Mention
6196 Autoconf-without-aclocal-m4.
6198 2003-08-18 Derek Price <derek@ximbiot.com>
6200 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
6201 RUN-IF-PASS optional arguments.
6203 2003-08-18 Derek Price <derek@ximbiot.com>
6205 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
6207 2003-08-16 Derek Price <derek@ximbiot.com>
6209 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
6210 STDOUT & STDERR arguments.
6212 2003-08-14 Derek Price <derek@ximbiot.com>
6214 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
6215 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
6216 shorter column three. Add DESCRIPTION to log file content.
6218 2003-08-13 Derek Price <derek@ximbiot.com>
6220 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
6223 2003-08-12 Derek Price <derek@ximbiot.com>
6225 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
6226 (AT_CHECK_NOESCAPE): Move core functionality to...
6227 (_AT_CHECK): ...this new macro.
6229 2003-08-07 Derek Price <derek@ximbiot.com>
6231 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
6232 (AT_CHECK_NOESCAPE): ...to this new macro.
6234 2003-07-31 Paul Eggert <eggert@twinsun.com>
6236 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
6237 in Bash 2.01. Problem reported by Brian Gough in
6238 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
6240 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
6242 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
6243 -lcrt1.o, for OS X. (trivial change)
6245 2003-07-07 Paul Eggert <eggert@twinsun.com>
6247 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
6248 inside '#ifndef __cplusplus'. Problem reported by
6251 2003-07-06 Bill Clarke <llib@computer.org>
6253 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
6254 'long', not 'int', for benefit of Sun's recent C++ compilers
6255 (trivial change). See:
6256 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
6257 (This really should be 'intptr_t', not 'long', but that would
6260 2003-06-25 Akim Demaille <akim@epita.fr>
6262 * lib/Makefile.am (autom4te.cfg): Make it read only.
6263 Depend on Makefile since it contains substitutions.
6265 * lib/autom4te.in (args): Add local.at? for Autotest args.
6266 This change was made on autom4te.cfg which is generated.
6267 Reported by Raja R. Harinath.
6269 2003-06-25 Akim Demaille <akim@epita.fr>
6271 * doc/autoconf.texi (Header Portability): sys/mount.h.
6272 From Gareth McCaughan.
6274 2003-06-23 Akim Demaille <akim@epita.fr>
6276 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
6277 not all of them. This fixes 1. the fact that when testing
6278 Autoconf there are many many config.log, 2. the incorrect use of
6279 top_srcdir to find config.log.
6280 Don't mix the detailed output of failed test with the summary of
6281 failures. Rather, append detailed log afterwards.
6283 2003-06-23 Akim Demaille <akim@epita.fr>
6285 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
6286 always run: output config.log on $at_group_log.
6288 2003-06-23 Akim Demaille <akim@epita.fr>
6290 * tests/torture.at (#define header templates): Don't use quotes in
6291 C++ comments as it puzzles Emacs' sh font-lock-mode.
6293 2003-06-23 Akim Demaille <akim@epita.fr>
6295 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
6296 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
6297 * tests/atspecific.m4: Rename as...
6298 * tests/local.at: This.
6299 * tests/suite.at: Move the globals into...
6300 * tests/local.at: here.
6301 * tests/Makefile.am: Adjust.
6302 * doc/autoconf.texi (testsuite Scripts): Adjust.
6304 2003-06-21 Kevin Ryde <user42@zip.com.au>
6306 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
6307 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
6308 ensuring we add -std1 for full-ANSI.
6310 * doc/autoconf.texi (hdrindex): New macro.
6311 Add index entries for portability of various standard header files.
6313 2003-06-20 Akim Demaille <akim@epita.fr>
6315 * configure.ac: Bump to 2.57b.
6317 2003-06-20 Akim Demaille <akim@epita.fr>
6321 2003-06-20 Akim Demaille <akim@epita.fr>
6323 * bin/autom4te.in: Don't rely on $HOME being defined.
6324 Reported by Marc Espie as PR/233.
6326 2003-06-20 Akim Demaille <akim@epita.fr>
6328 * lib/autotest/general.m4: Use at_times_file only if used.
6331 2003-06-20 Akim Demaille <akim@epita.fr>
6333 * config/config.guess, config/config.sub, config/elisp-comp,
6334 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
6335 Update from masters.
6337 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
6339 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
6340 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
6341 (TEST_SCRIPT): New diversion.
6342 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
6343 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
6344 (AT_INIT): Support for expected failures.
6346 2003-06-02 Akim Demaille <akim@epita.fr>
6348 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
6350 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
6351 Autoconf nor Automake.
6352 (&contents): New, from Automake.
6355 2003-05-28 Paul Eggert <eggert@twinsun.com>
6357 * NEWS, doc/autoconf.texi (Particular Functions),
6358 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
6359 is the inverse of localtime.
6361 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
6363 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
6364 (handle_exec_errors): New function. Work around $! being
6365 altered by WEXITSTATUS.
6366 (xqx, xsystem): Use handle_exec_errors.
6368 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
6370 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
6371 Do not call `_exit()', simply modify `$?'.
6372 (xsystem): Reset $! before running system, and check it afterward.
6373 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
6374 63 for version mismatches.
6376 2003-05-23 Akim Demaille <akim@epita.fr>
6378 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
6379 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
6380 the middle of a line).
6381 * lib/m4sugar/m4sugar.m4: Likewise.
6382 Remove useless spaces in comments.
6384 2003-05-23 Akim Demaille <akim@epita.fr>
6386 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
6387 exit 63, so that we (or Automake's "missing") can tell the
6388 difference with a plain failure.
6389 * doc/autoconf.texi (Notices): Adjust.
6391 2003-05-23 Akim Demaille <akim@epita.fr>
6393 * Makefile.am, bin/Makefile.am, config/Makefile.am,
6394 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
6395 White spaces cleanup.
6397 2003-05-22 Jim Meyering <jim@meyering.net>
6398 Paul Eggert <eggert@twinsun.com>
6400 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
6401 Remove `#include <stdlib.h>' from the list; we should never
6402 make confdefs.h include <stdlib.h> or <cstdlib>, because the
6403 resulting namespace pollution would cause other tests to fail.
6404 Configure scripts run with some older versions of g++ and HP's
6405 aCC would fail due to such an #include. Problems reported by
6406 Matthew Mueller in <http://bugs.debian.org/120704> and by
6408 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
6409 In the test, use the test declaration before including <stdlib.h>,
6410 as that's closer to how it'll be used.
6412 2003-05-23 Akim Demaille <akim@epita.fr>
6414 * doc/autoconf.texi (Header Portability): ucred.h.
6417 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
6419 Overhaul Autotest's logging: generate separate log files
6420 in testsuite.dir/NNN/testsuite.log, and append them to
6421 testsuite.log instead of re-running the test verbosely.
6423 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
6424 file descriptor, write 0 to at_status_file instead of setting
6425 at_status=0, initialize some new variables (at_status_file,
6426 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
6427 to rerun the tests, instead append the at_group_log to the
6428 at_suite_log when a test fails.
6429 (AT_SETUP): pipe the test case's output into at_tee_pipe,
6430 with the AS_MESSAGE_LOG_FD redirected to stdout.
6431 (AT_CLEANUP): save the output status in $at_status_file
6432 and restore it, redirect the AS_MESSAGE_LOG_FD back to
6434 (AT_CHECK): since tests are run with a redirected stdout,
6435 and used to be re-run in verbose mode, turn some $at_verbose
6436 into echo, and don't redirect the output of testing stdout
6439 * lib/autotest/autoconf.texi (testsuite Scripts): Update
6440 the name of the debugging directory and information about
6443 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
6445 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
6448 2003-05-22 Akim Demaille <akim@epita.fr>
6450 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
6451 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
6452 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
6453 * lib/autoconf/status.m4: Fix and adjust copyright notices.
6455 2003-05-22 Akim Demaille <akim@epita.fr>
6457 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
6458 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
6459 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6460 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
6461 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
6462 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6463 * lib/autoconf/status.m4, lib/autoconf/types.m4,
6464 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
6465 * tests/atspecific.m4, tests/base.at, tests/compile.at,
6466 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
6467 * tests/tools.at, tests/torture.at:
6468 Whitespace clean up.
6469 Suggested by Jim Meyering.
6471 2003-05-22 Akim Demaille <akim@epita.fr>
6473 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
6474 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
6475 Reported by Jim Meyering.
6477 2003-05-22 Akim Demaille <akim@epita.fr>
6479 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
6480 Add AC_HELP_STRING to the obsolete macros section.
6482 Use '@.' for sentences that ended in a capital letter.
6485 2003-05-22 Akim Demaille <akim@epita.fr>
6487 * config/config.guess, config/config.sub, config/elisp-comp,
6488 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
6489 * config/texinfo.tex, doc/standards.texi: Update from masters.
6491 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
6493 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
6496 2003-05-21 Akim Demaille <akim@epita.fr>
6498 * bin/autoupdate.in ($m4): Fix quotation.
6499 Reported by Martin Mokrejs.
6501 2003-05-19 Paul Eggert <eggert@twinsun.com>
6503 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
6504 Remove non-ASCII characters.
6506 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
6508 * tests/semantics.at (AC_SEARCH_LIBS): New test.
6509 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
6510 AC_CHECK_HEADERS_NEW): New tests.
6512 2003-05-17 Akim Demaille <akim@epita.fr>
6514 * lib/autoconf/functions.m4: Use the default includes so that
6515 memcmp be declared before being tested.
6516 Reported by Sander Niemeijer.
6517 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
6518 * doc/autoconf.texi (Default Includes): Document
6519 AC_INCLUDES_DEFAULT.
6521 2003-05-17 Akim Demaille <akim@epita.fr>
6523 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
6524 * doc/autoconf.texi (Obsolete Macros): Adjust.
6525 Reported by Werner LEMBERG and Debian Bug 190886.
6527 2003-05-16 Akim Demaille <akim@epita.fr>
6529 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
6530 user name space clashes.
6531 Reported by Bruno Haible.
6533 2003-05-16 Akim Demaille <akim@epita.fr>
6535 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6536 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
6537 them uniform, and more robust to Perl special characters.
6538 Reported by Martin Mokrejs.
6540 2003-05-14 Akim Demaille <akim@epita.fr>
6542 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
6544 2003-05-14 Akim Demaille <akim@epita.fr>
6546 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
6549 2003-05-12 Akim Demaille <akim@epita.fr>
6551 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
6553 From Matthias Andree.
6555 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
6557 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
6560 2003-05-06 Akim Demaille <akim@epita.fr>
6562 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
6563 longer updates aclocal.m4 if useless, (ii) if a file m4_included
6564 by aclocal.m4 is changed it might require the importing of another
6565 m4 extension file, i.e., aclocal must be run.
6567 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
6568 (&parse_args): Use --force with aclocal if required and supported.
6569 (&autoreconf_current_directory): Use &run_aclocal.
6571 2003-05-06 Akim Demaille <akim@epita.fr>
6573 Lock autom4te's cache.
6575 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
6576 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
6577 argument instead of a file name, so that the request file remains
6578 open during the whole autom4te run.
6579 ($icache_file): New.
6580 (&freeze): Lock the $icache_file.
6582 2003-04-29 Derek Price <derek@ximbiot.com>
6584 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
6585 seperator with m4_append_uniq(). It doesn't work.
6586 (AT_CLEANUP): Add `;' to end of at_help_all.
6587 (AT_INIT): Allow --keywords to be specified more than once. When
6588 grepping $at_help_all for keywords, use the field and keyword
6589 seperators to ensure a complete keyword match. Alter at_prev handling
6590 to support the new --keywords behavior.
6592 2003-04-27 Karl Berry <karl@freefriends.org>
6594 * doc/autoconf.texi: Make the dir entries in the autoconf manual
6595 align better with others. I also made some of the individual
6596 entries on one line, for brevity and to make it easier for me to
6597 sort my dir-example file in the Texinfo distribution :).
6599 2003-04-12 Jim Meyering <jim@meyering.net>
6601 * NEWS: Mention the new macro.
6602 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
6603 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
6604 * tests/c.at: Test AC_C_RESTRICT.
6605 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
6607 2003-04-08 Akim Demaille <akim@epita.fr>
6609 * bin/ifnames.in: Skip C++ comments.
6612 2003-04-08 Akim Demaille <akim@epita.fr>
6614 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
6615 From Ilya Zakharevich.
6617 2003-04-08 Akim Demaille <akim@epita.fr>
6619 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
6622 2003-04-01 Derek Price <derek@ximbiot.com>
6624 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
6625 from Akim's checkin of 2003-03-29.
6627 2003-04-01 Derek Price <derek@ximbiot.com>
6629 * tests/torture.at (Configuring subdirectories): Add missing
6630 close-quote for Akim's change from 2003-03-28.
6632 2003-04-01 Akim Demaille <akim@epita.fr>
6634 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
6635 (AC, AT, MS): these.
6636 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
6639 * doc/Makefile.am (CLEANFILES): Adjust.
6640 (TEXI2DVI): Make it --batch.
6642 2003-03-31 Derek Price <derek@ximbiot.com>
6644 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
6645 which removed the main loop.
6646 Thanks to Akim Demaille.
6648 2003-03-29 Akim Demaille <akim@epita.fr>
6650 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
6652 From Ilya Zakharevich.
6654 2003-03-29 Akim Demaille <akim@epita.fr>
6656 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
6657 documentation to read is Autoconf's.
6658 Suggested by Paul Eggert.
6660 2003-03-28 Akim Demaille <akim@epita.fr>
6662 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
6663 reading the section "Present But Cannot Be Compiled" when the
6664 header causes problems.
6666 2003-03-28 Akim Demaille <akim@epita.fr>
6668 * tests/torture.at (Configuring subdirectories): Require aclocal
6669 1.4, otherwise the test fails, as it does support configure.ac.
6670 This fixes the "test 40 failed" bug reports.
6672 2003-03-28 Akim Demaille <akim@epita.fr>
6674 * doc/autoconf.texi (C Compiler): `#line' portability.
6675 From Paul Eggert and Nelson H. F. Beebe.
6677 2003-03-27 Derek Price <derek@ximbiot.com>
6679 * lib/autotest/general.m4: Eliminate main loop and reorganize test
6680 layout in order to allow scripting around test groups.
6682 2003-03-27 Derek Price <derek@ximbiot.com>
6684 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
6685 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
6686 use new diversions in preparation for accepting new arguments and
6687 allowing scripting around tests.
6688 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
6690 2003-03-26 Derek Price <derek@ximbiot.com>
6692 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
6693 obsolete AC_HELP_STRING.
6694 (AC_HELP_STRING): AU_DEFUN to...
6695 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
6696 * tests/m4sh.at (AS_HELP_STRING): New test.
6698 * tests/acgeneral.at: Regenerated.
6700 2003-03-26 Derek Price <derek@ximbiot.com>
6702 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
6703 sense. Verbosify the diversion definitions comment.
6705 2003-03-26 Derek Price <derek@ximbiot.com>
6707 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
6710 2003-03-21 Eric Siegerman <eric_97@pobox.com>
6712 * doc/autoconf.texi (Present But Cannot Be Compiled):
6713 Grammar fixes and minor rewording. (trivial change)
6715 2003-03-06 Paul Eggert <eggert@twinsun.com>
6717 Work around a problem noted by Nelson H. F. Beebe with coreutils
6718 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
6719 2002/05/09) rejects '#line 32768 "configure"' because the line
6721 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
6723 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
6724 * doc/autoconf.texi (Generating Sources): Document this.
6726 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
6728 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
6729 file name for the m4 program, when it has an "exe" file extension.
6730 DJGPP's error messages include the error code in brackets -
6731 remove the error code during normalization.
6733 2003-02-28 Akim Demaille <akim@epita.fr>
6735 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
6737 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
6739 * doc/autoconf.texi (Limitations of Make): Remove the section
6740 about `$<' in inference rules, it was a bogus interpretation of
6741 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
6742 Tru64 make in the "target lookup" section.
6743 (Automake): Automake 1.5+ no longer requires special tools to be
6744 present on the developer's host.
6746 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
6748 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
6749 to a shell that can handle redirection or quoting correctly.
6750 Override SHELL with the shell detected by configure.
6751 Use of $^O suggested by Tim van Holder.
6752 * bin/autom4te.in (BEGIN): Likewise.
6753 * bin/autoreconf.in (BEGIN): Likewise.
6754 * bin/autoscan.in (BEGIN): Likewise.
6755 * bin/autoupdate.in (BEGIN): Likewise.
6756 * bin/ifnames.in (BEGIN): Likewise.
6758 * bin/ifnames.in: Add final newline to help and version messages.
6760 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
6761 to cope with DOS-style absolute paths, when constructing
6764 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
6765 When constructing paths with IFS=:, quote the path. If we're
6766 constructing a DOS-style absolute path, we don't want to split it
6769 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
6772 2003-02-25 Pavel Roskin <proski@gnu.org>
6774 * bin/autoheader.in: Add missing newline when printing
6775 suggestion how change AC_DEFINE call.
6777 2003-02-24 Paul Eggert <eggert@twinsun.com>
6779 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
6780 2002-09-01 patch by replacing "test -n" with "test -z".
6781 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
6782 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
6784 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
6785 to fix a mismatch between example and discussion.
6787 2003-02-24 Kevin Ryde <user42@zip.com.au>
6789 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
6790 format starting with "-".
6792 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
6794 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
6795 is not portable inside Makefile.
6797 2003-02-20 Akim Demaille <akim@epita.fr>
6799 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
6800 compiler says yeah, but preproc says nope, compiler is right.
6801 Conversely, prompt the reader to send a bug report to the
6802 maintainers of the package, not of Autoconf.
6804 2003-02-20 Klee Dienes <kdienes@apple.com>
6806 * bin/autoreconf.in (autoreconf_current_directory): Properly
6807 handle an empty aclocal.m4.
6809 2003-02-20 Akim Demaille <akim@epita.fr>
6811 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
6815 2002-12-23 Paul Eggert <eggert@twinsun.com>
6817 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
6818 innocuous variant befor including <limits.h> or <assert.h>. This
6819 works around a bug reported by Albert Chin: HP-UX 11i
6820 (and earlier versions) have a <limits.h> that declares
6821 gettimeofday and many other functions.
6823 2002-12-03 Paul Eggert <eggert@twinsun.com>
6827 * NEWS, configure.ac: Update version.
6829 * doc/fdl.texi: Upgrade to FDL version 1.2.
6831 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
6832 nontrivially in main's body, so that f's external declaration is
6833 not optimized away in AIX. This should fix the bug reported by
6835 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
6837 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
6838 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
6839 defined, to support freestanding compilers. This should fix the
6840 bug reported by Momchil Velkov in
6841 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
6843 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
6844 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
6845 obsolete AC_CHECK_TYPE. The missing empty arg was reported
6846 by Simon Josefsson in
6847 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
6849 * Makefile.maint (www-gnu): New macro.
6850 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
6851 the location has moved.
6853 2002-12-02 Martin Frydl <martin@systinet.com>
6855 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
6856 \(.*\) match is too long and there is something more to be checked.
6857 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
6859 2002-11-15 Akim Demaille <akim@epita.fr>
6863 * config/install-sh: chmod +x.
6865 * config/move-if-change: Indenting changes.
6866 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
6867 * configure.ac (AM_INIT_AUTOMAKE): here.
6870 2002-11-14 Akim Demaille <akim@epita.fr>
6874 * config/config.guess, config/config.sub, config/install-sh:
6875 Update from masters.
6877 2002-11-14 Akim Demaille <akim@epita.fr>
6879 * Makefile.maint: Sync with Bison, i.e.:
6880 (po-check): Scan .l and .y files instead of the
6881 .c and the .h files that they generate. This fixes the bug
6882 reported by Tim Van Holder in:
6883 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
6884 Look for N_ as well as for _. Try to avoid matching #define for
6888 2002-11-14 Akim Demaille <akim@epita.fr>
6890 * doc/autoconf.texi (C Compiler): Compiling several files at once.
6891 From Paul Eggert and Albert Chin-A-Young.
6893 2002-11-14 Akim Demaille <akim@epita.fr>
6895 * doc/autoconf.texi (C Compiler): Solitary backslashes.
6896 From Paul Eggert and Albert Chin-A-Young.
6898 2002-11-14 Kevin Ryde <user42@zip.com.au>
6900 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
6901 than assigning in main, to avoid HP cc +O3 optimizing it away.
6903 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
6905 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
6906 option. Process --recheck after parsing all options. Pass -q
6907 option to configure on --recheck.
6908 (AC_OUTPUT): Pass -q from configure to config.status.
6909 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
6910 arguments to record.
6911 * doc/autoconf.texi (config.status Invocation): Document
6912 config.status -q option.
6914 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
6916 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
6917 Makefile.in if Makefile.am exists.
6918 (output): Strip `.am' from Makefiles. Don't
6919 output AC_CONFIG_FILES if no Makefiles were found.
6921 2002-11-07 Akim Demaille <akim@epita.fr>
6923 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
6924 (local_updates): New.
6925 * Makefile.maint: Update, from CVS Bison.
6926 (local_updates): New.
6928 2002-11-06 Akim Demaille <akim@epita.fr>
6930 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
6931 declaration in extern "C" too.
6932 Reported by Roberto Bagnara.
6934 2002-11-06 Akim Demaille <akim@epita.fr>
6936 * tests/torture.at (Configuring subdirectories): Don't use grep
6938 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
6939 Reported by Ezra Peisach.
6941 2002-11-05 Akim Demaille <akim@epita.fr>
6943 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
6945 We _have_ to stop using the old compatibility scheme that tried to
6946 avoid useless backslashes because Libtool 1.4.3 contains a
6947 AC_DEFINE([error_t], [int],
6948 [Define to a type to use for \`error_t' if it is not
6949 otherwise available.])
6950 We _have_ to quote the single quote and backslashes with \. The
6951 old compatibility scheme saw that ` was backslashed, and therefore
6952 did not quote the single quote. Hence before this patch, Autoconf
6953 was not compatible with Libtool.
6955 2002-11-04 Paul Eggert <eggert@twinsun.com>
6957 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
6958 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
6959 LC_NAME, LC_PAPER, LC_TELEPHONE.
6960 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
6962 2002-11-04 Akim Demaille <akim@epita.fr>
6966 * Makefile.maint (update, cvs-update, po-update, do-po-update):
6968 * config/texinfo.tex: Update.
6970 2002-11-03 Akim Demaille <akim@epita.fr>
6972 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
6974 (&autoreconf): here.
6975 ($help, $make, &parse_args, &autoreconf_current_directory):
6977 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6979 2002-10-31 Bruno Haible <bruno@clisp.org>
6981 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
6982 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
6983 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
6984 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
6985 to ac_cv_func_realloc_0_nonnull.
6986 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
6988 2002-10-31 Akim Demaille <akim@epita.fr>
6990 The test suite was no longer checking for trailing envvars and files.
6992 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
6993 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
6995 2002-10-31 Akim Demaille <akim@epita.fr>
6997 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
6998 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
6999 Make variable, not a shell variable.
7000 Suggested by Bruno Haible.
7002 2002-10-31 Akim Demaille <akim@epita.fr>
7004 * bin/autom4te.in (load_configuration): Reject #args out of any
7007 2002-10-31 Akim Demaille <akim@epita.fr>
7009 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
7010 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
7011 (_AC_RUN_IFELSE): Use it.
7012 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
7013 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
7014 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
7017 2002-10-30 Akim Demaille <akim@epita.fr>
7019 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
7020 * doc/autoconf.texi (autom4te Invocation): Adjust.
7021 Suggested by Tim van Holder.
7023 2002-10-29 Paul Eggert <eggert@twinsun.com>
7025 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
7026 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
7027 Problem reported by Bruno Haible.
7029 2002-10-29 Akim Demaille <akim@epita.fr>
7031 * doc/autoconf.texi (Header Templates): Put also in words what the
7032 pictures says to assist free style readers.
7033 (Customizing autom4te): s/--cache=/--cache /.
7035 2002-10-29 Akim Demaille <akim@epita.fr>
7037 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
7039 sparc_address_test returns void.
7040 Use it with an argument, as prototyped.
7043 2002-10-29 Akim Demaille <akim@epita.fr>
7045 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
7046 configure.in, not configure.ac.
7047 Reported by Bruno Haible.
7049 2002-10-29 Akim Demaille <akim@epita.fr>
7051 * tests/torture.at (Deep Package): New test.
7052 (Configuring subdirectories): Don't use a testSubDir as Autotest
7055 2002-10-29 Akim Demaille <akim@epita.fr>
7057 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
7058 * doc/autoconf.texi (Invoking autom4te): Rename as...
7059 (autom4te Invocation): this, for consistency with the other nodes.
7061 2002-10-29 Akim Demaille <akim@epita.fr>
7063 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
7064 Reported by Ralf Corsepius.
7066 2002-10-29 Akim Demaille <akim@epita.fr>
7068 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7069 characters is a back as an `obsolete' warning now.
7070 Reported by Ralf Corsepius.
7072 2002-10-28 Akim Demaille <akim@epita.fr>
7074 * configure.ac: Bump to 2.54c.
7076 2002-10-28 Akim Demaille <akim@epita.fr>
7080 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
7082 2002-10-28 Akim Demaille <akim@epita.fr>
7084 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
7085 m4 executable names, and different GNU M4 version.
7086 Reported by Ezra Peisach and Paul Jarc.
7088 2002-10-27 Akim Demaille <akim@epita.fr>
7090 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
7093 2002-10-27 Akim Demaille <akim@epita.fr>
7095 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
7096 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
7097 Die when a simple Fortran program cannot be compiled.
7098 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
7099 Issue a warning if no function is given.
7101 2002-10-27 Akim Demaille <akim@epita.fr>
7103 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
7104 Move the documentation of AC_TRY_RUN to...
7105 (Obsolete Macros): here.
7106 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
7107 (autoconf Invocation): Remove the duplicates with `invoking
7109 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
7110 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
7112 2002-10-27 Akim Demaille <akim@epita.fr>
7114 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
7115 and AC_LANG_FUNC_LINK_TRY.
7116 (Examining Libraries): Rename as...
7117 (Running the Linker): this.
7118 Document AC_LINK_IFELSE.
7119 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
7120 (Obsolete Macros): here.
7121 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
7122 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
7123 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
7124 * lib/autoconf/headers.m4 (AC_USG): Likewise.
7126 2002-10-27 Akim Demaille <akim@epita.fr>
7128 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
7130 More `check config.log' messages.
7132 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
7133 * doc/autoconf.texi (Printing Messages): Document it.
7134 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
7136 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
7137 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
7138 (_AC_COMPILER_OBJEXT): Likewise.
7139 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
7140 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
7142 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
7145 Deprecate macros with unusual interfaces.
7147 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
7148 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
7150 Document the new ones, and proper style.
7152 * doc/autoconf.texi (Generating Sources): New.
7153 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
7154 (Examining Declarations): Rename as...
7155 (Running the Preprocessor): this.
7156 Document AC_PREPROC_IFELSE.
7157 (Examining Syntax): Rename as...
7158 (Running the Compiler): this.
7159 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
7160 (Obsolete Macros): Move the definition of AC_TRY_CPP and
7161 AC_TRY_COMPILE here.
7163 2002-10-27 Akim Demaille <akim@epita.fr>
7165 Move sections around.
7167 * doc/autoconf.texi (Customizing autom4te): Remove a lost
7169 Reported by Burno Haible.
7170 (Language Choice): Now the first section of...
7171 (Writing Tests): this section.
7172 Make the introduction less C-centric.
7173 (Guidelines, Test Functions): Move to...
7174 (Writing Test Programs): this new section.
7175 (Test Programs): Merge into...
7178 2002-10-27 Akim Demaille <akim@epita.fr>
7180 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
7181 autom4te.in that resulted in the need for two `make' runs.
7183 2002-10-27 Akim Demaille <akim@epita.fr>
7185 * configure.ac: Bump to 2.54b.
7187 2002-10-25 Akim Demaille <akim@epita.fr>
7191 * Makefile.maint: Update from the Coreutils.
7192 (AMTAR): Remove, obsolete.
7193 (automake_repo): Update to redhat.com.
7195 Adjust to the fact that ansi2knr is now hosted by Automake.
7196 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
7197 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
7198 Update from masters.
7199 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
7200 autoscan.pre is not to be installed, and autoscan.list is not to
7202 (CLEANFILES): Add autoscan.list.
7203 (autoscan.list): Disable the cache.
7204 * bin/Makefile.am: Include freeze.mk.
7206 2002-10-25 Akim Demaille <akim@epita.fr>
7208 * bin/autom4te.in (&load_configuration): Take the file as
7210 (&parse_args): Handle -C, --cache.
7212 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
7213 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
7214 * doc/autoconf.texi (Invoking autom4te): Document --cache.
7215 Now a subsection of...
7216 (Using autom4te): This new section.
7217 (Customizing autom4te): New.
7218 (autom4te.cache): Adjust.
7220 2002-10-25 Akim Demaille <akim@epita.fr>
7222 * doc/autoconf.texi (Generic Headers): More information on how to
7223 use AC_CHECK_HEADERS.
7225 2002-10-25 Akim Demaille <akim@epita.fr>
7227 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
7230 2002-10-25 Akim Demaille <akim@epita.fr>
7232 * bin/autoscan.in (output): Output AC_PREREQ.
7233 (%needed_macros): Add AC_PREREQ so that configure.ac without one
7236 2002-10-23 Akim Demaille <akim@epita.fr>
7238 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
7241 2002-10-23 Akim Demaille <akim@epita.fr>
7243 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
7244 Reported by Peter Eisentraut.
7246 2002-10-23 Akim Demaille <akim@epita.fr>
7248 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
7251 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
7252 Eggert's recommandations.
7254 2002-10-22 Akim Demaille <akim@epita.fr>
7256 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
7257 Bison, by Paul Eggert.
7258 * doc/autoconf.texi (Particular Headers): Document it.
7260 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
7262 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
7263 `$ac_configure_args'.
7265 2002-10-22 Akim Demaille <akim@epita.fr>
7267 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
7268 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
7271 2002-10-22 Akim Demaille <akim@epita.fr>
7273 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
7275 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7276 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
7277 (_AC_CHECK_HEADER_NEW): Rename as...
7278 (AC_CHECK_HEADER): this.
7280 2002-10-22 Akim Demaille <akim@epita.fr>
7282 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
7283 words about HP-UX cmp: it was actually a user-written cmp.
7285 2002-10-22 Akim Demaille <akim@epita.fr>
7287 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
7289 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7290 Quote for Perl '' strings, not "".
7291 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
7294 2002-10-22 Akim Demaille <akim@epita.fr>
7296 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
7297 characters is a syntax warning now.
7298 (_AS_QUOTE): Accept $2 as list of characters to quote.
7299 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
7300 Quote for Perl, not sh.
7301 * bin/autoheader.in: When $debug, report the file which is
7303 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
7304 `@', to tickle Perl's lists.
7305 Reported by Carlos Velasco.
7307 2002-10-18 Akim Demaille <akim@epita.fr>
7309 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
7310 missing included files _are_ errors.
7311 Thanks to Alexandre Duret-Lutz.
7312 * tests/tools.at (autom4te cache): Adjust.
7313 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
7314 (AT_CHECK_M4SUGAR): Use it.
7315 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7317 * tests/tools.at (autom4te): Now it does exit 1.
7319 2002-10-17 Akim Demaille <akim@epita.fr>
7321 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
7322 Fixes the `AC_ARG_VAR' test failures.
7323 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
7324 * lib/freeze.mk (check-forbidden-patterns): New.
7325 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
7326 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
7327 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
7329 Reported months ago by H. Merijn Brand.
7331 2002-10-17 Akim Demaille <akim@epita.fr>
7333 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
7335 2002-10-16 Paul Eggert <eggert@twinsun.com>
7337 * Makefile.maint (wget_files): Remove ansi2knr.c.
7338 (ansi2knr.c-url_prefix): Remove.
7340 2002-10-16 Akim Demaille <akim@epita.fr>
7342 Because of caching, some files that no longer exist and are no
7343 longer required can still cause errors.
7344 Reported by Alexandre Duret-Lutz.
7346 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
7347 to frozen files in @ARGV, as @ARGV must remain being a list of
7348 files. Rather, at M4 call sites, use this...
7349 (&files_to_options): New function.
7350 (&freeze): Use &error.
7351 (&up_to_date): If a file that was included according to the cache
7352 is no longer there, then the output is out dated.
7353 (&main): Don't even check whether a file is up to date is anyway
7355 * tests/tools.at (autom4te cache): New.
7357 2002-10-16 Akim Demaille <akim@epita.fr>
7359 * bin/autoconf.as: Kill dead options.
7360 * bin/autoupdate.in (&parse_args): Kill old options.
7361 * bin/autoreconf.in (&parse_args): Remove dead options.
7363 (&autoreconf): Report the directories we enter *and leave*, so
7364 that error messages can be easily located, and use GNU Make
7365 format, so that Emacs' compile mode understands us.
7366 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
7367 if some file was changed instead of `print'.
7368 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
7369 (&parse_args): Remove the dead options.
7370 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
7371 autoheader's quiet mode.
7372 (AT_CHECK_AUTOUPDATE): Likewise.
7373 * tests/tools.at (autoupdate): Adjust.
7374 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
7376 2002-10-11 Akim Demaille <akim@epita.fr>
7378 No longer use CPP to check for the existing of headers: use CC to
7379 check for compilability.
7381 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
7382 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
7383 (_AC_CHECK_HEADER_NEW): Rename as...
7384 (AC_CHECK_HEADER): this.
7386 * lib/autotest/general.m4 (AT_INIT): Include the failed test
7387 numbers in the Subject suggestion.
7389 2002-10-11 Akim Demaille <akim@epita.fr>
7391 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
7392 Suggest using AC_CHECK_DECLS instead.
7394 2002-10-11 Akim Demaille <akim@epita.fr>
7396 * tests/torture.at (AC_ARG_VAR): Have configure report the value
7399 2002-10-11 Akim Demaille <akim@epita.fr>
7401 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
7402 file name to enable parallel executions.
7403 From Sam Varshavchik.
7405 2002-10-08 Akim Demaille <akim@epita.fr>
7407 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
7408 aclocal invocation, as Gettext macros might not be visible to
7410 Instead of blindly running autopoint, scan configure.ac (not the
7411 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
7412 Reported by Paul D. Smith.
7414 2002-10-08 Paul Eggert <eggert@twinsun.com>
7416 Work around problems found when POSIXLY_CORRECT=1 is set.
7417 None of this seems to have anything to do with POSIX, really,
7418 but it's how Perl getopt works.
7419 * bin/autom4te.in (parse_args): Configure GetOpt with
7421 * doc/autoconf.texi (Invoking autom4te):
7422 --warning -> --warnings.
7423 * lib/autom4te.in: --warning -> --warnings.
7425 2002-09-28 Akim Demaille <akim@epita.fr>
7427 * doc/autoconf.texi (autom4te.cache): New section.
7429 2002-09-28 Akim Demaille <akim@epita.fr>
7431 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
7432 (Automake-preselections): Update.
7433 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
7435 2002-09-28 Akim Demaille <akim@epita.fr>
7437 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
7438 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
7439 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7440 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
7442 2002-09-28 Akim Demaille <akim@epita.fr>
7444 * tests/torture.at (Configuring subdirectories): Be robust to
7445 users who use config.site to require for a cache: in this case,
7446 the two last configure runs, using two different sets of
7447 arguments, trigger a legitimate error.
7449 2002-09-28 Akim Demaille <akim@epita.fr>
7451 * tests/m4sh.at (Functions Support, Functions and return Support):
7454 2002-09-28 Akim Demaille <akim@epita.fr>
7456 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
7457 autoheader are Perl programs.
7458 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
7459 (autom4te): Specify that the sources are in the $srcdir.
7460 * doc/autoconf.texi (Installation Directory Variables): Adjust.
7462 2002-09-28 Akim Demaille <akim@epita.fr>
7464 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
7465 (tm_zone): Move their rules to...
7466 * lib/autoconf/types.m4: here, using AN_ macros.
7467 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
7468 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
7469 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
7470 * lib/autoconf/programs.m4: here.
7471 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
7472 (ETAGS_FOR_AUTOCONF): New.
7475 2002-09-28 Akim Demaille <akim@epita.fr>
7477 * lib/autoconf/autoscan.m4: New file.
7478 * lib/autoconf/autoconf.m4: Include it.
7479 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
7480 that were listed in the original autoscan.list.
7481 * lib/autoconf/headers.m4: Similarly with headers.
7482 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
7483 (.m4.m4f): Don't pass --prepend-include, since that's done by
7484 tests/autom4te itself.
7485 * lib/autoscan/Makefile.am: Include freeze.mk.
7486 (autoscan.list): New target --this file is no longer a source.
7487 (autoscan.pre): New file.
7489 2002-09-28 Akim Demaille <akim@epita.fr>
7491 * bin/autoscan.in (@kinds): Make them singular.
7493 (&init_tables): When --debug, report the list of rules to ease
7494 tracking changes in autoscan.list.
7495 * lib/autoscan/autoscan.list (function): Strip comments, sort.
7497 2002-09-28 Akim Demaille <akim@epita.fr>
7499 * lib/autoscan/functions, lib/autoscan/headers,
7500 * lib/autoscan/identifiers, lib/autoscan/makevars,
7501 * lib/autoscan/programs: Merge into...
7502 * lib/autoscan/autoscan.list: this.
7503 * bin/autoscan.in (&init_tables): Adjust.
7505 2002-09-28 Akim Demaille <akim@epita.fr>
7507 * lib/autoscan/functions, lib/autoscan/headers,
7508 * lib/autoscan/identifiers, lib/autoscan/makevars,
7509 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
7510 `functions' line is now prefixed with `function:'.
7511 * bin/autoscan.in (&init_tables): Adjust.
7513 2002-09-28 Akim Demaille <akim@epita.fr>
7515 From now on, autoscan files must always map a macro name to a
7516 word: there is no `default' macro for autoscan.
7518 * bin/autoscan.in (&init_tables): Reject entries with no macro at
7520 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
7523 2002-09-28 Akim Demaille <akim@epita.fr>
7525 * bin/autoscan.in (%c_keywords): Remove.
7526 (&used): Keep only track of the words we might be interested in.
7527 (&output_kind): It is no longer needed to look for non active
7530 2002-09-27 Akim Demaille <akim@epita.fr>
7532 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
7533 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
7534 * lib/autoscan/functions: Adjust.
7535 * doc/autoconf.texi (Particular Functions): Adjust.
7537 2002-09-27 Akim Demaille <akim@epita.fr>
7539 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
7541 Thanks to Bill Moseley and Paul Eggert.
7542 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
7543 the tmpdir must be created.
7544 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
7545 dir be in the build tree, instead of $TMPDIR.
7547 2002-09-27 Akim Demaille <akim@epita.fr>
7549 * bin/autoscan.in: Improve the comments.
7550 (&parse_args): Drop obsolete undocumented options.
7551 (&output_kind): Output warnings.
7552 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
7553 (getwd): Trigger a warning.
7555 2002-09-26 Akim Demaille <akim@epita.fr>
7557 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
7558 Reported by Ralf Corsepius.
7559 * doc/autoconf.texi (autoreconf Invocation): Likewise.
7561 2002-09-26 Akim Demaille <akim@epita.fr>
7563 Single suffix rules and seperated dependencies are not portable.
7565 * doc/autoconf.texi (Installation Directory Variables): Update.
7566 (Limitations of Make): Some about `Single Suffix Rules and
7567 Separated Dependencies'.
7568 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7569 (ifnames, autoscan, autom4te): Un-factor into several rules.
7571 2002-09-25 Paul Eggert <eggert@twinsun.com>
7573 * BUGS (Interoperability bugs): New section. Mention libtool
7574 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
7576 2002-09-24 Paul Eggert <eggert@twinsun.com>
7578 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
7579 make handles suffix-rules differently from GNU make.
7581 * bin/Makefile.am (SUFFIXES, .in): Remove.
7582 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
7583 Move the body of the old .in rule here.
7585 2002-09-16 Akim Demaille <akim@epita.fr>
7587 i960 compilers create `b.out' files by default.
7588 Reported by Ralf Corsepius.
7590 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
7591 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
7593 2002-09-13 Paul Eggert <eggert@twinsun.com>
7595 * doc/autoconf.texi (Particular Headers): Remove obsolete
7596 reference to `struct timezone' in the description of
7599 2002-09-13 Akim Demaille <akim@epita.fr>
7603 * config/config.sub, config/config.guess: Update.
7604 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
7605 * Makefile.am: Adjust.
7607 2002-09-13 Akim Demaille <akim@epita.fr>
7609 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
7610 reading config.log when the compiler is rejected.
7611 Suggested by Guido Draheim.
7613 2002-09-13 Akim Demaille <akim@epita.fr>
7615 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
7616 (chdir_init) might hang when stat'ing mounted directories.
7617 Reported by Vance Shipley.
7619 2002-09-12 Akim Demaille <akim@epita.fr>
7621 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
7624 2002-09-12 Akim Demaille <akim@epita.fr>
7626 * doc/autoconf.texi (Defining Symbols): Present two different
7627 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
7628 difference between 1 argument calls, and 2-3 argument calls.
7630 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
7632 * doc/autoconf.texi: Review grammar and punctuation.
7634 2002-09-11 Paul Eggert <eggert@twinsun.com>
7636 * doc/autoconf.texi: Fix minor formatting, spelling, and
7638 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
7639 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
7642 2002-09-11 Akim Demaille <akim@epita.fr>
7644 * doc/autoconf.texi (Questions): Rename as...
7646 (Defining Directories): New.
7648 2002-09-09 Akim Demaille <akim@epita.fr>
7650 * doc/autoconf.texi (Making testsuite Scripts): Update.
7651 Suggested by Nishio Futoshi.
7653 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
7655 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
7656 plain `@' is wanted.
7658 2002-09-09 Akim Demaille <akim@epita.fr>
7660 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
7661 `duplicates', since the algorithm was too naive and could keep
7662 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
7663 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
7664 Reported by Ralf Corsepius.
7665 * tests/torture.at (Configuring subdirectories): Exercise these
7668 2002-09-09 Akim Demaille <akim@epita.fr>
7670 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
7671 looking for a replacement file.
7672 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
7673 directory is relative.
7674 * doc/autoconf.texi (Generic Functions): Clarify the replacement
7675 directory definition.
7676 Reported by Andreas Schwab and Jim Meyering.
7678 2002-09-06 Akim Demaille <akim@epita.fr>
7680 * doc/autoconf.texi (Setting Output Variables): Clarify what
7681 precious variables are.
7682 Suggested by Pontus Skoeld.
7684 2002-09-05 Akim Demaille <akim@epita.fr>
7686 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
7687 (ifnames, autoscan, autom4te): Since we don't only depend on
7688 configure.ac variables (such as VERSION etc.), but also on prefix
7689 and so forth, depend on Makefile, not configure.ac.
7690 Reported by Alexandre Duret-Lutz.
7691 * doc/autoconf.texi (Installation Directory Variables): Adjust.
7693 2002-09-05 Kevin Ryde <user42@zip.com.au>
7695 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
7696 doesn't seem to be confined to ia64, just say "some versions".
7698 2002-09-04 Akim Demaille <akim@epita.fr>
7700 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
7702 * Makefile.am (maintainer-clean-local): Remove.
7703 (MAINTAINERCLEANFILES): Remove COPYING.
7705 2002-09-03 Paul Eggert <eggert@twinsun.com>
7707 * doc/autoconf.texi (Configuration Commands): Remove obsolete
7708 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
7711 2002-09-03 Akim Demaille <akim@epita.fr>
7713 * configure.ac: Bump to 2.53d.
7714 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
7715 as of today, on Automake's team suggestion.
7717 2002-09-03 Akim Demaille <akim@epita.fr>
7721 2002-09-02 Akim Demaille <akim@epita.fr>
7723 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
7725 * configure.ac: Disable SITE_MACRO_DIR.
7727 2002-09-02 Jim Meyering <meyering@lucent.com>
7729 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
7730 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
7731 Also, tweak grammar: s/make sure to/be sure to/.
7733 2002-09-02 Paul Eggert <eggert@twinsun.com>
7735 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
7736 directory names are generally preferable to physical names.
7738 2002-09-02 Akim Demaille <akim@epita.fr>
7740 * lib/Autom4te/General.pm (&update_file): s/die/error/.
7741 Reported by Raja R. Harinath.
7742 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
7743 * bin/autoupdate.in: Use error instead of die.
7745 2002-09-01 Paul Eggert <eggert@twinsun.com>
7747 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
7748 ordinary shell concatenation rather than echo+tr+sed command that
7749 runs afoul of a long-line-related sed bug in Solaris 8.
7751 * bin/autoheader.in (parse_args): --warning -> --warnings.
7753 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
7754 stdout, as traditional "ls" does.
7755 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
7756 _AC_COMPILER_EXEEXT_O): Likewise.
7757 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
7759 * bin/autoconf.as: Add --prepend-include option. This patch was
7760 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
7761 but bin/autoconf.in is generated automatically from bin/autoconf.as.
7763 * bin/autoconf.in, configure: Regenerate.
7765 * doc/autoconf.texi (Special Shell Variables): Mention
7766 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
7768 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
7769 MAILPATH and set PS1, PS2, PS4 to default values, to work
7770 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
7771 For LC_ALL etc, first try to set to "C" as POSIX requires and as
7772 the Autoconf documentation specifies; fall back to "unset" only if
7773 this fails. Use a shell for-loop for this rather than an m4 loop,
7774 to shorten the output script.
7776 2002-08-30 Paul Eggert <eggert@twinsun.com>
7778 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
7779 1003.1-2001's requirements for CDPATH. Give a simpler workaround
7780 for the CDPATH problem. Document PWD.
7781 (Limitations of Builtins): Document the problem that "cd $foo" and
7782 "ls $foo" may refer to different directories in shells conforming
7783 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
7784 example, since the old example is now out of date.
7786 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
7787 FOO" and "ls FOO" talk about different directories; this catches
7788 problems when POSIX 1003.1-2001 "cd" fails due to symlink
7791 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
7792 of rolling our own unset.
7793 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
7794 in practice we needn't worry about CDPATH if unset doesn't work.
7796 * Makefile.in, aclocal.m4, bin/Makefile.in,
7797 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
7798 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
7799 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
7800 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
7801 tests/Makefile.in: Regenerate with Automake 1.6.3.
7803 * config/config.guess, config/config.sub, config/mkinstalldirs:
7806 * configure: Regenerate with self.
7808 2002-08-30 Kevin Ryde <user42@zip.com.au>
7810 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
7813 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7815 * bin/autom4te.in (Request::load): Correctly test for "do" read
7818 2002-08-29 Akim Demaille <akim@epita.fr>
7820 * lib/Autom4te/General.pm (&xqx): New.
7821 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
7822 hand, which is not portable.
7824 * bin/autom4te.in: Use them.
7825 Use &error instead of die.
7826 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
7829 2002-08-17 Paul Eggert <eggert@twinsun.com>
7831 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
7832 default list of compilers to try, since it was long ago superseded
7833 by the ksh fc builtin. Suggested by Steven G. Johnson.
7835 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
7837 * doc/autoconf.texi (Invoking autom4te): End the option table,
7838 fixing a bug introduced by the previous patch.
7839 (Limitations of Make): Add a 'target lookup' subentry in the
7840 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
7842 2002-07-29 Mark D. Roth <roth@feep.net>
7844 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
7845 options and use $AUTOM4TE_PATH.
7846 * doc/autoconf.texi: Remove documentation of autom4te
7847 --include-envvar and --site-macro-subdir options and document
7848 use of $AUTOM4TE_PATH.
7849 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
7850 arguments from each language section.
7852 2002-07-29 Paul Eggert <eggert@twinsun.com>
7854 * doc/install.texi: Include copyright symbol in copyright notice.
7856 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
7858 (AM_MAKEINFOFLAGS): New macro.
7859 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
7860 * Makefile.am (INSTALL): Use the new macros.
7861 Use -o rather than --output, since "missing" does not grok --output.
7863 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7865 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
7866 comments do not always work. Never trust the exit status of
7869 2002-07-24 Kevin Ryde <user42@zip.com.au>
7871 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
7872 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
7874 2002-07-23 Paul Eggert <eggert@twinsun.com>
7876 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
7877 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
7878 apparently treats PATH="nonexistent" as if it contained ".".
7879 Bug reported by Stefan `Sec' Zehl.
7881 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7883 * doc/autoconf.texi (Limitations of Make): Mention the special
7884 handling of the obj/ directory by BSD make.
7886 2002-07-20 Kevin Ryde <user42@zip.com.au>
7888 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
7891 2002-07-19 Akim Demaille <akim@epita.fr>
7893 * doc/autoconf.texi (Function Portability): `exit'.
7894 (Programming in M4sh): Ethymology of M4sh.
7896 2002-07-19 Akim Demaille <akim@epita.fr>
7898 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
7900 2002-07-18 Akim Demaille <akim@epita.fr>
7904 2002-07-18 Akim Demaille <akim@epita.fr>
7906 * config/config.guess, config/config.sub: Update.
7908 2002-07-18 Akim Demaille <akim@epita.fr>
7910 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
7913 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
7914 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
7915 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
7917 2002-07-18 Akim Demaille <akim@epita.fr>,
7918 Alexandre Duret-Lutz <duret_g@epita.fr>
7920 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
7921 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
7923 2002-07-17 Russ Allbery <rra@stanford.edu>
7925 * doc/autoconf.texi (Initializing configure): Clarify the
7926 description of the tarname default.
7928 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
7930 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
7931 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
7934 2002-07-17 Akim Demaille <akim@epita.fr>
7936 * lib/Autom4te/General.pm (find_file): Browse the directories in
7937 the order they are given.
7939 2002-07-17 Akim Demaille <akim@epita.fr>
7941 * tests/wrapsh.as, tests/wrappl.as: Merge into...
7942 * tests/wrapper.as: this.
7943 * tests/Makefile.am, configure.ac: Adjust.
7945 2002-07-17 Mark D. Roth <roth@feep.net>
7947 * configure.ac: Add --enable-site-macro-dir option.
7948 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
7949 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
7950 --site-macro-subdir options.
7951 * bin/autoconf.in: Add --prepend-include option.
7952 * bin/autoheader.in: Add --prepend-include option.
7953 * bin/autoreconf.in: Add --prepend-include option.
7954 * bin/autoscan.in: Add --prepend-include option.
7955 * bin/autoupdate.in: Add --prepend-include option.
7956 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
7957 macro directory, remove note that include path directories are
7958 used in reverse order, and document --prepend-include option.
7959 * lib/autom4te.in: Use --prepend-include instead of --include.
7960 * tests/wrapsh.in: Use --prepend-include instead of --include.
7962 2002-07-17 Akim Demaille <akim@epita.fr>
7964 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
7966 * doc/autoconf.texi (Initializing configure): Adjust.
7968 2002-07-17 Akim Demaille <akim@epita.fr>
7970 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
7971 (_AC_FUNC_MALLOC): New.
7972 (AC_FUNC_MALLOC): Use the latter.
7973 Define HAVE_MALLOC to 0 if broken.
7974 * doc/autoconf.texi (Particular Functions): Adjust.
7976 2002-07-16 Akim Demaille <akim@epita.fr>
7978 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
7979 * doc/autoconf.texi (C Compiler): Adjust.
7981 2002-07-09 Akim Demaille <akim@epita.fr>
7983 * doc/autoconf.texi: Properly set the ``header'' part.
7985 2002-07-09 Akim Demaille <akim@epita.fr>
7987 * doc/autoconf.texi (Systemology): Some about Darwin.
7989 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
7991 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
7992 Don't use AC_REQUIRE in AU_DEFUN.
7994 2002-07-09 Art Haas <ahaas@neosoft.com>
7996 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
7998 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
8000 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8001 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
8002 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
8003 so that Emacs setups GNU style for perl-mode and cperl-mode.
8005 2002-06-27 Paul Eggert <eggert@twinsun.com>
8007 * config/install-sh: Quote $src. Prefer || to test's -o option,
8008 as per "Limitations of Builtins".
8009 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
8010 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
8012 * tests/mktests.sh: Use grep instead of fgrep, as per
8013 "Limitations of Builtins".
8015 2002-06-15 Paul Eggert <eggert@twinsun.com>
8017 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
8018 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
8019 so that we consistently test the just-built programs.
8020 * tests/wrappl.as: Likewise.
8022 2002-06-12 Paul Eggert <eggert@twinsun.com>
8024 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
8025 name, so that symlinks to 'autoconf' work properly. Bug reported
8027 * bin/autoheader.in (AUTOM4TE): Likewise.
8028 * bin/autoreconf.in (autoconf, autoheader): Likewise.
8029 * bin/autoscan.in (autom4te): Likewise.
8030 * bin/autoupdate.in (autom4te): Likewise.
8032 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
8033 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
8036 2002-06-11 Andreas Schwab <schwab@suse.de>
8038 * doc/autoconf.texi: Add more dir entries.
8040 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
8042 * bin/autom4te.in ($cache): Don't define using `$me', the name
8043 of the cache should not depend on the name under which autom4te
8046 2002-06-07 Akim Demaille <akim@epita.fr>
8048 * tests/tools.at (autoconf: forbidden tokens, basic)
8049 (autoconf: forbidden tokens, exceptions): Adjust to the change of
8050 words in autom4te.in.
8052 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
8054 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
8055 _AC_LANG_PROGRAM_C_F77_HOOKS.
8057 2002-06-07 Akim Demaille <akim@epita.fr>
8059 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
8061 (AC_REPLACE_FNMATCH): this.
8062 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
8063 AC_FUNC_FNMATCH_GNU.
8065 2002-06-07 Akim Demaille <akim@epita.fr>
8067 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
8068 Rosetta Stone for Unix.
8070 2002-06-07 Akim Demaille <akim@epita.fr>
8072 * bin/autom4te.in (warn_forbidden): When rejecting a token,
8073 suggest m4_pattern_allow.
8074 Suggested by Adam J. Richter.
8076 2002-06-07 Akim Demaille <akim@epita.fr>
8078 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
8079 ac_config_libobj_dir.
8080 (AC_CONFIG_LIBOBJ_DIR): New.
8081 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
8082 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
8083 Use ac_config_libobj_dir to find the replacement files.
8084 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
8085 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
8086 (AC_REPLACE_FNMATCH_GNU): these.
8087 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
8088 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
8089 * tests/mktests.sh (ac_exclude_list): Don't check
8090 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
8092 2002-06-06 Paul Eggert <eggert@twinsun.com>
8094 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
8097 * doc/autoconf.texi (Configuration Links): Likewise.
8098 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
8100 2002-06-05 Paul Eggert <eggert@twinsun.com>
8102 * config/config.guess, config/config.sub, config/texinfo.tex:
8103 Update from masters.
8105 2002-05-29 Paul Eggert <eggert@twinsun.com>
8107 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
8108 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
8109 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
8111 * lib/autoconf/Makefile.am (check-local): Likewise.
8112 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
8113 * lib/autoconf/types.m4 (commentary only): Likewise.
8114 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
8115 * lib/autotest/Makefile.am (check-local): Likewise.
8116 * lib/m4sugar/Makefile.am (check-local): Likewise.
8117 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
8118 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
8120 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
8121 * doc/autoconf.texi (Particular Programs): Document them.
8122 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
8125 2002-05-27 Paul Eggert <eggert@twinsun.com>
8127 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
8128 * NEWS, doc/autoconf.texi (Particular Types): Document it.
8129 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
8130 instead of AC_MBSTATE_T, which never existed.
8132 2002-05-23 Akim Demaille <akim@epita.fr>
8134 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
8135 version of Autoconf that is discussed.
8137 2002-05-22 Paul Eggert <eggert@twinsun.com>
8139 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
8140 from the default list of compilers to try. Suggested by
8142 * NEWS: Document the above.
8143 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
8145 2002-05-17 Paul Eggert <eggert@twinsun.com>
8147 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
8148 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
8149 This improves on an earlier suggestion by H. Peter Anvin.
8151 2002-05-16 Paul Eggert <eggert@twinsun.com>
8153 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
8154 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
8155 Both macros now accept an optional source-dir arg.
8156 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
8158 * NEWS: Document this.
8159 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
8161 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
8162 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
8163 not for GNU extensions; this undoes part of the 2000-11-03 change,
8164 reverting to 2.13-compatible behavior.
8165 Add new optional argument DIR.
8166 (AC_FUNC_FNMATCH_GNU): New macro.
8168 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
8170 2002-05-08 Paul Eggert <eggert@twinsun.com>
8172 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
8173 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
8174 and it causes a 'test' syntax error if it fails.
8175 Bug reported by Stephen Gildea.
8177 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
8178 If prototypes are supported, use them to check this at compile-time,
8179 instead of trying to check it at run-time. If we must do a run-time
8180 check, assume that setvbuf is standard when cross-compiling, as
8181 nonstandard setvbuf occurs only on ancient and unlikely hosts.
8182 Bug reported by Paul D. Smith.
8184 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
8185 argument specifying location of getloadavg.c. This removes a
8186 FIXME. This idea was taken from Jim Meyering's implementation in
8188 * doc/autoconf.texi (Particular Functions): Document this.
8189 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
8190 that's what the code does; this fixes a bug reported by
8193 2002-05-03 Akim Demaille <akim@epita.fr>
8195 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
8196 autopoint instead of gettextize.
8197 ($uses_alocal): Rename as...
8198 ($uses_aclocal): this.
8199 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8200 Suggested by Bruno Haible.
8202 2002-05-03 Akim Demaille <akim@epita.fr>
8204 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
8206 2002-04-29 Paul Eggert <eggert@twinsun.com>
8208 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
8209 files to be 1 second older; just set them to be the same time.
8210 Also, sleep 1 second after the first aclocal, to work around
8211 problems with sub-second time stamps on the input files.
8213 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
8215 * doc/autoconf.texi: Mention "set -e -x" lossage
8216 under node "Limitations of Builtins".
8218 2002-04-29 Akim Demaille <akim@epita.fr>
8220 * doc/install.texi: Better wording for setting variables when
8222 From Christian Cornelssen.
8224 2002-04-29 Akim Demaille <akim@epita.fr>
8226 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
8227 of lack of $LINENO support, then the test will compare the $LINENO
8228 in testsuite vs. the lineno in the test file. This is wrong, of
8230 Be sure to protect it.
8231 Reported by Patrick Welche.
8233 2002-04-25 Akim Demaille <akim@epita.fr>
8235 * doc/autoconf.texi (Obsolete Macros): Typo.
8236 Reported by Vladimir Volovich.
8238 2002-04-25 Akim Demaille <akim@epita.fr>
8240 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
8241 than some of the input files, hence, on the second run of aclocal,
8242 if some of its input are younger, make them older.
8243 Suggested by Paul Eggert.
8245 2002-04-25 Akim Demaille <akim@epita.fr>
8247 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
8248 Thanks to Paul Eggert.
8250 2002-04-25 Akim Demaille <akim@epita.fr>
8252 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
8253 and ac_subst_vars be sh variables containing the list of
8254 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
8256 (_AC_INIT_PREPARE): Use them to log them.
8257 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
8258 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
8259 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
8260 _AC_SUBST_FILES and _AC_SUBST_VARS.
8261 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
8263 2002-04-24 Akim Demaille <akim@epita.fr>
8265 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
8266 autoheader, so that automake does not complain about a missing
8267 config.h.in that was to be created.
8269 2002-04-23 Akim Demaille <akim@epita.fr>
8271 * bin/autoheader.in (parse_args): --warning takes an argument.
8274 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
8276 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
8277 and bb.out when cleaning up.
8279 2002-04-22 Akim Demaille <akim@epita.fr>
8283 2002-04-22 Akim Demaille <akim@epita.fr>
8285 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
8287 2002-04-22 Akim Demaille <akim@epita.fr>
8289 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
8291 Reported by Gregory Giannoni.
8293 2002-04-22 Akim Demaille <akim@epita.fr>
8295 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
8296 Fixes false failures on Darwin.
8298 2002-04-21 Paul Eggert <eggert@twinsun.com>
8300 * TODO, bin/autoupdate.in, doc/autoconf.texi,
8301 lib/autoconf/general.m4, lib/autoconf/libs.m4,
8302 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
8303 tests/tools.at: Minor spelling and grammar fixes.
8305 2002-04-20 Paul Eggert <eggert@twinsun.com>
8307 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
8308 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
8309 * lib/autotest/general.m4 (AT_INIT): Likewise.
8310 * tests/atgeneral.m4 (AT_INIT): Likewise.
8312 2002-04-19 Paul Eggert <eggert@twinsun.com>
8314 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
8315 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
8316 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
8317 lib/autoconf/functions.m4, lib/autoconf/general.m4,
8318 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
8319 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
8320 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
8321 Minor spelling and grammar fixes.
8323 * doc/autoconf.texi: Follow the outline suggested in the GNU
8324 Sample Texts sections of the Texinfo 4.2 manual. Most
8325 importantly, this makes sure that the copyright notices appear in
8326 all output formats. You probably need Texinfo 4.2 to generate
8329 Fix some bugs when using "$@" when there might be zero positional
8330 arguments in cases where this matters.
8332 * bin/autoconf.as: Rewrite so that the problem does not come up.
8333 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
8334 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
8335 * lib/autotest/general.m4 (AT_INIT): Likewise.
8337 * bin/autoheader.in: Use 'case' statement to work around problem.
8338 * bin/auto4mte.in: Likewise.
8339 * bin/autoreconf.in: Likewise.
8340 * bin/autoscan.in: Likewise.
8341 * bin/autoupdate.in: Likewise.
8342 * bin/ifnames.in: Likewise.
8344 * doc/autoconf.texi (Shell Substitutions): Document the problem.
8346 * lib/autotest/general.m4 (AT_INIT):
8347 Use Zsh alias to work around problem.
8348 * tests/atgeneral.m4 (AT_INIT): Likewise.
8350 * tests/c.at: We can't have zero arguments, so remove workaround
8351 that is not portable to Zsh.
8353 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
8355 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
8356 from aclocal.m4 too.
8358 2002-04-12 Akim Demaille <akim@epita.fr>
8360 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
8362 2002-04-10 Akim Demaille <akim@epita.fr>
8364 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
8365 workaround for ${1+"$@"}.
8366 * doc/autoconf.texi (Shell Substitutions): Explain it.
8367 From Oliver Kiddle and Peter Stephenson.
8369 Have M4sh perform minimal shell sanitizing.
8371 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
8373 (_AS_PREPARE): this new macro.
8375 (AS_INIT): Invoke AS_SHELL_SANITIZE.
8376 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
8378 Adjust Autoconf and Autotest.
8380 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
8381 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
8382 * lib/autotest/general.m4 (AT_INIT): Likewise.
8383 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
8384 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
8387 Use this M4sh to generate Autoconf's shell scripts.
8389 * tests/wrapsh.as: New, precursor of wrapsh.in.
8390 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
8391 on Autotest and M4sh.
8392 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
8393 (wrapsh.in): New target.
8394 * bin/autoconf.as: New, precursor of autoconf.in.
8395 (autoconf.in): New target.
8397 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
8399 * doc/autoconf.texi (Limitations of Make): Mention the issue
8400 with indented comments in rules.
8402 2002-04-09 Andreas Schwab <schwab@suse.de>
8404 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
8405 ac_top_builddir when setting ac_abs_top_builddir.
8407 2002-04-06 Kevin Ryde <user42@zip.com.au>
8409 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
8410 (Portable Shell): Cross reference to Systemology.
8412 2002-04-05 Akim Demaille <akim@epita.fr>
8414 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
8415 directories when descending in a SUBDIRS.
8416 Reported by Ezra Peisach.
8418 2002-04-04 Andreas Schwab <schwab@suse.de>
8420 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
8421 contains no literal separators.
8423 2002-04-03 Akim Demaille <akim@epita.fr>
8425 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
8426 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
8427 Use dnl, not the KILL diversion.
8429 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
8430 (AC_CONFIG_LINKS): here.
8432 Don't use the KILL diversion, as it kills spurious output, which
8433 results in failures being hidden.
8434 Use m4_defn where appropriate.
8435 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
8436 after the second argument.
8438 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
8439 syntax, as it is provided by M4sugar.
8440 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
8442 2002-04-03 Andreas Schwab <schwab@suse.de>
8444 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
8445 expanded if $# <= 2.
8447 * bin/autoreconf.in (autoreconf): Run automake after rerunning
8450 2002-04-03 Akim Demaille <akim@epita.fr>
8452 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
8453 (_AC_COMPILER_EXEEXT_REJECT): New.
8454 Also recognize *.bb and *.bbg as compilation byproducts.
8455 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
8456 (_AC_COMPILER_OBJEXT): Use them.
8457 Fixes Debian #138666.
8459 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
8461 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
8463 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
8464 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
8465 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
8466 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
8468 (AC_C_INLINE): Same.
8469 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
8470 * doc/autoconf.texi, NEWS: Document.
8471 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
8474 2002-04-02 Akim Demaille <akim@epita.fr>
8476 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
8477 _AS_MKDIR_P_PREPARE.
8479 2002-03-28 Kevin Ryde <user42@zip.com.au>
8481 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
8482 to avoid versions of HP C which don't allow that.
8484 2002-03-27 Paul Eggert <eggert@twinsun.com>
8486 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
8487 (AS_SHELL_SANITIZE): Invoke it.
8488 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
8490 2002-03-26 Akim Demaille <akim@epita.fr>
8492 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
8494 2002-03-26 Akim Demaille <akim@epita.fr>
8496 * doc/autoconf.texi (Introduction): The GNATS base moved.
8498 2002-03-25 Paul Eggert <eggert@twinsun.com>
8500 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
8501 as POSIX requires, as it doesn't work with Zsh.
8502 * doc/autoconf.texi (Assignments): Document the problem.
8504 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
8506 * doc/autoconf.texi (Limitations of Make): Mention more issue
8507 about VPATH, overriding of macros in sub-makes, and handling of
8510 2002-03-21 Paul Eggert <eggert@twinsun.com>
8512 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
8513 problem with here-document buffer boundaries.
8515 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
8516 when reinvoking the shell, to work around problems with installers
8517 who put strange things like "cd" commands in their environments.
8519 2002-03-19 Akim Demaille <akim@epita.fr>
8521 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
8524 2002-03-19 Akim Demaille <akim@epita.fr>
8526 * bin/autoscan.in (scan_file): Specify the location in `&used'
8530 2002-03-19 Akim Demaille <akim@epita.fr>
8532 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
8533 From Nishio Futoshi.
8535 2002-03-19 Akim Demaille <akim@epita.fr>
8537 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
8539 2002-03-18 Paul Eggert <eggert@twinsun.com>
8541 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
8542 (Limitations of Usual Tools): Add mkdir section.
8544 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
8545 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
8546 back on AS_DIRNAME to compute prefixes otherwise; this is
8547 roughly what mkinstalldirs does. That way, we need not have
8548 our own filename disassembler. The old disassembler did not
8549 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
8551 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
8552 Create at_test_all by a series of assignments,
8553 not by a single assignment of a long string. The latter causes ksh
8554 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
8555 presumably because of a buffer overrun.
8557 2002-03-14 Paul Eggert <eggert@twinsun.com>
8559 * lib/autotest/general.m4 (at_times_skip):
8560 Renamed from at_times. Now a boolean.
8561 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
8562 says 'times: not found'.
8564 2002-03-14 Akim Demaille <akim@epita.fr>
8566 * bin/autoreconf.in (&study_gettextize): New.
8567 (&autoreconf): Handle newest gettextize.
8568 Rerun aclocal if needed.
8569 Suggested by Andreas Schwab.
8571 2002-03-13 Akim Demaille <akim@epita.fr>
8573 * doc/autoconf.texi (Special Shell Variables): More about IFS.
8575 2002-03-13 Akim Demaille <akim@epita.fr>
8577 * doc/autoconf.texi (Header Portability): New.
8578 Add information about stdint.h and inttypes.h from Paul Eggert.
8580 2002-03-13 Akim Demaille <akim@epita.fr>
8582 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
8586 2002-03-12 Akim Demaille <akim@epita.fr>
8588 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
8591 2002-03-11 Andreas Schwab <schwab@suse.de>
8593 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
8594 does not do it if --with-lispdir is given.
8596 2002-03-08 Akim Demaille <akim@epita.fr>
8600 2002-03-08 Akim Demaille <akim@epita.fr>
8602 * doc/autoconf.texi (Subdirectories): Clarify that the
8603 subdirectory should exist.
8605 2002-03-08 Akim Demaille <akim@epita.fr>
8607 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
8609 2002-03-08 Akim Demaille <akim@epita.fr>
8611 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
8612 aliases the actual variables, and modifications of the former
8615 2002-03-08 Akim Demaille <akim@epita.fr>
8617 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
8618 because of C-c: have m4 output in tmp files, then mv them.
8620 2002-03-08 Akim Demaille <akim@epita.fr>
8622 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
8623 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
8624 * bin/ifnames.in: Copyright update.
8626 2002-03-08 Akim Demaille <akim@epita.fr>
8628 * doc/autoconf.texi (Invoking autom4te): New.
8630 2002-03-05 Akim Demaille <akim@epita.fr>
8632 * doc/autoconf.texi (Specifying Names): Clarification suggested by
8635 2002-03-05 Akim Demaille <akim@epita.fr>
8639 2002-03-04 Akim Demaille <akim@epita.fr>
8641 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
8642 * lib/autoconf/general.m4 (AC_INIT): More informative error
8645 2002-03-04 Akim Demaille <akim@epita.fr>
8647 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
8650 2002-03-04 Akim Demaille <akim@epita.fr>
8652 * doc/autoconf.texi (Transforming Names): Equality between target
8653 and host is irrelevant.
8654 (Specifying Names, Canonicalizing): Remove all references to the
8655 backward compatibility hooks. Rather, collect them all into...
8656 (Hosts and Cross-Compilation): this new section.
8657 * doc/install.texi (System Type): Ditto.
8658 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
8659 that `--host' implies cross-compilation.
8661 2002-03-04 Akim Demaille <akim@epita.fr>
8663 * doc/autoconf.texi (Evaluation Macros): New.
8664 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
8666 (_m4_foreach): Define the variant with immediate evaluation so
8667 that it contains exactly the items, not an expression which
8668 evaluation is the current item.
8669 (m4_re_string, m4_re_word): Don't over quote them.
8671 2002-03-04 Akim Demaille <akim@epita.fr>
8673 Instead of having stacking `shift's evaluated at the end, let
8674 `foreach' loops immediately evaluate them.
8676 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
8677 $*. This is the n-th time I change my mind, but hopefully this is
8680 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
8682 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
8683 it was only a hack for m4_text_wrap.
8684 (m4_car2): Remove, replaced by...
8686 (_m4_foreach): Adjust.
8687 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
8688 m4_bpatsubst for clarification.
8690 2002-03-04 Akim Demaille <akim@epita.fr>
8692 * doc/autoconf.texi (Changequote is Evil): New.
8694 2002-03-03 Kevin Ryde <user42@zip.com.au>
8696 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
8697 on old systems like SunOS.
8699 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
8701 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
8702 lib/autoconf/functions.m4, lib/autoconf/general.m4,
8703 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
8704 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
8707 2002-02-28 Akim Demaille <akim@epita.fr>
8709 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
8712 2002-02-28 Kevin Ryde <user42@zip.com.au>
8714 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
8716 2002-02-25 Akim Demaille <akim@epita.fr>
8718 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
8721 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
8723 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
8724 translate \r\n to \n.
8726 2002-02-07 Akim Demaille <akim@epita.fr>
8730 2002-02-07 Akim Demaille <akim@epita.fr>
8732 Fix Autoconf PR/209.
8733 Also reported by Frank Denis.
8735 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
8737 2002-02-07 Akim Demaille <akim@epita.fr>
8739 Fix Autoconf PR/207:
8740 AC_PREFIX_PROGRAM fails with dashed program names
8742 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
8743 variable when looking for the prefix program.
8744 Now it also works for shell variables.
8746 2002-02-07 Akim Demaille <akim@epita.fr>
8748 * doc/autoconf.texi (Limitations of Builtins): More about
8751 2002-02-06 Akim Demaille <akim@epita.fr>
8753 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
8754 case/esac, some shells don't support it.
8755 Reported by Zack Weinberg.
8756 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
8758 2002-02-06 Akim Demaille <akim@epita.fr>
8760 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
8761 sure not to introduce newlines in at_groups.
8762 * lib/autotest/Makefile.am (autotest.m4f): Typo.
8764 2002-02-06 Akim Demaille <akim@epita.fr>
8766 * tests/torture.at (Configuring subdirectories): Skip if aclocal
8769 2002-02-05 Paul Eggert <eggert@twinsun.com>
8771 * doc/autoconf.texi (Specific Compiler Characteristics):
8772 Describe HP-UX cc bug workaround more accurately.
8773 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
8775 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
8776 cross-compilers, too. This undoes some of the most recent change
8779 2002-02-05 Akim Demaille <akim@epita.fr>
8781 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
8782 to make sure they are up to date when `check' is run.
8784 2002-02-05 Akim Demaille <akim@epita.fr>
8786 * doc/autoconf.texi (Making testsuite Scripts): Document
8789 2002-02-05 Akim Demaille <akim@epita.fr>
8791 * lib/freeze.mk: New.
8793 2002-02-05 Akim Demaille <akim@epita.fr>
8795 Implement `autom4te --freeze'.
8797 * bin/autom4te.in (&freeze): New.
8798 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
8799 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
8801 2002-02-05 Akim Demaille <akim@epita.fr>
8803 * bin/autom4te.in (&parse_args): Implement `frozen files are
8804 optional are the sum of the previous files on the command line'.
8805 Also, pass `--reload-state=' on them, so...
8807 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
8808 (M4sh): Rely on M4sugar.
8809 (Autotest, M4sh, M4sugar): Use frozen files.
8811 2002-01-31 Akim Demaille <akim@epita.fr>
8813 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
8814 * doc/autoconf.texi (Initializing configure): Adjust.
8816 2002-01-30 Akim Demaille <akim@epita.fr>
8818 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
8819 alphanumeric to `-' instead of `_'.
8821 2002-01-30 Akim Demaille <akim@epita.fr>
8823 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
8824 for plain code, the other for cross-compilation code. The latter
8825 is now run with GCC only.
8826 * doc/autoconf.texi (Compilers and Preprocessors): New.
8828 2002-01-30 Akim Demaille <akim@epita.fr>
8830 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
8832 * doc/autoconf.texi (Initializing configure): Explain how to
8833 change AC_INIT default values.
8835 2002-01-29 Akim Demaille <akim@epita.fr>
8837 * tests/torture.at (Configuring subdirectories): Use configure.in,
8838 so that aclocal 1.4 works.
8839 Reported by Alexandre Duret-Lutz and Larry Schmitt.
8841 2002-01-28 Akim Demaille <akim@epita.fr>
8843 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
8846 2002-01-28 Akim Demaille <akim@epita.fr>
8848 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
8849 AUTOTEST_PATH *after* it was set.
8850 Don't put `.' in the PATH: the user should be precise and `./' if
8851 needed. In addition, given that the test suite does some `cd', if
8852 `.' is in the path, the `tested programs' sections will report
8853 programs found in the test suite's directory, while during the
8854 tests (performed in their own directory), these programs are no
8855 longer visible. In other words, the results is confusing and
8857 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
8859 2002-01-24 Akim Demaille <akim@epita.fr>
8863 2002-01-24 Akim Demaille <akim@epita.fr>
8865 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
8866 * doc/autoconf.texi: Finally add Akim as an author.
8868 2002-01-24 Akim Demaille <akim@epita.fr>
8870 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
8871 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
8872 Bourne. Use /bin/sh.
8873 From Andreas Buening.
8875 2002-01-24 Akim Demaille <akim@epita.fr>
8877 * config/config.guess, config/config.sub, config/texinfo.tex:
8878 Update from masters.
8880 2002-01-24 Akim Demaille <akim@epita.fr>
8882 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
8883 * config/auxdir.m4, config/cond.m4, config/depend.m4,
8884 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
8885 * config/missing.m4, config/sanity.m4, config/select.m4,
8886 * config/strip.m4: Remove, to ease sync'ing with any version of
8889 2002-01-24 Akim Demaille <akim@epita.fr>
8891 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
8892 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
8893 Reported by Geir Ove Myhr.
8895 2002-01-21 Akim Demaille <akim@epita.fr>
8897 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
8899 2002-01-21 Akim Demaille <akim@epita.fr>
8901 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
8902 message on invalid options.
8903 * bin/autom4te.in (parse_args): Don't use
8904 Autoconf::General::getopt with non valid options.
8906 2002-01-17 Jim Meyering <meyering@lucent.com>
8908 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
8909 $ac_cv_exeext so we don't use an old, invalid, cached value.
8911 2002-01-11 Akim Demaille <akim@epita.fr>
8913 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
8915 * doc/autoconf.texi (Function Portability): Document the strnlen
8917 (Particular Functions): Document AC_FUNC_STRNLEN.
8918 * lib/autoscan/functions: Adjust.
8920 2002-01-06 Akim Demaille <akim@epita.fr>
8922 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
8923 package.m4, since is really depends upon configure.ac, not
8925 * doc/autoconf.texi (testsuite Scripts): Adjust.
8926 * tests/Makefile.am (package.m4): New.
8927 EXTRA_DIST it since its a source.
8929 2002-01-06 Akim Demaille <akim@epita.fr>
8931 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
8932 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
8933 and PACKAGE_BUGREPORT from here...
8934 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
8936 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
8937 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
8938 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
8939 * tests/tools.at (autoheader): Adjust.
8940 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
8942 2002-01-06 Akim Demaille <akim@epita.fr>
8944 * bin/autoscan.in (scan_file): Use `&used'.
8946 2002-01-03 Akim Demaille <akim@epita.fr>
8948 * doc/autoconf.texi (Output): Improved wording regarding use of
8952 2001-12-18 Kevin Ryde <user42@zip.com.au>
8954 * doc/autoconf.texi (Function Portability): Add notes on sscanf
8955 sometimes needing writable input.
8957 2001-12-17 Jim Meyering <meyering@lucent.com>
8959 * doc/autoconf.texi (New Macros): Tweak wording.
8961 2001-12-14 Akim Demaille <akim@epita.fr>
8963 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
8964 trailing files, don't apply `-rf' to files which might not be
8965 created by configure (core, core.*, and *.core), but just `rm -f'.
8966 Suggested by Jonathan Kamens.
8968 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
8970 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
8972 2001-12-14 Akim Demaille <akim@epita.fr>
8974 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
8976 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
8978 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
8979 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
8980 abs_srcdir, top_srcpath to abs_top_srcdir.
8981 (_AC_OUTPUT_FILES): Adjust.
8982 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
8983 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
8984 * tests/wrappl.in, tests/wrapsh.in: Adjust.
8986 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
8988 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
8989 C/Fortran linking on HP/UX, by extracting the Fortran library
8990 search path from the LPATH line in the $F77 -v output.
8992 2001-12-12 Kevin Ryde <user42@zip.com.au>
8994 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
8995 forbidden file descriptors table.
8997 2001-11-26 Akim Demaille <akim@epita.fr>
8999 * bin/autoscan.in (%c_keywords): Build it at top level.
9000 Map to 1 in order to simplify its uses.
9002 2001-11-26 Akim Demaille <akim@epita.fr>
9004 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
9005 Remove $filepath, useless.
9006 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
9007 variables, they are really part of the tokens.
9008 Split the input line on spaces and then look for tokens.
9009 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
9010 because of `lex$U.$(OBJEXT)'.
9011 (&scan_files): Use "@list" instead of join.
9012 * doc/Makefile.am (CLEANFILES): Add *.fns.
9014 2001-11-26 Akim Demaille <akim@epita.fr>
9016 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
9017 Remove, replaced by...
9018 * tests/wrappl.in: Be common for all the Perl executables.
9019 In particular autoscan and autoheader want -I.
9020 * configure.ac: Adjust.
9021 * lib/autoscan/headers: errno.h is portable.
9023 2001-11-26 Akim Demaille <akim@epita.fr>
9025 * bin/autoscan.in (used): New.
9028 2001-11-26 Akim Demaille <akim@epita.fr>
9030 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
9032 (&scan_sh_file): Remove a duplicate pattern.
9033 (&check_configure_ac): Use long options.
9034 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
9036 2001-11-26 Akim Demaille <akim@epita.fr>
9038 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
9039 Before, having a line containing the opening of a multi line
9040 comment made the whole line be ignored.
9042 2001-11-26 Akim Demaille <akim@epita.fr>
9044 * doc/autoconf.texi (Using an Autotest Test Suite): New.
9045 (testsuite Scripts): Be one of its subsection.
9046 (Autotest Logs): New.
9048 2001-11-26 Akim Demaille <akim@epita.fr>
9050 Test groups are now run two directories deeper.
9052 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
9053 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
9055 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
9056 top_srcdir, builddir and top_builddir.
9057 Use `at_*dir' relatively to the directory containing the
9058 suite, use `*dir' when relatively to the current group dir.
9060 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
9062 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
9063 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
9064 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
9067 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
9069 * doc/autoconf.texi (Using System Type): Add an example of `case
9070 $host' usage so people quit using `case $target' everywhere.
9072 2001-11-22 Akim Demaille <akim@epita.fr>
9074 * doc/autoconf.texi (Installation Directory Variables): Englishoes
9075 spotted by Jim Meyering.
9077 2001-11-16 Paul Eggert <eggert@twinsun.com>
9079 This patch implements a `long double' suggestion by Oliver Kiddle.
9081 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
9082 static, to catch errors if the value isn't known at compile-time
9083 and the compiler supports dynamic arrays. Change its name from
9084 `_array_' to `test_array' to avoid potential name clashes.
9085 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
9086 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
9087 better than double. Catch a bug in GCC 2.95.2 x86.
9088 * doc/autoconf.texi (C Compiler): Document the above.
9091 2001-11-13 Akim Demaille <akim@epita.fr>
9093 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
9095 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
9097 2001-11-13 Akim Demaille <akim@epita.fr>
9099 * lib/autotest/general.m4 (AT_INIT): After having run the test
9100 group, go back to the initial directory, not to at_suite_dir.
9102 2001-11-13 Akim Demaille <akim@epita.fr>
9104 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
9105 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
9106 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
9108 (AT_CHECK_CONFIGURE): Use absolute paths.
9109 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
9110 The problem is still the old one: there is no means in M4 (that I
9111 know about) to create a defining macro, because there is no means
9112 to create `$1' etc., therefore, the defining macro ``swallows''
9113 all the arguments meant to the defined macro.
9115 2001-11-13 Akim Demaille <akim@epita.fr>
9117 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
9118 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
9120 * tests/aclocal.m4: Remove, as it is no longer used.
9122 2001-11-13 Akim Demaille <akim@epita.fr>
9124 * lib/autotest/general.m4: Change `tests?' into `groups?' in
9125 variable names when referring to a single test group, or to
9126 `suite' when referring to the whole test suite.
9127 `at_last_test' is removed: m4 compute at_format itself.
9128 (at_stdout, at_stder1, at_stderr): New variables.
9129 (AT_CHECK): Use them.
9131 2001-11-13 Akim Demaille <akim@epita.fr>
9133 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
9135 Create `testsuite.dir/003/run' instead of `testsuite.003'.
9136 Do it as soon as a test fails, don't wait till the end of the test
9138 Don't remove $as_me.[0-9]*, since these files no longer exist.
9140 2001-11-13 Akim Demaille <akim@epita.fr>
9142 * tests/tools.at: Use absolute paths, since we are no longer run
9145 2001-11-13 Akim Demaille <akim@epita.fr>
9147 Now that tests are running in their own private dir, there is no
9148 need to list the files to remove at the end of tests groups.
9150 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
9151 (AT_data_files, at_data_files): Remove.
9152 (AT_CLEANUP, AT_DATA): Simplify.
9154 Remove the group dir if !debug && !failed.
9155 * tests/atspecific.m4: Adjust.
9157 2001-11-13 Akim Demaille <akim@epita.fr>
9159 Start a new layout for Autotest: `testsuite' creates
9160 `testsuite.dir' in which the at-check-line etc. files are to be
9161 found, and `testsuite.dir/003' where the test group 3 is run.
9163 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
9164 at_check_line_file, at_format, at_test_normalized, at_group_dir
9166 Create the directories.
9167 Use absolute paths for at- files.
9170 2001-11-11 Michael Matz <matz@kde.org>
9172 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
9174 (m4_car): Properly quote arguments.
9176 2001-11-13 Akim Demaille <akim@epita.fr>
9178 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
9179 with stricter rules on LIBOBJS.
9181 2001-11-12 Paul Eggert <eggert@twinsun.com>
9183 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
9184 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
9187 2001-11-12 Akim Demaille <akim@epita.fr>
9189 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
9191 2001-11-12 Akim Demaille <akim@epita.fr>
9193 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
9194 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
9195 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
9196 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
9197 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
9198 specify to what the macro should be defined (typically to 1).
9200 2001-11-12 Akim Demaille <akim@epita.fr>
9202 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
9205 2001-11-12 Akim Demaille <akim@epita.fr>
9207 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9208 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
9209 definition used by Automake where LEX is +/- "${missing} lex" and
9210 `missing' itself contains variables.
9212 2001-11-12 Akim Demaille <akim@epita.fr>
9214 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
9215 Now that M4sh pushes BODY, the comments were output at the end of
9218 2001-11-08 Akim Demaille <akim@epita.fr>
9220 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
9221 that we can trace macros from aclocal.m4.
9222 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
9223 obsoleted, and redirect to the former anyway.
9224 Reported by Ralf Corsepius.
9226 2001-11-08 Akim Demaille <akim@epita.fr>
9228 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
9229 processed only if present.
9230 * tests/torture.at (Configuring subdirectories): Use autoreconf
9231 instead of successive calls to autoconf.
9232 Add a nonexistent subdirectory to exercise the patch above.
9233 Reported by Ralf Corsepius.
9235 2001-11-08 Kevin Ryde <user42@zip.com.au>
9237 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
9238 doesn't accept .S files.
9240 2001-11-07 Akim Demaille <akim@epita.fr>
9242 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
9243 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
9244 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
9245 * bin/autom4te.in (warn_forbidden): New.
9246 (handle_output): Use it.
9247 Read m4_pattern_forbid with messages.
9249 2001-11-05 Akim Demaille <akim@epita.fr>
9251 * bin/autom4te.in (--normalize): Remove.
9252 * lib/autom4te.in: Adjust.
9254 2001-11-05 Akim Demaille <akim@epita.fr>
9256 * tests/Makefile.am (testsuite): Rename this target as...
9257 ($(TESTSUITE)): this.
9260 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
9262 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
9263 the --prefix option, also remove it's argument.
9265 2001-11-05 Akim Demaille <akim@epita.fr>
9267 * doc/autoconf.texi (testsuite Invocation): Update.
9268 (Writing testsuite.at): Update.
9270 2001-11-03 Akim Demaille <akim@epita.fr>
9272 * doc/autoconf.texi: s/@code/@command/ where appropriate.
9274 2001-11-03 Akim Demaille <akim@epita.fr>
9276 * lib/Autom4te/General.pm: (&catfile, &canonfile)
9277 (&file_name_is_absolute): New, wrappers around routines from
9279 Use and export them.
9280 (&find_configure_ac): Optionally take a directory where to look at.
9281 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
9283 Default @ARGV to `.', not find_configure_ac.
9284 (&autoreconf): Argument is a directory.
9285 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
9286 * doc/autoconf.texi (autoreconf Invocation): Update.
9288 2001-11-03 Akim Demaille <akim@epita.fr>
9290 * lib/Autom4te/General.pm (@export_vars, @export_subs)
9291 (@export_forward_subs): New.
9292 Add basename, dirname, and fileparse.
9294 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
9295 Don't look for aclocal flags if we already know aclocal is not
9297 Move aclocal.m4t only if it exists.
9298 Reported by Ezra Peisach.
9300 2001-11-03 Akim Demaille <akim@epita.fr>
9302 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
9303 passed on command line, defaulting to ./configure.ac if present.
9304 (&maybe_autoreconf, File::Find): Remove, unused.
9305 (&autoreconf): If autoconf is not used, don't try to trace.
9307 2001-11-02 Akim Demaille <akim@epita.fr>
9309 * configure.ac: Bump to 2.52g.
9311 2001-11-02 Akim Demaille <akim@epita.fr>
9315 2001-11-02 Akim Demaille <akim@epita.fr>
9317 * config/config.guess, config/config.sub, doc/standards.texi:
9318 * config/lispdir.m4: Update from masters.
9319 * configure.ac: Bump to 2.52f.
9321 2001-11-02 Akim Demaille <akim@epita.fr>
9323 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
9324 Don't run aclocal when aclocal.m4 is not from aclocal.
9326 Don't run libtoolize and gettextize if --install is not given.
9328 2001-11-01 Paul Eggert <eggert@twinsun.com>
9330 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
9331 be invoked before _AS_LINENO_PREPARE.
9332 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
9333 than character ranges.
9335 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
9336 invoking AS_BASENAME. Set the locale variables to 'C' if
9337 possible, as POSIX requires this to get the traditional
9339 * doc/autoconf.texi (Special Shell Variables): Describe the above.
9341 2001-10-31 Paul Eggert <eggert@twinsun.com>
9343 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
9344 with {}, as that triggers a bug in Bash 2.05.
9346 (_AS_LINENO_PREPARE): Use Sed rather than
9347 Awk. Fix the sed prepass to work even if there are multiple
9348 instances of $LINENO on the same line. Do not substitute for
9349 other variables like $LINENOT. Do not check file dates; such a
9350 check is unreliable on sufficiently fast machines, and removing
9351 the check makes the code simpler and more reliable. Check for
9352 output and chmod failures.
9354 * doc/autoconf.texi (Special Shell Variables): Document
9357 2001-10-31 Akim Demaille <akim@epita.fr>
9359 * tests/Makefile.am (atconfig): Remove this target, Automake
9362 2001-10-31 Akim Demaille <akim@epita.fr>
9364 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
9365 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
9366 provided, while it is optional.
9367 * configure.ac: Adjust.
9369 2001-10-26 Paul Eggert <eggert@twinsun.com>
9371 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
9372 lib/Autom4te/Struct.pm:
9373 Require Perl 5.005_03 instead of just 5.005, as some tests fail
9376 * doc/autoconf.texi (Special Shell Variables): Document some
9377 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
9379 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
9380 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
9381 eval $LINENO is not portable in practice.
9383 2001-10-24 Akim Demaille <akim@epita.fr>
9385 * lib/Autom4te/General.pm (backname): New.
9387 2001-10-24 Akim Demaille <akim@epita.fr>
9389 * m4/: Remove, merged into...
9392 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
9394 * doc/autoconf.texi (Shellology): Mention the problems with bash
9395 2.05's use of ANSI quoting in its `set' builtin.
9397 2001-10-22 Paul Eggert <eggert@twinsun.com>
9399 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
9400 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
9401 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
9402 POSIX decided to standardize on the int flavor of strerror_r.
9403 Always do char* test, as there's no reason not to.
9404 Assign to a char* var, to catch strerror_r that returns int*.
9406 * doc/autoconf.texi (Particular Functions):
9407 Document the above changes. Also, document the fact that
9408 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
9410 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
9412 2001-10-20 Akim Demaille <akim@epita.fr>
9414 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
9415 the executable was missing from the log.
9417 2001-10-20 Akim Demaille <akim@epita.fr>
9419 * lib/Autom4te/General.pm (&update_file): If destination is
9420 unchanged, remove the source.
9421 (&up_to_date_p): Don't be verbose, be debug.
9422 * bin/autoreconf.in: No longer support --m4dir.
9423 (&autoreconf): Display the full path of the configure.ac we are
9426 Be sure to honor --force with gettextize.
9428 * doc/autoconf.texi: Adjust.
9430 2001-10-20 Akim Demaille <akim@epita.fr>
9432 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
9434 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
9435 `intl' is already present, as it refuses unless --force.
9436 (&parse_args): Use -I, --include instead of the old Autoconf
9438 ($localdir, $autoconf_dir): Remove.
9440 (&maybe_autoreconf): New, to preserve $_ for File::Find.
9442 2001-10-19 Jens Petersen <petersen@redhat.com>
9444 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
9445 * doc/autoconf.texi (Particular Programs): Likewise.
9447 2001-10-19 Akim Demaille <akim@epita.fr>
9449 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
9450 file in @configure_input@.
9451 Don't mention `automatically' in addition to `generated'.
9452 * tests/torture.at (#define header templates): Adjust.
9454 2001-10-19 Akim Demaille <akim@epita.fr>
9456 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
9457 comment, explain how to install automatic mode selection.
9460 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
9462 * bin/autoreconf.in (autoreconf): Display the path to the
9463 configure.ac being studied.
9465 2001-10-18 Paul Eggert <eggert@twinsun.com>
9467 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
9468 long, to work around a bug in the HP C compiler version HP92453-01
9471 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
9472 (AS_BASENAME_EXPR): New macro.
9473 (AS_BASENAME_SED): Do not assume GNU sed semantics.
9474 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
9475 and fall back on 'sed' only if the other two fail. This makes
9476 AS_BASENAME act more like AS_DIRNAME.
9477 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
9478 contains white space.
9479 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
9480 Use AS_DIRNAME, since I think it's now DOS-friendly.
9481 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
9482 Allow "dirname //FOO" to return either / or //, as POSIX allows
9485 2001-10-10 Akim Demaille <akim@epita.fr>
9487 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
9488 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
9491 2001-10-10 Akim Demaille <akim@epita.fr>
9493 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
9495 (_AS_ECHO_N): AS_REQUIREs it.
9497 2001-10-10 Akim Demaille <akim@epita.fr>
9499 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
9500 (AC_INCLUDES_DEFAULT): Move to...
9501 * lib/autoconf/headers.m4: here.
9502 * lib/autoconf/types.m4: Comment changes.
9503 * doc/autoconf.texi: Specify where the default includes are used
9504 in the macro prototypes.
9506 2001-10-09 Akim Demaille <akim@epita.fr>
9508 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
9511 2001-10-08 Akim Demaille <akim@epita.fr>
9513 * bin/autoreconf.in (&autoreconf): Remove debugging code.
9514 (&parse_args): Pass verbosity/debugging options to subtools when
9515 --debug, not when --verbose.
9516 * lib/autom4te.in (Autoreconf-preselections): New.
9519 2001-10-08 Akim Demaille <akim@epita.fr>
9521 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
9523 2001-10-08 Akim Demaille <akim@epita.fr>
9525 * doc/autoconf.texi (autoreconf Invocation): Adjust.
9526 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
9528 2001-10-08 Akim Demaille <akim@epita.fr>
9530 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
9531 (Syntax of the shell scripts): Don't.
9532 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
9533 bother with $force since...
9534 * lib/Autom4te/General.pm: does.
9536 2001-10-08 Akim Demaille <akim@epita.fr>
9538 * bin/autoreconf.in: Rewrite in Perl.
9539 * configure.ac: Adjust.
9540 * lib/Autom4te/General.pm (&up_to_date_p): New.
9541 * bin/autom4te.in (&up_to_date_p): Use it.
9543 (&up_to_date): this.
9545 2001-10-08 Akim Demaille <akim@epita.fr>
9547 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
9548 (m4_list_cmp): Use $0 to reinvoke yourself.
9549 (m4_patsubsts): New.
9550 (m4_strip, m4_version_unletter): Use it.
9551 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
9553 2001-10-08 Akim Demaille <akim@epita.fr>
9555 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
9556 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
9557 * lib/autoconf/types.m4, lib/autotest/general.m4,
9558 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
9559 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
9560 m4_bregexp, m4_bpatsubst, and m4_bmatch.
9561 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
9563 2001-10-08 Akim Demaille <akim@epita.fr>
9565 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
9567 2001-10-08 Akim Demaille <akim@epita.fr>
9569 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
9570 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
9571 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
9572 * tests/tools.at, tests/m4sh.at: Use it.
9573 * tests/m4sh.at: Don't rely on Autoconf macros.
9574 (DIRNAME_TEST): Also exercise the expr variant.
9575 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
9576 preferred M4sugar extension is now `.4s'.
9577 * tests/README: Remove.
9579 2001-10-08 Akim Demaille <akim@epita.fr>
9581 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
9582 (m4_provide_if): this.
9583 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
9584 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
9585 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
9586 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
9588 2001-10-08 Akim Demaille <akim@epita.fr>
9590 Use `add-log-current-defun-function' for ChangeLog creation.
9591 Suggested by Tom Tromey.
9593 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
9594 (autotest-mode): Adjust.
9595 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
9596 'comment-region onto `C-c ;'.
9597 Comments are `#', not `dnl'.
9598 (autoconf-current-defun): New.
9599 (autoconf-font-lock-keywords): Recognize `m4_defun'.
9601 2001-10-08 Akim Demaille <akim@epita.fr>
9603 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
9604 * lib/m4sugar/m4sh.m4: here.
9605 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
9606 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
9607 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
9608 include handle the m4_pattern_*, no longer push the
9609 BODY diversion nor set the /bin/sh line, AS_INIT does it.
9610 * lib/autotest/general.m4 (AT_INIT): Likewise.
9611 * tests/base.at: Adjust the tests to use AS_INIT.
9612 * tests/tools.at (AT_DATA_FORBIDDEN): New.
9613 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
9616 2001-10-07 Paul Eggert <eggert@twinsun.com>
9618 * doc/autoconf.texi (config.status Invocation):
9619 CONFIG_SHELL defaults to a shell that supports LINENO if available.
9621 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
9622 shell does not support LINENO, and if CONFIG_SHELL is unset or
9623 empty, and if we can find a shell that does support LINENO,
9624 then set CONFIG_SHELL to that shell and then re-execute
9625 ourselves with CONFIG_SHELL.
9627 2001-10-05 Paul Eggert <eggert@twinsun.com>
9629 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
9630 doesn't exist. Remove *.tmp, as a .tmp file is created during the
9631 build of $(TESTSUITE).
9633 2001-10-05 Akim Demaille <akim@epita.fr>
9635 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
9636 iff we are a bareword.
9637 Reported by Raja R Harinath.
9639 2001-10-05 Akim Demaille <akim@epita.fr>
9641 * tests/m4sh.at (LINENO): New.
9642 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
9643 PATH_SEPARATOR before using it.
9644 Fix the absolute path case/esac pattern.
9645 Provide $0 as fallback for as_myself.
9646 Reported by Raja R Harinath.
9648 2001-10-05 Akim Demaille <akim@epita.fr>
9650 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
9651 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
9653 2001-10-05 Akim Demaille <akim@epita.fr>
9655 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
9656 (AS_SHELL_SANITIZE): here. Use it.
9657 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
9660 2001-10-04 Akim Demaille <akim@epita.fr>
9662 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
9663 combination of Awk and sed to replace $LINENO.
9665 2001-10-02 Paul Eggert <eggert@twinsun.com>
9667 * doc/autoconf.texi (Limitations of Builtins): You can't use
9668 "source"; it's not portable. Remove confusing and
9669 somewhat-incorrect example involving "." and "/".
9671 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
9672 compatibility with POSIX shells.
9674 2001-10-02 Akim Demaille <akim@epita.fr>
9676 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
9677 instead of exec'ing to preserve $0 and $@.
9679 2001-10-01 Akim Demaille <akim@epita.fr>
9681 * tests/testsuite (AT_INIT) <at_pass_list>: New.
9682 Don't run twice the same test.
9684 2001-10-01 Akim Demaille <akim@epita.fr>
9686 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
9687 No longer output the list of tests.
9688 <--list>: New option.
9689 <--full-help>: Remove.
9690 Complete the short/long options duality.
9691 Various small adjustments.
9693 2001-10-01 Akim Demaille <akim@epita.fr>
9695 * doc/autoconf.texi: Use @kbd for user input.
9696 Always use `$' as shell prompt.
9698 2001-09-30 Paul Eggert <eggert@twinsun.com>
9700 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
9701 Don't use nested parenthesization. This patch was originally
9702 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
9703 but somehow it didn't get incorporated then.
9704 * doc/autoconf.texi (Limitations of Usual Tools):
9705 Clarify remark about sed and nested parenthesization.
9707 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
9708 Report an error if the size cannot be determined even though
9710 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9711 Check for `expr' arithmetic overflow, and for compilation failure,
9712 and invoke a new argument $4 if either is discovered.
9713 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
9714 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
9716 2001-09-28 Akim Demaille <akim@epita.fr>
9718 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
9719 * m4/lispdir.m4: New.
9720 * aclocal.m4, configure.ac: Adjust.
9722 2001-09-28 Akim Demaille <akim@epita.fr>
9724 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
9726 (AT_INIT): More the wrapped section to where it will be expanded.
9727 Output `AT_tested' only when existing.
9728 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
9730 2001-09-27 Akim Demaille <akim@epita.fr>
9732 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
9733 generates too many bug reports.
9735 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
9736 status when executing the ACTION-IF-FALSE.
9737 * tests/base.at (AC_TRY_*): Rename as...
9738 (AC_TRY_COMMAND): this.
9739 (AC_RUN_IFELSE): New.
9740 * tests/compile.at (Extensions, C keywords)
9741 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
9742 (Broken/missing compilers, AC_PROG_CPP with warnings)
9743 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
9744 * tests/c.at (Extensions, C keywords)
9745 (Broken/missing compilers, AC_PROG_CPP with warnings)
9746 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
9747 (AC_PROG_CPP requires AC_PROG_CC): here and...
9748 * tests/fortran.at (GNU Fortran 77): there.
9749 * doc/autoconf.texi (autoconf Invocation): Fix the example:
9750 AC_TRY_RUN is about compilation, not shell commands.
9751 (Test Programs): AC_TRY_RUN works as used to be advertised.
9753 2001-09-27 Akim Demaille <akim@epita.fr>
9755 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
9757 Be sure to detect when $LINENO always returns the same value.
9758 Look for the original script, basename($0) is certainly not
9760 Pass the CLI arguments to `$as_me.lineno'.
9762 2001-09-25 Akim Demaille <akim@epita.fr>
9764 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
9765 Be sure the close and reopen the LOG fd before and after using tee
9767 <at_tests_pattern>: Adjust to the new format of at_help_all.
9769 2001-09-23 Akim Demaille <akim@epita.fr>
9771 * bin/autom4te.in (parse_args): There can be several invocations
9774 2001-09-23 Akim Demaille <akim@epita.fr>
9776 * doc/autoconf.texi (Top): Wrap in @ifnottex.
9778 2001-09-23 Akim Demaille <akim@epita.fr>
9780 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
9781 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
9782 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
9783 builddir, buildpath, top_builddir, and top_buildpath.
9784 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
9785 the current directory.
9786 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
9787 variables *before* changing the current directory.
9788 Skip nonexistent dirs.
9789 * doc/autoconf.texi (Preset Output Variables): Document these
9792 * lib/autotest/general.m4: Do not reset AT_victims.
9793 Don't compute at_srcdir nor at_top_srcdir.
9795 * tests/tools.at: Hence use top_srcdir.
9797 * tests/Makefile.am, tests/autoconf, tests/autoheader,
9798 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
9800 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
9801 * tests/wrapsh.in, tests/autoupdate.in: New.
9802 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
9803 * configure.ac: Build the position independent wrappers.
9805 * man/Makefile.am: Now that test wrappers are position
9806 independent, use them and drop dark envvar magic.
9808 2001-09-23 Akim Demaille <akim@epita.fr>
9810 * doc/autoconf.texi (Common Shell Constructs): Rename as...
9811 (Programming in M4sh): this.
9812 Promote to @section.
9814 2001-09-23 Akim Demaille <akim@epita.fr>
9816 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
9817 Pass $at_debug_args to the rerun test suite.
9818 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
9819 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
9822 2001-09-23 Akim Demaille <akim@epita.fr>
9824 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
9826 2001-09-23 Akim Demaille <akim@epita.fr>
9828 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
9831 2001-09-23 Akim Demaille <akim@epita.fr>
9833 * lib/Autom4te/General.pm (&debug): New.
9834 * bin/autom4te.in ($language): Move to...
9836 Handle --language in languages.
9837 * lib/autom4te.in (Automake-selections, Autoheader-selections)
9838 (Autoscan-selections): New.
9841 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
9843 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
9844 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
9845 to match current versions from CVS Automake.
9847 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
9849 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
9852 2001-09-22 Akim Demaille <akim@epita.fr>
9854 * lib/autoconf/autotest.m4: Create `package.m4'.
9855 * tests/Makefile.am (package.m4): Remove.
9857 2001-09-22 Akim Demaille <akim@epita.fr>
9859 Rely on `$LINENO' when possible instead of `__oline__'.
9861 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
9862 `$LINENO' support replacement when not supported.
9863 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
9864 them explicitly to be sure they are not output before this section
9865 (via m4_require). Cosmetic only.
9866 * lib/autoconf/c.m4, lib/autoconf/general.m4,
9867 * lib/autoconf/programs.m4: Replace all the occurrences of
9868 `__oline__' with `$LINENO'.
9869 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
9871 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
9873 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
9874 character (u: -> ue) in a code comment.
9875 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
9878 2001-09-21 Akim Demaille <akim@epita.fr>
9880 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
9881 Suggested by Jim Meyering.
9883 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9885 * lib/autoconf/programs.m4: Use extensions listed in
9886 $ac_executable_extensions when looking for programs.
9888 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9890 * lib/autoconf/general.m4: Fix a small Englisho.
9891 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
9892 setting up ac_dir_suffix and ac_top_builddir.
9893 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
9895 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9897 * doc/autoconf.texi (File System Conventions): Clarify the use of
9899 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
9900 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
9901 be used instead of ':'.
9902 * lib/autotest/general.m4: Replace occurrences of ':' in
9903 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
9905 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9907 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
9908 arguments. Fixed a typo.
9910 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9912 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
9913 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
9915 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9917 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
9918 * bin/autoupdate.in: Ditto.
9919 * bin/autoheader.in: Reworded a few comments.
9920 * bin/autoconf.in: Reworded help text for a few options.
9921 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
9922 * bin/autoscan.in, bin/autoupdate.in: Ditto.
9924 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
9926 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
9927 already have $file). Set output files to binary mode (helps avoid
9928 CR issues on DOSish systems).
9930 2001-09-19 Akim Demaille <akim@epita.fr>
9932 * lib/autotest/general.m4: Englishoes.
9933 From Tim Van Holder and Alexey Mahotkin.
9935 2001-09-18 Paul Eggert <eggert@twinsun.com>
9937 * doc/autoconf.texi (Common Shell Constructs): New node,
9938 documenting AS_DIRNAME.
9939 (Limitations of Usual Tools): Refer to it when discussing dirname.
9940 Also, update discussion of POSIX standard to reflect latest draft.
9942 * lib/autoconf/c.m4:
9943 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
9945 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
9946 Do not pass a first argument with leading '-'
9947 to expr, by parenthesizing initial integers that might be negative.
9949 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
9950 now merely checks whether it is an error to pass an argument
9953 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
9954 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
9955 whether it is a (compile-time) error to pass an argument to
9956 getpgrp. This simpler test supports the revised documentation,
9957 and is all that AC_FUNC_GETPGRP's users really need.
9959 2001-09-18 Akim Demaille <akim@epita.fr>
9961 * doc/autoconf.texi (Limitations of Make) <$<>: New.
9963 2001-09-18 Akim Demaille <akim@epita.fr>
9965 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
9967 * lib/autotest/general.m4 (AT_INIT): Adjust.
9969 2001-09-18 Paul Wagland <paul@wagland.net>
9971 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
9973 Add test for AS_BASENAME.
9974 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
9975 added test. It now correctly handles /1/2/3/, returning '3' not ''.
9976 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
9977 * tests/base.at: Fixed the expected responses. The old ones were
9979 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
9980 the documentation claims it should (and how it behaved in 2.13).
9982 2001-09-18 Akim Demaille <akim@epita.fr>
9984 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
9985 the AC_CONFIG_COMMANDS invocation.
9986 This also solves the name clash problems.
9987 Don't set the package's ID.
9988 * lib/m4sugar/Makefile.am (version.m4): Revamp.
9989 No longer to be shipped.
9990 (version.in): Remove.
9991 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
9992 * lib/autoconf/status.m4: Adjust.
9993 Use `m4_PACKAGE_STRING'.
9994 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
9995 the only optional argument is the name of the test suite.
9996 Expect `package.m4' to define the package signature.
9997 * lib/autom4te.in (Autotest): Add `package.m4?'.
9998 * tests/Makefile.am (package.m4): New.
9999 * tests/suite.at: ifnames is a victim.
10001 2001-09-18 Akim Demaille <akim@epita.fr>
10003 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
10004 AC_LIBSOURCE, AC_CONFIG_FILES.
10005 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
10006 program version string doesn't match the package's.
10007 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
10010 2001-09-17 Paul Eggert <eggert@twinsun.com>
10012 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10013 Allow expression to return any value that can fit into unsigned long
10014 (not int, as before). Check for output errors.
10016 2001-09-17 Bruno Haible <haible@ilog.fr>
10018 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
10019 Always include <stdio.h> and <stdlib.h>. Evaluate
10020 the expression in an extra function before these includes. Call
10021 fprintf "%d" only after ensuring the argument is of type 'int'.
10022 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
10024 2001-09-17 Paul Eggert <eggert@twinsun.com>
10026 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
10027 or CFLAGS=-O5. In that case, the linker has a relaxed view of
10028 fatal errors, and AC_CHECK_LIB causes it to include libraries even
10029 when they don't exist.
10031 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
10032 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
10035 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
10036 version with the version used by fileutils 4.1, except use
10037 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
10040 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
10042 2001-09-13 Akim Demaille <akim@epita.fr>
10044 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
10046 Reported by Gerrit P. Haase.
10048 2001-09-13 Akim Demaille <akim@epita.fr>
10050 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
10051 m4_defn'ing is valid.
10053 2001-09-13 Akim Demaille <akim@epita.fr>
10055 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
10056 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
10059 2001-09-13 Akim Demaille <akim@epita.fr>
10061 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
10063 (m4_re_escape): New.
10064 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
10065 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
10066 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
10068 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
10069 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
10070 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
10071 AT_tests_all for consistency.
10073 (AT_VICTIMS): Similar to AT_KEYWORDS.
10074 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
10076 2001-09-13 Akim Demaille <akim@epita.fr>
10078 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
10080 2001-09-13 Akim Demaille <akim@epita.fr>
10082 * lib/autotest/general.m4 (AT_INIT): Create and remove
10083 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
10084 test suites can cohabit.
10086 2001-09-13 Akim Demaille <akim@epita.fr>
10088 * tests/mktests.sh: Don't output banners for empty test files.
10090 2001-09-13 Akim Demaille <akim@epita.fr>
10092 Test suites can be run independently of configure.
10094 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
10095 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
10096 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
10098 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
10100 * lib/autotest/general.m4: Use ECHO_*.
10102 2001-09-13 Akim Demaille <akim@epita.fr>
10104 * bin/ifnames.in: Rewrite in Perl.
10105 * configure.ac: Don't look for AWK.
10106 * tests/tools.at (AWK portability): Remove.
10107 (Syntax of the shell scripts): Don't check ifnames.
10108 (AT_CHECK_PERL_SYNTAX): New.
10109 (Syntax of the Perl scripts): Check ifnames.
10110 * tests/ifnames: New.
10112 2001-09-13 Akim Demaille <akim@epita.fr>
10114 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
10116 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
10117 Remove all the other keywords.
10119 2001-09-10 Akim Demaille <akim@epita.fr>
10121 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
10122 SETUP: no longer used.
10123 Support -k, --keywords.
10124 <at_help>: Be `no', `short', or `long'.
10125 <at_help_all>: New variable.
10126 (AT_KEYWORDS): New.
10127 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
10128 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
10129 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
10130 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
10131 No longer fill the HELP diversion.
10132 (AT_CLEANUP): Use them.
10133 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
10134 (m4_list_append): Remove.
10136 Spread a few keywords in the Autoconf test suite.
10138 2001-09-10 Akim Demaille <akim@epita.fr>
10140 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
10141 PATH_SEPARATOR, let M4sh compute it.
10142 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
10143 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
10145 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
10146 Simplify when the path is not a literal.
10147 (AS_UNAME): Use it to report PATH.
10148 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
10149 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
10150 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
10151 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
10152 normalize the path, and to look for victims.
10153 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
10154 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
10156 2001-09-07 Akim Demaille <akim@epita.fr>
10158 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
10159 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
10160 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
10161 related variables into `at_package_*'.
10162 * lib/autotest/general.m4 (AT_VICTIMS): New.
10163 (AT_INIT): Adjust for stand-alone/embedded test suites.
10164 (AS_MESSAGE_LOG_FD): Define and use it.
10165 * tests/suite.at (AT_VICTIMS): Use it.
10166 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
10169 2001-09-07 Akim Demaille <akim@epita.fr>
10171 Move toward possibly stand-alone test suites.
10173 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
10174 in addition, it introduces useless differences in logs.
10175 (AT_INIT): Let atconfig and atlocal be both optional.
10176 Adjust PATH computation.
10177 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
10179 2001-09-07 Akim Demaille <akim@epita.fr>
10181 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
10182 m4sugar/version.m4.
10184 2001-09-05 Akim Demaille <akim@epita.fr>
10186 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
10187 to avoid GCC warnings.
10190 2001-09-05 Akim Demaille <akim@epita.fr>
10192 * bin/autom4te.in: --language is -l, not -s.
10194 2001-09-05 Akim Demaille <akim@epita.fr>
10196 Be ready to handle filenames as stupid as `dnl.at', for if even
10197 the maintainer is dumb enough to do that...
10199 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
10200 excellence in M4 quotation: consider `__file__' is active.
10202 And BTW, when invoking m4, pass the --include in the right order:
10205 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
10208 2001-09-05 Akim Demaille <akim@epita.fr>
10210 * lib/Autom4te/XFile.pm: New lib file.
10211 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
10212 * bin/autoheader.in: Use it.
10214 2001-09-05 Akim Demaille <akim@epita.fr>
10216 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
10219 2001-09-05 Akim Demaille <akim@epita.fr>
10221 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
10222 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
10224 * bin/autoscan.in: Use `getopt' and `find_files' etc.
10225 Add -I, --include support.
10226 * doc/autoconf.texi (autoscan Invocation): Adjust.
10228 2001-09-05 Akim Demaille <akim@epita.fr>
10230 CVS GNU M4 doesn't like `undefine(undefined)'.
10232 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
10233 New, extracted from main.
10234 Use IO::File wherever possible.
10235 (input.m4): Be constant, use -I instead of hard coding $tmp.
10236 Therefore be a quoted heredoc.
10237 Don't invoke `_au_disable', since ac was not loaded, but just
10240 2001-08-31 Akim Demaille <akim@epita.fr>
10244 2001-08-31 Akim Demaille <akim@epita.fr>
10246 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
10248 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
10250 2001-08-31 Akim Demaille <akim@epita.fr>
10252 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
10253 serious problems handling heredocs in heredocs.
10254 Reported by Nicolas Joly.
10256 2001-08-31 Akim Demaille <akim@epita.fr>
10258 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
10259 (Making testsuite Scripts): Update.
10261 2001-08-31 Akim Demaille <akim@epita.fr>
10263 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
10265 2001-08-31 Akim Demaille <akim@epita.fr>
10267 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
10268 (testsuite Scripts): There is no such thing as `atconfig.in'.
10269 And actually one diagram is missing: test suite runtime.
10271 2001-08-31 Akim Demaille <akim@epita.fr>
10273 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
10276 2001-08-31 Akim Demaille <akim@epita.fr>
10278 * bin/autoupdate.in (@include): `installcheck' revealed the path
10279 to m4sugar was lacking!
10281 2001-08-31 Akim Demaille <akim@epita.fr>
10283 * man/Makefile.am (.x.1): We really have to pass
10284 autom4te_perllibdir.
10286 2001-08-31 Akim Demaille <akim@epita.fr>
10288 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
10289 debug scripts, in particular passing explicitly listed tests to
10292 2001-08-31 Akim Demaille <akim@epita.fr>
10294 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
10295 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
10296 Use directly autom4te, not autoconf.
10297 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
10299 2001-08-31 Akim Demaille <akim@epita.fr>
10301 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
10302 * bin/autoheader.in (%symbol): Strip arguments of macros.
10304 2001-08-31 Akim Demaille <akim@epita.fr>
10306 * doc/autoconf.texi: Catch up -I, --include changes.
10308 2001-08-31 Akim Demaille <akim@epita.fr>
10310 * bin/autom4te.in (&parse_args): Die on unknown languages.
10311 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
10313 Promote --include over --macrodir and other obsolete options.
10315 2001-08-31 Akim Demaille <akim@epita.fr>
10317 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
10318 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
10319 * bin/autom4te.in ($autoconf): Pass --force.
10320 `print $out' doesn't print `$_' but `$out'.
10321 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
10322 (autoheader): Pass --force since the test suite goes too fast for
10324 Adjust to the new autoheader messages.
10326 2001-08-31 Akim Demaille <akim@epita.fr>
10328 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
10329 Check the completeness of the #template.
10330 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
10331 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
10334 2001-08-31 Akim Demaille <akim@epita.fr>
10336 * lib/Autom4te/General.pm (&find_file, &update_file): New.
10337 * bin/autoupdate.in, bin/autoheader.in: Adjust.
10338 Drop AC_MACRODIR dead for real.
10339 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
10340 `autoheader: `config.hin' is created'.
10341 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
10343 2001-08-31 Akim Demaille <akim@epita.fr>
10345 * bin/autoheader.in: Rewrite in Perl.
10346 * tests/autoheader: Adjust.
10348 2001-08-31 Akim Demaille <akim@epita.fr>
10350 * bin/autoconf.in (--include, -I): New option.
10351 Map --localdir, --autoconf-dir onto it.
10352 Forward autom4te's options instead of interpreting them.
10353 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
10354 There is no such envvar since the inception of autom4te.cfg.
10355 * bin/autom4te.in (&parse_args): Uniquify `@include'.
10356 * bin/autoupdate.in: Adjust, and perform more control.
10357 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
10358 * tests/autoconf: Dittowise.
10360 2001-08-31 Akim Demaille <akim@epita.fr>
10362 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
10363 * bin/autom4te.in (&find_file): Support `FILE?' standing for
10365 Use -e, not -f, since /dev/null for instance is OK.
10366 (&parse_args): Adjust.
10367 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
10369 2001-08-31 Akim Demaille <akim@epita.fr>
10371 * configure.ac: Also find tested executables in bin.
10372 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
10373 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
10374 installed peer executables, only PATH is allowed to resolve it.
10375 Pass `autoconf_dir' via options, not via invisible envvars.
10376 * lib/Autom4te/General.pm (&find_peer): Remove.
10377 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
10378 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
10379 * man/Makefile.am: Let help2man rely on PATH instead of trying to
10380 find the executables for it.
10381 * tests/Makefile.am: Major cleanup. Too lazy to document...
10382 * tests/atlocal.in: Remove all the obscure envvar manipulations.
10384 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
10385 indeed related to running the test suite, while passing
10386 --autoconf-dir and others is related to running non installed
10387 Autoconf executables. So don't do that, leave it to...
10388 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
10389 * tests/autoscan: New.
10390 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
10391 refer to library files: rely on --language.
10393 2001-08-29 Akim Demaille <akim@epita.fr>
10395 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
10396 s/--set/--language/.
10398 2001-08-29 Akim Demaille <akim@epita.fr>
10400 * doc/autoconf.texi: Strip the @nodes.
10401 Suggested by Paul Eggert.
10402 (Initializing configure): Typo.
10404 2001-08-29 Akim Demaille <akim@epita.fr>
10406 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
10407 Suggested by Paul Eggert.
10409 2001-08-29 Akim Demaille <akim@epita.fr>
10411 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
10412 download in a tmp dir.
10414 2001-08-29 Akim Demaille <akim@epita.fr>
10416 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
10417 case insensitive OSes out there :(
10418 From Tim Van Holder.
10420 2001-08-29 Akim Demaille <akim@epita.fr>
10422 * lib/autom4te.in: New.
10423 * lib/Makefile.am (edit, autom4te.cfg): New.
10424 * bin/autom4te.in (BEGIN): Simplify.
10425 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
10426 (&load_configuration): New. Use it.
10427 (&parse_args): Support --mode, --set, and --melt.
10428 * bin/autoconf.in: Simplify and adjust.
10429 * tests/Makefile.am (AUTOMAKE): Use --set.
10430 * tests/atlocal.in: Adjust.
10431 * BUGS: distcheck and check are weak.
10433 2001-08-29 Akim Demaille <akim@epita.fr>
10435 * lib/autotest/general.m4: Use
10436 foo=`(command) 2>/dev/null`
10438 foo=`command` 2>/dev/null
10439 (at-devnull): Rename as...
10440 (AT-devnull): this.
10441 (--clean): Remove AT-* files too.
10442 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
10443 Reported by Nicolas Joly.
10445 2001-08-28 Akim Demaille <akim@epita.fr>
10447 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
10448 quotes inside single quotes.
10449 Reported by Nicolas Joly.
10451 2001-08-28 Kevin Ryde <user42@zip.com.au>
10453 * doc/autoconf.texi (Function Portability): Mention C right shifts.
10455 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
10457 * lib/autotest/general.m4: Reword some messages.
10458 (AT_INIT): Check for the `times' builtin before using it.
10459 Support test ranges as arguments to the testsuite.
10460 Have -e imply -d as the help text suggested.
10462 2001-08-27 Akim Demaille <akim@epita.fr>
10464 * Makefile.maint: Formatting changes.
10465 (do-po-update, po-update, cvs-update, update): New targets.
10468 2001-08-27 Akim Demaille <akim@epita.fr>
10470 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
10471 <at_cmd_line>: New.
10472 Pass it to debug-*.sh scripts.
10473 <AUTOTEST_PATH>: May contain absolute dir names.
10475 2001-08-27 Akim Demaille <akim@epita.fr>
10477 * lib/autotest/general.m4 (AT_INIT): Log the command line.
10478 Support `VAR=VAL' as arguments.
10479 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
10480 may be set via the command line.
10482 2001-08-27 Akim Demaille <akim@epita.fr>
10484 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
10485 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
10486 first the build dirs, then the src dirs.
10487 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
10489 2001-08-27 Akim Demaille <akim@epita.fr>
10491 * lib/autotest/general.m4 (AT_INIT): Output the definition of
10492 at_data_files earlier.
10493 (--clean, -c): New option.
10494 * tests/Makefile.am: Use this option.
10496 2001-08-27 Akim Demaille <akim@epita.fr>
10498 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
10499 `ac_top_builddir' to mimic Automake's vocabulary, which much more
10502 * doc/autoconf.texi (Configuration Actions): Document the vars
10503 available in commands.
10504 Emphasize the risks of collisions in init-cmds.
10506 2001-08-27 Akim Demaille <akim@epita.fr>
10508 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
10509 (Initializing configure): this new node.
10511 2001-08-27 Akim Demaille <akim@epita.fr>
10513 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
10515 2001-08-27 Akim Demaille <akim@epita.fr>
10517 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
10518 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
10520 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
10522 2001-08-27 Akim Demaille <akim@epita.fr>
10524 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
10526 * lib/autoconf/autoheader.m4: this new file.
10527 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
10528 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
10530 * lib/autoconf/autoupdate.m4: this new file.
10532 2001-08-27 Akim Demaille <akim@epita.fr>
10534 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
10535 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
10536 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
10538 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
10539 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
10541 2001-08-27 Akim Demaille <akim@epita.fr>
10543 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
10544 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
10545 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
10546 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
10547 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
10548 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
10549 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
10550 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
10551 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
10552 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
10553 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
10554 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
10555 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
10556 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
10557 (_AC_OUTPUT_SUBDIRS): Move to...
10558 * lib/autoconf/status.m4: this new file.
10559 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
10560 * tests/Makefile.am, tests/suite.at: Adjust.
10562 2001-08-27 Akim Demaille <akim@epita.fr>
10566 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
10567 (AMTAR): Help automake define it.
10568 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
10569 needed, 1.5 can have a macro and a target with the same name.
10570 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
10571 * m4/strip.m4: New.
10572 * m4/init.m4, m4/sanity.m4: Update.
10573 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
10574 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
10575 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
10576 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
10578 2001-08-27 Akim Demaille <akim@epita.fr>
10580 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
10582 * lib/autoconf/version.in: Remove.
10583 * lib/m4sugar/version.in: New.
10584 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
10586 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
10587 the name of the directory they're in, instead of the filename,
10588 since version.m4 is now in m4sugar, but m4_acversion must not be
10589 classified as an Autoconf macro.
10590 ($input_m4): Don't qualify the path to m4sugar.
10591 Rather, pass autoconf_dir to m4.
10592 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
10593 * tests/suite.at: Require 2.52c.
10595 2001-08-27 Akim Demaille <akim@epita.fr>
10597 testsuite.log should include config.log.
10599 * lib/autotest/autotest.m4: New.
10600 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
10601 * tests/suite.at : Adjust.
10602 (AT_INIT): Log config.log.
10603 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
10604 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
10605 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
10606 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
10607 of config.log on traps.
10608 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
10609 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
10610 for config.status'.
10611 Open the log as soon as possible.
10612 Use the same log introduction as configure's.
10614 2001-08-22 Paul Eggert <eggert@twinsun.com>
10616 * doc/autoconf.texi (Indices): New node.
10617 Move indices out of the top level menu and into this submenu.
10619 2001-08-22 Akim Demaille <akim@epita.fr>
10621 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
10623 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
10625 2001-08-22 Akim Demaille <akim@epita.fr>
10627 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
10628 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
10629 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
10630 * lib/autoconf/programs.m4: here.
10631 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
10632 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
10633 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
10634 * lib/autoconf/programs.m4: here.
10635 (_AC_DECL_YYTEXT): Rename as...
10636 (_AC_PROG_LEX_YYTEXT_DECL): this.
10637 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
10638 * tests/Makefile.am, tests/suite.am: Adjust.
10640 2001-08-22 Akim Demaille <akim@epita.fr>
10642 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
10644 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
10646 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
10647 * lib/autoconf/functions.m4: here.
10648 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
10649 (AH_CHECK_LIB): Move to...
10650 * lib/autoconf/libs: this new file.
10651 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
10652 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
10653 * lib/autoconf/libs.m4: here.
10654 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
10656 2001-08-22 Akim Demaille <akim@epita.fr>
10658 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
10659 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
10660 (AC_SITE_LOAD): Better logging of config.site.
10662 2001-08-20 Akim Demaille <akim@epita.fr>
10664 * configure.ac (AT_CONFIG): Fix the path.
10665 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
10668 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
10670 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
10671 program with AC_LANG_PROGRAM before feeding it to
10672 AC_COMPILE_IFELSE. Cleanup grep usage.
10674 2001-08-20 Akim Demaille <akim@epita.fr>
10676 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
10677 * NEWS, README, README-alpha, TODO, tests/README: This package is
10678 `Autoconf', not `autoconf' (the executable).
10680 2001-08-20 Akim Demaille <akim@epita.fr>
10682 Info readers seem to need `Index' in the index node title :(
10684 * doc/autoconf.texi: Reverse the 2001-08-15 change which
10685 simplified index node names.
10687 2001-08-20 Akim Demaille <akim@epita.fr>
10689 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
10690 arguments are not literals.
10691 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
10692 Specify the output variables, and macros defined.
10694 2001-08-20 Akim Demaille <akim@epita.fr>
10696 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
10697 (Examining Syntax) <AC_TRY_COMPILE>
10698 (Examining Libraries) <AC_TRY_LINK>
10699 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
10701 Reported by Werner Lemberg.
10703 2001-08-20 Akim Demaille <akim@epita.fr>
10705 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
10706 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
10707 Load atlocal late enough to dump it in the log.
10708 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
10710 2001-08-20 Akim Demaille <akim@epita.fr>
10712 * tests/torture.at (Configuring subdirectories): New test.
10713 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
10715 * m4/atconfig.m4: Be sure the let $[0] be expandable.
10716 (top_srcdir): Fix its computation.
10718 2001-08-20 Akim Demaille <akim@epita.fr>
10720 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
10721 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
10723 Create `atconfig' automagically.
10724 Configure atlocal.in if present.
10725 * tests/atconfig.in: Remove.
10726 * tests/atlocal.in: New.
10727 * tests/Makefile.am: Adjust.
10729 2001-08-20 Akim Demaille <akim@epita.fr>
10731 Huh!?!?! There are still some user EOF tags used, which prevents
10732 their use in AC_CONFIG_COMMANDS for instance...
10734 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
10735 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
10736 `_CSEOF', or `_ATEOF', as appropriate.
10737 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
10738 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
10740 2001-08-20 Akim Demaille <akim@epita.fr>
10742 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
10743 * tests/semantics.at, tests/tools.at, tests/torture.at:
10744 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
10746 2001-08-20 Akim Demaille <akim@epita.fr>
10748 Autotest invokes M4sh's initialization.
10750 * lib/autotest/general.m4: Adjust the diversion names.
10751 (AT_INIT): Run AS_INIT.
10752 Use the BINSH diversion to invoke /bin/sh.
10753 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
10754 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
10756 2001-08-20 Akim Demaille <akim@epita.fr>
10758 Let M4sh have its own diversions.
10760 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
10761 (_m4_divert(NOTICE)): Rename as...
10762 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
10763 (_m4_divert(HEADER-COMMENT)): these.
10764 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
10765 (_m4_divert(NOTICE)): New, for Libtool.
10766 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
10767 long ago with `_m4_divert(GROW)'.
10768 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
10770 2001-08-20 Akim Demaille <akim@epita.fr>
10772 * tests/base.at, tests/compile.at, tests/foreign.at,
10773 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
10774 * tests/semantics.at, tests/suite.at, tests/tools.at,
10775 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
10777 2001-08-20 Akim Demaille <akim@epita.fr>
10779 * bin/autom4te.in (handle_output): Handle @__@.
10781 2001-08-20 Akim Demaille <akim@epita.fr>
10783 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
10784 * lib/autotest/general.m4: Adjust the license.
10786 2001-08-17 Paul Eggert <eggert@twinsun.com>
10788 * doc/autoconf.texi (Function Portability): Mention snprintf,
10789 following up on a suggestion by Kevin Ryde.
10791 2001-08-17 Akim Demaille <akim@epita.fr>
10793 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
10794 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
10796 2001-08-17 Akim Demaille <akim@epita.fr>
10798 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
10799 `$0.log' as for projects where testsuite is in src, we'd have
10800 testsuite.log created in src.
10802 2001-08-17 Akim Demaille <akim@epita.fr>
10804 * bin/autom4te.in (&parse_args): Recognize --normalize.
10806 2001-08-17 Akim Demaille <akim@epita.fr>
10808 Start implementing the AC_CHECK_HEADER transition scheme.
10810 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
10811 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
10812 (AC_CHECK_HEADER): Use them.
10814 2001-08-17 Akim Demaille <akim@epita.fr>
10816 * doc/autoconf.texi: Work around Texinfo buglets.
10817 (Transformation Rules): One example is enough, users are expected
10818 to have their brains on. And BTW, use DESTDIR.
10819 (dvar): New macro. Use it.
10821 2001-08-17 Akim Demaille <akim@epita.fr>
10823 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
10824 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
10825 looking for ChangeLogs.
10827 2001-08-17 Akim Demaille <akim@epita.fr>
10829 * bin/autom4te.in: --normalize is a new option.
10830 * bin/autoconf.in: Use it.
10832 2001-08-17 Akim Demaille <akim@epita.fr>
10834 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
10835 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
10837 2001-08-16 Paul Eggert <eggert@twinsun.com>
10839 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
10842 2001-08-15 Akim Demaille <akim@epita.fr>
10844 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
10847 2001-08-15 Akim Demaille <akim@epita.fr>
10849 * doc/autoconf.texi (pr): New index.
10850 (prindex, findex): Use, merge, and output them.
10851 (Environment Variable Index, Output Variable Index)
10852 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
10853 (Autotest Macro Index): Rename as...
10854 (Environment Variables, Output Variables,Preprocessor Symbols)
10855 (Autoconf Macros, M4 Macros, Autotest Macros): these.
10856 * doc/install.texi: Use @command.
10857 (Environment Variables): Rename as...
10858 (Defining Variables): this.
10860 2001-08-15 Akim Demaille <akim@epita.fr>
10862 * doc/autoconf.texi (Function Portability): sprintf's return
10866 2001-08-15 Akim Demaille <akim@epita.fr>
10868 * Makefile.maint (CVS): New.
10869 (local-check): Run changelog-check. last.
10870 (alpha): Don't depend upon local-check, since...
10871 (cvs-dist): depends upon it.
10873 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
10875 * tests/Makefile.am: Use a clean-local rule to remove
10876 autom4te.cache (it's a directory, not a file.
10877 * Makefile.am: Ditto (but maintainer-clean-local).
10879 2001-08-15 Akim Demaille <akim@epita.fr>
10881 * bin/autom4te.in (@m4_warning): New.
10882 (&handle_m4): Use it.
10883 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
10884 warnings are issued at each run.
10885 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
10886 is in the src tree.
10888 2001-08-15 Akim Demaille <akim@epita.fr>
10890 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
10891 don't waste time running `autoupdate --version' works.
10892 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
10894 2001-08-13 Akim Demaille <akim@epita.fr>
10896 * doc/autoconf.texi (ma): Rename this index as...
10899 2001-08-13 Akim Demaille <akim@epita.fr>
10901 * Makefile.am: Remove dead code and dead comments.
10902 (pdf, html): New targets.
10903 * doc/autoconf.texi (Using Autotest): New chapter.
10904 * doc/Makefile.am (pdf): New targets.
10905 (CLEANFILES): Adjust.
10907 2001-08-13 Akim Demaille <akim@epita.fr>
10909 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
10910 duration of the test suite.
10912 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10914 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
10915 endianness for comparison instead of relying on AT_CHECK_ENV.
10917 2001-08-11 Paul Eggert <eggert@twinsun.com>
10919 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
10920 to the INSTALL file.
10922 2001-08-11 Paul Eggert <eggert@twinsun.com>
10924 * NEWS: The autoconf manual now is distributed under the terms
10925 of the GNU Free Documentation License.
10927 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
10928 Add an appendix "Copying This Manual" for the FDL.
10930 * doc/fdl.texi: New file, from
10931 <http://www.gnu.org/licenses/fdl.texi>.
10933 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
10935 2001-08-10 Paul Eggert <eggert@twinsun.com>
10937 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
10938 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
10939 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
10940 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
10941 m4/sanity.m4, tests/README, tests/aclocal.m4,
10942 tests/atspecific.m4, tests/base.at, tests/compile.at,
10943 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
10944 tests/semantics.at, tests/suite.at, tests/tools.at,
10945 tests/torture.at: Add copyright notice.
10947 * tests/mktests.sh: Update year in copyright notice.
10949 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
10951 * tests/semantics.at (AC_C_BIGENDIAN): New test.
10953 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10955 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
10956 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
10957 * doc/autoconf.texi (C Compiler Characteristics): Update
10958 documentation for AC_C_BIGENDIAN.
10960 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
10962 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
10963 magic values from an object file when cross-compiling.
10964 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
10966 2001-08-10 Akim Demaille <akim@epita.fr>
10968 * bin/autom4te.in (&handle_output): Don't use `grep' with side
10970 Suggested by Russ Allbery.
10972 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10974 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
10975 current $prefix to the sub-configures.
10977 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
10979 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
10980 extension (needed on BeOS). Reported by Guido van Rossum.
10982 2001-08-09 Akim Demaille <akim@epita.fr>
10984 * bin/autom4te.in ($icache): Load it only if older than autom4te.
10986 2001-08-07 Akim Demaille <akim@epita.fr>
10988 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
10990 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
10991 No need to remove the files before and after the each test, before
10992 each test and at the end of the suite is enough.
10993 Display only the children `times', not the shell's.
10994 If the test failed or was skipped, at-times is not available.
10996 2001-08-07 Akim Demaille <akim@epita.fr>
10998 Always produce testsuite.log, including when there are no
10999 failures. This helps getting information on skipped tests, and
11000 duration of the tests. Err, implement the latter btw.
11002 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
11003 Dump information on the first run of each test.
11004 (AT_CLEANUP): Create `at-times' containing the duration of the
11007 2001-08-07 Akim Demaille <akim@epita.fr>
11009 The use of `dumpstat' revealed that `len' was used although it
11010 should not. m4_text_wrap was using it, but in the Autoconf world
11011 where it is legal. Hence (i) test M4sh in its own world, not
11012 Autoconf's, and (ii), ahem, fix the bug :)
11014 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
11015 does not like `' instead of [].
11016 (AT_INIT): Forbid `^_?AT_'.
11017 And don't output such tokens.
11018 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
11019 `script.as', and `autom4te.cache'.
11020 Remove `empty' and `macro' which are no longer used.
11021 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
11022 * tests/m4sugar.at: Use it.
11023 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
11025 2001-08-07 Akim Demaille <akim@epita.fr>
11027 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
11029 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
11031 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
11033 2001-08-04 Akim Demaille <akim@epita.fr>
11035 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
11036 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
11038 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
11039 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
11040 (AC_F77_MAIN): Likewise.
11042 2001-08-04 Akim Demaille <akim@epita.fr>
11044 Don't rely on M4sugar outputting the patterns in files, since we
11045 might process the output _without_ running m4, hence without these
11048 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
11049 * bin/autom4te.in (@Request::includes): Remove, unused.
11050 (@Request::source): Rename as...
11051 (@Request::input): this.
11052 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
11053 (&handle_output): Fetch the patterns from the traces.
11054 `$forbidden' and `$allowed' are constant: use m//o.
11055 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
11056 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
11058 2001-08-04 Akim Demaille <akim@epita.fr>
11060 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
11061 autoconf', i.e., in addition to caching traces, cache the output.
11063 * bin/autom4te.in (Request::cache): Rename as...
11064 (Request::id): this.
11065 ($cache, $icache, $tcache, $ocache): New.
11066 (&handle_m4): Save M4 output in the cache instead of $tmp.
11067 (&handle_output): Adjust.
11068 (&up_to_date_p): Check that the output cache is up to date too.
11069 (top level): Run `&handle_m4' iff force or the cache is invalid.
11070 Run `&handle_output' if the output cache is more recent.
11072 2001-08-04 Akim Demaille <akim@epita.fr>
11074 * bin/autom4te.in ($force): New.
11075 (&parse_args, &print_usage): -f, --force is a new option.
11076 (&handle_output): CPP directives might have spaces after `#'.
11077 (&parse_args): The first file only can be frozen.
11079 2001-08-04 Akim Demaille <akim@epita.fr>
11081 Don't let autom4te compute the `include' traces several times:
11082 first check that the trace cache file is up to date, and then
11083 compare its timestamp with that of the output.
11085 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
11086 the preamble. Don't require 5.005 as Autom4te::General does it,
11087 and better yet (use `use', not `require'!).
11088 * lib/Autom4te/Struct.pm: Rename the last occurrences of
11089 Class::Struct as Autom4te::Struct.
11090 * lib/Autom4te/General.pm (File::stat): Use it.
11091 (&mtime): New, export it.
11092 * bin/autom4te.in: Use it.
11093 Declare `$req' is invalid if it is outdated.
11094 Don't declare it valid before saving it if something went wrong.
11096 2001-08-04 Akim Demaille <akim@epita.fr>
11098 Autom4te shall not encode Autoconf data, and preselecting traces
11099 must be proposed to the users.
11101 * bin/autom4te.in (@required_trace): Remove.
11103 (&parse_args, &print_usage): -p, --preselect is a new option.
11104 (&up_to_date_p): Adjust.
11105 * bin/autoconf.in: Preselect some Autoconf macros.
11107 2001-08-04 Akim Demaille <akim@epita.fr>
11109 * tests/tools.at (autoconf --trace: user macros): Check traces on
11110 macros invoked without arguments, and macros invoked with multiple
11113 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
11115 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
11118 2001-08-03 Akim Demaille <akim@epita.fr>
11120 * bin/autoconf.in ($@): Work around the usual sh bug.
11123 2001-08-03 Akim Demaille <akim@epita.fr>
11125 Clean up the handling of the M4 builtins tracing exception.
11127 * bin/autom4te.in (Request::request): Don't complete M4 builtins
11129 (@m4_builtins): Rename as...
11130 (@m4_builtin): this.
11131 (%m4_builtin_alternate_name): New.
11132 (&parse_args): Complete the trace requests with alternate names.
11133 (&handle_traces): Hence no longer do it here.
11134 (&trace_requests): Remove, unused.
11136 2001-08-03 Akim Demaille <akim@epita.fr>
11138 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
11139 m4_if, and m4_wrap.
11141 2001-08-03 Akim Demaille <akim@epita.fr>
11143 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
11144 (m4_divert_pop): Dump the whole diversion stack when a diversion
11146 * bin/autom4te.in (&handle_output): Remember of the first
11147 occurrence of a possibly undefined macro, not the last.
11148 Complain about the possibly undefined macros in the same order as
11149 the appear in the output.
11150 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
11151 * tests/tools.at (autoconf: forbidden tokens, basic)
11152 (autoconf: forbidden tokens, exceptions): No longer sort
11153 autoconf's stderr, as it is now deterministic.
11154 Check that `dnl' is caught.
11156 2001-08-01 Akim Demaille <akim@epita.fr>
11158 * configure.ac: Bump to 2.52c.
11160 2001-08-01 Akim Demaille <akim@epita.fr>
11164 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
11166 2001-08-01 Akim Demaille <akim@epita.fr>
11170 2001-08-01 Akim Demaille <akim@epita.fr>
11172 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
11175 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
11176 `END', as `Autom4te::General::END' will be triggered.
11177 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
11178 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
11179 system to run `mv', `rm', and `cmp'.
11181 2001-08-01 Akim Demaille <akim@epita.fr>
11183 * lib/Autom4te/General.pm (&unique): New.
11184 * bin/autoscan.in (&output): Use it to issue trace requests once.
11186 2001-08-01 Akim Demaille <akim@epita.fr>
11188 * lib/Autom4te/General.pm: New.
11189 * bin/autom4te.in (Autom4te::General): Use it.
11190 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
11191 (&find_configure_ac, &find_slave): Remove.
11192 * bin/autoscan.in: Likewise.
11193 * bin/autoupdate.in: Likewise.
11195 2001-08-01 Akim Demaille <akim@epita.fr>
11197 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
11198 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
11199 * bin: here, new directory.
11200 * lib/Autoconf: Rename as...
11201 * lib/Autom4te: this, to please case insensitive junkie OSes.
11203 2001-08-01 Akim Demaille <akim@epita.fr>
11205 * autom4te.in ($m4): Handle the --nesting-limit.
11206 * autoconf.in (M4): Remove.
11208 2001-08-01 Akim Demaille <akim@epita.fr>
11210 * autoconf.in ($AWK): Remove, no longer used.
11211 * test/tools.at: Use AT_CHECK_AUTOCONF.
11212 (AWK portability): Remove, for autoconf no longer uses AWK.
11213 (Syntax of the Perl scripts): New.
11214 * configure.ac: autoconf no longer needs an AWK with a good
11216 Use a static test on AC_PACKAGE_VERSION.
11217 * autom4te.in (&up_to_date_p): Output depends on the arguments.
11218 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
11219 * tests/atconfig.in (PERL): New.
11221 2001-08-01 Akim Demaille <akim@epita.fr>
11223 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
11224 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
11225 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
11226 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
11227 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
11228 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
11229 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
11230 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
11231 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
11232 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
11233 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
11234 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
11235 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
11236 * lib/autoconf/c.m4: here, new file.
11238 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
11239 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
11240 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
11241 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
11242 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
11243 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
11244 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
11245 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
11246 (AC_F77_FUNC): Move to...
11247 * lib/autoconf/fortran.m4: here, new file.
11249 2001-08-01 Akim Demaille <akim@epita.fr>
11251 * acfunctions.m4: Rename as...
11252 * lib/autoconf/functions.m4: this.
11253 * acgeneral.m4: Rename as...
11254 * lib/autoconf/general.m4: this.
11255 * acheaders.m4: Rename as...
11256 * lib/autoconf/headers.m4: this.
11257 * aclang.m4: Rename as...
11258 * lib/autoconf/lang.m4: this.
11259 * acoldnames.m4: Rename as...
11260 * lib/autoconf/oldnames.m4: this.
11261 * acspecific.m4: Rename as...
11262 * lib/autoconf/specific.m4: this.
11263 * actypes.m4: Rename as...
11264 * lib/autoconf/types.m4: this.
11265 * autoconf.m4: Rename as...
11266 * lib/autoconf/autoconf.m4: this.
11268 * m4sugar.m4: Rename as...
11269 * lib/m4sugar/m4sugar.m4: this.
11270 * m4sh.m4: Rename as...
11271 * lib/m4sugar/m4sh.m4: this.
11273 * tests/atgeneral.m4: Rename as...
11274 * lib/autotest/general.m4: this.
11276 * acfunctions: Rename as...
11277 * lib/autoscan/functions: this.
11278 * acheaders: Rename as...
11279 * lib/autoscan/headers: this.
11280 * acidentifiers: Rename as...
11281 * lib/autoscan/identifiers: this.
11282 * aclibraries: Rename as...
11283 * lib/autoscan/libraries: this.
11284 * acmakevars: Rename as...
11285 * lib/autoscan/makevars: this.
11286 * acprograms: Rename as...
11287 * lib/autoscan/programs: this.
11289 2001-08-01 Akim Demaille <akim@epita.fr>
11291 * doc/autoconf.texi: Moving/deleting open files is not portable.
11292 Portability issues for `.' (source), and more information about sed.
11294 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
11296 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
11297 which has a special meaning and is not a reference to libibmil.a.
11298 Reported by Matteo Frigo.
11300 2001-07-25 Pavel Roskin <proski@gnu.org>
11302 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
11305 2001-07-25 Akim Demaille <akim@epita.fr>
11307 * autoconf.in: Try to define the variables before using them.
11308 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
11309 instead of `$perllibdir'.
11310 * tests/atconfig.in ($autom4te_perllibdir): Export it.
11312 2001-07-25 Akim Demaille <akim@epita.fr>
11314 * autoconf.in (ac_LF_and_DOT): Remove, unused.
11316 2001-07-24 Akim Demaille <akim@epita.fr>
11318 Let autoconf use autom4te for traces.
11320 * autoconf.in ($task, task trace): Remove, merely pass --trace to
11322 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
11323 (Because I found no way for autom4te to accept `-').
11324 * autom4te.in (&Request::request): Beware of M4 builtins.
11325 (END): Don't try to remove the content of an empty dir.
11326 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
11327 (&handle_output): Set a default value to `$forbidden'.
11328 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
11329 ($autoconf): Pass --debug and --verbose.
11330 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
11333 2001-07-24 Akim Demaille <akim@epita.fr>
11335 Let autoconf use autom4te to create configure.
11337 * autoconf.in ($automate): New var.
11338 (task script): Use autom4te.
11339 * autom4te.in (File::Spec): Use it.
11341 (&parse_args): --warning is -W, not -w.
11342 Find the top level files.
11343 (&handle_m4): Pass the warnings flags.
11344 Don't report verbosely m4's failures, unless requested.
11345 (&handle_output): Don't complain for forbidden tokens in comments.
11346 Be sure to report all the forbidden tokens within a single line.
11347 (&trace_format_to_m4): Preserve `$_'.
11348 (&handle_traces): Sort the output macros.
11349 (&up_to_date_p): Find the files before trying to get its time stamp.
11351 2001-07-24 Akim Demaille <akim@epita.fr>
11353 * Makefile.am: Ship, build and install Autom4te.
11354 (SUBDIRS): Add lib.
11355 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
11356 * configure.in: Require Perl.
11357 * man/autom4te.in: New.
11359 2001-07-19 Paul Eggert <eggert@twinsun.com>
11361 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
11362 example, rather than (exit 1); exit (which isn't portable).
11364 2001-07-18 Akim Demaille <akim@epita.fr>
11368 2001-07-18 Akim Demaille <akim@epita.fr>
11370 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
11371 was run, while they are needed also when it is expanded.
11372 Reported by Nicolas Joly.
11374 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
11375 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
11376 AC_F77_DUMMY_MAIN being expanded.
11378 2001-07-18 Akim Demaille <akim@epita.fr>
11380 * configure.in: Bump to 2.51a.
11382 2001-07-17 Akim Demaille <akim@epita.fr>
11386 2001-07-17 Akim Demaille <akim@epita.fr>
11388 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
11389 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
11391 2001-07-17 Akim Demaille <akim@epita.fr>
11393 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
11394 used. Well, then use the prototypes when you can, and runtime as
11396 Reported by Artur Frysiak
11398 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
11399 (AC_FUNC_GETPGRP): Use it.
11400 First try to compile with 0-ary or 1-ary calls.
11402 2001-07-17 Akim Demaille <akim@epita.fr>
11404 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
11408 2001-07-17 Akim Demaille <akim@epita.fr>
11410 * Makefile.maint: Sync. with cppi 1.10.
11412 2001-07-17 Akim Demaille <akim@epita.fr>
11414 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
11415 AC_F77_DUMMY_MAIN has been run.
11416 From Pavel Roskin and Steven G. Johnson.
11418 2001-07-17 Akim Demaille <akim@epita.fr>
11420 * configure.in: Rename as...
11421 * configure.ac: this.
11423 2001-07-17 Akim Demaille <akim@epita.fr>
11425 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
11428 * Makefile.maint (release-archive-dir): Rename as...
11429 (release_archive_dir): this, so that it can be specialized in
11432 2001-07-14 Akim Demaille <akim@epita.fr>
11434 * configure.in: Bump to 2.50d.
11436 2001-07-14 Akim Demaille <akim@epita.fr>
11439 * Makefile.maint (alpha): Typo.
11441 2001-07-14 Akim Demaille <akim@epita.fr>
11443 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
11445 2001-07-14 Akim Demaille <akim@epita.fr>
11447 * config/config.guess, config/config.sub, config/texinfo.tex
11448 * doc/standards.texi, doc/make-stds.texi: Update.
11450 2001-07-14 Akim Demaille <akim@epita.fr>
11452 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
11454 2001-07-14 Akim Demaille <akim@epita.fr>
11456 * Makefile.maint (maintainer-check): Rename as...
11457 (maintainer-distcheck): this.
11458 (changelog-check, static-check): New.
11461 2001-07-14 Kevin Ryde <user42@zip.com.au>
11463 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
11464 for CXX is g++, not gcc.
11466 2001-07-14 Akim Demaille <akim@epita.fr>
11468 * doc/autoconf.texi (Files): New subsection.
11470 2001-07-14 Akim Demaille <akim@epita.fr>
11472 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
11474 (Generic Compiler Characteristics): this.
11475 (C++ Compiler): New subsection.
11477 2001-07-14 Akim Demaille <akim@epita.fr>
11479 * autoscan.in: Use IO::File.
11480 Adjust all the routines to use it.
11481 ($log): New file (autoscan.log).
11482 (output): Dump detailed logs into $log, and a shortened version to
11484 (&scan_makefile): Refine the regexp catching tokens in the code.
11485 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
11486 and the `configure.ac' checking feature.
11488 2001-07-12 Akim Demaille <akim@epita.fr>
11490 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
11491 Reported by Michael Elizabeth Chastain.
11493 * autoconf.in: Refuse such AWK.
11494 * configure.in: Likewise.
11495 * Makefile.am (acversion.m4): Do not use move-if-change this file
11497 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
11499 2001-07-10 Jens Petersen <petersen@redhat.com>
11501 * autoscan.in (&scan_makefile): Improve programs regexp to parse
11502 things like "g++", "file.c" and "some-conf" as tokens.
11503 (&scan_file): Match C++ files extensions.
11504 If the filename extension is C++ then ask for c++.
11506 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
11508 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
11509 AC_TRY_LINK_FUNC, to check whether defining a dummy
11510 main-like routine is needed for linking with F77 libs.
11512 2001-07-05 Pavel Roskin <proski@gnu.org>
11514 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
11516 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
11519 2001-07-05 Akim Demaille <akim@epita.fr>
11521 * Makefile.am (move_if_change): New. Use it instead of `mv'.
11522 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
11524 Reported by Nicolas Joly.
11526 2001-07-04 Akim Demaille <akim@epita.fr>
11528 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
11530 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
11531 warnings from compilers.
11532 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
11533 for all the compilers, not only GNU. Hence move from here...
11534 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
11536 2001-07-04 Akim Demaille <akim@epita.fr>
11538 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
11539 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
11542 2001-07-04 Akim Demaille <akim@epita.fr>
11544 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
11545 the ``strings.h'' change claimed below.
11547 2001-07-04 Akim Demaille <akim@epita.fr>
11549 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
11551 2001-07-04 Akim Demaille <akim@epita.fr>
11553 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
11554 strings.h if usable with string.h.
11555 Suggested by Paul Eggert.
11557 2001-07-04 Akim Demaille <akim@epita.fr>
11559 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
11560 From Jens Petersen.
11562 2001-07-03 Akim Demaille <akim@epita.fr>
11564 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
11567 2001-07-03 Akim Demaille <akim@epita.fr>
11569 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
11570 compiler, not the preprocessor.
11571 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
11572 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
11574 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
11575 earlier if there are.
11577 2001-07-03 Akim Demaille <akim@epita.fr>
11579 * autoscan.in ($initfile): Remove.
11580 (&find_file): Rename as...
11581 (&scan_file): this.
11582 Immediately scan the current file, instead of gathering them, and
11583 later having them handled by &scan_files.
11584 (&scan_files): Merely invoke Find::File.
11587 2001-07-02 Akim Demaille <akim@epita.fr>
11589 * autoscan.in: Formatting changes, matching the invocation order.
11590 (File::Find): Use it instead of Perl 4's `find.pl'.
11591 (&wanted): Rename as...
11592 (&find_file): this.
11594 2001-07-01 Pavel Roskin <proski@gnu.org>
11596 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
11597 break in the argument to AC_TRY_LINK_FUNC.
11598 (AC_F77_MAIN): Remove conftest* after using break in the
11599 argument to AC_TRY_LINK.
11601 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
11603 Add alternate 'main' routine detection for linking C/C++ with Fortran,
11604 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
11606 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
11607 dummy alternate main is required even if the user provides her own
11609 (AC_F77_MAIN): New macro to detect whether it is possible to
11610 provide an alternate 'main' function name, using the 'main' from
11611 the Fortran libraries.
11612 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
11613 cross-language link tests can be performed successfully.
11614 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
11615 after $LIBS, for consistency; this should be the general rule since
11616 the user may want to link to Fortran libraries that require $FLIBS.
11617 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
11619 2001-06-29 Pavel Roskin <proski@gnu.org>
11621 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
11622 at-stdout and at-stderr instead of removing the newline
11623 from the echo output, which is not guaranteed to work.
11625 2001-06-28 Jens Petersen <petersen@redhat.com>
11627 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
11628 confdefs.h when non-zero.
11630 2001-06-28 Akim Demaille <akim@epita.fr>
11632 * configure.in: Bump to 2.50c.
11634 2001-06-26 Akim Demaille <akim@epita.fr>
11638 2001-06-26 Akim Demaille <akim@epita.fr>
11642 2001-06-25 Pavel Roskin <proski@gnu.org>
11644 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
11645 argument, AUTOCONF-FLAGS.
11646 * tests/mktests.sh (update_exclude_list): Add
11647 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
11648 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
11649 AC_FUNC_WAIT3 with "-W no-obsolete".
11651 2001-06-25 Akim Demaille <akim@epita.fr>
11653 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
11655 2001-06-25 Akim Demaille <akim@epita.fr>
11657 * autoscan.in (%macro): Now maps from word to list of macros.
11658 (&init_tables): Die when a word which is already handled by
11659 explicit macros is mapped to the default macro.
11660 (&print_unique): Remove, inlined in...
11661 (&output_kind): here.
11662 (File::Basename): Use it.
11663 (&output): Sort the CONFIG_FILES.
11664 * acheaders: Normalize.
11665 * acfunctions: Likewise.
11667 2001-06-25 Akim Demaille <akim@epita.fr>
11669 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
11670 characteristics in the logs.
11671 Suggested by Mo DeJong.
11673 2001-06-24 Akim Demaille <akim@epita.fr>
11675 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
11676 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
11677 * doc/autoconf.texi (Autoconf 2.13): New section.
11679 2001-06-24 Akim Demaille <akim@epita.fr>
11681 * autoconf.in (Task traces): Separate the error messages from the
11682 traces to improve robustness.
11684 2001-06-23 Akim Demaille <akim@epita.fr>
11686 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
11687 three as failures are unlikely, and speed matters.
11689 2001-06-23 Akim Demaille <akim@epita.fr>
11691 * doc/autoconf.texi (Redefined M4 Macros): New.
11693 2001-06-23 Akim Demaille <akim@epita.fr>
11695 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
11696 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
11699 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
11701 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
11702 config.status targets to after the evaluation of the INIT-CMDS.
11703 Double quote config.status targets (used to be single quoted).
11705 2001-06-23 Akim Demaille <akim@epita.fr>
11707 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
11708 Check the content of the created file.
11709 Check the ./config.status command line invocation.
11711 2001-06-23 Akim Demaille <akim@epita.fr>
11713 * tests/foreign.at (Libtool): Reject prehistoric versions.
11715 2001-06-23 Akim Demaille <akim@epita.fr>
11717 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
11718 preexisting files matching a.*.
11720 2001-06-23 Akim Demaille <akim@epita.fr>
11722 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
11724 * doc/autoconf.texi (AC_ARG_VAR): Update.
11726 2001-06-21 Akim Demaille <akim@epita.fr>
11728 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
11729 precious variables have changed.
11730 * tests/torture.at (AC_ARG_VAR): Adjust.
11732 2001-06-21 Akim Demaille <akim@epita.fr>
11734 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
11735 but some sed choke on multiple `;', and other tools (e.g.,
11736 Automake), include the separator themselves.
11738 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
11740 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
11742 * doc/autoconf.texi (Functions Portability): Rename as...
11743 (Function Portability): this.
11744 (Function Portability): Document potential problems with unlink().
11746 2001-06-19 Paul Eggert <eggert@twinsun.com>
11748 * NEWS, doc/autoconf.texi: Document quadrigraphs.
11750 2001-06-18 Akim Demaille <akim@epita.fr>
11752 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
11754 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
11756 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
11757 (_AC_FUNC_VFORK): this.
11758 Remove AC_DEFINEs and don't guess cross-compilation values.
11759 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
11760 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
11761 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
11762 vfork doesn't work.
11763 Guess values if cross-compiling, but warn.
11764 * acfunctions: Add AC_FUNC_FORK.
11765 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
11766 and vfork appropriately.
11768 2001-06-18 Akim Demaille <akim@epita.fr>
11770 * doc/autoconf.texi (Functions Portability): New section.
11772 2001-06-18 Akim Demaille <akim@epita.fr>
11774 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
11776 Suggested by Andreas Schwab.
11778 2001-06-18 Akim Demaille <akim@epita.fr>
11780 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
11781 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
11782 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
11783 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
11784 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
11785 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
11786 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
11789 2001-06-18 Akim Demaille <akim@epita.fr>
11791 * doc/autoconf.texi (ms): New index.
11792 (Macro Index): Rename as...
11793 (Autoconf Macro Index): this.
11794 (M4 Macro Index): New appendix.
11795 (Programming in M4): New chapter.
11796 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
11797 (Quoting): Rename as...
11798 (M$ Quotation): this.
11799 Be part of `Programming in M4).
11801 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
11803 * tests/torture.at (AC_ARG_VAR): Set variables and export them
11804 in separate statements for compatibility with Tru64 v5.1.
11806 2001-06-17 Akim Demaille <akim@epita.fr>
11808 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
11809 current values of the precious variables, not the previously
11811 Pass precious variables which are set to config.status.
11812 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
11813 * tests/torture.at (AC_ARG_VAR): New.
11815 2001-06-15 Paul Eggert <eggert@twinsun.com>
11817 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
11818 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
11819 and explain why and how to replace them.
11820 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
11821 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
11823 2001-06-15 Akim Demaille <akim@epita.fr>
11825 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
11826 Reported by Bruno Haible.
11828 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
11829 (_AC_ARG_VAR_PRECIOUS): to here.
11831 2001-06-15 Pavel Roskin <proski@gnu.org>
11833 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
11834 an unused pointer use cast to this type and `if' statement to
11835 avoid warnings from the compiler.
11836 (AC_HEADER_TIME): Likewise.
11837 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
11838 in `if' statement to avoid warnings from the compiler. Declare
11839 ac_aggr static to avoid the need to initialize it.
11841 2001-06-14 Akim Demaille <akim@epita.fr>
11843 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
11846 2001-06-13 Akim Demaille <akim@epita.fr>
11848 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
11849 Suggested by Alexander Mai.
11851 2001-06-13 Akim Demaille <akim@epita.fr>
11853 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
11854 sys/types.h and sys/stat.h, and check for them.
11856 2001-06-13 Akim Demaille <akim@epita.fr>
11858 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
11861 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11863 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
11864 succeeds and only try adding libdnet upon a failure.
11866 2001-06-12 Akim Demaille <akim@epita.fr>
11868 * autoscan.in (&output_kind): Output the comment only if it exists.
11869 (%kind_comment): Add entry for `programs'.
11870 (&output_programs): Use &output_kind.
11871 (&output_functions, &output_identifiers, &output_headers)
11872 (&output_programs): Inline, and remove.
11874 2001-06-12 Akim Demaille <akim@epita.fr>
11876 * autoscan.in (%kind_comment): New.
11877 (output_kind): New.
11878 (output_functions, output_identifiers, output_headers): Use it.
11880 2001-06-12 Akim Demaille <akim@epita.fr>
11882 * autoscan.in (&print_unique): Take `$kind' and `$word' as
11883 arguments, to factor indirections into `%macro' and `%used'.
11884 (%generic_macro): Fix a typo.
11886 2001-06-12 Akim Demaille <akim@epita.fr>
11888 * aclibraries: New.
11889 * autoscan.in (@kinds): Add `libraries'.
11890 Use `@kinds' instead of hard coded lists.
11891 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
11892 Remove, replaced by...
11895 2001-06-12 Akim Demaille <akim@epita.fr>
11897 * autoscan.in (%functions_macros %headers_macros)
11898 (%identifiers_macros %programs_macros %makevars_macros): Remove,
11902 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
11904 * aclang.m4 (AC_NO_EXECUTABLES): Override
11905 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
11907 2001-06-11 Akim Demaille <akim@epita.fr>
11909 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
11911 Reported by Andreas Schwab.
11913 2001-06-11 Akim Demaille <akim@epita.fr>
11915 * Makefile.am, Makefile.maint: Typos.
11917 2001-06-09 Akim Demaille <akim@epita.fr>
11919 * doc/autoconf.texi (Here-Documents): New section, gathering
11920 documentation about here-documents.
11921 Use `href', not `uref', and other changes.
11923 2001-06-09 Akim Demaille <akim@epita.fr>
11925 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
11928 2001-06-09 Akim Demaille <akim@epita.fr>
11930 * doc/autoconf.texi (Limitations of Builtins): Complete the
11931 description of the here-docs penalties with Alexandre Oliva's
11934 2001-06-01 Paul Eggert <eggert@twinsun.com>
11936 * doc/autoconf.texi: Talk about here documents and speedups.
11937 Do not use "echo" on arbitrary strings.
11938 Spell "here-documents" consistently with the standard.
11940 2001-06-09 Akim Demaille <akim@epita.fr>
11942 * doc/autoconf.texi (Concept Index): Introduce it.
11943 Regenerate the menus.
11945 2001-06-09 Akim Demaille <akim@epita.fr>
11947 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
11948 * config/prev-version.txt: New.
11949 * config/move-if-change: New, for GNU libc.
11951 2001-06-06 Pavel Roskin <proski@gnu.org>
11953 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
11955 2001-06-06 Akim Demaille <akim@epita.fr>
11957 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
11958 properly when $1 is not a literal.
11959 Fixes PR Autoconf/187, reported by Bram Moolenaar.
11961 2001-06-06 Akim Demaille <akim@epita.fr>
11963 Invoking AC_COPYRIGHT before AC_INIT fails.
11965 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
11966 * acgeneral.m4 (_m4_divert(VERSION_FSF))
11967 (_m4_divert(VERSION_USER)): New.
11968 (AC_COPYRIGHT): $2 is the diversion to use.
11969 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
11970 (AC_INIT): Remove dead comments as now it's commutative.
11972 2001-06-06 Akim Demaille <akim@epita.fr>
11974 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
11977 2001-06-05 Akim Demaille <akim@epita.fr>
11979 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
11981 `*dir' variables cannot be NONE.
11982 Reported by Mark Kettenis.
11984 2001-06-05 Paul Eggert <eggert@twinsun.com>
11986 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
11988 2001-06-04 Akim Demaille <akim@epita.fr>
11990 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
11991 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
11992 (AC_TR_SH): Move as...
11993 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
11994 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
11996 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
11997 (_AS_TR_SH_PREPARE): New.
11998 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
11999 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
12001 2001-06-02 Akim Demaille <akim@epita.fr>
12003 * Makefile.am (.m4.m4f): Pass the options first.
12004 Fixes PR autoconf/182.
12006 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
12008 GNU getopt, when POSIXLY_CORRECT does not permute options and
12009 arguments. So pass the options first.
12010 Fixes PR autoconf/184.
12012 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
12013 (run_m4): Remove files.
12015 Update remainder of script to use them.
12016 (for warning in): Do not use a literal comma as it will not be
12019 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
12021 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
12022 Fortran compilers to check.
12023 (_AC_PROG_F77_V): Add '-###' as a possible option to print
12024 information on library and object files.
12025 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
12028 2001-06-02 Akim Demaille <akim@epita.fr>
12030 * autom4te.in (Request::@request): Declare with `vars', not `my',
12031 as it prevents updates via `do FILENAME'.
12033 2001-06-02 Akim Demaille <akim@epita.fr>
12035 * configure.in (standards_texi): Remove, dead code.
12037 2001-06-02 Akim Demaille <akim@epita.fr>
12039 * autom4te.in: New.
12041 2001-06-02 Pavel Roskin <proski@gnu.org>
12043 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
12044 for signals other than 0 - exit with code 1.
12045 * m4sh.m4 (AS_TMPDIR): Likewise.
12046 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
12047 * autoheader.in: Likewise.
12048 * autoreconf.in: Likewise.
12049 * tests/torture.at (Signal handling): New test for the above.
12051 2001-06-01 Akim Demaille <akim@epita.fr>
12053 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
12056 2001-05-31 Akim Demaille <akim@epita.fr>
12058 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
12059 Add copyright and comments.
12060 * acheaders: Add stdint.h.
12061 Suggested by Paul Eggert.
12063 2001-05-31 Akim Demaille <akim@epita.fr>
12065 * atgeneral.m4 (AT_INIT): Use $SHELL.
12066 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
12068 2001-05-31 Akim Demaille <akim@epita.fr>
12070 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
12072 From Paul Eggert and Lars Hecking.
12074 2001-05-31 Akim Demaille <akim@epita.fr>
12076 * tests/base.at: Adjust line numbers in error messages.
12078 2001-05-31 Akim Demaille <akim@epita.fr>
12080 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
12081 to emit the bangshe line.
12082 Reported by David Carter.
12084 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
12086 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
12087 Fortran (95) compilers to check.
12089 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
12091 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
12094 2001-05-23 Pavel Roskin <proski@gnu.org>
12096 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
12097 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
12098 (AC_PROG_CXXCPP): Likewise.
12100 2001-05-22 Akim Demaille <akim@epita.fr>
12102 * config: New directory.
12103 * configure.in: AC_CONFIG_AUX_DIR it.
12104 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
12106 2001-05-22 Akim Demaille <akim@epita.fr>
12108 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
12109 * autoupdate.in: Specify the Emacs mode.
12110 * acversion.m4.in: Rename as...
12111 * acversion.m4: this.
12112 * tests/Makefile.am (CLEANFILES): More garbage.
12114 2001-05-22 Akim Demaille <akim@epita.fr>
12116 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
12118 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
12121 2001-05-21 Akim Demaille <akim@epita.fr>
12123 * configure.in: Bump to 2.50a.
12128 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
12131 This file is part of GNU Autoconf.
12133 GNU Autoconf is free software; you can redistribute it and/or modify
12134 it under the terms of the GNU General Public License as published by
12135 the Free Software Foundation; either version 2, or (at your option)
12138 GNU Autoconf is distributed in the hope that it will be useful,
12139 but WITHOUT ANY WARRANTY; without even the implied warranty of
12140 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12141 GNU General Public License for more details.
12143 You should have received a copy of the GNU General Public License
12144 along with autoconf; see the file COPYING. If not, write to
12145 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12146 Boston, MA 02110-1301, USA.