2006-11-17 Paul Eggert <eggert@cs.ucla.edu>Version 2.61.* configure.ac (AC_INIT): Bump to 2.61.* NEWS: Likewise.* tests/autotest.at (Macro with backslash in a test title):Comment out for now, as this tests neither fails nor passesreliably. Problem reported by Ralf Wildenhues.2006-11-16 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typosin previous change, which caused test failures.2006-11-16 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor outcode for --enable, --disable, --with, and --without to...(_AC_INIT_PARSE_ENABLE): ... a new macro.* doc/autoconf.texi (Package Options):* NEWS: Document that AC_ARG_ENABLE allows dots, too.2006-11-16 Paul Eggert <eggert@cs.ucla.edu>Import these changes from config via gnulib:2006-11-15 Ben Elliston <bje@gnu.org>From Josselin Mouette <joss@debian.org>:* build-aux/config.guess (SX-8:SUPER-UX:*:*): New.2006-11-08 Ben Elliston <bje@gnu.org>* build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64.2006-11-07 Steve Woodford <scw@NetBSD.org>Ben Elliston <bje@gnu.org>* build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch.* build-aux/config.sub (sh5el): New basic_machine.Import this change from coreutils:2006-02-13 Jim Meyering <jim@meyering.net>* GNUmakefile (all): Emit diagnostics to stderr, not stdout.Import this change from gnustandards via gnulib:2006-11-15 Karl Berry <karl@gnu.org>* standards.texi: core -> memory, throughout.(CPU Portability): show correct example of calling writeon a char value; thanks to Paul Eggert for the code.Both of these suggestions from Eugene Y. Vasserman.Import these changes from texinfo via gnulib:2006-11-08 Karl Berry <karl@gnu.org>* build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, andas well as pdf images, since they are supported in pdftex withno further ado.2006-11-05 Karl Berry <karl@gnu.org>* doc/texinfo.tex (Image Syntax): don't mention GIF any more.2006-11-13 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Document the AC_ARG_WITH change.2006-11-13 Bruno Haible <bruno@clisp.org>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --withoutoptions, transliterate also dots to underscores.(_AC_ENABLE_IF): Transliterate also dots to underscores.* doc/autoconf.texi (External Software): Document that AC_ARG_WITH'sfirst argument may also contain dots.2006-11-09 Paul Eggert <eggert@cs.ucla.edu>* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, forbenefit of platforms like Solaris+GCC where it is common to have anon-working g++ installation.2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>and Joel E. Denny <jdenny@ces.clemson.edu>and Paul Eggert <eggert@cs.ucla.edu>* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugsand non-portable sed scripts, and use $CONFIG_SHELL when invoking./micro-suite.2006-11-08 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Setac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.Imported from a similar patch to gnulib by Bruno Haible.2006-11-08 Paul Eggert <eggert@cs.ucla.edu>* NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.* doc/autoconf.texi (C Compiler): Document them.* lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):New macros, taken from gnulib.2006-11-07 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug inTandem NonStop Kernel (OSS) cc -O circa 2004, reported byMatthew Woehlke.2006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/torture.at (Configuring subdirectories): Do not skipAutomake 1.10 nor future Automake 11.1 (sic).2006-10-26 Joel E. Denny <jdenny@ces.clemson.edu>and Stepan Kasal <kasal@ucw.cz>Handle special characters in test case titles correctly.* lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_allproperly.(AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.* tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TESTargument. Extend to check titles printed by ./micro-suite and./micro-suite -l and the title in micro-suite.log.(Backquote in a test title,Single-quote in a test title,Double-quote in a test title): Don't expect failure anymore.(Backslash in a test title): Put a non-whitespace character after thebackslash so that Bourne shells might actually see it as an escapesequence.(Brackets in a test title,Pound in a test title,Comma in a test title,Quoted Macro in a test title,Macro in a test title,Macro with single-quote in a test title): New tests.(Macro with backquote in a test title,Macro with double-quote in a test title,Macro with backslash in a test title): New tests expected to fail.* tests/torture.at (#define header templates): M4-quote this title inAT_SETUP call so that no M4 code is commented inadvertently somewhere.The visible effect was a stray [] in the testsuite output.2006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Builtins): Do not invoke`trap ... 0' inside a function, for AIX sh.2006-10-26 Paul Eggert <eggert@cs.ucla.edu>* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build5363) simply issues a warning when dividing by zero at compiletime. Problem reported by Elias Pipping.2006-10-26 Eric Blake <ebb9@byu.net>* THANKS: Update.* doc/autoconf.texi (Evaluation Macros): Improve the example toshow effect on macros that expand with commas.Reported by Joel E. Denny.* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):Also work with M4 1.4.8.2006-10-25 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported byJim Meyering.2006-10-25 Stepan Kasal <kasal@ucw.cz>* tests/tools.at (autom4te --force): New test, verifies that`--force' always rewrites the output file.2006-10-24 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Document that rmneeds operands on NetBSD 2.0.2. Problem reported by Bruno Haible.2006-10-24 Stepan Kasal <kasal@ucw.cz>* tools/trace.at (autoconf --trace: user macros): Test `$%'.2006-10-24 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather thanAC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseekoreported by Nelson H. F. Beebe for Coreutils 6.4.* tests/tools.at (autoconf --trace: user macros): Remove testfor tracing multiline macros, since m4 1.4.7a uses a differentway to number lines. Problem reported by Ralf Wildenhues.2006-10-24 Stepan Kasal <kasal@ucw.cz>* bin/autom4te.in (handle_m4): Do not redirect stdin to/dev/null since the heuristics for interactive behaviour wasfixed in CVS m4.* bin/autom4te.in: With --force, always refresh the outputfile. Problem reported by Greg Schafer <gschafer@zip.com.au>.* bin/autoconf.as: Fix the verbose message at the end.2006-10-23 Paul Eggert <eggert@cs.ucla.edu>* configure.ac (AC_INIT): Bump to 2.60c.* NEWS: Likewise.2006-10-22 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Version 2.60b.Import this change from Texinfo:2006-10-15 Karl Berry <karl@gnu.org>* build-aux/texinfo.tex: automake 1.10* NEWS: Remove AC_CACHE_CHECK_INT.* doc/autoconf.texi (Caching Results): Likewise.* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed fromAC_CACHE_CHECK_INT, since it's no longer public.* lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.* tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.2006-10-19 Eric Blake <ebb9@byu.net>* lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.(m4_maketemp): Avoid warnings with M4 1.9a.* lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Colorm4_mkstemp.* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.* NEWS: Likewise.2006-10-16 Eric Blake <ebb9@byu.net>* doc/autoconf.texi (Setting Output Variables): Fix typo.* bin/autoconf.as (version): Reword to match GNU CodingStandards.* bin/autoheader.in (version): Likewise.* bin/autom4te.in (version): Likewise.* bin/autoreconf.in (version): Likewise.* bin/autoscan.in (version): Likewise.* bin/autoupdate.in (version): Likewise.* bin/ifnames.in (version): Likewise.2006-10-14 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 beforelooking for special shell characters.* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand themacro defined by AS_VAR_PUSHDEF before passing it as aparameter.* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):* lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):Likewise.* lib/autotest/general.m4 (AT_INIT): Quote parameters ofAS_VAR_* properly.* tests/m4sh.at (AS_LITERAL_IF): New test.2006-10-14 Paul Eggert <eggert@cs.ucla.edu>(Imported from Automake.)* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,which incorrectly sets the mode of an existing destinationdirectory. In some cases the unpatched install-sh could do theequivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSDsystem. We hope this is rare in practice, but it's clearly worthfixing. Problem reported by Alex Unleashed in<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.Also, don't bother to check for -m bugs unless we're using -m;suggested by Stepan Kasal.2006-10-14 Paul Eggert <eggert@cs.ucla.edu>Import this change from Automake:2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>* lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportabilityis enabled by default with gnu and gnits strictness.Report from Bruno Haible.2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>* lib/Autom4te/ChannelDefs.pm: Make -Wportability the default ingnu and gnits modes.Import this change from Config:2006-09-20 Ben Elliston <bje@gnu.org>* build-aux/config.sub (score, score-*): New.Import this change from Gnulib:2006-09-16 Karl Berry <karl@gnu.org>* doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,to avoid sectioning errors.Import these changes from Texinfo:2006-10-04 Karl Berry <karl@gnu.org>* build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.(\quoteexpand): rename to \rquoteexpand.(\codequoteleft): new def, to look for @set codequotebacktick.(\lquoteexpand, \quoteexpand): new defs.(\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.(\code): must use new \...Char values, since now ` is active.2006-08-26 Karl Berry <karl@gnu.org>* build-aux/texinfo.tex (\textdegree): New command.2006-08-12 Karl Berry <karl@gnu.org>* build-aux/texinfo.tex (error \box0): smaller font.2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Autoheader Macros): Fix syntax error.2006-10-13 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Autoheader Macros): Warn that the textadded to the template can get mangled.2006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,include the default headers, and redefine obstack_chunk_allocand obstack_chunk_free. Fixes false failure with glibc.2006-10-12 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,for backward compatibility with Libtool 1.5.22. Problem reportedby Ralf Wildenhues.2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): RequireAC_PROG_CC.Report by IOhannes m zmoelnig <zmoelnig@iem.at>.2006-10-11 Paul Eggert <eggert@cs.ucla.edu>* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE forthe NonStop platform.* doc/autoconf.texi (Posix Variants): Likewise.* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.* lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.(AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.(_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.Use a better substitute, by inspecting the output of "ls"rather than just using ":".* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_Xrather than AS_EXECUTABLE_P, since we needn't worry aboutnon-regular files here.* NEWS: Autoconf-generated shell scripts no longer export BIN_SH,due to configuration hassles with this. See Tonya Underwood's report<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.* doc/autoconf.texi (Special Shell Variables): Likewise.2006-10-11 Paul Eggert <eggert@cs.ucla.edu>Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.2006-10-11 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move theinitialization which is not inherited through the environment(_AS_BOURNE_COMPATIBLE): ... to this new macro.(_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.2006-10-09 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Describeproblems with mkdir -p -m.2006-10-06 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Removecomment about ac_cpp_err; it was incorrect, and anywayac_cpp_err is being removed below.* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don'tset ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flagare both 'yes'. In fact, don't bother setting ac_cpp_err at all;nobody uses it.(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky testswith werror_flag and conftest.err and so forth. This is morecompatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,and anyway the user shouldn't normally want to see this gorp logged.Problem reported by Ralf Wildenhues.* lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default isempty, not 'no', since the rest of the code uses 'test -z'.2006-10-04 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):Use a single call to AC_DO_TOKENS rather than multiple, forefficiency.(_AC_LINK_IFELSE): Test that resulting file is executable.Problem reported by mwoehlke in<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" ratherthan creating a file to use with test -x; this is much faster.2006-10-02 Bruno Haible <bruno@clisp.org>* lib/autom4te.in (Automake-preselections): AddAM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.2006-09-27 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Writing testsuite.at): Fix a typo: forstandard error, `experr' should be used, not `expout'.2006-09-26 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile thefseeko testing program twice; just use the earlier result.* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):Set cache var to 'unknown' (not 'no') if leaving the macro unsetstill doesn't let the program compile.(AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier testsfailed.* lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.(AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Justinclude it, without including anything else.(AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constantexpressions.(AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for`error.h', and include it, for a `error_at_line' prototype.Use a nonempty format string in the link test.* lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,for a declaration of wait3.2006-09-26 Paul Eggert <eggert@cs.ucla.edu>* NEWS: AC_CHECK_DECL now also works with aggregate objects.* doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECLcan apply to constants too, and that it checks for macro defns.* lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better,and simply cast the identifier to void. This handles structurevalues. Problem reported by Ralf Wildenhues.* tests/semantics.at (AC_CHECK_DECLS): Also check enums.2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/semantics.at (AC_CHECK_DECLS): Also check macros,structure, and function symbols.2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/semantics.at (AC_CHECK_MEMBERS): Also test with a structmember.2006-09-25 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Recommend M4 1.4.7 instead of 1.4.6.* README: Likewise.* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.2006-09-25 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'warnings (uninitialized value).(AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> ifpresent.* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, addparentheses.(AC_STRUCT_TM): Likewise, avoid unused variables.2006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.(_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.(AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.* lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.Report by Olly Betts.2006-09-19 Eric Blake <ebb9@byu.net>* m4/m4.m4: Change copyright.* configure: Regenerate.* Makefile.in: Likewise.* bin/Makefile.in: Likewise.* doc/Makefile.in: Likewise.* lib/Makefile.in: Likewise.* lib/Autom4te/Makefile.in: Likewise.* lib/autoconf/Makefile.in: Likewise.* lib/autoscan/Makefile.in: Likewise.* lib/autotest/Makefile.in: Likewise.* lib/emacs/Makefile.in: Likewise.* lib/m4sugar/Makefile.in: Likewise.* man/Makefile.in: Likewise.* tests/Makefile.in: Likewise.* m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.* bin/Makefile.am (edit): Substitute M4_DEBUGFILE.* bin/autom4te.in (handle_m4): Favor --debugfile over misnamed--error-output, to avoid warnings with M4 2.0.2006-09-19 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to beconsistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.* lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.2006-09-15 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate theexpansion of AC_CHECK_FUNCS.2006-09-14 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove amistaken comment: the path has to be relative; do not usethe path at runtime.2006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote theargument to `--prefix' for sub-configure scripts.Pass `--silent' to sub-configure scripts.* tests/torture.at (Configuring subdirectories): Add testsfor both changes.* doc/autoconf.texi (Setting Output Variables): Fix example tonot show `--silent' being passed to a `configure' re-run.2006-09-12 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not checkfor the existence of the directory at configure-time. That'stoo late, anyway. Problem reported by Stefan Seefeld.* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare7.1.4 /usr/bin/posix/sh described by Tim Rice in<http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.2006-09-11 Stepan Kasal <kasal@ucw.cz>* tests/local.at (AT_CHECK_M4): Fix this so that the testsuiteworks with GNU M4 1.4.3 again; make the normalized formmatch the current m4 message; fix the description.* test/tools.at (autom4te cache): Adapt to the change.2006-09-08 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_testto catch glibc bug 2821<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead ofAC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE andAC_CHECK_FUNCS. Don't check for stdlib.h, since we nowassume C89.2006-09-08 Stepan Kasal <kasal@ucw.cz>* lib/autom4te.in (Autoconf-without-aclocal-m4): Move thepreselections ...(Autoconf): ... here.(Autoscan-preselections): Delete.2006-09-07 Stepan Kasal <kasal@ucw.cz>* lib/autom4te.in (Automake-preselections): PreselectAM_ENABLE_MULTILIB.2006-09-05 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Preset Output Variables): srcdir andtop_srcdir are not necessarily relative. Problem reportedby Dries Kimpe.2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 overf90/f95 because the latter drivers of AIX Fortran 9.1 do notaccept files with extension `.f'. For consistency, also preferxlf over f77.* doc/autoconf.texi (Fortran Compiler): Remove mention of bugfrom last patch.2006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org>* lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitutionof ERLANG_LIB_VER_* variables.* doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*variables.2006-09-03 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Builtins): Document 'unset'bugs of Bash 2.01 and 2.05a.(Fortran Compiler): Document that AC_PROG_CC should be calledbefore AC_PROG_FC, due to a bug in Autoconf.2006-09-01 Paul Eggert <eggert@cs.ucla.edu>* NEWS: New macro AC_CACHE_CHECK_INT. It replaces theold AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INTexcept the first two arguments are reversed.* doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.(Generic Compiler Characteristics): AC_COMPUTE_INT no longercaches nor outputs a diagnostic. Suggested by Bruno Haible.* lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,equivalent to the old AC_COMPUTE_INT.(AC_COMPUTE_INT): No longer caches or reports. New signature.All uses changed to AC_CACHE_CHECK_INT.* tests/base.at (AC_CACHE_CHECK_INT): New test.* tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT.2006-08-31 Paul Eggert <eggert@cs.ucla.edu>* NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. Newprograms should use their Gnulib counterparts.* doc/autoconf.texi (Particular Functions): Likewise.(Macro Names, testsuite Invocation): Replace uses of theseobsolete macros with uses of non-obsolete macros.2006-08-29 Eric Blake <ebb9@byu.net>* configure.ac (AC_INIT): Bump to 2.60b.* NEWS: Update.2006-08-28 Eric Blake <ebb9@byu.net>* lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that wasmistakenly swapped on 2006-08-15.2006-08-25 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Version 2.60a.2006-08-25 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPOfile created by the PGI compiler.2006-08-25 Noah Misch <noah@cs.caltech.edu>* lib/Autom4te/General.pm (END): Use `File::Path::rmtree' tosimplify the code.2006-08-25 Paul Eggert <eggert@cs.ucla.edu>Fix Lex library problem reported to us by Julio Garvia.* doc/autoconf.texi (Particular Programs): YYTEXT_POINTER isfor the default, which the user can override.* lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECLdeal with LEXLIB.(_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old codedidn't work if some values were cached but not others. Test forbroken lex libraries like native ia64-hp-hpux11.22; see<http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, andwork around the problem by preferring an empty LEXLIB to -lfl or-ll. Let the user set LEXLIB='' to indicate no library needed.* NEWS: Recommend M4 1.4.6 instead of 1.4.5.* README: Likewise.* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.2006-08-24 Paul Eggert <eggert@cs.ucla.edu>Rework to use more-modern build style.Many files are renamed; all uses of their names were changed.* .x-sc_trailing_blank: Renamed from .x-sc_trailing_space.* .x-sc_useless_cpp_parens: New file.* build-aux/config.guess: Renamed from config/config.guess. Update.* build-aux/config.sub: Renamed from config/config.sub. Update.* build-aux/elisp-comp: Renamed from config/elisp-comp.* build-aux/install-sh: Renamed from config/install-sh. Update.* build-aux/mdate-sh: Renamed from config/mdate-sh.* build-aux/missing: Renamed from config/missing.* build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update.* build-aux/vc-list-files: Renamed from config/vc-list-files.* config/Makefile.am: Removed.* config/mkinstalldirs: Removed.* config/move-if-change: Removed.* m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice.* Makefile.am (SUBDIRS): Remove config.(ACLOCAL_AMFLAGS): Include from m4, not config.(EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.(WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.(autom4te-update): Rewrite with a loop. Get from gnulib, not automake.Fail if there's an error.* Makefile.cfg (move_if_change): Remove.(wget_files): Remove.(cvs_executable_files): New macro.(cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi.(executable-update): Use $(cvs_executable_files).(local-checks-to-skip): Remove.* Makefile.maint: Merge from coreutils, plus add our own changes(gzip_rsyncable): New macro.(GZIP_ENV): Use it.(CVS_LIST): Use build-aux/vc-list-files.(VERSION_REGEXP): New macro.(local-checks-available): Add patch-check, $(syntax-check-rules),check-AUTHORS.(syntax-check-rules): Compute dynamically.(sc_cast_of_x_alloc_return_value): Work even if no source files.(sc_cast_of_alloca_return_value): Likewise.(sc_prohibit_atoi_atof): Simplify regexp.(sc_no_if_have_config_h, sc_require_config_h):(sc_prohibit_assert_without_use,(sc_obsolete_symbols): Check for O_NDELAY.(sc_texi_notab): Remove.(sc-changelog): Don't make an exception for '----' lines.(.re-list): Remove, so we don't have a junk file behind.(sc_system_h_headers): Remove the need for .re-list.(sc_the_the): New rule.(sc_tight_scope): Simplify.(sc_trailing_blank): Renamed from sc_trailing_space.(longopt_re): New macro.(sc_two_space_separator_in_usage): New rule.(sc_unmarked_diagnostics): Look at all files under CVS.(sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.(news-date-check, changelog-check): Version is OK.(po-check): Look for lib files even if not in CVS.(copyright-check): Use $() not ``.(maintainer-distcheck): Do not depend on changelog-check.(my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).Also check for -Wpointer-arith.(WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):(xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):Remove.(announcement): Add --gpg-key-id arg.(cvs-sv): Remove.(move_if_change): Just use mv.(local_updates: Remove wget-update, po-update.(po_repo, do-po-update, po-update, wget_files, get-targets): Remove.(config.guess-url_prefix, config.sub-url_prefix): Remove.(ansi2knr.c-url_prefix, texinfo.tex-url_prefix):(standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):($(get-targets)): Remove.(cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.(gnulib_repo): Renamed from automake_repo. Get from gnulib now.(cvs-update): Get from gnulib.(emut_upload_commands): gnupload is in build-aux now.(alpha beta major): Add changelog-check. Check version.* configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.(AC_CONFIG_FILES): Remove.* bin/autoconf.as: Add spaces to avoid distcheck warning.* config/announce-gen: Sync from coreutils.* doc/make-stds.texi: Sync from gnulib.* doc/standards.texi: Likewise.* man/Makefile.am: Adjust for config -> build-aux renaming.* tests/Makefile.am: Prefer $(FOO) to @FOO@.* tests/local.at: Adjust from config -> build-aux renaming.* tests/tools.at: Likewise.* tests/torture.at: Likewise.* NEWS: The C99 check now tests for vararg macros and 64-bitpreprocessor ints.* doc/autoconf.texi (C Compiler): Document // comments, va_copy.* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and64-bit preprocessor ints. Check for static initialization oflong long. Remove unnecessary casts.2006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Particular Programs): Mention that@INSTALL@ and @MKDIR_P@ may vary for different output files.Reported by Alexandre Duret-Lutz.2006-08-24 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore-lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported byBill Northcott in<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>.2006-08-22 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, topacify insanely picky compilers. Problem reported by Eric Blake.* doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is nolonger supported by Sun.2006-08-15 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"rather than "#if HAVE_STDLIB_H", so that it now works with "gcc-Wundef -Werror". Problem reported by David Fang in<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.* doc/autoconf.texi (Header Templates, Default Includes):(Particular Functions, Generic Functions, Header Portability):(Particular Headers, Generic Headers, Generic Declarations, Guidelines):(Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):(Present But Cannot Be Compiled, Preprocessor Symbol Index):Prefer #ifdef to #if.* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):(AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):Likewise.* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):(AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.* lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):(AC_SYS_RESTARTABLE_SYSCALLS): Likewise.* lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume thatS_ISDIR etc. are valid for use in #if; POSIX doesn't guaranteethis.2006-08-14 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Document sedproblems with arg script text that doesn't end in newline, andwith '-e a...'. Problems reported by Ralf Wildenhues.2006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change)* lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace anothercheck for libXt by a check for libX11.2006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (config.status Invocation): Adjust accordingto last change.2006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status--help' should mention that `--version' outputs configurationsettings. Report by Bruno Haible.2006-08-06 Paul Eggert <eggert@cs.ucla.edu>Fix test suite failures reported by Pierre in<http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claimthe compiler created a file "b.out" when it didn't create anythingat all.* lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):Discard stderr too, when invoking the test script.2006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change)* lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typoin the restoring of the werror flag.2006-07-24 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Volatile Objects): Be even a littleless skeptical about "volatile", after discussion withBruno Haible on bug-gnulib.(Limitations of Usual Tools): Warn about sed strippingleading white space from text. From Bruno Haible.2006-07-20 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if thecompiler complains about it, even if things works after thecomplaint. Problem reported by Peter O'Gorman.* doc/autoconf.texi (Preset Output Variables): Document CFLAGS,CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible.Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.2006-07-17 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for spaceafter -R regardless of host. Patrick Welche reports that thisfixes things on NetBSD 3.99.* NEWS: Recommend M4 1.4.5.* README: Likewise.* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.* tests/tools.at (autom4te cache): Update wording of diagnosticto match M4 1.4.5.2006-07-07 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (C Compiler): Add a ref to Volatile Objectsunder AC_C_VOLATILE.(Volatile Objects): Be a little less skeptical about what"volatile" means. Derived from thoughts by Ben Pfaff in<http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.2006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi: Fix some typos.2006-07-07 Paul Eggert <eggert@cs.ucla.edu>* tests/torture.at (Configuring subdirectories): Set CONFIG_SITEmore globally, since the 2006-06-30 patch didn't suffice. Problemreported by Keith Marshall. Also, don't bother with builddir2,since it shouldn't be needed any more.2006-07-07 Paolo Bonzini <bonzini@gnu.org>* doc/autoconf.texi (Generic compiler characteristics):Document AC_COMPUTE_INT. Fix wrong statements on DefaultIncludes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.* lib/autoconf/general.m4 (AC_COMPUTE_INT): New.(_AC_COMPUTE_INT): Add obsoletion warnings.* lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): UseAC_COMPUTE_INT.* NEWS: Document change.2006-07-05 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Volatile Objects): New section.* NEWS: Document previous change.2006-07-02 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):Require that long long int be at least 64 bits wide. C99 requiresthis and enough programs depend on it so we should check for it.Bruno Haible reports in<http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html>that long long int is 32 bits wide with some nonstandard compilers.(AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.2006-06-30 Paul Eggert <eggert@cs.ucla.edu>* tests/torture.at (Configuring subdirectories): Set CONFIG_SITEto a nonexistent file, so that we don't have to worry abouta local site configuration that doesn't use /usr/local.Problem reported by Keith Marshall in<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.2006-06-28 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Be more consistent about using @acronym with"HP" and "HP-UX". Remove mention of OSF; the old version wasn'tquite right (it talked about "OSF/Tru64", even though theoperating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,and it even mentioned "OSF 4"!) and at this point there's littlereason to talk about OSF any more, since it died in 1994.(Specific Compiler Characteristics): Simplify example ofnegative-size array.(File Descriptors): Reorder to make the text flow better.Remove joke about "appreciate the various levels"; I didn't get it.Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.(File Descriptors, Limitations of Usual Tools):Tone down the advice against renaming or removing open files.(Limitations of Usual Tools): Add a new section, on 'rm'.2006-06-26 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not-lXt in LIBS, idea from Karsten Hopp; this was due sincethis change:2005-09-18 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.hand XrmInitialize rather than X11/Intrinsic.h and XtMalloc(which belong to Xt, not X itself). See Debian bug 327655.2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* configure.ac (AC_INIT): Bump to 2.60a.* NEWS: Update.2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Version 2.60.* configure.ac, NEWS: Update.2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/texinfo.tex: Sync from upstream.* bin/autom4te.in (handle_traces): Transform the `@S|@'quadrigraph correctly in traces.* NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4:Fix typos.* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests fordatarootdir-related errors only if AC_DATAROOTDIR_CHECKED isnot defined.* doc/autoconf.texi (Changed Directory Variables): New node,to document the whole `datarootdir' business a bit better.* NEWS: Update.* tests/torture.at (datarootdir workaround): Extend test.Prompted by report by Alexandre Julliard.2006-06-22 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibilitywhen using default mode of IBM C 6 for AIX. Problem and two-linefix reported by Larry Jones.2006-06-22 Alexandre Julliard <julliard@winehq.org>* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warningabout literal '${datarootdir}' if a definition is found in theoutput file.2006-06-20 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Use "M4" rather than "m4" when appropriate.Problem reported by Eric Blake.* doc/autoconf.texi: Likewise.Use @acronym around BSD, GCC, and GNU when appropriate.(Why GNU M4): Renamed from "Why GNU m4".(Redefined M4 Macros): Mention that Posixm4wrap takes only 1 argument, but GNU M4 1.4.x takes more.(Buffer Overruns): Mention size_t and ptrdiff_t as alternativesto int.2006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autom4te.in (handle_output): Do not forbid the emptypattern.* tests/tools.at (autoconf: the empty token): New test.2006-06-20 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrapcalls, so that we do not care whether they are LIFO or FIFO;in the m4_wrap, do not check which diversion is the topmostone, just check that the stack is balanced at the end.* lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change thebase diversion forever--pop the previous diversion beforeopening the new one; consequently, remove the m4_wrap call.* lib/autotest/general.m4 (AT_INIT): Likewise.* tests/m4sugar.at: Do not usem4_wrap([m4_diversion_pop([..])]), for educational purposes.2006-06-19 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* NEWS: Document that m4wrap/m4_wrap might not be LIFO.* doc/autoconf.texi (Redefined M4 Macros): Likewise.Rework example of m4wrap token-pasting trouble so that it doesn'tcare whether it's LIFO or FIFO.Fix some "contrary to"s that are awkward in English.2006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t'to `yes' instead of `int$1_t' if the type is found, for moreconsistent configure output (where $1 is the number of bits).(_AC_TYPE_UINT): Likewise for `uint$1_t'.Suggested by Bruno Haible.* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1needs _UINT8_T and _UINT64_T defines as well, to avoid clasheswith system headers. Report by Bruno Haible.2006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/config.guess, config/config.sub: Sync from upstream.* bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,in order to avoid picking up an older installed frozen m4sh.m4f.Besides an outdated shell startup, this could have been createdby an earlier M4 version with incompatible frozen file format.2006-06-16 Paul Eggert <eggert@cs.ucla.edu>* README: Recommend m4 1.4.4 instead of 1.4.3..* doc/autoconf.texi: Likewise.(Special Chars in Names): Say that $(.FOO) is portable, assuggested by Stepan Kasal.(Installation Directory Variables, Build Directories):(Automatic Remaking, Subdirectories, Fortran Compiler):(Making testsuite Scripts, Defining Directories):Quote variable usages better.(Making testsuite Scripts): Add clean-local rule to makefilesnippet, by Eric Blake.(Installation Directory Variables): Fix table item font.Reword slightly to clarify. Generalize advice aboutnot using special characters to include all file-relatedvars, not just VPATH.(Special Chars in Variables): Warn about special characters in$(srcdir) too.(Assignments): Clarify default-value example as suggested byRalf Wildenhues in<http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.(Special Shell Variables): Note leading ./ or ../, as suggestedby Eric Blake.(Limitations of Builtins): Under cd, warn about CDPATH.(The Make Macro MAKEFLAGS): Untabify. Problem reported byRalf Wildenhues.2006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Configuration Actions): Remove duplicate`@var', for texi2html.(Systemology): Some more word wrapping, for DVI output.(autom4te Invocation): The short option for `--melt' is `-M',not `-m'.2006-06-15 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: More formatting and English tweaks,many suggested by Ralf Wildenhues.Reword to avoid "@code{...}'s" and the like, since it's uglywith Emacs info mode. discontents -> woes.Put a few "will"s back. time stamp -> timestamp.side-effect -> side effect.2006-06-14 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Initializing configure, Shell Substitutions):Warn about $@ not persisting. Problem reported by Julien Danjou in<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.(Special Chars in Names): Renamed from Leading _ in Macro Names.Mention other special chars, too.2006-06-14 Eric Blake <ebb9@byu.net>* doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.2006-06-13 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Some systematic minor improvements, asfollows. Use "makefile" when talking about makefilesgenerally (which might be named "makefile" or "Makefile" or even"foo.mk"), "Makefile" when talking about a specific makefilecalled "Makefile". This unclutters the text from weird quotes(e.g., "`Makefile's" in info mode). Similarly, use "@var{foo}values" rather than "@var{foo}s" and similar constructs containing"}s". Use "Make rules" rather than "Makefile rules". MinorEnglish-language improvements. Change the prefix "sub-" to "sub"and "re-" to "re".Put blank lines around examples more consistently.Avoid "rather" and "very" as intensifiers.Avoid "will" as an auxiliary.(Limitations of Make): Split this node into....(Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):(Leading _ in Macro Names, Backslash-Newline-Newline):(Backslash-Newline Comments, Long Lines in Makefiles):(Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):(obj/ and Make, make -k Status, VPATH and Make):(VPATH and Double-colon, $< in Explicit Rules):(Automatic Rule Rewriting, OSF/Tru64 Directory Magic):(Make Target Lookup, Single Suffix Rules, Timestamps and Make):New nodes, resulting from splitup of Limitations of Make.All cross-references changed. Raise the top node froma section to a chapter, and all subnodes accordingly.Redo the introductory wording to match the new organization.(Installation Directory Variables): Use an example that iscloser to what Autoconf actually does. Mention that VPATH'svalue should not contain metacharacters or white space.(Fortran Compiler): Fix a VPATH bug in an example.(Leading _ in Macro Names): Mention that this problem is no longerof practical concern.(VPATH and Make): Reword the advice to make it clearerthat Autoconf and Automake support VPATH in non-GNU make, butmany packages have bugs in this area.($< in Explicit Rules): Refer to Build Directories ratherthan using a (non-VPATH-safe) example.(Automatic Rule Rewriting): Mention the sort of disaster thatcan ensue with Solaris-style rule rewriting with VPATH.2006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/install.texi (Compilers and Options): Weaken thesuggestion to use GNU make for VPATH builds.* lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM.* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotationin regular expression.2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Installation Directory Variables):Drop extra @samp from `@table @samp' item.(Limitations of Usual Tools): Comment fix.Do not nest @samp just to point to other table items.(Writing testsuite.at) <AT_CHECK>: The second argument to`@dvar' is already @samp'ed.(Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,do not use @var in the second argument.2006-06-07 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for$as_shell.exe too. Problem reported by Andreas Buening in<http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>.2006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around`unused variable' compiler warning, for `-Wall -Werror'.Reported by Jaap Haitsma in<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>.2006-06-06 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, incase the compiler dumps core. Problem reported forOpenServer 5.0.7 by Tim Rice in<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>.* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):Likewise.2006-06-06 Tim Rice <tim@multitalents.net>.* lib/freeze.mk: Quiet check-forbidden-patterns so the string"ERROR" only shows up in "make check" output if there is anerror.2006-06-06 Eric Blake <ebb9@byu.net>* tests/tools.at (automatically allowed tokens): Fix typo.2006-06-05 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.* doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1typically overflows on x86 CPUs, even though the C standardrequires otherwise.2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* configure.ac (AC_INIT): Bump to 2.59e.* NEWS: Update.2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Version 2.59d.* config/texinfo.tex: Sync from upstream.* bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has beenseen, invoke libtoolize with `--ltdl' argument.* lib/autom4te.in (Autoreconf-preselections): Adjust.* NEWS: Update.Suggested by Eric Blake.2006-06-05 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problemreported by Ralf Wildenhues.* doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* THANKS: Update.2006-06-05 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Modernize some of the references to Solaris.2006-06-05 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sugar.m4 (m4_require): Modify the errormessage issued by AC_REQUIRE.* tests/m4sugar.at: Check m4_require's error message.* tests/base.at: Check AC_REQUIRE's error message.* tests/local.at (AT_CHECK_M4): New macro, almost identicalto...(AT_CHECK_AUTOM4TE): ... which is now a thin wrapper aroundAT_CHECK_M4.(AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support`expout' as the last parameter.* tests/tools.at: Adapt to the above change.2006-06-04 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Limitations of Usual Tools): Correctinformation about race-free implementations of mkdir.2006-06-04 Eric Blake <ebb9@byu.net>* bin/autoreconf.in (help): Document M4 environment variable.* bin/autoconf.as (Usage): Likewise.* bin/autom4te.in (help): Likewise.* doc/autoconf.texi (autom4te Invocation): Likewise.2006-06-04 Paul Eggert <eggert@cs.ucla.edu>* NEWS: GNU make now recommended for VPATH builds.Mention that some macros are now documented to be obsolescent.* doc/autoconf.texi:Prefer "current" to "modern" to describecurrently-used (albeit perhaps old-fashioned) hosts.Mention which ancient features no longer need to be worried about.setgid -> set-group-IDsetuid -> set-user-ID (these are the Posix terms)Fix some misuses of "only".(AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):(AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):(AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):(AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):(AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):(AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):(AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):Mention that these macros are obsolescent.(Installation Directory Variables): shall -> should(File Descriptors): Mention that 0, 1, 2 might get reopened.Mention that it's now safe to use 3 and 4.(Limitations of Usual Tools): cp -r is now specified by Posix.Omit longwinded and obsolescent discussion of cp -f.Modernize discussion of expr, ls.(Limitations of Make): Modernize discussion of VPATH builds.Mention $? as a workaround in some cases.* doc/install.texi (Basic Installation):Mention "./configure; make; make install" first. Be morespecific about why this file is generic. Remove unnecessaryparens. Remove misleading "only". Remove obsolete adviceabout csh. Don't say "configure" takes awhile; say itmight take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2,and CC=c99 rather than CC=c89, as these are blessed by currentPosix. Recommend GNU make if doing a VPATH build.2006-06-03 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Use a consistent style "$ @kbd{...}" forexamples involving shell prompts.2006-06-02 Stepan Kasal <kasal@ucw.cz>and Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Here-Documents): Add details about thepre-ksh93g bug. Reword slightly to make it clearer. Consistentlyuse "here-documents" instead of "here documents".2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/texinfo.tex, doc/standards.texi: Sync from upstream.2006-06-01 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (File System Conventions): Warn about ":"anywhere in directory names.2006-05-31 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservativeabout quoting the case statement, just in case.* doc/autoconf.texi (Here-Documents): Mention that the ksh bugwas fixed in ksh93g; reported by Ralf Wildenhues.2006-05-31 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (System Services): Do not documentoverriding EXEEXT via ac_cv_exeext=ext.(Particular Programs) <AC_PROG_MKDIR_P>:Document that ${MKDIR_P} understands --.* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve thecomment.2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against testargument with leading hyphen. Problem reported by Paul Eggert.2006-05-30 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservativeabout quoting ac_try: quote all of it, if any of it seems suspicious.This means we don't have to worry about ${ or sed any more.Also, double-quote the case statement, to work around misuses viaunderquoting as reported by Ralf Wildenhues in<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>.(_AC_EVAL_STDERR): Revert, since evidently some packages rely on thisundocumented and dangerous macro.Problem reported by Ralf Wildenhues in<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.2006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether`dirname -- /' returns `/', for SunOS dirname scripts that escaped.Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>.2006-05-30 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,since evidently some packages rely on the old, broken behavior.Problem reported by Ralf Wildenhues in<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>.(AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to thepre-2006-05-26 definitions, but leave in the comments thatthese macros are dangerous and should not be used.(_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed.(_AC_DO): Renamed from _AC_EVAL. All callers changed.(_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed.(_AC_DO_VAR): Renamed from AC_TRY_EVAL.(_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND.2006-05-29 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoidthe use of 'tr', since this is our only use of 'tr'.2006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>and Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):Don't assume 'grep' works on long lines, since AIX grep doesn't.2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' onthe output file in the `${datarootdir}' test.2005-05-28 Stepan Kasal <kasal@ucw.cz>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seenmention of `datarootdir' in the input file(s), but literal`${datarootdir}' in the output file, and we haven't warned yet,then warn as well: the user may have (erroneously) used`AC_SUBST([mydatadir], [$datadir/my])' instead of the correct`AC_SUBST([mydatadir], ['${datadir}/my'])'.* tests/torture.at (datarootdir workaround): Extend this test.* NEWS: Update.2006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>and Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (autoheader Invocation): The first argument to`AC_DEFINE_UNQUOTED' need not be a literal. Mention thealternatives and clear up the language a bit.2006-05-27 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,ac_config_guess, ac_config_sub, ac_configure.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):Fix typo that prevented an unnecessary space from being removed.Problems reported by Ralf Wildenhues in:http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html2006-05-26 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.Don't use the term "thread-safe" to talk about mkdir raceconditions, since the problem is more a process than a threadissue. Problem reported by Stepan Kasal in:http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimicsthe test for 'install' more closely. Look at MKDIR_P first.Look in the PATH, and at /opt/sfw/bin.Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).Don't bother to try mkdir -p, since we already check mkdir --version;just look at the version number. (There's no easy way to checkfor race-free implementations.)* tests/tools.at (autoconf: subdirectories): Adjust to abovechanges, since MKDIR_P now might end in "/mkdir -p".* doc/autoconf.texi (autoheader Invocation): Mention that thefirst arg of AC_DEFINE_UNQUOTED must be a literal.Problem reported by Ben Pfaff in<http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.* NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.* doc/autoconf.texi (Special Chars in Variables): New section.(Preset Output Variables): Warn about special chars in CPPFLAGS.(Installation Directory Variables): Quote $(datadir) better.(Limitations of Builtins): Describe some of eval's trickiness.* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.* lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading spacein front of every arg, not just trailing args. Quote apostrophes.(_AC_EVAL_ECHO): New macro.(_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval.(AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might getremoved.(_AC_LINK_IFELSE): Use proper rule for shell continuation lines,exposed by quoting of eval argument. Put the command on line lineso it logs better.* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.(_AC_PATH_X, AC_PATH_X): Quote more safely.* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.Handle special chars in prefix, ac_srcdir, ac_aux_dir.Use eval more safely.(_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needsto be replaced.* tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuationlines, exposed by quoting of eval argument.2006-05-26 Stepan Kasal <kasal@ucw.cz>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop theinitialization of `ac_cv_exeext', do not override it if it wasalready set, unless it was set to `no', for compatibility withAutoconf-2.13, and comment this.Do not export `ac_cv_exeext', Libtool hasn't needed this for years.(_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.* doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:Document that this test may be overridden by setting`ac_cv_exeext'.2006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Revert these two patches:2006-04-06 Eric Blake <ebb9@byu.net>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cachecheck, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced2006-04-01.2006-04-01 Stepan Kasal <kasal@ucw.cz>Clean up _AC_COMPILER_EXEEXT* macros.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try todetect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just setac_file to the name of the default output file and call_AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and theinitial `rm' of the candidate files...(_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, usethe same list in subsequent `rm' calls, and for the temporaryredefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...(_AC_COMPILER_EXEEXT_TESTS): ... this new macro.(_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (orno longer needed) by libtool. Make it a cache check.(_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviouslycopied here by mistake.(AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not_AC_COMPILER_EXEEXT.* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call_AC_COMPILER_OBJEXT directly.* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:Fix description of how the buggy `sed' works.2006-05-25 Noah Misch <noah@cs.caltech.edu>Sync from Automake:* lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besidesENOLCK. Only mention `make -j' when applicable. Only raisefatal errors when `make -j' is involved. Improve error message.2006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Here-Documents): We now know more aboutthe variable expansion in here documents bug.Thanks to Tim Rice and Stepan Kasal.* doc/autoconf.texi (Making testsuite Scripts): Add an examplehow to use TESTSUITEFLAGS. Suggested by Eric Blake.2006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/autotest.at (Multiline command from M4 expansion):No failure to be expected if the shell quotes newlines incommands in the `set -x' output. Report by Tim Rice.* THANKS: Update.2006-05-23 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shellexpansion in the here-documents used by config.status, as thatruns afoul of the Korn shell version M-12/28/93d bug described inthe Autoconf manual, and this in turn causes a Coreutils 5.95 build tofail as described by Tim Rice and diagnosed by Ralf Wildenhues in<http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.2006-05-23 Jim Meyering <jim@meyering.net>* lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):Fix typo introduced with 2006-04-02 change. It reversed the senseof the test.2006-05-23 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA andac_dB slightly, to save bytes in the script.Max out at 50 lines, rather than 96; this is more likely(though not guaranteed) to avoid obscure 'sed' failures.2006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret`tr -d -' as bad option argument. Work around this by deletingan unrelated character.Report by Tim Rice <tim@multitalents.net>.2006-05-22 Paul Eggert <eggert@cs.ucla.edu>,Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Particular Programs): Do not promise thatwe always prefer the GNU version of the program, and that wesearch according to PATH; both rules can have exceptions.Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,AC_PROG_SED. Move descriptions of limitationsto the Limitations of Usual Tools section.(Limitations of Usual Tools) <sed>: Mention script lengthlimitations with Solaris /usr/ucb/sed.<grep>: Fix wording for empty alternative. Mention that -c and-l should not be combined, and that -E and -F should not becombined.2006-05-21 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/programs.m4 (AC_PROG_SED): Catch script lengthlimits in Solaris 8 /usr/ucb/sed by testing a long script.2006-05-22 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Defining Symbols): Literal parameter ofAC_DEFINE is now passed to m4_pattern_allow.* NEWS: Mention that; likewise for AC_SUBST.* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Passthe parameter to m4_pattern_allow.* tests/tools.at: Add a check for that.2006-05-22 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4: Fix typos.2006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Removeonly the files that this macro generates.2006-05-21 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Forthe HP-UX sed limitation of 99 commands, labels do not count.* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention thatin the comment.(_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.2006-05-21 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):Import the following fix from coreutils:2006-01-13 Jim Meyering <jim@meyering.net>Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of$ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) neednot double-quote uses of that variable, to accommodate the rarecase in which getmntent is available in none of the librarieschecked. This happens at least on FreeBSD 5.0.2006-05-20 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring backac_config_guess, ac_config_sub, and ac_configure, since evidentlysome other programs unwisely rely on these undocumented vars.But put in warning comments about them.Problem reported by Ralf Wildenhues in<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.* NEWS: Document that these variables are intended to go away.2006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,and set the language to C++ (analogous to the equivalent Fortrantests).* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.* doc/autoconf.texi (C++ Compiler): Document it.* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.* NEWS: Update.2006-05-19 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bugthat caused config.status to generate 100-command sed scripts; theportable limit is 99.2006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporaryvariable `ac_d' instead of `d' to avoid infringing namespace.Report by Ralf Menzel.2006-05-18 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend$ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'.* tests/tools.at (autoconf: subdirectories): New test, taken fromthe corresponding problem report by Ralf Wildenhues in:http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html* lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):Quote some uses of shell variables if they might suffer unexpectedglobbing. This doesn't fix all instances of quoting problems thatI found, just the easy ones that look safe.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP):(AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS):(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):(AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise.* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise.* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.* lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS):Likewise.* lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise.2006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoreconf.in ($help): Reword according to the manual.Suggested by Olly Betts.2006-05-17 Olly Betts <olly@survex.com> (tiny change)and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoreconf.in: Pass the directory argument to`require_configure_ac'. Fix comment.* tests/torture.at (Configuring subdirectories): Expose this.Reported by Olly Betts.2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync fromAutomake as follows:* lib/Autom4te/Configure_ac.pm (find_configure_ac): Use`$configure_in' instead of `configure.in', to preservedirectory component.2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/config.guess, config/config.sub, config/texinfo.tex,doc/make-stds.texi, doc/standards.texi: Sync from upstream.2006-05-14 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-pickytest for C99 conformance; (bool) 0.5 is an integer constantexpression, but (bool) -0.5 is not. Problem reported by FedorSergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.2006-05-13 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P nowsets MKDIR_P, not mkdir_p, to avoid collisions with Automake.Warn about obsolete install-sh files. Remove stray sentencefragment and fix cross reference.* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist oninstall -d; this undoes the 2006-05-10 change.(MKDIR_P): Mark with AN_MAKEVAR.(AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, sothat we don't require $INSTALL to be thread-safe. Move commentsout of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT insteadof AC_PROG_INSTALL. Output a message saying that we're checkingmkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic forMKDIR_P instead of AC_SUBST.* lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):Special magic for MKDIR_P, too.* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeateda dnl.* tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.2006-05-11 Paul Eggert <eggert@cs.ucla.edu>Sync from Automake, as follows:2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/install-sh: Initialize IFS, so field splitting isn'tturned off later.* config/mkinstalldirs: Likewise.* config/missing: Remove superfluous quotes. Replace all uses of`[' by `test', for consistency, and for..* config/missing (sed_minuso, sed_output): New variables.(autom4te, help2man, makeinfo): Use them. Unifies detection of`-o FILE', `--output FILE', `--output=FILE', stricter regex.Fixes `missing' to detect `--output' for help2man. FixesPR automake/483. Report by Dennis J. Linse.(autom4te): Document in `missing --help'.2006-05-10 Paul Eggert <eggert@cs.ucla.edu>* NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust.* config/install-sh: Don't use 'path' to talk about file names,as per GNU coding standards. Close a race condition reported by RalfWildenhues and Stepan Kasal. There is still a race conditionon hosts that predate Posix 1003.1-1992, but we can't help this.Don't mishandle weird characters like space on pre-Posix hosts.Invoke mkdir at most once per dir arg on pre-Posix hosts.* doc/autoconf.texi (Programming in M4sh): Cross-reference toAC_PROG_MKDIR_P from AS_MKDIR_P.(Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_Pfrom mkdir. Mention that Autoconf 2.60 install-sh is safe butearlier editions are not (including Automake 1.8.3).Do not suggest mkinstalldirs for thread-safety.* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install'that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL.* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in thepresence of special characters and race conditions.* tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variablesin Autoconf's name space.2006-05-10 Bruno Haible <bruno@clisp.org>and Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, takenfrom Automake with minor changes.* doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.2006-05-10 Paul Eggert <eggert@cs.ucla.edu>* config/install-sh: Update to Automake CVS version, as follows:2006-04-25 Stepan Kasal <kasal@ucw.cz>* lib/install-sh: Simplify the expr implementation of dirname.2006-04-24 Paul Eggert <eggert@cs.ucla.edu>* lib/install-sh: Handle --, and diagnose unknown options.2006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of`./autom4te' to create `./testsuite', since the `all' targetwill ensure its presence, but `installcheck' should not createthe uninstalled wrappers.* tests/torture.at (Unusual Automake input files): Skip if wedetect automake < 1.8.2006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdcis set to `no', then that overrides and sets ac_cv_prog_cc_c89and ac_cv_prog_cc_c99 to `no', for backward compatibility.* NEWS: Update.2006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not tomunge (multiple) white space and other oddities.* tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escapesingle quotes in variable assignment.(AC_ARG_VAR, configure invocation): Adjust tests to expose thisand similar failures by adding multiple spaces, tabs, and otherspecial characters.Report and different test suggested by Francesco Romani<fromani@gmail.com> and Andrew Church <achurch@achurch.org>.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escapesingle quotes, we only need to search for single quotes; thisboth simplifies the search pattern, and makes us lesssusceptible to `echo' variations for arguments not containingsingle quotes.(_AC_ARG_VAR_VALIDATE): Likewise.2006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Special Shell Variables) <IFS>: Document`$*' and IFS concatenation issue with traditional shells andbash-2.04. Report by Seanster@Seanster.com.2006-05-03 Bruno Haible <bruno@clisp.org>* doc/autoconf.texi (Limitations of Usual Tools): Identify moreprecisely which Mac OS X versions have the od problem.2006-05-02 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Use @option systematically.2006-05-02 Paul Eggert <eggert@cs.ucla.edu>and Bruno Haible <bruno@clisp.org>* doc/autoconf.texi (Limitations of Usual Tools): Add a paragraphabout 'od'.(Integer Overflow): Mention the special case of integer divisionoverflow.2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater fortraditional shells like the Solaris one that do not use thefirst IFS character for assembling `$*'.Prompted by a related report from autoconf_bug@nro.ca.2006-05-01 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Builtins, Limitations of Make):Mention more problems with the -e option.2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* NEWS: Typo.* doc/autoconf.texi (Systemology): Mention the Heirloom Project.* doc/autoconf.texi (Introduction, Pointers): Use `@/' liberallyin URLs to improve DVI formatted output (requires texinfo 4.6).(System Services, Systemology, Shellology): Likewise.(Limitations of Usual Tools): Rewrite Mac OS X example for niceroutput.* doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' incontinuous text.(Runtime): Fix macro argument names to match description:`action-if-found' -> `action-if-true' and similarly.(Obsolete Macros): Likewise.* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.(AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)(AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Make): Clean up markup.* ChangeLog: Typo.* doc/autoconf.texi (Portable Shell): Allow wrapped URLs, forDVI output.2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD/bin/sh set unsorted output.* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.* tests/local.at: Likewise.2006-04-26 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Portable C and C++, Varieties of Unportability):(Integer Overflow, Null Pointers, Buffer Overruns):(Floating Point Portability, Exiting Portably): New sections.(Writing Test Programs): Fix some langauge. Recommend exitingwith status 1, not merely nonzero. Clarify exit declaration.(Run Time): Move C exit status stuff to new Exiting Portably section.(Systemology): Mention Posix and levenez. Update v7 reference.(Portable Shell): Mention the Posix shell.2006-04-25 Stepan Kasal <kasal@ucw.cz>* bin/autoconf.as (me): Replace by as_me.2006-04-25 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,since as_me isn't set yet.2006-04-23 Paul Eggert <eggert@cs.ucla.edu>Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fixa few minor bugs in this area.* doc/autoconf.texi (Programming in M4sh): Comment out thedocumentation of AS_BASENAME, for now.(Shell Substitutions): Do not use AS_DIRNAME in an example.(Limitations of Builtins) <basename>: Do not refer toAS_BASENAME.* bin/autoconf.as (me): Don't use AS_BASENAME.(dir): Remove the unused variable.* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed fromAS_DETECT_REQUIRED. All uses changed.(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.All uses changed.(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.(AS_BASENAME): Use "basename --" to protect against leading "-".(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".(_AS_DIRNAME_PREPARE): Likewise.(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.(AS_DIRNAME): Use "dirname --".2006-04-23 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Runtime): Renamed from "Run Time". All usesof "run time" and "run-time" changed to "runtime", for consistency.* lib/autoconf/fortran.m4: Likewise (in comment).* lib/autoconf/functions.m4: Likewise.* lib/autoconf/general.m4: Likewise.* lib/autoconf/headers.m4: Likewise.* doc/autoconf.texi (Run Time): Document the exit status situationwith more accuracy and detail.2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Introduction): The GNU Autoconf MacroArchive is not officially `GNU' any more. Update URL.(Defining Directories): Likewise* lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leadingnewline from the `trap' code to finish `config.log'; the NetBSD/bin/sh resets the exit status after an empty command, asdocumented in doc/autoconf.texi.Reported by Dalibor Topic <robilad@kaffe.org>.2006-04-19 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.Suggested by Bruno Haible.2006-04-18 Paul Eggert <eggert@cs.ucla.edu>* configure.ac (ac_cv_sh_n_works): Don't try to test for it, sincesome shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.Instead, just list the shells that we know work.* tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All useschanged. Be more cautious about the _cv_ variable.* tests/tools.at (Syntax of the shell scripts): Check the_cv_ variable once, at first, to avoid an internal autoconf errorwhen sh -n does not work.2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/Autom4te/FileUtils.pm: Sync from Automake.2006-04-16 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don'tuse ">&-" since we're only 99.999% sure that this is portable,and since the MinGW bug is fixed in a different way.* lib/autotest/general.m4 (AT_INIT): Likewise.2006-04-16 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheckbefore opening config.log, to avoid hitting a bug on MinGW.2006-04-14 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): CloseAS_MESSAGE_LOG_FD before reopening it onto the log file.This works around a MinGW bug reported by Eric Paire.Make sure that all writes to the log file append to it,rather than possibly losing data.* lib/autotest/general.m4 (AT_INIT): Likewise.2006-04-14 Stepan Kasal <kasal@ucw.cz>* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in thedescription.2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* NEWS: Update.* configure.ac (AC_INIT): Bump to 2.59d.2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Version 2.59c.* Makefile.maint (news-date-check): Do not require a leading `*'before the release date in NEWS.2006-04-12 Stepan Kasal <kasal@ucw.cz>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates forthe instantiated file do not contain the string 'datarootdir'but contain @datadir@, @docdir@, @infodir@, @localedir@, or@mandir@, replace the reference '${datarootdir}' by the value.* tests/torture.at (datarootdir workaround): New test.* NEWS: Advertise this temporary fixup.Based on a patch by Bruno Haible, reported and analyzed byPaul Eggert and Noah Misch.2006-04-12 Eric Blake <ebb9@byu.net>* tests/autotest.at (Debugging a failed test): Fix comment.2006-04-12 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary ofall the changes since 2006-04-07.2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'succeeded, but `ln -s file dir' failed, take care to remove theleftover target before the next test, to prevent its spuriousfailure; also make sure `ln file dir' works before selecting it.Thanks to Keith Marshall for pointing this out.* THANKS: Update.* lib/autotest/general.m4 (AT_INIT): Store quoted variableassignments in `at_debug_args', so that we put them correctlyin the `run' script.* tests/autotest.at (Debugging a failed test): Unmark XFAIL.Reported by Eric Blake.2006-04-11 Eric Blake <ebb9@byu.net>* tests/autotest.at (AT_CHECK_AT): Add new argument, to allowtop-level tests after micro-suite has been run. Used in...(Debugging a successful test, Debugging script and environment),(Debugging a failed test): ...these new tests. The first of theseis fixed by...* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): Newmacro, split out from...(AT_INIT): ...here, so that using -d also generates a run script.Document that -d inhibits top-level logging.* doc/autoconf.texi (testsuite Invocation): Document that -d onlyinhibits top-level logging; debug scripts are created.* lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on emptycheck.* tests/autotest.at (Empty test, Empty check): New test to check it.* lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warningsfrom gcc.2006-04-10 Stepan Kasal <kasal@ucw.cz>* tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touchthe files if a problem appears. Make the empty *.at filesread-only, too. Proposed by Ralf Wildenhues.2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/Makefile.am: Add comment to force updated Makefile.in.* lib/freeze.mk: Fix typo in comment. Unlike the last, whitespace only patch to this file, this patch causes the Makefile.infiles that include freeze.mk to be updated, and thus have anewer time stamp again, which in turn makes a pristine CVScheckout have correct time stamps.* Makefile.maint (cvs-sv): New macro, to be used..(config.guess-url_prefix, config.sub-url_prefix)(texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;point to CVS text checkout of Gnulib files.(copyright-check): Bump current year.(announcement): Do not hard-wire `./announce-gen'.(cvs-update): Propagate failures of `cvs' and `move-if-change'correctly.* Makefile.cfg (executable-update): Use `chmod a+x' instead of`chmod +x'.(wget_files): Update config.guess, config.sub, texinfo.tex by`wget-update', now that their URLs work again.2006-04-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.Problem noted by Paul D. Smith.2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi: Remove unused words from word list.* .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,.x-sc_trailing_space: New files.* doc/standards.texi: Sync from gnulib.* NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark`LIBOBJDIR' as experimental.* lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' failswith a target directory; it's internally implemented as `cp'anyway, but since Autoconf advertises the possibility to usea target directory when LN_S is `ln -s', we need to find out.Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,analyzed by Keith Marshall <keith.marshall@total.com>.* THANKS: Update.2006-04-10 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just outputconfdefs.h as-is. In general, if it has backslash-newline or thelike, then it doesn't work either to sort or to remove emptylines.2006-04-09 Stepan Kasal <kasal@ucw.cz>* tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): Preselect_AM_SUBST_NOTMAKE.2006-04-08 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for anapostrophe within a single-quoted string, as this is the usualtradition and is easier to read than '"'"'. Don't rely on theshell treating "$/" like '$/'. Use a more-consistent indentingstyle for the trap.2006-04-09 Eric Blake <ebb9@byu.net>* tests/autotest.at (Backquote command substitution),(Multiline backquote command substitution): Remove mistakenAT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to beapplied...(Parenthetical command substitution, Multiline parentheticalcommand substitution): here.2006-04-08 Paul Eggert <eggert@cs.ucla.edu>Import macros from gnulib (often changing their name).* NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.The manual mentions Gnulib more prominently.* doc/autoconf.texi (Gnulib): New node.(Pointers): Add Gnulib URL.(Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.(Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to newGnulib section.(Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,suggest a #define rather than a typedef for _Bool, and mentionGnulib rather than trying to substitute stdbool code.(Generic Headers): Add AC_CHECK_HEADERS_ONCE.(Generic Declarations): Add AC_CHECK_DECLS_ONCE.(Particular Structures): Add AC_STRUCT_DIRENT_D_INO,AC_STRUCT_DIRENT_D_TYPE.(Particular Types): Mention stdint.h and inttypes.h as standardheaders too.Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.(C Compiler): Move AC_C_LONG_DOUBLE to ...(Obsolete Macros): here. Under AC_LONG_DOUBLE, mentionAC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.(Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.(Coding Style). Don't mention m4_expand_once.* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement viaAC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.* lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.(AC_CHECK_FUNCS): Use it.(AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.(AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".* lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.* lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.(AC_HEADER_ASSERT): New macro.(AC_HEADER_STDBOOL): Don't assume "#error" works.Catch a bug in IBM AIX xlc compiler version 6.0.0.0.Catch a bug in an HP-UX C compiler.* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.* lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):(AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):(AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):(AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):(_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):New macros.* tests/mktests.sh (ac_exclude_list, au_exclude_list): Do notuse /^foo|bar$/, it does not mean /^(foo|bar)$/.2006-04-08 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wordingof the warning introduced by the 2001-08-28 change.2006-04-08 Stepan Kasal <kasal@ucw.cz>,Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'variables shall be overriden by the cache.* tests/torture.at (AC_ARG_VAR): Test also with a first valuethat contains braces.2006-04-07 Stepan Kasal <kasal@ucw.cz>Revert the patch from 2006-04-01 and only improve_AS_DETECT_BETTER_SHELL:* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do notskip nonexistent directories.(_AS_DETECT_BETTER_SHELL): The optimization is moved here--tryonly shell candidates which exist.(AS_UNAME): No need to give three parameters to _AS_PATH_WALK.* lib/autotest/general.m4 (AT_INIT): No need to give threeparameters to _AS_PATH_WALK.2006-04-07 Stepan Kasal <kasal@ucw.cz>,Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoupdate.in (handle_autoconf_patches): Change the way wedistinguish m4sugar macros.* tests/tools.at (autoupdating with aclocal and m4_include):New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,test case by Noah Misch <noah@cs.caltech.edu>.2006-04-07 Stepan Kasal <kasal@ucw.cz>Revert my change from 2006-03-17, in other words:* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4and DUALCASE=1.(AS_SHELL_SANITIZE): Remove DUALCASE=1.* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say thatit is set.2006-04-07 Eric Blake <ebb9@byu.net>* doc/autoconf.texi (Programming in M4sh): Document thatAS_MKDIR_P exits the script on failure.* lib/autotest/general.m4: Remove redundant AS_ERROR.2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/elisp-comp, config/install-sh, config/mdate-sh,config/missing, config/mkinstalldirs: Sync from Automake.* lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Syncfrom Automake.* doc/make-stds.texi: Sync from gnulib.2006-04-06 Eric Blake <ebb9@byu.net>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cachecheck, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced2006-04-01.2006-04-06 Stepan Kasal <kasal@ucw.cz>,Eric Blake <ebb9@byu.net>,Paul Eggert <eggert@cs.ucla.edu>,Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection ofwhether `set' quotes correctly: redirect stderr of the tested`set', and use a subshell, for Ultrix; use `sed' instead of`grep' for zsh `set' which may write binary output; match onlyat the beginning of a line, to avoid false positives.In order to avoid false positives by unrelated variables withmultiline content, put the dump algorithm in a subshell andunset all variables containing newlines (except some which arespecial to the shell). Warn about cache variables that areunset.2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* config/config.guess, config/config.sub, config/texinfo.tex:Sync from upstream.* tests/mktests.sh: Reword comments.* tests/mktests.sh: Only skip internal macros starting with`_AC_' or `__AC_'. Noted by Stepan Kasal.Update exclusion lists for the test suite to this end:(AC_ARG_VAR): Do test this now.(AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.(AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).(AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).(AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).* doc/autoconf.texi (Shell Substitutions): Mention the MSYSshell issue with double-quoted command substitutions of nativecommands.Reported to MSYS by Mark Cave-Ayland, to Autoconf by KeithMarshall.* Makefile.maint (sc_cast_of_argument_to_free): Do not fail whenno file matches the glob, discard the warning, set `nullglob'.(syntax-check): Likewise.(sc_cast_of_x_alloc_return_value): Likewise.(sc_cast_of_alloca_return_value, sc_error_exit_success)(sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)(m4-check): Likewise.(sc_system_h_headers): Do not print rule on execution.(sc_tight_scope): Do not fail for non-existing `src' directory.(sc_changelog): Skip the Copyright footer.* lib/autoconf/lang.m4: Remove trailing space.* lib/autoconf/status.m4: More replacements to<tab><space> where this makes sense.2006-04-06 Stepan Kasal <kasal@ucw.cz>* tests/Makefile.am (maintainer-check-posix):s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/* lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS toac_config_<foo>s again, sometimes normalized, sometimes not.(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):(AC_CONFIG_COMMANDS): Do not do so here.(_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGSand_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the2005-07-25 rewrite. Noticed by Noah Misch.* lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define_AC_PRESERVE_HELP_ORDER, ...(AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.* lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_onceinside m4_expand_once; it is redundant.* lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken supportfor --help from Cygnus `configure.'2006-04-06 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (C Compiler): Warn about #error. Follows upon a patch proposed by Ralf Wildenhues.2006-04-05 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4: Replace <space>''<tab> with<tab><space> where this makes sense.2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)Noah Misch <noah@cs.caltech.edu>* lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.(AC_ARG_ENABLE, AC_ARG_WITH): Adjust.* doc/autoconf.texi (Help Formatting): New node.* NEWS: Announce AC_PRESERVE_HELP_ORDER.2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,lib/autoconf/specific.m4, lib/autoconf/status.m4,lib/autoconf/types.m4, lib/autotest/general.m4,tests/mktests.sh, tests/torture.at: White space cleanup:remove some SPACE before TAB, or add quoting ('' or @&t@).* NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.* doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.2006-04-05 Eric Blake <ebb9@byu.net>* lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that anempty test suite works.* tests/autotest.at (Empty test suite): Remove xfail.2006-04-05 Noah Misch <noah@cs.caltech.edu>* lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalizedTAGS to ac_config_<foo>s.(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.(AC_CONFIG_COMMANDS): Append NAME to ac_config_commands withoutnormalizing it, consistent it with previous releases.* tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.2006-04-05 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):Use simplified args that Eric Blake originally suggested.2006-04-04 Paul Eggert <eggert@cs.ucla.edu>* tests/mktests.sh: Don't use 'cat'; just read the files directly.Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.Use 'comm' rather than N instances of grep; this also fixes a bugwhereby substrings were incorrectly matched, causing us to notgenerate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.(exclude_list): Exclude empty macros.(ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.Use awk rather than grep -E or egrep, to avoidportability problems with regular expressions containing newlines.(exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):Switch from grep to awk syntax.(ac_exclude_script): Renamed from ac_exclude_egrep.(au_exclude_script): Renamed from au_exclude_egrep.2006-04-04 Noah Misch <noah@cs.caltech.edu>* lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidencesa subdirectory subject to Cygnus `configure'.* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bugreport request when we have no AC_PACKAGE_BUGREPORT.2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* THANKS: Update.* tests/mktests.sh: Update copyright year in the header of thegenerated files.* lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.(AC_C_RESTRICT): Likewise. Furthermore, add a function with atypedef'ed restricted pointer, to catch a compiler bug onHP-UX 11.x, and fix warnings so it passes with -Werror.(_AC_PROG_CC_C99): Likewise.Reported by Albert Chin <china@thewrittenword.com>.* tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.2006-04-03 Noah Misch <noah@cs.caltech.edu>* bin/autoscan.in (subdirs): New global.(scan_file): Prune directories with configure{,.{ac,in,gnu}}.(output): Emit AC_CONFIG_SUBDIRS as needed.* tests/autoscan.at (autoscan): Remove XFAIL.2006-04-03 Noah Misch <noah@cs.caltech.edu>* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.2006-04-03 Eric Blake <ebb9@byu.net>* THANKS: Add myself.2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointerto log, point to testsuite output tree.2006-04-02 Paul Eggert <eggert@cs.ucla.edu>* NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.* doc/autoconf.texi (Function Portability): Mention that C++has trouble with 'exit'.(Guidelines): Test programs shouldn't use 'exit'.* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):Remove; all uses removed.(AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):Return from 'main' instead of calling 'exit'.* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):(_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):(AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):(AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):(AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):(_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.* lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.* tests/compile.at: Likewise.2006-04-02 Pavel Roskin <proski@gnu.org>* doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.2006-04-01 Stepan Kasal <kasal@ucw.cz>Clean up _AC_COMPILER_EXEEXT* macros.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try todetect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just setac_file to the name of the default output file and call_AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and theinitial `rm' of the candidate files...(_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, usethe same list in subsequent `rm' calls, and for the temporaryredefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...(_AC_COMPILER_EXEEXT_TESTS): ... this new macro.(_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (orno longer needed) by libtool. Make it a cache check.(_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviouslycopied here by mistake.(AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not_AC_COMPILER_EXEEXT.* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call_AC_COMPILER_OBJEXT directly.* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.2006-04-01 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.(AS_DIRNAME): Use it.(_AS_PREPARE): Add _AS_DIRNAME_PREPARE.* tests/*.at: Remove the generated ones.2006-04-01 Stepan Kasal <kasal@ucw.cz>* lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.2006-04-01 Eric Blake <ebb9@byu.net>* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistentdirectories, unless optional third argument supplied.(AS_UNAME): Don't optimize PATH walk.* lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/2006-04-01 Eric Blake <ebb9@byu.net>and Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,and fix some typos.2006-04-01 Noah Misch <noah@cs.caltech.edu>* lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name andAutoconf version number despite a zero- or one-argument AC_INIT.* bin/autoreconf.in (parse_args): Multiple -v send --verbose tosubordinate tools.* lib/Autom4te/General.pm (getopt): Make -v and -d incremental.* doc/autoconf.texi (autoreconf Invocation): Document it.* doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.2006-04-01 Eric Blake <ebb9@byu.net>* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.* lib/autotest/general.m4: Be tolerant of existing directory whenrm failed to remove it.2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoupdate.in: Redefine m4_location so that warnings printthe correct lines of the input file by subtracting..(_au__first_line): ..this new definition.* lib/autoconf/general.m4 (AC_COMPILE_CHECK): PreferAC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.Remove stray newline in output.(AC_FOREACH): AU_DEFUN this as literal for autoupdate, and alsoAC_DEFUN this for autoconf, including the obsoletion diagnose.Fixes autoupdating of code where the replacement output containsm4sugar macros.* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.* tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.(au_exclude_list): Add AC_LANG_SAVE.* tests/tools.at: Several new tests for all of this.* doc/autoconf.texi (Obsoleting Macros): Give a hint about thehairy details.The AC_LANG_SAVE issue was reported against Libtool byDalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 byKristian Kvilekval <kris@cs.ucsb.edu>.2006-04-01 Stepan Kasal <kasal@ucw.cz>* bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--switch all of them on and of when necessary. Fixes the bug whenm4sugar macros (e.g., m4_define) were expanded after the firstautomatic update (e.g., after AC_PREREQ or AC_INIT).2006-03-31 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Programming in M4sh): Sharpen the descriptionsof AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.correctly. Problem reported by Eric Blake.(_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported byRalf Wildenhues.2006-03-30 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):Tighten up the basename/dirname wording.2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* Makefile.maint (sc_texi_notab): New check: do not use TABsin texinfo files outside of verbatim environments.(syntax-check-rules): Update.* doc/autoconf.texi (Configuration Headers): Conform to it.2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)* doc/autoconf.texi (autoreconf Invocation): Mention that -I foraclocal cannot be given on the command line.2006-03-29 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.Give an example for AS_DIRNAME instead of referring to Posix..(File System Conventions): Put discussion of // versus / here, andmodernize it a bit.(Limitations of Usual Tools): Add basename. Remove verbiageafter dirname, since it got moved to the above sections.All this was inspired by a patch proposed earlier by Eric Blake.2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote`$0' to protect against spaces.* lib/autotest/general.m4 (AT_INIT): Likewise.* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for`$0', $as_me.2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoscan.in: The value of find_configure_ac should bechecked for existence, so we don't barf over a nonexistingconfigure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoupdate.in: Fix some typos.2006-03-21 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Installation Directory Variables): Fix typo.* lib/autoscan/autoscan.list: Refreshed.2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective Cand Erlang related variables.* lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)(_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))(AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))(AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))(AC_LANG_BOOL_COMPILE_TRY(Objective C))(AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))(AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)(_AC_PROG_OBJC_G): New macros.(_AC_ARG_VAR_CPPFLAGS): Adjusted.* doc/autoconf.texi (Objective C Compiler): New node.(Preset Output Variables): Document OBJCFLAGS.(Language Choice): Document `Objective C' language.(Fortran Compiler): Fix typo.* NEWS: Updated.Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.2006-03-20 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Default Includes): Fix typos/AC_HEADERS_STDC/AC_HEADER_STDC/(Limitations of Usual Tools): s/unwriteable/unwritable/* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):Fix typos in the comments.2006-03-17 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):Factor out the warning to...(_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.* tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.* tests/semantics.at (AC_C_BIGENDIAN): Likewise.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not specialcase `ac_delim' when writing the sed script.* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,moved DUALCASE=1 ...(AS_SHELL_SANITIZE): ... here.* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not saythat it is set.* lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter ofAC_SUBST.(_AC_PATH_PROG): Store the result to VARIABLE.(AC_PATH_PROG): No need to set VARIABLE again.* tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:the first one is usual AT_CHECK_MACRO test, the second one checksthat the same works when cross-compiling.* tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):(AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prependthe directory `/usr/bin/posix' in the shell search, to preferthe Posix shell not only in subsequent spawns as with `$BIN_SH'on Tru64.* doc/autoconf.texi (contents): To fix texi2html output, hide`@setcontentsaftertitlepage' for HTML.(Writing Autoconf Macros): Likewise, insert space after `@c'.(Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to`@,{c}'.2006-03-16 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATHsanitizing...(AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanationwhy IFS is restored so late; thank you, Ralf, for reminding us.2006-03-15 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Pretty Help Strings): No need to use cachedvariables in the examples.2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>* doc/autoconf.texi (several sections): Cleaned up documentation formacros in erlang.m4.2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/autotest.at (AT_NO_CMDSUBST): New macro to determinefailure condition for `$(cmd)' style command substitutions.(Parenthetical command substition, Multiline parentheticalcommand substition): Use it.* doc/autoconf.texi (Special Shell Variables): Missing word.Reported by Keith Marshall <keith.marshall@total.com>.* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to resetIFS even in case of empty `$PATH'.2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize`expr' away if there is nothing to do.< --keywords >: Simplify and robustify argument handling.Revert erroneous comment from 2005-08-23. Extend to allowkeyword negation with `!'.Update help message. Remove broken code to prevent runningtests multiple times.* doc/autoconf.texi (testsuite Invocation) < --keywords >:Update and fix the documentation accordingly.* tests/autotest.at (Keywords): Renamed to..(Keywords and ranges): .. this. Extended to make sure negatedkeywords, keywords taken from AT_SETUP arguments, and numerictest ranges work, and that matching is case-insensitive.2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef toallow to pass unnamed structs even in C++.(AC_CHECK_SIZEOF): Likewise.Also fix quoting error in `AC_MSG_FAILURE' arguments.* tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOFstruct): New tests for unnamed structs, each both native andcross-compiling.* lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defininga structure inside a cast, for C++ conformance.* lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.Also fix quoting error in `AC_MSG_FAILURE' arguments.* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead oftrying to execute the command `no'.* lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, notm4_define, so that the requirements of `AC_INCLUDES_DEFAULT' areexpanded outside.* doc/autoconf.texi (autoconf Invocation): Fix typos in traceexample. Do not emphasize `$%', it is hardly new and special.Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.* doc/autoconf.texi (Limitations of Usual Tools): DocumentOpenBSD and traditional `grep' failure to handle multiplepatterns separated by newlines.2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>* doc/autoconf.texi (several sections): Add documentation for macrosin erlang.m4.2006-03-10 Eric Blake <ebb9@byu.net>* doc/autoconf.texi (Obsolete Macros): Fix wording ofAC_TRY_LINK_FUNC.2006-03-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Use @acronym more consistently for acronymslike BSD, GPL, LGPL. Fix minor English typos.(AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):Mention that these macros are becoming obsolete.(AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):Use more modern terminology for which standard is what.(AC_PROG_CC): Mention gcc first, and remove obsolete references to egcsand to ansi2knr.(AC_PROG_CXX): Likewise.(AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):Remove obsolete discussion about how to port to K&R.(Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather thanthe obsolescent AC_HEADER_STDC.(AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programscan't rely on it.2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):Remove stdin redirection from /dev/null to allow pipe to work.2006-03-08 Paul Eggert <eggert@cs.ucla.edu>* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):Require that /lib/cpp include stdio.h correctly. Solaris 10'sdoesn't. Problem reported by D'Arcy A MacIsaac and diagnosed byRalf Wildenhues.2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit forHP-UX sed is 99 commands, not 100.(_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an_AC_SUBST_FILES fragment. Separate `{' and `r' commands bynewline for portability.* tests/torture.at (Torturing config.status): Also test 100AC_SUBST_FILE invocations. Fix test to actually verify theAC_CONFIG_FILES output.* doc/autoconf.texi (Limitations of Usual Tools): Document HP-UXcommand, label, and read-file `r' limits. Unify HP-UX spelling.* tests/Makefile.am (edit, $(wrappers)): Do not use `$<' innon-suffix rule.($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit ofnon-GNU make.(autoconfdir, $(AUTOCONF_FILES)): Likewise.* tests/mktests.sh: Small shell portability fixes.2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Caching Results): Fix the examples to use arecommended quoting style and discard unwanted output.2006-03-05 Paul Eggert <eggert@cs.ucla.edu>* lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.(AT_INIT): Use it, to remove arbitrary limit of 999,999 testcases, and to work around Tru64 expr bug.2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64expr bug that turns the result of a regex match into a number ifpossible.2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work aroundHPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documentedin section `Specific Compiler Characteristics'.2006-03-04 Eric Blake <ebb9@byu.net>* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unusedvariable warning.2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correctorder of variable initialization, so even the Solaris 2.6 shellcan create a config header correctly. Fixes lots of test suitefailures.2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Text processing Macros): New node todocument the m4sugar macros m4_re_escape, m4_tolower,m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.2006-02-22 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:XrmInitialize (0) -> XrmInitialize ().Reported by Toshio Kuratomi.2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than onetest, as in `if tests; then cmd1; elif ...; else ...; fi'.* doc/autoconf.texi (Programming in M4sh): Adjusted.* tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sureboth macros are defun'ed so that required macros are evaluatedoutside.* doc/autoconf.texi (Prerequisite Macros): State more preciselywhere a required macro will be expanded.(Coding Style): Another reason not to use `m4_define'.2006-02-21 Eric Blake <ebb9@byu.net>* lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Looping constructs): New node, todocument m4_for, m4_foreach, m4_foreach_w, and mentionobsolete AC_FOREACH.(Obsolete Macros): Document AC_FOREACH.* lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.(m4_for): Fix to never loop (almost) endlessly, work correctlywith arithmetic expressions in arguments, a step of zero ornon-integer multiple of the interval, and avoid integeroverflow.* tests/m4sugar.at: New test for m4_for, m4_foreach, andm4_foreach_w.2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>Add basic support for Erlang, both for configuring Erlang/OTPtools, and Erlang as a conf test language.* lib/autoconf/erlang.m4: New file.* lib/autoconf/autoconf.m4: Add erlang.m4.* lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.* lib/freeze.mk (autoconf_m4f_dependencies): Likewise.* NEWS: Add short description of new macros.* THANKS: Add Romain Lenglet.2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh asnative /bin/sh may not set KSH_VERSION (seen on OpenBSD).2006-02-15 Eric Blake <ebb9@byu.net>* lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variablewarning.2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (AS_CASE): New macro.(_AS_CASE): Private helper macro.* tests/m4sh.at: Basic tests for AS_IF and AS_CASE.* doc/autoconf.texi (Programming in M4sh): Document AS_CASE.Fix syntax of AS_IF description(Prerequisite Macros): Mention AS_IF and AS_CASE as workaroundsfor the AC_REQUIRE mess.* NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, andAS_SHELL_SANITIZE.2006-02-14 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Minor style cleanup.Be consistent about spaces after commas.Insert [] where empty args look a bit funny.Fix some "i.e." and "e.g." usages.Try to avoid "X/Y" usages.Don't be pedantic about "ISO C99"; just say C99.Prefer GNU style for spaces in front of parens.(Function Portability): Comment about C89 versus C99signed integer division.(Particular Headers): Use current gnulib style for direntincludes.2006-02-14 Stepan Kasal <kasal@ucw.cz>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoupdate.in (handle_autoconf_macros): Fix updating ofmacros without parameters.* lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.* doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.* tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS`$#' bug.(autoupdate): Updated to match AU_ALIAS fix.2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>and Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Programming in M4sh): DocumentAS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..(AS_BOURNE_COMPATIBLE): ..this.(_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.2006-02-12 Paul Eggert <eggert@cs.ucla.edu>* doc/install.texi (Defining Variables): Tighten up theCONFIG_SHELL wording.2006-02-12 Paul Eggert <eggert@cs.ucla.edu>and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the outputof (set -o) rather than testing whether (set -o posix) succeeds,to work around a bug in the AIX 5.3 shell. Problem originallyreportd by Howard Chu for libtool.2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>* doc/autoconf.texi (Running the Compiler, Running the Linker):Changes the macro arguments in summaries to match thedescriptions.2006-02-04 Stepan Kasal <kasal@ucw.cz>* doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'hint as ``a workaround for a bug.''2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* bin/autoreconf.in: New option `--no-recursive'.Improve wording for subpackages a bit.* doc/autoconf.texi (autoreconf Invocation): Updated.* NEWS: Updated.* doc/install.texi (Defining Variables): Put `CONFIG_SHELL'in environment of `configure', not the command line.Reported by Howard Chu <hyc@highlandsun.com>.2006-01-25 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Builtins): Document theproblem with "trap -".2006-01-23 Steven G. Johnson <stevenj@fftw.org>* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):(_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in checkmessages to differentiate Fortran and Fortran 77 tests.(AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead ofAC_LANG_ASSERT, to allow use in mixed-language projects.2006-01-23 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "definedFOO" to "defined (FOO)".* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.* lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.* lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.* tests/tools.at (ifnames): Likewise.2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.* lib/Autom4te/General.pm (mktmpdir): Likewise.(END): Improve error message a bit.Reported by Bruce Korb <bkorb@gnu.org>.2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore`-LIST:' and `-LNO:', for PathScale 2.3 compilers.2006-01-11 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.hrequires sys/stream.h. Reported by Oliver Kiddle.2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Stepan Kasal <kasal@ucw.cz>* lib/autotest/general.m4 (AT_INIT): When ensuring writabilitybefore the removals of test dirs, use `find' to avoid modificationof symlinked directories.2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):Don't ignore the macro arguments.2006-01-11 David Thompson <dthompsn@vizsolutions.com>* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'declaration that works for MSVC.2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):Add `*.map' and `.inf' for Green Hills compiler.Reported by Stefan Seefeld <stefan@codesourcery.com>.* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphscorrectly: pad with spaces after FIRST_PREFIX if necessary,and compute string lenghts with `m4_qlen' instead of `m4_len'.* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.* tests/m4sh.at (AS_HELP_STRING): Test extended.* NEWS: Updated.Reported by numerous people, numerous times.2006-01-05 Paul Eggert <eggert@cs.ucla.edu>* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in* bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:* lib/autoconf/general.m4, lib/autoconf/status.m4:* lib/autotest/general.m4, tests/local.at:Update copyright year to 2006.* Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ forsed substitutions.* doc/autoconf.texi (Installation Directory Variables): Use s|a|b|for file names, again. Reported by Noah Misch.(Coding Style): Explain that s|a|b| is preferred for file names.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.(AC_OUTPUT_MAKE_DEFS): Likewise.* lib/autotest/general.m4 (AT_INIT): Likewise.* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.* tests/local.at (AT_CHECK_AUTOM4TE): Likewise.Fix Posix-conformance bugs re use of { command in sed scripts,and improve the sed-related documentation a bit.* doc/autoconf.texi (Installation Directory Variables): Useour own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"rather than "sed" when talking about Sed in general.(Particular Programs): Likewise.(Coding Style): y is like s with respect to / and ,.(Limitations of Usual Tools): Document the weird restrictionsthat Posix has about { }. Use better quoting.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):Rewrite to conform to Posix rules about { } in sed scripts.* lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.* tests/foreign.at (Libtool): Likewise.* tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):Use our own style advice re 's,a,b,' versus 's|a|b|'.2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4: Fix typo.* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignoresingly- or doubly-quoted arguments to `-cmdline', `-ignore',`-def', for the benefit of Portland `pgf90 -Mipa'.Reported by Christopher Hulbert <cchgroupmail@gmail.com>.2006-01-04 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Update copyright (and other) dates to 2006.* doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the defaultshell from zsh to bash.2005-12-31 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;":" caused problems on OS/2-EMX. Suggested by Andrew Belov.2005-12-29 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Shell Substitutions): Warn about unbalancedparentheses in $(...). Problem reported by Eric Blake.2005-12-12 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools):Mention which characters can be escaped with \ in portable regularexpressions used in grep, sed, expr. Mention the leading ^ problemwith expr. Clean up some confusing wording. Mention whichgrep options are portable.2005-12-09 Stepan Kasal <kasal@ucw.cz>* tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.2005-12-02 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Builtins): Fix typos in previouspatch, noted by Ralf Wildenhues.2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -oposix' unconditionally, for pdksh in `native sh' emulation.2005-12-01 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Shellology): Document eval $? problemwith ash.(Limitations of Builtins): Likewise.2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): PassCONFIG_SHELL in the environment of the configure rerun.* doc/autoconf.texi (Here-Documents, config.status Invocation):Suggest passing CONFIG_SHELL absolute, and in the environmentrather than as option.2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):Fix quoting of output line (triggered for many AC_SUBST_FILEs).Fix macro quoting. Fix output for n * 98 substituted variables.2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize`tmp' to avoid file removal race.2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initializeac_clean_files and LIBOBJS.2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):Factor functionality to..(_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only`AC_SUBST($1)' in the public version.(AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)(AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* andac_pt_* variables.2005-11-01 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3filesystems.2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* NEWS: Move AH_HEADER mention to right place.2005-10-27 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.2005-10-25 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not onlyconftst2.$ac_objext.* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.2005-10-24 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead ofconftest.o, to see whether the compiler really obeys; rm the objectfile before and after the test and register it with ac_clean_files.* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.2005-10-21 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify thecode so that the most common case requires less forks.2005-10-20 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Shell Substitutions}: Document that ${10} isnot portable; thanks to Paul Eggert and Alexandre.* NEWS: Fix an old typo.2005-10-20 Jim Meyering <jim@meyering.net>* doc/autoconf.texi: Typo: s/feature/features/ in ``the features ofthe latter'', in two places.2005-10-19 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->AC_LANG_PROGRAM, fixing a typo. Don't give details aboutthe inner workings of AC_LANG_FUNC_LINK_TRY.* lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to matchAC_LANG_FUNC_LINK_TRY. This involves returning the value returnedby the function rather than ignoring it.(AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simplycomparing its address. Intel's interprocedural optimization wasoutsmarting the old heuristic. Problem reported byMikulas Patocka.2005-10-19 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.2005-10-05 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sugar.m4 (_m4_map): New macro.(m4_map, m4_map_sep): Use it. Handle the empty list correctly.2005-10-04 Stepan Kasal <kasal@ucw.cz>* lib/autotest/general.m4 (AT_INIT): Really make the subtree writablebefore removing it (chmod -R u+rwx); there are three instances of this.2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.* lib/autotest/general.m4 (AT_INIT): If the test dir already exists,make its content writable before removing it. Remove an errorneouscomment from the end, where the logs of the failed tests are copiedto the main log file.2005-09-27 Stepan Kasal <kasal@ucw.cz>* tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,in case the computer is too quick. Double quote the configure.acsnippets.* tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to preventproblems if the testsuite were running too fast.2005-09-18 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.hand XrmInitialize rather than X11/Intrinsic.h and XtMalloc(which belong to Xt, not X itself). See Debian bug 327655.* NEWS: Mention this.2005-09-07 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.2005-09-06 Paul Eggert <eggert@cs.ucla.edu>* config/move-if-change: Don't output "$2 is unchanged";suggested by Ben Elliston. Handle weird characters correctly.2005-09-06 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSEcalls, so that the final expansion of this macro is shorter.Create the conftest.$ac_ext outside the `for' loop, to speed the run.Do not use `break' in the argument to AC_LINK_IFELSE, it would skipthe cleanup there. Use AS_VAR_* macros, to be more general.* tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.* lib/autoconf/general.m4: Use AS_IF where appropriate.* lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.2005-09-01 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Configuration Headers): Add an index entryfor AH_HEADER.2005-08-26 Pavel Roskin <proski@gnu.org>* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variableXMKMF to locate xmkmf. Make XMKMF precious. Export CC whenrunning xmkmf.2005-08-26 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):The previous patch didn't work, so try a better one.2005-08-26 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quotingin the example. Reported by Bruno Haible.<AS_TR_SH>: Likewise. Also modify the example to be more convincing:"if $undefined_var;" succeeds with my shell.* lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;but change the m4_divert_text to m4_divert_once.2005-08-25 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):Work around bug in Solaris /usr/xpg4/bin/awk.The bug is present in at least Solaris 8 through 10.2005-08-24 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejectingsome evil values and relying on the fact that $* concatenates theparameters by the first character from IFS.2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When thefirst header appears, define AH_HEADER.* doc/autoconf.texi (Configuration Headers): Document AH_HEADER.Update limitations about when to call AC_CONFIG_HEADERS.(Configuration Commands): Document that AC_CONFIG_COMMANDS_PREparameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explainthat AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not``Configuration Actions''; fix their index entries.* lib/autotest/general.m4 (AT_INIT): Process multiple keywordsoptions correctly. Process N-M as M-N if M is smaller than N.Process ranges correctly so that N-N will run only N.Sort and uniquify the tests that will be run. If there is morethan one test, reinsert the banners for the tests.* tests/autotest.at (Keywords): Unmark XFAIL.2005-08-23 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter listbefore passing the macro name to AH_TEMPLATE.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.statusnow opens log after option processing; in particular, --versionand --help do not touch config.log.* Makefile.maint: Revert the change from 2005-08-12.2005-08-22 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor outcommon code to...(_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Using Autotest, testsuite Scripts)(Autotest Logs, Writing testsuite.at, testsuite Invocation):Language cleanup.* doc/autoconf.texi (Defining Symbols, Changed Results):Prepend to LIBS, not append, in examples.2005-08-16 Stepan Kasal <kasal@ucw.cz>When building in place, set srcdir="."; suggested by Tim Van Holder.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognizebuild in place, we need ac_pwd, and thus have to AC_REQUIRE ...(_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.* lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."does not mean "no --srcdir option".2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* tests/autoscan.at (autoscan): New file.* tests/suite.at: Use it.* tests/Makefile.am (TESTSUITE_HAND_AT): Add it.Reported against Libtool by Gideon Go <gideon.go@gmail.com>.* tests/autotest.at (Keywords): Test keywords combinations.2005-08-12 Stepan Kasal <kasal@ucw.cz>* Makefile.maint (GZIP_ENV): When checking the help text of gzip,add "2>&1"; gzip 1.2.4 prints help on stderr.2005-07-27 Stepan Kasal <kasal@ucw.cz>* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reasonwas pushdef'ed twice while popped only once. Push it only once.(_AT_CHECK): Cosmetic changes to the "case $at_status" command.2005-07-26 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is nowprefixed by mere "===", not "configure: === ".2005-07-25 Paul Eggert <eggert@cs.ucla.edu>* Makefile.maint: Update from Bison.* lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to"<tab>" in comment, so that the point is understandable.2005-07-25 Stepan Kasal <kasal@ucw.cz>Rewrite substantial part of lib/autoconf/status.m4.The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,and CONFIG_COMMANDS are not processed in four separate loops.Instead, there is one main loop. This alows that the common codeis expanded only once, thus config.status (and configure) is smaller.The registration mechnism in AC_CONFIG_FILES and cousins also changed;the AC_LIST_FILES and cousins macros are no longer used.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,_AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...(_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,_AC_OUTPUT_COMMAND): ..., respectively. These macros no longercontain the initialization, nor the for loop, nor the associatedcommands; all these go to ...(_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from_AC_OUTPUT_CONFIG_STATUS.(_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.(_AC_OUTPUT_FILE): The creation of the sed script ...(AC_OUTPUT): ... and the setup of ac_vpsub goes to ...(_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from_AC_OUTPUT_MAIN_LOOP.(_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,_AC_CONFIG_COMMANDS): Use ...(_AC_CONFIG_FOOS): ... this new macro, which uses these ...(_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.(_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,_AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.(_AC_CONFIG_DEPENDENCY): Update, it uses these ...(_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):... new macros.(_AC_CONFIG_UNIQUE): Update.(AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):Replaced by this ...(_AC_LIST_TAGS): ... new common macro.(AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,AC_LIST_COMMAND_COMMANDS): Replaced by this ...(_AC_LIST_TAG_COMMANDS): ... new common macro.(_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;this didn't belong to the `config commands' section.(_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.(AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belongto the `config commands' section either.(AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.(_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.... and many changes to the comments nearby.* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,set ac_subdirs_all='_AC_LIST_SUBDIRS'.* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.(#define header templates): The comment at the top of the generatedheader now includes the name(s) of the source file(s).Several unrelated small changes:* lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the firstparameter to AC_DIAGNOSE.* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.(_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messageswith autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.(AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistentwith AU::AC_OUTPUT.(AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility codein AC_OUTPUT doesn't double-quote it either.* tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes theparameters.2005-07-10 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document whichversions of Portland Group compiler produce single- and double-quoted-cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.2005-07-07 Paul Eggert <eggert@cs.ucla.edu>* tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.This is a corrected version of yesterday's patch.2005-07-07 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the fullpath, too; insert a "===" to emphasize the line.* lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Renameac_cv_build_alias to ac_build_alias.(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; thischange eliminates it. Problem reported by Alexandre Duret-Lutz.* lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...(AC_ARG_VAR): ... here.(_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias andtarget_alias.Keep a list of all precious variables and process them with one simplefor loop, instead of expanding all commands, or, OTOH, complicatedprocessing of output of "set".* lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate thevariable names in new macro...(_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.(_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGSa loop to assign all ac_env_* and ac_cv_env_* variables.(_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divertto INIT_PREPARE.(_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assignits value to shell variable ac_precious_vars and call_AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call_AC_ARG_VAR_VALIDATE.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)and the AC_SUBSTs ...(AC_INIT): ... here.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title ofthe ac_subst_files section in config.log.* tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.2005-07-06 Paul Eggert <eggert@cs.ucla.edu>* NEWS: New macro AC_C_TYPEOF.* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.* tests/c.at (C keywords): Test AC_C_TYPEOF.Fix problems reported by Nicolas Joly.* tests/base.at (Input/Output): Ignore 'loading site script' chatter.* tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.They are generated by the Tru64 v5.1B shell.2005-07-05 Stepan Kasal <kasal@ucw.cz>Fix my changes from 2005-07-01; reported by Noah Misch.* lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix thedescription, the macro now accepts only a single tag.(_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/Fix cases when the varsions of Autoconf and Autotest don't match.Reported by Noah Misch.* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set alsoat_top_builddir, for compatibility with older autotest.* lib/autotest/general.m4 (AT_INIT): If at_top_build_prefixis not set, use at_top_builddir, for compatibility with olderversions of autoconf.2005-07-04 Paul Eggert <eggert@cs.ucla.edu>* bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.Problem reported by Patrick Welche.2005-07-03 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, insed substitution command, so that we allow | in program prefixesand program suffixes. (& is a problem anyway; we're not fixingthat here.)* lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, forconfigure_input, top_builddir, srcdir, etc.* lib/autotest/general.m4 (AT_INIT): Likewise, forPATH_SEPARATOR in AUTOTEST_PATH.2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite thefor loop over config.site files using `set', to allowdirectory names containing IFS characters.2005-07-01 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests fordirectories with weird names. Apparently some people like livingon the edge. However, improve the test that "pwd" actually doesreport a name for the working directory.* NEWS: Remove the claim that we test for funny chars in dir names.2005-07-01 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it'sreplaced ...* lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.* lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):Now accept a single tag, not whitespace separated list.(AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.2005-06-30 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Configuration Headers): Change the explanationabout #include <config.h>.(Generic Functions): Mention the Gnulib project.(Limitations of Usual Tools) <sed>: Another minor rephrasing.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a heredocument to output the default config_* lists to config.status.Don't recognize option --file, if the functionality is not there.Likewise for --header; moreover, recognize --he and --h as shortcutsfor --help in that case.* lib/autoconf/status.m4: Fix the order of the "sections", so that itmatches the order of execution. No code changed.2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also forsingle-quoted -cmdline argument in Portland Group compiler.Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.2005-06-29 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (File Descriptors): ksh doesn't pass open filedescriptors to child processes; reported by Norman Gray.2005-06-29 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.* lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be tracedinstead of AC_SUBST; proposed by Alexandre Duret-Lutz.(AC_SUBST): Call it.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE forthe directory specific variables; but don't call it for configure_input.2005-06-28 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recentaddition.2005-06-23 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Don't worry about spaces in bindir etc. Only srcdir and workingdirectory have inherent problems with special characters like spaces,due to limitations in Make syntax. Problem reported by AlexandreDuret-Lutz.* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.Also, fix Tru64 porting problem with shell patterns,reported by Ralf Wildenhues.2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Subdirectories): Fix markup typos.2005-06-23 Paul Eggert <eggert@cs.ucla.edu>* tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.Fix some more shell quoting problems. Prompted by a bug reportfrom Justace Clutter.* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalidvariable into diagnostic. Make the diagnostic an error, not a warning,because we really don't support spaces and suchlike in dir names.(_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.Don't worry about backslashes in srcdir; it can't happen now.(_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.Simplify ac_optarg handling.(_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.2005-06-22 Stepan Kasal <kasal@ucw.cz>Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.* configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.* tests/atlocal.in: Propagate $EGREP and $SED.* tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.(AT_CONFIG_CMP): Use sed instead of grep plumbing.* doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mentionthat '\|' is not allowed in BREs; recommend using newline separatedlist of patterns instead of multiple -e options.* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.2005-06-21 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document thatb, t, r, w commands require single space, while : cannot have any.(Special Shell Variables): Fix sed code this in the example.* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.* lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.* lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,expand to the empty list. Don't use two pairs of m4_changequote,it's not necessary.2005-06-20 Derek Price <derek@ximbiot.com>* lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.2005-06-17 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.* doc/autoconf.texi:Don't mention Solaris versions so much, if aproblem is common to all extant versions of Solaris. Say "SunOS4" instead of "SunOS" for SunOS 4.(awk): Mention more of the limitations of traditional Awk.(cat): Don't talk about cat -v.2005-06-16 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.(AS_VERSION_COMPARE): New macro. The API is taken from CVS,but the implementation is entirely different and is designedto be compatible with glibc strverscmp.* tests/m4sh.at (AS_VERSION_COMPARE): New test.* doc/autoconf.texi (Limitations of Usual Tools): Mention expr bugon Mac OS X 10.4 reported by Peter O'Gorman in:http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):Use shell builtins rather than 'expr', to work around expr bug.2005-06-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: "filesystem" -> "file system"."behaviour" -> "behavior".Warn about \(...\)* in Solaris sed (written by Ralf Menzel).* lib/autoconf/general.m4: Omit blank after ":" sed command,as per POSIX.* lib/m4sugar/m4sh.m4: Likewise.* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problemwith Solaris sed. Fix by Ralf Menzel and Stepan Kasal.* man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.(.x.1): Ignore the time stamp in the .TH line when deciding whetherto update the man page. That way, we don't have to check in newman pages every month.* lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 containsquotes and backslashes. Patch from Derek Price.2005-06-10 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &AS_TR_SH.2005-06-08 Paul Eggert <eggert@cs.ucla.edu>* lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff-u, since it outputs chatter if the input files are the same.Problem reported by Ralf Menzel.2005-06-08 Derek Price <derek@ximbiot.com>* lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather thanrenaming them since they are about to be redefined anyhow.2005-06-08 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Redefined M4 Macros): Add index entries for mostredefined M4 macros to this node. Document m4_include & m4_sinclude.Move m4_undefine to alphabetical order.2005-06-07 Paul Eggert <eggert@cs.ucla.edu>* README: Recommend GNU M4 1.4.3 or later.* doc/autoconf.texi (Introduction): Likewise.Reword to avoid some formatting glitches.Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.Clarify explanation of HP compiler bug.Redo example output tp match current CVS snapshot.Use @example.org in email addresses when the examplesmight get inadvertently cut-and-pasted into user code.Remove example of autom4te usage that doesn't seem to work now.Use modern AC_INIT (except when the example is meant to beshown with Autoconf 2.13).Update ksh info for Solaris 9 and later.KB -> kB.Modernize description of Automake versions a bit.Don't claim a future version of Autoconf is near.* doc/install.texi: Reword to avoid some formatting glitches.2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi: Add [] to examples, so that the manualfollows its own advice about quoting better.Reword to avoid some formatting glitches.* doc/installt.exi: Reword to avoid some formatting glitches.* doc/autoconf.texi (Limitations of Builtins) <case>: MentionTru64 ksh pattern matching bug. Reported against Libtool byAlbert Chin <libtool@mlists.thewrittenword.com> andNicolas Joly <njoly@pasteur.fr>.2005-06-06 Stepan Kasal <kasal@ucw.cz>m4_cdr of one-member list was [[]] (one-member list containing anempty string) instead of [] (an empty list. Callers were skewed tomatch this misbehaviour. As a consequence of this:- m4_foreach([x], [], [foo]) expanded to `foo', while- the expansion of m4_foreach([x], [[]], [foo]) was empty.This bug has been fixed:* lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,expand to an empty string; print error msg if called withoutan argument list.(m4_foreach, m4_map, m4_map_sep): Don't expect the previousmisbehaviour; handle [] and [[]] correctly.2005-06-06 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sedscripts created and the loop applying them, use _AC_SED_CMD_LIMIT.2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)* doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannotswallow records with more than 99 fields.* lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' toparse the long line.2005-06-04 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannotswallow literals longer than 399. Reported by Ralf Wildenhues.* lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,to workaround this limitation.2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in additionto gfortran, and make these the first two compiler nameschecked (following the general autoconf preference for gcc).2005-06-03 Stepan Kasal <kasal@ucw.cz>* tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).(DISTCLEANFILES): Remove $(check_SCRIPTS).(testsuite): Make sure autotest.m4f is up-to-date before using it.2005-06-02 Paul Eggert <eggert@cs.ucla.edu>* lib/autotest/general.m4 (AT_INIT): Don't create a regularexpression of unbounded size when processing the --listoption. This runs afoul of a limit of 399 bytes per regularexpression on AIX. Problem reported by Ralf Wildenhues.2005-06-01 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.* doc/autoconf.texi (Particular Headers): Reword examplefor multiline stdbool replacement.(Setting Output Variables): Reword text a bit. Don'tgive all the details about |#_!!_#|.Reword description of line replacement.2005-05-31 Dan Manthey <dan_manthey@partech.com>* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables maynow contain newlines, and substituted files must be referenced ona line alone; the sed scripts to substitute them are now verydifferent.(_AC_SED_CMD_LIMIT): Added; single place to store limit on how manycommands can be put in a sed script portably.* doc/autoconf.texi (Setting Output Variables): Document abovechanges. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exapleuse of multiline substitution.* tests/torture.at: No longer expect substitution of newline to fail.2005-05-27 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.From Ralf Menzel (trivial change).2005-05-25 Paul Eggert <eggert@cs.ucla.edu>* tests/local.at: Don't attempt to check for negated characterclasses in shell scripts. The test was too brittle.2005-05-25 Stepan Kasal <kasal@ucw.cz>* bin/autoconf.as: Don't use "shift 2"; it's not portable enough.* doc/autoconf.texi (Limitations of Builtins): Document thislimitation.2005-05-24 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor outcommon code; used in many places in the tree.(AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.(_AS_ECHO_UNQUOTED): Move the macro lower; no code change.* lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two errormessages when ac_unique_file is not found.(AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.(AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echocommands, for consistency with AC_MSG_ERROR and such.* bin/autoconf.as: Make more use of "shift 2" in option processing.* bin/Makefile.am: Merge the two rules for creating scripts.2005-05-23 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Makeobsolete; it was never documented.(AC_CACHE_CHECK): Use AC_MSG_RESULT instead.2005-05-20 Stepan Kasal <kasal@ucw.cz>* NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.* lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...(ac_top_builddir): ... this ...(ac_top_build_prefix): ... to this; the old name is also kept, forbackward compatibility.(ac_top_builddir_sub): New variable, without the trailing slash,always nonempty.(_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/* doc/autoconf.texi (Configuration Actions): Renameac_top_builddir to ac_top_build_prefix.* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Renameat_top_builddir to at_top_build_prefix.* lib/autotest/general.m4 (AT_INIT): Likewise.2005-05-20 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the initof confdefs.h .2005-05-17 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the secondargument to m4_foreach. I guess it was necessary in the past,but I think it's a no-op now.2005-05-17 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive``cat <<_ACEOF'' commands to one.(_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''* lib/autoconf/status.m4: On various places, use expr instead of``echo|sed.''(_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):(_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.* lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers froma range.* tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search forthe wrong patterns between ``case'' and ``esac.'' The previouscode had false positives.2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},as on 2005-05-02.* doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:Mention LIBOBJDIR.2005-05-13 Paul Eggert <eggert@cs.ucla.edu>* AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg,Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,config/config.guess, config/config.sub, config/elisp-comp,config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,lib/autoconf/fortran.m4, lib/autoconf/functions.m4,lib/autoconf/general.m4, lib/autoconf/headers.m4,lib/autoconf/lang.m4, lib/autoconf/libs.m4,lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,lib/autoconf/specific.m4, lib/autoconf/status.m4,lib/autoconf/types.m4, lib/autoscan/Makefile.am,lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,lib/autotest/Makefile.am, lib/autotest/autotest.m4,lib/autotest/general.m4, lib/emacs/Makefile.am,lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,tests/compile.at, tests/foreign.at, tests/fortran.at,tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,tests/semantics.at, tests/suite.at, tests/tools.at,tests/torture.at, tests/wrapper.as:Update FSF postal mail address.2005-05-13 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the brokencheck.* lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't getenough arguments, similarly as in m4_bpatsubsts.2005-05-12 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computationof absolute paths.2005-05-11 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the checkfor absolute directory names in one loop.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handleabbreviations of --version and --debug.2005-05-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Autoconf Language): Be more precise aboutquoting rules. Problems noted by Stepan Kasal.Also, throughout this document, be more careful about white space."blank", "white space", and "space" all have different meaningsand we should be careful to say what we mean.2005-05-05 Paul Eggert <eggert@cs.ucla.edu>Fix C++ related problems reported by Werner Lemberg.* doc/autoconf.texi (C++ Compiler): Mention .cpp extension.* lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, toavoid problems with C++ and throw.* tests/compile.at: .cpp, not .cc.* tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Generic Functions): Typos.2005-05-02 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend eachobject named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, asset by latest automake.2005-05-01 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"outputs 0 on GNU/Linux these days.2005-04-29 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Autoconf Language): Add more descriptionabout quoting heuristics.(Limitations of Builtins): Describe "set -" problems.2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,not newline.* doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTEDby AC_DEFINE; it was a mistake.From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.2005-04-25 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.2005-04-22 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (External Software): Quadrigraphs are notprocessed correctly in AS_HELP_STRING; avoid this in the examples.* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase thecomment and reduce m4_default([foo], []) to [foo].(m4_strip): Update the explanation.2005-04-19 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):Remove core.conftest.* too; it's generated by Tru64 5.1.Problem reported by Jennis Pruett.* lib/autoconf/functions.m4(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):Don't bother to remove core files; AC_RUN_IFELSE should do thatfor you.2005-04-19 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.Report from Horst Wente.2005-04-15 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo inthe comment.2005-04-14 Gregorio Guidi <greg_g@gentoo.org>* doc/autoconf.texi (External Software, Package Options): Addexamples showing how to implement --with-* and --enable-* options.2005-04-13 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.acas well as configure.in. Problem reported by Gregorio Guidi.2005-04-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Functions): Use gnulib's currentpattern for alloca snippet.2005-04-04 Stepan Kasal <kasal@ucw.cz>* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.2005-04-01 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Generic Programs): Fix a typo.2005-04-01 Paul Eggert <eggert@cs.ucla.edu>* lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"fails if %s isn't supported. Problem reported by Ralf Wildenhues.2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):Merge `-z option' as well for the benefit of Solaris link flags. Passwhole-archive (-zallextract, -zdefaultextract) options in the hope ofunique libraries, for the Sun Fortran 95 8.0 compiler. Bug reportedagainst Libtool by Yury Puhalsky <pooh@cryptopro.ru>.2005-03-22 Paul Eggert <eggert@cs.ucla.edu>* NEWS: The configure command now warns you if you attempt to usea directory whose name contains a special character like space,newline, or "\".* doc/autoconf.texi (Installation Directory Variables): Allow"," in file names. Do not use \@; it's not a portable regexp.* bin/Makefile.am (edit): Likewise.* lib/Makefile.am (edit): Likewise.* tests/Makefile.am (edit): Likewise.* tests/semantics.at: Likewise.* tests/torture.at: Likewise.* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.* doc/autoconf.texi (File System Conventions): Warn aboutunportable file names.* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.(AC_INIT): Use it.(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagateac_pwd, and quote srcdir.* lib/autotest/general.m4 (AT_INIT): Quote file name args.* doc/autoconf.texi: Fix some systematic formatting problems.".)" needs a following @: if not at the end of a sentence, andsimilarly for "!)". "etc." should be preceded by a comma."n-th" -> "@var{n}th". pdksh is still buggy, so update its date.2005-03-22 Bruno Haible <bruno@clisp.org>* doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR'sargument is often called 'build-aux'.2005-03-07 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Quotation Rule Of Thumb): Mention that themacro AC_TRY_LINK is obsolete.(Installation Directory Variables): Change `AC_OUTPUT_FILES' to`AC_CONFIG_FILES'.2005-02-24 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip`/usr/ucb/cc'; use `cl.exe' to distinguish the MS compilerfrom a Common Lisp's `cl'.(AC_PROG_CXX): Behave according to the documentation: don'tsearch for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;make the variable CCC precious; use `cl.exe', not `cl'.2005-02-23 Paul Eggert <eggert@cs.ucla.edu>Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from/dev/null, as "configure" shouldn't read stdin, and this insulatesus from problems (e.g., when testing for "cl"). Also, do thisredirection before invoking "hostname" or "uname", and keep theoriginal input stream available via...(AS_ORIGINAL_STDIN_FD): ... this new macro.(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don'tbother with "</dev/null" since it's now done at the top of'configure'.* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.* doc/autoconf.texi (File Descriptor Macros): New section.(Printing Messages): Mention it.* tests/base.at (Input/Output): New test.2005-02-23 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C tonewline if neither \c nor -n work, as that would output twonewlines. Prefer -n to \c. Reported by Stepan Kasal.2005-02-12 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.This causes that any required macros inside will get before the if.* doc/autoconf.texi (autom4te.cache): A typo.2005-02-12 Paul Eggert <eggert@cs.ucla.edu>Undo previous change, except keep the change tolib/autoconf/programs.m4 that replaced grep with shellpattern-matching. This is because net-snmp configure reads stdin.Reported by Noah Misch.2005-02-11 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdinfrom /dev/null, as "configure" shouldn't read stdin, and thisinsulates us from problems (e.g., when testing for "cl").Suggested by Alexandre Duret-Lutz. Also, do this redirectionbefore invoking "hostname" or "uname".(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,_AC_LINK_IFELSE): Undo previous change, as it's no longer needed.* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with"</dev/null" since it's now done at the top of 'configure'.* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.Also, replace grep with shell pattern-matching, to save a process.2005-02-10 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,_AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt toavoid thinking that Allegro Common Lisp's "cl" command is a C++compiler.2005-02-09 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Document thatgrep -q isn't portable. Improve grep -s explanation.Problem reported by Dan Manthey.2005-02-08 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Special Shell Variables): ClarifyPATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.2005-02-07 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Use @acronym for DJGPP.Fix some @code's that should have been @env's, and vice versa.Sort environment variable names.Mention that shells no longer inherit IFS.Don't recommend PATH_SEPARATOR=';' so strongly.Mention that $RANDOM might expand to the empty string."symlink" and "soft link" -> "symbolic link".Improve mktemp description (reported by Bruno Haible).2005-02-05 Paul Eggert <eggert@cs.ucla.edu>* tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.* tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):Likewise.* tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):Likewise.2005-02-04 Paul Eggert <eggert@cs.ucla.edu>* NEWS: Mention AT_COPYRIGHT.* tests/local.at (AT_CMP): Use diff directly on input files ratherthan copying them.* lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in/usr/xpg4/bin since that sed dumps core (at least on Solaris 8).2005-02-04 Noah Misch <noah@cs.caltech.edu>and Paul Eggert <eggert@cs.ucla.edu>* tests/autotest.at (Empty test suite): New test.* tests/torture.at (Substitute and define special characters)(Substitute a 2000-byte string, Define to a 2000-byte string)(Substitute a newline, Define a newline): New tests.2005-02-04 Noah Misch <noah@cs.caltech.edu>* lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.* tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.(AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.* tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.(Standard regular expressions): New test.(m4_warn, m4_require: circular dependencies, m4_text_wrap): Stripexcess test name quoting.* tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): PassCPPFLAGS to `configure' instead of setting it in `configure'.* lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, notany `hostinfo' in $PATH, since hostinfo.exe is a popular file nameon some platforms.* lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.* tests/local.at (AT_CMP): New macro.(AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.(AC_SAVE_STATE): Move environment grep...(AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.(AT_CONFIG_CMP): New macro.(AT_CHECK_MACRO): Run `configure' twice with cache and compare results.* tests/c.at (Extensions): Do not exit early.* tests/atlocal.in: Inherit $GREP.* lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.(_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.(AC_COPYRIGHT): Factor header comment portion out and move into...* lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.* lib/autotest/general.at (AT_COPYRIGHT): New macro.(AT_INIT): Add Autotest copyright notice. Display copyright notices in--version output.* tests/local.at: Add Autoconf test suite copyright notice.* doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.2005-02-04 Bruno Haible <bruno@clisp.org>and Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.2005-02-03 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.Try not to generated lines of unlimited length, as POSIX places a2047-byte limit on line length of portable text files.* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):Use newline as a separator, not space.* lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, notspace.2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* toas_func_*. Add test to check whether positional parametersare restored after function return.2005-02-02 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Special Shell Variables): Mention _,BIN_SH, DUALCASE. Say that variables other than "status" are safeif they contain a lower-case letter. The DUALCASE problem wasreported by Ralf Wildenhues.* bin/autoconf.as: Don't exit with status 0 after write failurewith --help or --version.* lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Usual Tools):Unicos 9 sed limitations.* lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77to get the option-enhanced interface on older Crays. Try ftn forFortran 95 (newer Crays).2005-02-01 Paul Eggert <eggert@cs.ucla.edu>* man/Makefile.am (.x.1): Go back to the simple solution, but takecare to echo the commands, so the user knows what's going on.Modified from a suggestion by Stepan Kasal.* doc/autoconf.texi (autoreconf Invocation): Mention autopoint,with a cross reference. Derived from a suggestion by Bruce Korb.2005-01-31 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (config.status Invocation): Warn aboutdiscrepancy between CONFIG_SHELL and shell used to invoke 'configure'.* doc/install.texi (Defining Variables): Likewise.Based on a proposed patch by Ralf Wildenhues.* man/Makefile.am (.x.1): Make sure the required generated filesare up to date. Problem and original solution proposed by Stepan Kasal.$(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),implicit-man-prerequisites): New rules, used by the above.* doc/make-stds.texi, doc/standards.texi: Sync from gnulib.* config/config.guess, config/config.sub, config/install-sh: Likewise.* config/missing, config/texinfo.tex: Likewise.2005-01-29 Stepan Kasal <kasal@ucw.cz>Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).Update the long comment explaining it.m4_require no longer writes an ``is required by'' line to theexecution stack. It contains only one bit of non-redundantinformation: that the macro was required, not called. And eventhis bit is useless in most situations: have you ever met a macrowhich both calls and requires the same macro?* lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...(_m4_defun_pro_outer): ... only via this macro, for the outermostmacro.(_m4_defun_epi, _m4_defun_epi_outer): Complementarily.(m4_expansion_stack_pop): Remove the misplaced comment.(m4_require): Don't put the ``is required by'' line to theexecution stack; slightly improve the out-of-a-defun error message.(_m4_divert_grow): New macro, counter for the temporary diversions.(_m4_require_call): Use it.* tests/m4sugar.at (m4_require): Expect output without the``is required by'' messages.2005-01-28 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Recommend Xrather than x for expr.* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells whenthis is safe.* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.* lib/autotest/general.m4 (AT_INIT): Likewise.* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.* tests/mktests.sh: Likewise.2005-01-27 Akim Demaille <akim@epita.fr>Have autoheader honor --force.* doc/make-stds.texi, doc/standards.texi: Update from masters.* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm* lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Updatefrom masters, so that FileUtils.pm's update_file provide --forcesupport.* bin/autoheader.in: Pass $force to update_file so thatconfig.h.in is always recreated when --force.2005-01-24 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Introduction): Update Peter Simons' address.2005-01-21 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Builtins): Clarify that"if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.2005-01-20 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.Warn about newline stripping in `` and $(). Update Solarisversion to 9.(Limitations of Builtins): Use expr "X...", not expr "x...", asX insulates us from future changes to Posix.(Limitations of Usual Tools): For AS_DIRNAME, warn about newlinestripping.2005-01-19 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Defining Symbols): Delete the false comment thatyou cannot use AC_DEFINE to define macros containing `[' or `]'.2005-01-13 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Document bugin Solaris 8 join. Problem reported by Tomohiro Suzuki onbug-tar mailing list.2005-01-05 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.2005-01-05 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval andulongval to be static, to avoid unwanted GCC warning. Problemreported by Michael Jennings via Daniel Reed; see<https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Updatedatadir, infodir, and mandir. Adjust argument parsing code.(_AC_INIT_HELP): Update help text.* doc/autoconf.texi (Installation Directory Variables): Documentnew variables.2005-01-04 Noah Misch <noah@cs.caltech.edu>* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program doesnot seem to work, assume it does set $(MAKE).* doc/autoconf.texi (AC_PROG_MAKE_SET): Update.2005-01-03 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.2005-01-03 Stepan Kasal <kasal@ucw.cz>A cleanup of the diversion support in m4sugar.* lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.(_m4_divert_n_stack): New macro; the expansion is<newline>m4_divert_stack, if m4_divert_stack is defined, and voidotherwise.(m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.(m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the wordstored in _m4_divert_diversion or _m4_divert_dump.(m4_divert_pop): When the parameter is given, compare the symbolicname with the last diversion pushed on the stack. Previously, thecurrent diversion was compared with the numeric value of thediversion given as the parameter.(m4_require): If the macro hasn't been expanded yet, call ...(_m4_require_call): this new macro.2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):Workarounds for documented `case' limitations.2005-01-03 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Warn aboutsed 'command1;command2'. Problem reported by Ralf Wildenhues.2005-01-02 Paul Eggert <eggert@cs.ucla.edu>* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.Patch from Roger Leigh (with some minor changes) as follows:* NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.Resurrect AC_PROG_CC_STDC.* doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,AC_PROG_CC_C89, AC_PROG_CC_C99.(Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.* lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,AC_PROG_CC_C99): New macros.(AC_PROG_CC_STDC): Use them.(_AC_PROG_CC_STDC): Remove.(AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.* THANKS: Add Roger Leigh.2004-12-30 Noah Misch <noah@cs.caltech.edu>* bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKEsignals that the package uses Automake; a `Makefile.am' is typical butnot essential. Reported by Magnus Therning.* tests/torture.at (autoreconf.): New banner.(autoreconf and non-AC configure): Rename to `Non-AutoconfAC_CONFIG_SUBDIRS'.(autoreconf an empty directory): Rename to `Empty directory'.(Unusual Automake input files): New test.2004-12-30 Noah Misch <noah@cs.caltech.edu>* lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.(AT_SETUP): Clear AT_capture_files.(_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.(AT_KEYWORDS): Fix comment typo.* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):If the variable to set is already set, set ac_cv_path_$1to the preset value so caller can assume ac_cv_path_$1is available. (trivial change)2004-12-27 Noah Misch <noah@cs.caltech.edu>* BUGS (Minor Problems): Warn about makefile limitations.* Makefile.am: Find and update `INSTALL' in $(srcdir).* man/Makefile.am: Find and update manual pages in $(srcdir).2004-12-24 Eric Blake <ebb9@byu.net>* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidateshells in subshell, to avoid noise from ash. (trivial change)2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>* doc/autoconf.texi (Limitations of Builtins) <case>: Mentionproblems with SunOS ksh and backslash escaping, Bourne shells andclosing brackets (both within character classes). Bug reportedagainst Libtool by Alexander Kurz <alexander.kurz@qsc.de>.<read>: New entry. Mention non-availability of -r.2004-12-21 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, toavoid cluttering displayed messages. Rather, prepend srcdir whereAT_LINE is used for log files.2004-12-21 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/status.m4: Quote ``$tmp'' in many places.* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps areno longer part of the macro, quote the occurrence of ``$tmp''.* doc/autoconf.texi (Forbidden Patterns): Typo.2004-12-21 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. areseparated from the test title by forcing a white space.2004-12-21 Akim Demaille <akim@epita.fr>Enable Emacs navigation within testsuite.log files.* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs touse the compilation mode.(AT_LINE): Point to the srcdir.2004-12-19 Noah Misch <noah@cs.caltech.edu>* tests/Makefile.am (installcheck-local): Use $(bindir).(check-local, installcheck-local): Pass TESTSUITEFLAGS.* doc/autoconf.texi (Making testsuite Scripts): Recommend the sameMakefile.am scheme Autoconf now uses.2004-12-18 Noah Misch <noah@cs.caltech.edu>* lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.2004-12-18 Noah Misch <noah@cs.caltech.edu>* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.(_AT_CHECK): Use it.* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.(AS_ESCAPE): Fix comment.* tests/autotest.at: Adjust section banner comments.(AT_CHECK_AT): Accept STATUS and STDERR.(AT_CHECK_AT_TEST): Likewise.(Invalid brace-enclosed parameter expansion)(Multiline command from M4 expansion)(Double-M4-quoted command): New tests.2004-12-17 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.2004-12-17 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 tom4_pattern_allow.Suggested by Alexandre Duret-Lutz.* doc/autoconf.texi (Setting Output Variables): Catch up.2004-12-17 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.2004-12-17 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,remove the comment which said we cannot.2004-12-17 Stepan Kasal <kasal@ucw.cz>Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,Reini Urban and Paul Eggert for reporting the dependencies.* lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.* doc/autoconf.texi (AC_HEADER_RESOLV): Document it.(AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.2004-12-17 Stepan Kasal <kasal@ucw.cz>* bin/autoscan.in: Open autoscan.log only after ``parse_args'';so that eg. ``autoscan --help'' doesn't truncate it.2004-12-15 Nicolas Joly <njoly@pasteur.fr>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Removegenerated conftest files.2004-12-13 Noah Misch <noah@cs.caltech.edu>* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shelltracing on commands with possibly-escaped newlines.* doc/autoconf.texi (Writing testsuite.at): Delete documentation of thediscontinued behavior and its implications.* tests/autotest.at (BS-newline in command, ^BS-newline in command)(BSx641-newline in command, BS-BS-newline in command)(BSx640-newline in command, Newline-CODE-BS-newline in command)(Single-quote-BS-newline in command)(Single-quote-newline-BS-newline in command): New tests.2004-12-13 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -xon platforms where it works.(_AS_TEST_PREPARE): Test for ``test -x''.(_AS_BROKEN_TEST_PREPARE): Nuke.2004-12-13 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;give only 4-letter prefix to AS_TMPDIR, comment fixed.* lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don'tcreate the temporary directory.(_AC_FEATURE_CHECK_LENGTH): Work in current directory.2004-12-12 Kelley Cook <kcook@gcc.gnu.org>* bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.(trivial change)2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.2004-12-11 Noah Misch <noah@cs.caltech.edu>* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell patternto avoid using a negated character class. Reported by Nicolas Joly.* tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.2004-12-10 Paul Eggert <eggert@cs.ucla.edu>* man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):Don't depend on .x file explicitly, since "make" does that for us.Suggested by Stepan Kasal.* bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.Add *.tmp.(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,ifnames): Factor common code. And they said it couldn't be done!2004-12-09 Paul Eggert <eggert@cs.ucla.edu>* bin/.cvsignore: Add autoconf.in.* tests/.cvsignore: Add wrapper.in.* lib/autotest/general.m4: Escape '$' in case pattern.2004-12-09 Noah Misch <noah@cs.caltech.edu>* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.* tests/autotest.at: New file.* tests/suite.at: Include it.* tests/Makefile.am: Distribute it.* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enableshell tracing on a command that could contain multiple lines.* doc/autoconf.text: Document that fact and its implications.* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.* tests/autotest.at (Multiline backquote command substitution,Multiline parameter expansion, Literal multiline command,Multiline parenthetical command substitution): Remove XFAIL.2004-12-09 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIBand suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.2004-12-08 Noah Misch <noah@cs.caltech.edu>* configure.ac (test suite): Cease to generate wrapper scripts.* configure: Regenerate.* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.(m4f_dependencies): Adjust accordingly.* tests/Makefile.am (Wrappers): Generate wrapper scripts.(wrapper.in): Generate it in the build directory.(MAINTAINERCLEANFILES): Delete wrapper.in.(CLEANFILES): Add wrapper.in.* tests/wrapper.as: Move AS_INIT to very top, preserving copyright inthe output. Replace each $as_me with a @wrap_program@.* tests/wrapper.in: Delete it; we always build it.* bin/Makefile.am (autoconf.in): Generate it in the build directory.(EXTRA_DIST): Remove autoconf.in.(CLEANFILES): Add autoconf.in.(autoconf): Find autoconf.in in the build directory.* bin/autoconf.in: Delete it; we always build it.2004-12-08 Noah Misch <noah@cs.caltech.edu>* lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. JoinPATH members so as to not prepend an empty element. Move a comment.* Makefile.am (SUBDIRS): Build in `tests' last.* tests/Makefile.am (installcheck-local): Add check-local dependencies.2004-12-08 Paul Eggert <eggert@cs.ucla.edu>* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandlesthe spaces inside $ls_command. Problem reported by Loulou Pouchet in<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.Don't use "set - x"; plain "set x" is enough, and simplifies debugging.2004-12-07 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previouspatch: extra "-l"s.2004-12-06 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc beforelooking elsewhere for getmntent. Problem reported by Mark D. Baushke.* doc/autoconf.texi (Particular Functions): Mention new behavior.2004-12-03 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factorout the common code to ...(_AC_DEFINE_Q): ... a new macro; simplify the condition about thevalue of the #define--default to 1, iff the macro was calledwith exactly one parameter.2004-12-02 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use"char c = '\200';" rather than "char c = 0x80;" as thelatter doesn't conform to the strict C standard due tooverflow on signed char hosts.* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89to -qlanglvl=ansi. We don't want to disable extensions.2004-11-29 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.(Using Autotest, testsuite Scripts, Writing testsuite.at):Reword slightly to avoid some English-language problems notedby Ralf Wildenhues in:http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html2004-11-29 Stepan Kasal <kasal@ucw.cz>* NEWS: Add ^L above each release.2004-11-28 Paul Eggert <eggert@cs.ucla.edu>Fix documentation problems reported by Russ Boylan in<http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,along with some nearby cruft.* doc/autoconf.texi (Libtool): Libtool can be used withoutAutomake (not without Autoconf).(Introduction): Mention lists.gnu.org.* BUGS: Don't mention bugs.gnu.org.Remove mention of ancient libtool compatibility problem.* NEWS: Mention that bugs.gnu.org is kaput.* README: Likewise. Mention where mailing list archives can be found.2004-11-28 Stepan Kasal <kasal@ucw.cz>* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.2004-11-26 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Pretty Help Strings): Go back tosingle-quoting assignments to cache variables.2004-11-23 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Pretty Help Strings): Fix quoting issueswith the examples; fix the bug in MY_ARG_WITH example reportedby Alexandre Duret-Lutz.* lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enableexpansion of $1 in the comment emitted to configure.2004-11-23 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Pretty Help Strings): Fix typoin my editing of the previous patch. Problem reportedby Alexandre Duret-Lutz.2004-11-22 Stepan Kasal <kasal@ucw.cz>* doc/autoconf.texi (Autoconf Language): Explain that``descriptions'' may not be double quotes.(Quotation Rule Of Thumb): Likewise.(Pretty Help Strings): Likewise; remove the wrong comment;simplify the examples and improve their quoting.2004-11-13 Stepan Kasal <kasal@ucw.cz>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't checkthe $1_found variable, don't test whether the file is executable;Both things are checked ...(_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replacesthe former ``test -f''.* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.2004-11-10 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;use cp -R instead.2004-11-10 Derek R. Price <derek@ximbiot.com>* doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'limitations. Reorder paragraphs for clarity.2004-10-11 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Standardize spelling of "Posix" (as opposedto "POSIX" or "@acronym{POSIX}"), and similarly for "DOSvariants", "Unix", and some related minor wording fixups.(Shellology, Special Shell Variables): Document that the Zshproblem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanksto Alexandre Duret-Lutz for this info.2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (One-Shot Macros): New node.2004-09-28 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Function Portability): Fix misdescriptionof putenv. Problem reported by Michael Wardle.2004-09-22 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (auindex): New macro.(AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.Problem reported by Stepan Kasal.2004-09-05 Paul Eggert <eggert@cs.ucla.edu>Fix problems reported by Andreas Buening in:http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/shin test makefile.* lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null isreadable; it's not true in OS/2-emx.2004-09-04 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns"/usr/include", clear ac_x_includes instead of leaving it as "no"(trivial change). Problem and patch reported by Andrew Church in:http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html2004-09-03 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTEDthree args in examples. Problem reported by Frederik Fouvry in:http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.htmlAlso, fix some minor spacing and punctuation bugs.2004-09-02 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Builtins): Swap "cd" and"case" to restore ordering.Reported by Stepan Kasal.2004-08-26 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Minor typos and stylos.2004-08-20 Paul Eggert <eggert@cs.ucla.edu>* configure.ac (AC_INIT): Bump to 2.59c.2004-08-20 Paul Eggert <eggert@cs.ucla.edu>Version 2.59b.* README: Add advice about m4 1.4.2.* Makefile.cfg (wget_files): Remove config.guess, config.sub,texinfo.tex for now (done by hand now).* Makefile.maint (wget_files, cvs_files):Remove ansi2knr.c; nobody uses it.(ansi2knr.c-url_prefix): Remove.(cvs-update): Fix test for failure. I don't know why it everworked...* doc/autoconf.texi: Update URLs, some of which went stale.Use @uref rather than @href.* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configurehandle "--" as per POSIX. Suggested by Paul Pogonyshev.* config/config.guess, config/config.sub, config/elisp-comp,config/install-sh, config/mkinstalldirs, config/texinfo.tex,doc/fdl.texi, doc/standards.texi: Sync with master copy.* NEWS, TODO, configure.ac, bin/autoscan.in,bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,doc/install.texi, lib/Autom4te/Configure_ac.pm,lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,lib/autoconf/programs.m4, lib/autoconf/status.m4,lib/autotest/general.m4, lib/m4sugar/m4sh.m4,lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,tests/tools.at, tests/torture.at:Use "file name" rather than "filename" or "path",to be consistent with the terminology of the GNU coding standards.2004-08-19 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work withHP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in<http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.More fixes to support spaces in the name of the build directory.This isn't a complete fix but it's an improvement.* bin/autoconf.as (autom4te_options): New var.Use it instead of appending to AUTOM4TE, so that we can allowspaces in the build directory's absolute name.* bin/autoheader.in ($autoconf): Allow spaces in file names.* lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,AT_CHECK_NOESCAPE): Likewise.* tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,main program): Likewise.2004-08-18 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.From Ralf Corsepius in:http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html2004-08-12 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Function Portability): Document isinf andand isnan. From a suggestion by Kevin Ryde.* lib/Autom4te/General.pm (END): Return correct exit status evenif unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.2004-08-09 Paul Eggert <eggert@cs.ucla.edu>* tests/torture.at (Deep Package): Use configure.in, not configure.ac,for compatibility with Automake 1.4. Reported by J C Fitzgerald in<http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.(AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.* doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.* lib/autom4te.in (Automake-preselections): PreselectAC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): PreselectAC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 willtrace them.2004-07-29 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, forTru64.* doc/autoconf.texi (Shellology): Mention BIN_SH.Document problem with "`""`" in pdksh POSIX mode.2004-07-27 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"with pdksh, too. Problem reported by Patrick Welche viaGary V. Vaughan.* doc/autoconf.texi (Shellology): Note that set -o posix isuseful for pkdsh, too.2004-06-24 Paul Eggert <eggert@cs.ucla.edu>* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require_AS_UNSET_PREPARE, so that we can use $as_unset directly.Don't fail if ENV or BASH_ENV is readonly.(AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,etc. are read only. Problem reported by Ludovic Courtes.2004-06-23 Noah Misch <noah@cs.caltech.edu>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell iszsh, disable GLOB_SUBST to avoid backslash handling problems.(trivial change)2004-06-04 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (File System Conventions): Warn aboutnames like "aux". Problem reported by Eric Blake.* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use divisionby zero instead of array size, so that we can use any arithmeticconstant expression (instead of requiring an integer constantexpression). This allows us to test expressions like DBL_MAX <LDBL_MAX, which didn't conform to the C standard using the oldmethod.(AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,now that we can do floating-point tests at compile time.2004-06-02 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAXand LDBL_EPSILON, as the resulting expression isn't aninteger constant expression and violates the C standard.Problem reported by Nelson H. F. Beebe. Also, checkfor "L" suffix, and check that long double doesn't haveworse range or precision than double, that mixed-modearithmetic doesn't generate a diagnostic, that doubleconstants fit in long double.2004-06-03 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Add notes on free(NULL),malloc(0) and realloc(NULL,size).* doc/autoconf.texi (Shell Substitutions): Spelling error reported byBob Proulx.2004-05-31 Paul Eggert <eggert@cs.ucla.edu>* lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bugin HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reportedby Jim Meyering.2004-05-26 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMANDcan be rewritten using if-then-else. Suggested by Bruno Haible.2004-05-25 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (testsuite Scripts): Fix typo.Problem reported by Stepan Kasal.2004-05-24 Paul Eggert <eggert@cs.ucla.edu>* tests/Makefile.am (autoconfdir): Fix to match comment (trivialchange). Patch reported by Ralf Wildenhues in<http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.* lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that afunction F exists if the compiler and linker let you compile anexpression like (F != 0). Recent versions of GCC optimize awaythe reference to F in that case, since every function address mustbe nonzero, so the link succeeds even if F does not exist.Problem reported by Manu in<http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.* doc/autoconf.texi (Systemology): Standardize on the spelling of"Unix". Many uses changed.(Limitations of Builtins): Explain better why the ! command isn'tportable.2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): PreselectLT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.2004-05-19 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Add strerror_r, crossreferencing AC_FUNC_STRERROR_R.* doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,note pessimistic assumption when cross compiling.2004-05-16 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Limitations of Make): Note that BSD make(until 2004) invoked subcommands with sh -e, contra POSIX.Reported by Kevin Ryde.2004-05-10 Eric Sunshine <sunshine@sunshineco.com>* programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to_AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e." $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as`test -f " /usr/bin/grep"', which _always_ failed.(AC_PROG_SED): Ditto bogus PATH fix.* autoconf.texi (AC_PROG_GREP): Properly document that this macrorequires that grep correctly supports _multiple_ `-e' options, ratherthan stating only that grep should accept `-e'.2004-05-03 Paul Eggert <eggert@cs.ucla.edu>Port to C99, which requires that 'exit' be declared.* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULTto ensure that stdlib.h is included.* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,_AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.* lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>when using 'exit' in a test; C99 requires that 'exit' be declared.2004-05-02 Paul Eggert <eggert@cs.ucla.edu>* doc/autoconf.texi (Particular Programs): AC_PROG_GREPnow prefers 'grep' implementations that accept -e.(Limitations of Usual Tools): Describe problems of traditionalegrep and fgrep with long input lines, and of traditional grepwith -e.* lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.(_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.All callers changed. Append /usr/xpg4/bin to the PATH, forSolaris.(_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't botherthe user with complaints about multiple -e options.* tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.Define it with AC_PROG_GREP.* configure.ac (AC_PROG_GREP): Add.* lib/freeze.mk (GREP): New macro.2004-05-02 Eric Sunshine <sunshine@sunshineco.com>* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL asa possible candidate only after all others fail, rather thanconsulting it first. This improves backward compatibility bybetter reflecting the way shell selection occurred in previousversions of Autoconf, and should help to avoid triggering latentproblems in other packages, such as the one in Automake where zshis not handled robustly:http://mail.gnu.org/archive/html/automake/2004-04/msg00095.htmlAlthough it is not Autoconf's responsibility to work aroundproblems in Automake, it nevertheless makes sense to avoidintroducing unnecessary incompatibilites.2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,Gary V. Vaughan <gary@gnu.org>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guesshow deeply nested we are when a suitable tool is found, set theac_path_TOOL_found flag.(_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeplynested we are in this macro. Break out of all 3 nested loops ifac_path_TOOL_found is set.2004-04-21 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break outof the _AS_PATH_WALK loop too if GNU flavor is found.2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Make): Update documentationfor `$<'. New entry `Long lines', based on a report from SimonJosefsson. Augment the documentation for SHELL = @SHELL@ with aparagraph about DJGPP, based on a mail from Richard Dawe.2004-04-20 Paul Eggert <eggert@twinsun.com>* tests/c.at (C keywords): Don't assume that GCC supports"restrict" and "inline", as sufficiently-old GCC versions do not(also, GCC configured to be in pedantic C89 mode does not).Problem reported by Sumit Pandya in:http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html* lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don'tconsider -g to work if it generates warnings when plain compilesdon't. Problem reported by Braden McDaniel in:http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html* doc/autoconf.texi (Slashes): New section, to document a problemreported by Jim Meyering in:http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potentiallinker output files before linking, to work around IRIX 6 linker bug.Problem reported by Rainer Orth in:http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html2004-04-20 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make thebest tool so far counter rely on the tool path variable name toavoid checks for one tool being affected by the results of runningthe length check on a previous tool.* lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additionalmatch expression argument, as different greps have differentregular expression flavours.(AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars asliterals.(AC_PROG_EGREP): Pass 'EGREP$'.(AC_PROG_GREP): Pass 'GREP$'.2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>* lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variableis `ac_cv_path_GREP', not `oc_cv_path_GREP'.2004-03-29 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Particular Headers, Particular Types, GenericTypes, Specific Compiler Characteristics, System Services,Obsolete Macros): Use 'long int', 'short int', 'unsigned int'etc. consistently instead of 'long', 'short', 'unsigned' etc.* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.* lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):Likewise.* lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,AC_TYPE_OFF_T): Likewise.* tests/semantics.at (AC_CHECK_TYPES: backward compatibility):Likewise.* tests/foreign.at (Libtool): Create an empty aclocal.m4, topacify libtool 1.5.2. Fix quoting problems in sed command.2004-03-28 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONEnow defines HAVE_DECL_TZNAME if it is declared, whenHAVE_STRUCT_TM_TM_ZONE is not defined.* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.Do not assume atoi. Rely on HAVE_DECL_TZNAME when testingfor HAVE_TZNAME.2004-03-28 Steven G. Johnson <stevenj@fftw.org>* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Correctedsuperfluous backslashing of quotes (") in sed expressions;thanks to Paul Eggert.2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of IntelFortran compiler is ifort, also added pghpf; thanks to NelsonH. F. Beebe for the bug report.2004-03-26 Steven G. Johnson <stevenj@fftw.org>* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix forquoted -cmdline argument in Portland Group compiler (bugreported by Jeffrey J. Barteet).2004-03-25 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to(Run Time): ... here, where it's now mentioned.2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (autom4te Invocation): Language Autoconfinherits from language Autoconf-without-aclocal-m4.(Customizing autom4te): Adjust example; the cache must now bedisabled for language Autoconf-without-aclocal-m4.2004-03-16 Paolo Bonzini <bonzini@gnu.org>Nathanael Nerode <neroden@twcny.rr.com>* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,AC_CHECK_TOOLS): Warn if a cross-tool is found withouta prefix.(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,AC_CHECK_TARGET_TOOLS): New macros.* doc/autoconf.texi (Generic Programs): Document(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,AC_CHECK_TARGET_TOOLS, and warn for future changesin the behavior of AC_PATH_TOOL, AC_CHECK_TOOL andAC_CHECK_TOOLS.(Specifying Names): Document the reason for these futurebehavioral changes.* tests/mktests.sh: Do not generate tests for thenew macros.* NEWS: Document these changes.* doc/autoconf.texi: Avoid macros with unbraced arguments,they make TeX hang up.2004-03-15 Paul Eggert <eggert@bogus.example.com>* NEWS: New macro AC_CHECK_ALIGNOF.* doc/autoconf.texi (Generic Compiler Characteristics): Document it.* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather thanint; avoid "a `$1'" since this isn't grammatical if $1 begins with avowel.(AC_CHECK_ALIGNOF): New macro.* tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.* tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar tothose for sizeof.2004-03-03 Paul Eggert <eggert@twinsun.com>* bin/Makefile.am (edit): Don't use $< in a context wherePOSIX doesn't require support for it. Use $@.in instead.Problem reported by Anthony N. Frasso in<http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.* bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.2004-02-23 Gary V. Vaughan <gary@gnu.org>* bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INITfrom the next generation of Libtool.* lib/autom4te.in (Autoreconf-preselections): Ditto.2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'is not always thread-safe. Report from Nathanael Nerode.2004-02-18 Paul Eggert <eggert@twinsun.com>Fix a dependencies problem, stemming from a Autoconf 2.59 buildproblem on QNX reported by Stephen Rasku in<http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.* bin/Makefile.am ($(srcdir)/autoconf.in): Depend on$(m4sh_m4f_dependencies); this removes a FIXME.* tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.(MAINTAINERCLEANFILES): Split into pieces,one per related section. Add $(srcdir)/wrapper.in.2004-02-09 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Setting Output Variables): Emphasize thatAC_SUBST provides no portable way to escape literal newlines.* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore allflags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.Darwin uses -lcrt2.o and there's little point to cataloging allthe system variants. Partial fix reported by Andreas Waechter in:http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.htmlfor bug reported by Nelson H. F. Beebe in:http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html2004-02-04 Paolo Bonzini <bonzini@gnu.org>* doc/autoconf.texi (AU_DEFUN): Fix English,suggested by Paul Eggert.* lib/autoconf/autoupdate.m4: Correct reference toacobsolete.m4, suggested by Alexandre Duret-Lutz.2004-02-02 Paolo Bonzini <bonzini@gnu.org>* bin/autoupdate.in: Define __file__ so that warningsrefer to the correct file.* doc/autoconf.texi (AU_DEFUN): Describe more correctlythe behavior of the third argument.* lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe morecorrectly the behavior of the third argument. Documentwhat the three macros that AU_DEFUN defines do. Fixwarning message when the third argument includes $0(reported by Alexandre Duret-Lutz).2004-01-30 Paolo Bonzini <bonzini@gnu.org>Eric Sunshine <sunshine@sunshineco.com>Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.(AS_INIT): Output shell initialization there. Removed optionalparameter. Expand _AS_SHELL_FN_SPY.(AS_INIT_WITH_SHELL_FN): Removed.(_AS_SHELL_FN_SPY): New macro.(AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): Newmacros.(AS_SHELL_SANITIZE): Remove loop to find better shelland documentation for the parameter.(_AS_DETECT_BETTER_SHELL): Move it here.(_AS_SHELL_FN_WORK): Remove shell invocation, reformat.(_AS_RUN): Move it here, support testing with eval.(AS_REQUIRE_SHELL_FN): Require shell functions whenit is used.(_AS_LINENO_WORKS): Put around braces, we do nottrigger the bash bug anymore.* lib/autotest/general.m4: Document M4SH-SANITIZE, do notuse AS_INIT_WITH_SHELL_FN.* bin/autoconf.in, tests/wrapper.in: Regenerated.2004-01-30 Paolo Bonzini <bonzini@gnu.org>* bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.* doc/autoconf.texi: Don't say that the third parameteris broken.* lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.(AU_DEFUN): Honor the third parameter, create autoupdatemacros with AU_DEFINE.* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,AC_DIR_HEADER): Use AU_DEFUN's third parameter.* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.* lib/autoconf/programs.m4 (AC_RSH): Likewise.* lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,AC_XENIX_DIR): Likewise.* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.* lib/autoconf/status.m4: Remove FIXME.* tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, checkthat the macro is not present anymore in the updatedconfigure.ac.* tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderrof autoupdate.2004-01-28 Paul Eggert <eggert@twinsun.com>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 tocopyright years.* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh2003 (except 1997) to the list of copyright years. This undoesthe 2003-05-22 change, which removed the older years from the list.* lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.2004-01-27 Gary V. Vaughan <gary@gnu.org>Albert Chin-A-Young <china@thewrittenword.com>* lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for agrep or ggrep program in PATH that accepts as long lines aspossible.* lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core ofAC_PROG_GREP.(AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best availableegrep and fgrep respectively if $GREP -E/-F don't work.(_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of_AC_PROG_GREP, and AC_PROG_SED.(_AC_FEATURE_CHECK_LENGTH): New helper macro for finding thelongest input length accepted by a command.(AC_PROG_SED): Use it.* doc/autoconf.texi (Particular Programs): Document the changes.* NEWS: Updated.2004-01-27 Paul Eggert <eggert@twinsun.com>* bin/autoconf.as ($version): Update copyright from 2003 to 2004.* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.* Makefile.in, aclocal.m4, configure, bin/Makefile.in,bin/autoconf.in, config/Makefile.in, config/config.guess,config/config.sub, config/install-sh, config/mdate-sh,config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,lib/Makefile.in, lib/Autom4te/Makefile.in,lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,lib/autotest/Makefile.in, lib/emacs/Makefile.in,lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,man/autoheader.1, man/autom4te.1, man/autoreconf.1,man/autoscan.1, man/autoupdate.1, man/config.guess.1,man/config.sub.1, man/ifnames.1, tests/Makefile.in,tests/acc.at, tests/acfortran.at, tests/acfunctions.at,tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,tests/actypes.at: Regenerate and/or sync with originalsources.2004-01-26 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Default Includes): Include <stdint.h> even ifHAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b withCompac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> butnot <inttypes.h>. Problem reported by Tim Mooney in<http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):Likewise.* lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;otherwise "make check" fails because it forbids cmp (I guessbecause cmp treats files as binary on DOS-like systems).* tests/mktests.sh: Update copyright date to 2004, since some testshave changed in 2004.2004-01-23 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for anon-truncating sed or gsed program in PATH.* tests/acprograms.at: Add it.* doc/autoconf.texi (Particular Programs): Document it.* NEWS: Updated.2004-01-15 Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since-std1 disables some useful extensions on Tru64. Problem reportedby N. Lichtmaier in<http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.2004-01-14 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Programming in M4sh): Document thatAS_MKDIR_P succeeds if the destination is a symbolic linkto an existing directory.(Limitations of Usual Tools): Note that mkdir -p might notsucceed on symlinks to directories.2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>* lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.* bin/autoheader.in: Grammar fix in message.* lib/m4sugar/m4sh.m4 (AS_MKDIR_P):Test for dir before calling mkdir -p. (trivial changes)2004-01-13 Eric Blake <ebb9@byu.net>* doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE andAC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)2004-01-10 Jim Meyering <jim@meyering.net>* doc/autoconf.texi (Running the Preprocessor): Correct grammar.2004-01-09 Paul Eggert <eggert@twinsun.com>* lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warningwith `autoconf -Wall,error'. Bug reported by Eric Blake in:http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html(_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, notAC_COMPILE_IFELSE, since we now assume our caller invokesAC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.(_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE insteadof AC_RUN_IFELSE; this avoids the warning mentioned above.(_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.2004-01-07 Paul Eggert <eggert@twinsun.com>* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside`"'...'"`, as it's confusing (and I suspect it may not work onsome platforms). The code was incorrect anyway, as it assumedthat \$ evaluated to itself in that context. Reported byAlexandre Duret-Lutz.2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGSand _LT_AC_TAGCONFIG.2004-01-06 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (One Macro Call): Fix an incorrectexample, and add more examples. Reported by Eric Sunshine.2004-01-05 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Usual Tools):Remove warning against "rm -fr" introduced yesterday; itwas a false alarm.* bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,autoscan, autoupdate, ifnames): Don't use chmod -w.* lib/Makefile.am (autom4te.cfg): Likewise.* doc/autoconf.texi (Limitations of Usual Tools): Warn against"chmod -w".2004-01-04 Paul Eggert <eggert@twinsun.com>Paolo Bonzini <bonzini@gnu.org>* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scriptsby doing lineno substitution only on lines containing "$LINENO".2004-01-04 Paul Eggert <eggert@twinsun.com>* lib/autoconf/general.m4 (AC_ARG_PROGRAM):Use "rm -f" to remove conftest.sed, not plain "rm".Bug reported by David Relson in<http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.* Makefile.am (autom4te-update):Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.* Makefile.maint (my-distcheck, do-po-update): Likewise.* doc/autoconf.texi (Guidelines): Likewise.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.* lib/autotest/general.m4 (AT_INIT): Likewise.* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.* tests/Makefile.am (clean-local): Likewise.* tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,srcdir): Likewise.* doc/autoconf.texi (Limitations of Usual Tools):Warn against "rm -fr".2004-01-03 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Usual Tools): Mention that cc-c -o might not work. From a suggestion by Kevin Ryde.(C Compiler, Generating Sources, Limitationsof Usual Tools, Limitations of Make, Making testsuite Scripts):Don't put '-o' after non-options, as POSIX doesn't allow this.Mention that cc's name might be gcc or c89 or whatever.2004-01-04 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi: Add various further index entries.2003-12-29 Paul Eggert <eggert@twinsun.com>* bin/autoreconf.in (autoreconf_current_directory):Fix typo: mkdir without umask arg.2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by`VPATH = ../pkg/src' in examples to make the OSF1/Tru64 makeexplanation clearer.2003-12-24 Andreas Schwab <schwab@suse.de>* doc/autoconf.texi (Default Includes): Fix misspelling ofAC_INCLUDES_DEFAULT.2003-12-03 Paolo Bonzini <bonzini@gnu.org>* configure.ac: Test if sh -n works.* configure: Regenerate.* tests/atlocal.in: Store the result here.* tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted fromtools.at, looking in atlocal's ac_cv_sh_n_works insteadof explicitly testing.(AT_CHECK_PERL_SYNTAX): Moved from tools.at.(AT_CHECK_AUTOCONF): Test for the configure script syntax.* tests/tools.at (Syntax of the shell scripts): Simplifyusing AT_CHECK_SHELL_SYNTAX.(Syntax of the Perl scripts): Remove definition ofAT_CHECK_PERL_SYNTAX.2003-12-03 Paolo Bonzini <bonzini@gnu.org>* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirectstderr to /dev/null.* bin/autoconf.in: Regenerate.* bin/wrapper.in: Regenerate.2003-11-26 Paolo Bonzini <bonzini@gnu.org>* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):Extracted from AS_SHELL_SANITIZE.(_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): Newmacros.(AS_SHELL_SANITIZE): Move reinvocation code from_AS_LINENO_WORKS, use it to find out if shellfunctions work.(_AS_LINENO_WORKS): Don't find another shell if $LINENOdoes not work.(AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.(AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FNwas called.* lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.* bin/autoconf.in: Regenerate.* tests/wrapper.in: Regenerate.* tests/tools.at: Test the syntax of tests/autoconfand tests/testsuite.2003-11-24 Akim Demaille <akim@epita.fr>* config/announce-gen (&print_locations, &print_signatures)(&sizes): New.Use them.No longer rely on Gnus to inline the list of signatures: computethem on the fly.2003-11-24 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Particular Programs): AC_PROG_LEX canoverride some files.(Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.From Debian Autoconf 2.58.2003-11-24 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdiruses.From Debian Autoconf 2.58.2003-11-24 Paolo Bonzini <bonzini@gnu.org>* TODO: Remove already done things. Update the part about findingtools for the target.2003-11-24 Paolo Bonzini <bonzini@gnu.org>* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):Make wording more consistent.* lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):Explain the transition better.* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explainthe transition better.2003-11-24 Paolo Bonzini <bonzini@gnu.org>* doc/autoconf.texi (Obsoleting Macros): Don't document the thirdparameter of AU_DEFUN.* lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.(AU_DEFUN): Remove the third parameter, it was not used.Use AC_DEFUN directly, not AU_DEFINE.* lib/autoconf/status.m4 (AC_LINK_FILES): Move the message intothe expanded body, consistently with other macros such as AC_USG.2003-11-17 Paul Eggert <eggert@twinsun.com>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytesinto the initial confdefs.h, to work around a bug in NextStep 3.3patch 3 reported by Eric Sunshine.2003-11-15 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Using System Type): Revise, showing $host ratherthan $target since the latter is not usual, add guidelines on when touse or not use the system type.2003-11-12 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like atypo misrepaired by an auto-spellcheck.2003-11-12 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&parse_args): Don't call automake with--force-missing unless it actually supports it.From Debian #219336.2003-11-12 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.59a.Require 2.59.2003-11-06 Akim Demaille <akim@epita.fr>Version 2.59.2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>* lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILEso that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,and ac_abs_top_srcdir are absolute paths.* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.2003-11-05 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.58a.2003-11-05 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, sinceit provokes a warning from makeinfo about looking like a crossreference in info output.* doc/autoconf.texi (Function Portability): Add notes on signalhandler return type, as per AC_TYPE_SIGNAL.2003-11-04 Akim Demaille <akim@epita.fr>Version 2.58.* doc/standards.texi: Update from master.* tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.2003-11-04 Akim Demaille <akim@epita.fr>AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages whencomputing the absolute path to d1 in the source hierarchy: it maynot exist at all. So don't cd into it.From Alexandre Duret-Lutz.http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.From Paul Eggert, but named after Perl's IO::Spec->catfile.* doc/autoconf.texi (Programming in M4sh): Document.* lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.2003-11-03 Pavel Roskin <proski@gnu.org>* doc/autoconf.texi (Generic Structure Checks): Describeaction-if-found and action-if-not-found in AC_CHECK_MEMBERS.2003-10-31 Akim Demaille <akim@epita.fr>* tests/fortran.at (GNU Fortran 77): Don't run FC macros.(GNU Fortran): New.* doc/autoconf.texi (Language Choice): Document.* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assertthe current language is Fortran.2003-10-31 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&freeze): Use a less likely warning separatorthan `\n\n', so that `\n\n\n' is valid in warnings.Reported by Steve Huston.2003-10-28 Akim Demaille <akim@epita.fr>* Makefile.cfg (local_updates, executable-update): Tweak to berobust to parallel makes.Suggested by Alexandre Duret-Lutz.2003-10-27 Akim Demaille <akim@epita.fr>* Makefile.cfg (executable-update): New.(local_updates): Call it.2003-10-27 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):Don't remove core.* as it may remove valid user files.* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)(AC_FUNC_UTIME_NULL): Likewise.2003-10-23 Akim Demaille <akim@epita.fr>Version 2.57g.* config/config.guess, config/config.sub: Upgrade from masters.2003-10-23 Akim Demaille <akim@epita.fr>* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions usingAC_COMPILE_IFELSE that use break skip the clean up. So do it byhand...2003-10-23 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):Don't forget to remove conftest.err.2003-10-23 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice thesame object file in $LIBOBJS.Reported by Alexandre Duret-Lutz & Derek Robert Price.* doc/autoconf.texi (Generic Functions): Adjust.2003-10-20 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):Use 'eval', so that the resulting configure scripts work even ifthe current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.2003-10-20 Daniel Jacobowitz <drow@mvista.com>* lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)(_AC_LINK_IFELSE): Check the werror flag.* doc/autoconf.texi (Generic Compiler Characteristics): DocumentAC_LANG_WERROR.* NEWS: Mention it.2003-10-20 Daniel Jacobowitz <drow@mvista.com>* lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override_AC_COMPILER_EXEEXT to attempt a link. If linking fails,override AC_LINK_IFELSE.2003-10-15 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug inpdksh 5.2.14. Bug reported by Ralf Corsepius.* doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.Mention /usr/dt/bin/dtksh on Solaris.(Shell Substitutions): Warn about $((...)).(Parentheses): New section.2003-10-15 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Add @prindex for exit.Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>* lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vforkcross test.2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new officialname for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.2003-10-10 Andreas Schwab <schwab@suse.de>* bin/autoheader.in: Avoid empty first line in --version and--help output.* bin/ifnames.in: Likewise.2003-10-09 Paul Eggert <eggert@twinsun.com>* lib/Autom4te/XFile.pm: Don't assume -j is solo.Issue a more-informative diagnostic.Problems reported by Eric Sunshine.2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted-mGLOB_options_string stuff for Intel ifc, which can cause_AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case forpattern-matching instead of grep.2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>* doc/autoconf.texi: Document new FC Fortran macros.2003-10-08 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macrothat future autopoint/aclocal/automake/autoreconf will be ableto trace to find where to install local m4 macros.* doc/autoconf.texi (Input): Document it.* NEWS: Updated.2003-10-06 Gary V. Vaughan <gary@gnu.org>* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add-lcrtbegin.o to list of ignored flags and fix underquoting of-lcrt[01].o.2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specificcache variable instead of $G77 to decide whether to include -O2,since $G77 is specific to Fortran 77.2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-ffree" flag. Re-order flags tested into rough order of popularity.2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of thearguments so that it can be used with syntax identical toAC_PROG_F77, and so that we can more easily decide toremove/deprecate the DIALECT optional argument in the future if itproves troublesome.(AC_FC_FREEFORM): Exit 77 upon failure to fix test suite fornon-freeform-supporting compilers. Document freeform flags.2003-10-03 Akim Demaille <akim@epita.fr>* configure.ac: Look for emacs, not macs.Reported by Eric Sunshine.2003-10-03 Akim Demaille <akim@epita.fr>* lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.* bin/autoreconf.in (autoreconf_current_directory): Create theAUX_DIR if needed, for sake of automake --add-missing etc.Suggested by Alexandre Duret-Lutz.2003-10-03 Akim Demaille <akim@epita.fr>* configure.ac: Quotation and formatting changes.(EMACS): Don't set it if it is not recent enough to supportautoconf-mode.el.From Eric Sunshine.2003-10-02 Akim Demaille <akim@epita.fr>* bin/ifnames.in (&scan_file): Skip C++ comments.From Jeremy Yallop.2003-10-01 Pavel Roskin <proski@gnu.org>* doc/autoconf.texi (Particular Structure Checks):Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.2003-10-01 Akim Demaille <akim@epita.fr>Version 2.57f.2003-09-30 Paul Eggert <eggert@twinsun.com>* lib/Autom4te/XFile.pm: Use Errno.(lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in<http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.2003-09-30 Akim Demaille <akim@epita.fr>* config/announce-gen (&print_news_deltas): Extracted from...(&print_changelog_deltas): here.(&news_file): Rename as...(@news_file): this.2003-09-30 Nicolas Joly <njoly@pasteur.fr>* lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which mighthave been created when invoking the compiler.* tests/fortran.at (GNU Fortran 77): Quote $G77.2003-09-29 Akim Demaille <akim@epita.fr>Version 2.57e.* config/mkinstalldirs: Upgrade.2003-09-28 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.Problem reported by Lars J. Aas in<http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.(_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative"test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html2003-09-26 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure thedirectory for AC_CONFIG_COMMANDS' first argument exists.This makes valid the invocation of _AC_SRCPATH that follows.Reported by Eric Sunshine.* doc/autoconf.texi (Configuration Commands): Adjust.2003-09-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.Reported by Ralf Corsepius.2003-09-26 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote thearguments.Actually, use AU_ALIAS.From Bruno Haible.2003-09-26 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,rm -fr ./-p to remove junk left behind on NextStep and OpenStep.Problem reported by Eric Sunshine in:http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html2003-09-26 Akim Demaille <akim@epita.fr>The test suite are sometimes assigning timings incorrectly.Reported by Henk Krus.Diagnosed by Nicolas Joly.* lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help asAT_help_all.Instead of making AT_help a sequence of assignments to grow$at_help_all, just make AT_help_all be the growing contents of$at_help_all, and make a single assignment in...(AT_INIT): here.(at_times_skip): Flip the meaning and rename as...(at_times_p): this.(AT_INIT): When summarizing the test that ran, remove$at_times_file after use, and check it is present before trying touse it.2003-09-25 Akim Demaille <akim@epita.fr>Version 2.57d.* bin/Makefile.am (edit): Handle '@configure_input@'.(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)(ifnames): chmod -w.* tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/executables, not bin/ executables! Otherwise all the magic neededto find non installed files is turned off. This caused a failureof test 40 and 41 that ran aclocal 1.8 which in turn ran autom4teas found in its environment (sent by tests/autoreconf): pointingto bin/autom4te that could not find its files.* tests/mktests.sh: Force the replacement of generated files, forthe sake of "mv" program that are interactive when overwriting a-w file.* config/install-sh: Upgrade from CVS Automake.2003-09-23 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Builtins): Document test -hversus test -L issues.2003-09-23 Daniel Jacobowitz <drow@mvista.com> andPaul Eggert <eggert@twinsun.com>Trivial change to support GCC's configuration procedure.* lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warnabout inconsistency if the preprocessor is set to give errors forany warning.* doc/autoconf.texi (C Compiler Characteristics): Document this.2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>* Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pmand XFile.pm from Automake.* lib/Autom4te/XFile.pm: Update from Automake.2003-09-12 Akim Demaille <akim@epita.fr>Version 2.57c.2003-09-12 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, config/missing,* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Updatefrom masters.2003-09-12 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): Promote linux/types.h,not asm/types.h.2003-09-11 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): linux/random.h.From Peter Hendrickson.2003-09-10 Akim Demaille <akim@epita.fr>* tests/mktests.sh (au_exclude_egrep): Make it harder to bewilling to edit the output files.2003-09-10 Akim Demaille <akim@epita.fr>* tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXTand AC_FC_FREEFORM.* tests/mktests.sh: Skip AC_FC_SRCEXT.* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.2003-09-09 Akim Demaille <akim@epita.fr>* lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.Reported by Gary Vaughan.* bin/autom4te.in (handle_m4): Likewise.2003-09-09 Akim Demaille <akim@epita.fr>* lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leavetrailing files.2003-09-07 Paul Eggert <eggert@twinsun.com>* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):Improve the accuracy of the wording about obsolescence.From a suggestion by Ian Lance Taylor in<http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.2003-09-05 Paul Eggert <eggert@twinsun.com>* lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.2003-09-04 Akim Demaille <akim@epita.fr>* tests/mktests.sh (ac_exclude_list): Fix the filtering ofAC_FUNC_WAIT3.2003-09-04 Akim Demaille <akim@epita.fr>* bin/autom4te.in: Use &fatal where more appropriate than &error.(freeze): When exiting, use $exit_code.* lib/autoconf/fortran.m4: Comment changes.2003-09-04 Akim Demaille <akim@epita.fr>* tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>Add support for newer Fortran dialects. The F77 interface isunchanged, and continues to support Fortran 77. New FC macroscorrespond to all the old F77 macros, with output variables FC,FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newestavailable dialect, but older dialects can be specified. There arenew macros AC_FC_SRCEXT to set the source extension, andAC_FC_FREEFORM to accept free-form source files.* lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):New macros.(AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.* lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,_AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),_AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),_AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,_AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,_AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,_AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,AC_FC_SRCEXT, AC_FC_FREEFORM):New macros.(AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):Rewrite in terms of the above.(_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.* lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.* tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.2003-09-02 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):Document problems with timestamp resolution that 'make', 'cp -p', and'touch -r' have.2003-08-27 Akim Demaille <akim@epita.fr>* tests/m4sugar.at (cross_warning): Make sure to enable theoutput, so that we can track spurious m4sugar output.* tests/local.at: Require 2.57.(AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments thatare defaulted by AT_CHECK anyway.Use AT_CHECK_AUTOM4TE.* lib/m4sugar/m4sugar.m4: There should be no output at all: add amissing dnl.2003-08-27 Akim Demaille <akim@epita.fr>* bin/autoheader.in: Issue the "Using auxiliary..." message onlywhen -Wobsolete is set.Set it on by default.Suggested by Klee Dienes.2003-08-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): Moredocumentation.From Guido Draheim.2003-08-26 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Output): Make clear that one can run codeafter AC_OUTPUT.2003-08-25 Akim Demaille <akim@epita.fr>* config/announce-gen, GNUmakefile, Makefile.maint: Update fromCVS Bison.2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>* bin/autoreconf.in (parse_args): Do not pass --no-force toAutomake versions prior to 1.8.2003-08-25 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): netinet/if_ether.h.From Ville Karaila.2003-08-24 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.57c.2003-08-22 Akim Demaille <akim@epita.fr>Version 2.57b.* Makefile.cfg (local-checks-to-skip): New.* Makefile.maint (local-check): Rename as...(local-checks-available): this.(local-check): New.* Makefile.am (EXTRA_DIST): Add Makefile.cfg.* configure.ac: Require Automake 1.7.6.2003-08-22 Akim Demaille <akim@epita.fr>Output stack traces in warnings.* lib/m4sugar/m4sugar.m4 (_m4_warn): New.Replace the former...(m4_warn): Pass the call stack to _m4_warn.* bin/autom4te.in: Adjust to output the call stack.* tests/m4sugar.at (m4@&t@_warn): Adjust.2003-08-22 Akim Demaille <akim@epita.fr>* lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.* bin/autom4te.in: Adjust.2003-08-21 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&file_name_is_absolute): Remove.(&verbose): Remove.(&getopt): Adjust the note and verb channels, depending upon--verbose.* bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,* bin/autoupdate.in: Adjust.Use &verb, not &verbose.2003-08-21 Akim Demaille <akim@epita.fr>* bin/autoheader.in (&parse_args): Use &parse_warnings and&parse_WARNINGS.($help): Use Autom4te::ChannelDefs::usage.* bin/autoscan.in: Use Autom4te::ChannelDefs.* lib/Autom4te/General.pm: Don't export error: you don't own it.2003-08-21 Akim Demaille <akim@epita.fr>First stab at preserving warnings between calls to autom4te,including when the cache is used.There are still several issues: (i) there are too many runs of m4(one for include, one for warnings, and some more), (ii) warningsspreading on several lines are not handled gracefully, (iii) thecode meant to have the call stack display for errors does not work(its handling should move from m4 to autom4te).* bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):Use them.(@preselect): Add m4_warn.($exit_status): Remove, use $exit_code.($help): Use Autom4te::ChannelDefs::usage.(&handle_m4): No longer define the m4_warnings.At each run, extract and report the warnings.Always cache the result, including if the exit status is onfailure, since if nothing changes, we should result in the samefailure, hence we can use the cache.* lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)(_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):Remove.(m4_warn): Redefine as a do-nothing: it is its invocation thatmatters, as warnings are now reported via traces.* lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy ofthe contents of m4_warn: make it _call_ m4_warn, so that tracingthe latter reveals calls to the former.Adjust the tests.* tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.2003-08-21 Akim Demaille <akim@epita.fr>* bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):Use them.2003-08-21 Akim Demaille <akim@epita.fr>* lib/Autom4te/FileUtils.pm (&find_file): Walk the @include inforward order.* lib/Autom4te/ChannelDefs.pm: Doc typos.(&parse_warnings): Accept a list of warning requests.(&usage): Return a string, not a side effect.(cross): New warning category.2003-08-21 Akim Demaille <akim@epita.fr>* lib/Autom4te/Configure_ac.pm (&find_configure_ac)(&require_configure_ac): Accept an optional directory argument.($configure_ac): Remove.* lib/Autom4te/General.pm (&find_configure_ac, &canonfile)(&catfile): Remove.* bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,* bin/autoscan.in: Adjust.2003-08-20 Akim Demaille <akim@epita.fr>* bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.Reported by Alexandre Duret-Lutz.2003-08-20 Akim Demaille <akim@epita.fr>* bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,* bin/autom4te: Adjust.In particular, be Autoconf tools are really silent when properlyworking, bind the verbosity of the 'note' channel to $verbose.* lib/Autom4te/General.pm (&find_file, &mtime, &update_file)(&xsystem, &contents): Remove, since they are exported by...* lib/Autom4te/FileUtils.pm: this.More perldoc.* lib/Autom4te/General.pm (&up_to_date_p): Move to...* lib/Autom4te/FileUtils.pm: here.2003-08-20 Akim Demaille <akim@epita.fr>* lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm* lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,from CVS Automake.2003-08-20 Akim Demaille <akim@epita.fr>* Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)(autom4te-update): New.* Makefile.cfg (update): Bind autom4te-update.2003-08-19 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4: Comment various HELP_* diversions.(PARSE_ARGS_BEGIN): New section for option parsing relatedinitialization.(AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to definepackage specific options and associated help.2003-08-19 Akim Demaille <akim@epita.fr>* config/announce-gen, Makefile.cfg: New.* Makefile.am: Adjust.* GNUmakefile, Makefile.maint: Update from CVS Coreutils.2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Automake-preselections): PreselectAC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,and m4_sinclude.2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>* lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...(Autoconf-without-aclocal-m4): ... this new language.* doc/autoconf.texi (autom4te Invocation): MentionAutoconf-without-aclocal-m4.2003-08-18 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &RUN-IF-PASS optional arguments.2003-08-18 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.2003-08-16 Derek Price <derek@ximbiot.com>* doc/autoconf.texi (Writing testsuite.at): Document defaults forSTDOUT & STDERR arguments.2003-08-14 Derek Price <derek@ximbiot.com>* lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to printDESCRIPTION rather than FILE and LINE. Shorten result to fit in new,shorter column three. Add DESCRIPTION to log file content.2003-08-13 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (AT_INIT): Correct typo in final statusoutput.2003-08-12 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.(AT_CHECK_NOESCAPE): Move core functionality to...(_AT_CHECK): ...this new macro.2003-08-07 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (AT_CHECK): Move core functionality...(AT_CHECK_NOESCAPE): ...to this new macro.2003-07-31 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bugin Bash 2.01. Problem reported by Brian Gough in<http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>* lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore-lcrt1.o, for OS X. (trivial change)2003-07-07 Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'inside '#ifndef __cplusplus'. Problem reported byBob Friesenhahn.2003-07-06 Bill Clarke <llib@computer.org>* lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to'long', not 'int', for benefit of Sun's recent C++ compilers(trivial change). See:http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html(This really should be 'intptr_t', not 'long', but that wouldtake more work.)2003-06-25 Akim Demaille <akim@epita.fr>* lib/Makefile.am (autom4te.cfg): Make it read only.Depend on Makefile since it contains substitutions.From Paolo Bonzini.* lib/autom4te.in (args): Add local.at? for Autotest args.This change was made on autom4te.cfg which is generated.Reported by Raja R. Harinath.2003-06-25 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): sys/mount.h.From Gareth McCaughan.2003-06-23 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Report a single config.log,not all of them. This fixes 1. the fact that when testingAutoconf there are many many config.log, 2. the incorrect use oftop_srcdir to find config.log.Don't mix the detailed output of failed test with the summary offailures. Rather, append detailed log afterwards.2003-06-23 Akim Demaille <akim@epita.fr>* tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose beingalways run: output config.log on $at_group_log.2003-06-23 Akim Demaille <akim@epita.fr>* tests/torture.at (#define header templates): Don't use quotes inC++ comments as it puzzles Emacs' sh font-lock-mode.2003-06-23 Akim Demaille <akim@epita.fr>* tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.* lib/autom4te.cfg (args): Add local.at? for Autotest args.* tests/atspecific.m4: Rename as...* tests/local.at: This.* tests/suite.at: Move the globals into...* tests/local.at: here.* tests/Makefile.am: Adjust.* doc/autoconf.texi (testsuite Scripts): Adjust.2003-06-21 Kevin Ryde <user42@zip.com.au>* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get anerror from OSF 4.0 Compaq cc in its default almost-ANSI mode, therebyensuring we add -std1 for full-ANSI.* doc/autoconf.texi (hdrindex): New macro.Add index entries for portability of various standard header files.2003-06-20 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.57b.2003-06-20 Akim Demaille <akim@epita.fr>Version 2.57a.2003-06-20 Akim Demaille <akim@epita.fr>* bin/autom4te.in: Don't rely on $HOME being defined.Reported by Marc Espie as PR/233.2003-06-20 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4: Use at_times_file only if used.From Nicolas Joly.2003-06-20 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, config/elisp-comp,* config/install-sh, config/mkinstalldirs, doc/standards.texi:Update from masters.2003-06-11 Paolo Bonzini <bonzini@gnu.org>* doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF* lib/autotest/general.m4 (AT_XFAIL_IF): New macro.(TEST_SCRIPT): New diversion.(AT_SETUP): Divert output to TEST_SCRIPT and move some code...(AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.(AT_INIT): Support for expected failures.2003-06-02 Akim Demaille <akim@epita.fr>* bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White spacechanges.* lib/Autom4te/General.pm (&backname): Remove, no longer used byAutoconf nor Automake.(&contents): New, from Automake.PODify.2003-05-28 Paul Eggert <eggert@twinsun.com>* NEWS, doc/autoconf.texi (Particular Functions),lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktimeis the inverse of localtime.2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>* lib/Autom4te/General.pm (END): Print diagnostics to STDERR.(handle_exec_errors): New function. Work around $! beingaltered by WEXITSTATUS.(xqx, xsystem): Use handle_exec_errors.2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>* lib/Autom4te/General.pm (END): Rewrite exit code processing.Do not call `_exit()', simply modify `$?'.(xsystem): Reset $! before running system, and check it afterward.* tests/tools.at (autoupdating AC_PREREQ): Expect exit status63 for version mismatches.2003-05-23 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because ofEmacs' dangerous whitespace.el behavior (smashing "useless" spaces inthe middle of a line).* lib/m4sugar/m4sugar.m4: Likewise.Remove useless spaces in comments.2003-05-23 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes anexit 63, so that we (or Automake's "missing") can tell thedifference with a plain failure.* doc/autoconf.texi (Notices): Adjust.2003-05-23 Akim Demaille <akim@epita.fr>* Makefile.am, bin/Makefile.am, config/Makefile.am,* doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:White spaces cleanup.2003-05-22 Jim Meyering <jim@meyering.net>Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):Remove `#include <stdlib.h>' from the list; we should nevermake confdefs.h include <stdlib.h> or <cstdlib>, because theresulting namespace pollution would cause other tests to fail.Configure scripts run with some older versions of g++ and HP'saCC would fail due to such an #include. Problems reported byMatthew Mueller in <http://bugs.debian.org/120704> and byKeith Bostic in<http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.In the test, use the test declaration before including <stdlib.h>,as that's closer to how it'll be used.2003-05-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): ucred.h.From Ian Redfern.2003-05-22 Paolo Bonzini <bonzini@gnu.org>Overhaul Autotest's logging: generate separate log filesin testsuite.dir/NNN/testsuite.log, and append them totestsuite.log instead of re-running the test verbosely.* lib/autotest/general.m4 (AT_INIT): Use a single redirectedfile descriptor, write 0 to at_status_file instead of settingat_status=0, initialize some new variables (at_status_file,at_group_log, at_suite_log, at_tee_pipe). Remove the cruftto rerun the tests, instead append the at_group_log to theat_suite_log when a test fails.(AT_SETUP): pipe the test case's output into at_tee_pipe,with the AS_MESSAGE_LOG_FD redirected to stdout.(AT_CLEANUP): save the output status in $at_status_fileand restore it, redirect the AS_MESSAGE_LOG_FD back toits original place.(AT_CHECK): since tests are run with a redirected stdout,and used to be re-run in verbose mode, turn some $at_verboseinto echo, and don't redirect the output of testing stdoutand stderr.* lib/autotest/autoconf.texi (testsuite Scripts): Updatethe name of the debugging directory and information aboutits contents.2003-05-22 Paolo Bonzini <bonzini@gnu.org>* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2ndparameter.2003-05-22 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4* lib/autoconf/fortran.m4 lib/autoconf/general.m4* lib/autoconf/headers.m4 lib/autoconf/oldnames.m4* lib/autoconf/status.m4: Fix and adjust copyright notices.2003-05-22 Akim Demaille <akim@epita.fr>* aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,* lib/autoconf/c.m4, lib/autoconf/fortran.m4,* lib/autoconf/general.m4, lib/autoconf/headers.m4,* lib/autoconf/lang.m4, lib/autoconf/libs.m4,* lib/autoconf/programs.m4, lib/autoconf/specific.m4,* lib/autoconf/status.m4, lib/autoconf/types.m4,* lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,* tests/atspecific.m4, tests/base.at, tests/compile.at,* tests/foreign.at, tests/m4sh.at, tests/semantics.at,* tests/tools.at, tests/torture.at:Whitespace clean up.Suggested by Jim Meyering.2003-05-22 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed' \t' as '\t ' so that Emacs' whitespace.el keep it.Reported by Jim Meyering.2003-05-22 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.Add AC_HELP_STRING to the obsolete macros section.Typos.Use '@.' for sentences that ended in a capital letter.From Art Haas.2003-05-22 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, config/elisp-comp,* config/install-sh, config/mdate-sh, config/mkinstalldirs,* config/texinfo.tex, doc/standards.texi: Update from masters.2003-05-21 Paolo Bonzini <bonzini@gnu.org>* lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passingit to eval.2003-05-21 Akim Demaille <akim@epita.fr>* bin/autoupdate.in ($m4): Fix quotation.Reported by Martin Mokrejs.2003-05-19 Paul Eggert <eggert@twinsun.com>* ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:Remove non-ASCII characters.2003-05-18 Paolo Bonzini <bonzini@gnu.org>* tests/semantics.at (AC_SEARCH_LIBS): New test.* tests/semantics.at (AC_CHECK_HEADERS_OLD,AC_CHECK_HEADERS_NEW): New tests.2003-05-17 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4: Use the default includes so thatmemcmp be declared before being tested.Reported by Sander Niemeijer.(AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.* doc/autoconf.texi (Default Includes): DocumentAC_INCLUDES_DEFAULT.2003-05-17 Akim Demaille <akim@epita.fr>* lib/autoconf/specific.m4: Include signal.h and unistd.h.* doc/autoconf.texi (Obsolete Macros): Adjust.Reported by Werner LEMBERG and Debian Bug 190886.2003-05-16 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoiduser name space clashes.Reported by Bruno Haible.2003-05-16 Akim Demaille <akim@epita.fr>* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,* bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Makethem uniform, and more robust to Perl special characters.Reported by Martin Mokrejs.2003-05-14 Akim Demaille <akim@epita.fr>* tests/foreign.at (Libtool): Skip all Libtools pre 1.4.2003-05-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,linux/irda.h.2003-05-12 Akim Demaille <akim@epita.fr>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve themessage.From Matthias Andree.2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>* lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flockand truncate.2003-05-06 Akim Demaille <akim@epita.fr>Don't try to be smart with aclocal 1.8+ because (i) aclocal nolonger updates aclocal.m4 if useless, (ii) if a file m4_includedby aclocal.m4 is changed it might require the importing of anotherm4 extension file, i.e., aclocal must be run.* bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.(&parse_args): Use --force with aclocal if required and supported.(&autoreconf_current_directory): Use &run_aclocal.2003-05-06 Akim Demaille <akim@epita.fr>Lock autom4te's cache.* lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.* bin/autom4te.in (&Request::save, &Request::load): Use an IO::Fileargument instead of a file name, so that the request file remainsopen during the whole autom4te run.($icache_file): New.(&freeze): Lock the $icache_file.2003-04-29 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as theseperator with m4_append_uniq(). It doesn't work.(AT_CLEANUP): Add `;' to end of at_help_all.(AT_INIT): Allow --keywords to be specified more than once. Whengrepping $at_help_all for keywords, use the field and keywordseperators to ensure a complete keyword match. Alter at_prev handlingto support the new --keywords behavior.2003-04-27 Karl Berry <karl@freefriends.org>* doc/autoconf.texi: Make the dir entries in the autoconf manualalign better with others. I also made some of the individualentries on one line, for brevity and to make it easier for me tosort my dir-example file in the Texinfo distribution :).2003-04-12 Jim Meyering <jim@meyering.net>* NEWS: Mention the new macro.* lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.* doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.* tests/c.at: Test AC_C_RESTRICT.* tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.2003-04-08 Akim Demaille <akim@epita.fr>* bin/ifnames.in: Skip C++ comments.From Jeremy Yallop.2003-04-08 Akim Demaille <akim@epita.fr>* GNUmakefile (SHELL): Don't assume sh is in /bin/.From Ilya Zakharevich.2003-04-08 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Particular Headers): Some about sys/socket.h,net/if.h, stdlib.h.2003-04-01 Derek Price <derek@ximbiot.com>* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax errorfrom Akim's checkin of 2003-03-29.2003-04-01 Derek Price <derek@ximbiot.com>* tests/torture.at (Configuring subdirectories): Add missingclose-quote for Akim's change from 2003-03-28.2003-04-01 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (ac, at, ms): Rename these indexes as...(AC, AT, MS): these.(shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):New.Use them.* doc/Makefile.am (CLEANFILES): Adjust.(TEXI2DVI): Make it --batch.2003-03-31 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4: Revert the checkin from 2003-03-27which removed the main loop.Thanks to Akim Demaille.2003-03-29 Akim Demaille <akim@epita.fr>* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,that starts a GUI.From Ilya Zakharevich.2003-03-29 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Thedocumentation to read is Autoconf's.Suggested by Paul Eggert.2003-03-28 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggestreading the section "Present But Cannot Be Compiled" when theheader causes problems.2003-03-28 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): Require aclocal1.4, otherwise the test fails, as it does support configure.ac.This fixes the "test 40 failed" bug reports.2003-03-28 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (C Compiler): `#line' portability.From Paul Eggert and Nelson H. F. Beebe.2003-03-27 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4: Eliminate main loop and reorganize testlayout in order to allow scripting around test groups.2003-03-27 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define anduse new diversions in preparation for accepting new arguments andallowing scripting around tests.(OPTIONS,TAIL): Remove these diversions to make way for the ones above.2003-03-26 Derek Price <derek@ximbiot.com>* lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead ofobsolete AC_HELP_STRING.(AC_HELP_STRING): AU_DEFUN to...* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.* tests/m4sh.at (AS_HELP_STRING): New test.* tests/acgeneral.at: Regenerated.2003-03-26 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes moresense. Verbosify the diversion definitions comment.2003-03-26 Derek Price <derek@ximbiot.com>* lib/autotest/general.m4 (AT_INIT): Remove redundant call toAS_PREPARE.2003-03-21 Eric Siegerman <eric_97@pobox.com>* doc/autoconf.texi (Present But Cannot Be Compiled):Grammar fixes and minor rewording. (trivial change)2003-03-06 Paul Eggert <eggert@twinsun.com>Work around a problem noted by Nelson H. F. Beebe with coreutils4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-082002/05/09) rejects '#line 32768 "configure"' because the linenumber overflows.* lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate#line directives.* lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.* doc/autoconf.texi (Generating Sources): Document this.2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalizefile name for the m4 program, when it has an "exe" file extension.DJGPP's error messages include the error code in brackets -remove the error code during normalization.2003-02-28 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Present But Cannot Be Compiled): New.2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Make): Remove the sectionabout `$<' in inference rules, it was a bogus interpretation ofan old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, andTru64 make in the "target lookup" section.(Automake): Automake 1.5+ no longer requires special tools to bepresent on the developer's host.2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>* bin/autoheader.in (BEGIN): For DJGPP SHELL may not be setto a shell that can handle redirection or quoting correctly.Override SHELL with the shell detected by configure.Use of $^O suggested by Tim van Holder.* bin/autom4te.in (BEGIN): Likewise.* bin/autoreconf.in (BEGIN): Likewise.* bin/autoscan.in (BEGIN): Likewise.* bin/autoupdate.in (BEGIN): Likewise.* bin/ifnames.in (BEGIN): Likewise.* bin/ifnames.in: Add final newline to help and version messages.* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,to cope with DOS-style absolute paths, when constructing${ac_make}.* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):When constructing paths with IFS=:, quote the path. If we'reconstructing a DOS-style absolute path, we don't want to split iton the colon.* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typoin description.2003-02-25 Pavel Roskin <proski@gnu.org>* bin/autoheader.in: Add missing newline when printingsuggestion how change AC_DEFINE call.2003-02-24 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in2002-09-01 patch by replacing "test -n" with "test -z".This fixes a bug found by Jeff Painter and reported by Tom Epperly in<http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.* doc/autoconf.texi (Shell Substitutions): test -n -> test -z,to fix a mismatch between example and discussion.2003-02-24 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Builtins): Add notes on printfformat starting with "-".2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>* doc/autoconf.texi (Limitations of Make): `foo=bar make -e'is not portable inside Makefile.2003-02-20 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Whencompiler says yeah, but preproc says nope, compiler is right.Conversely, prompt the reader to send a bug report to themaintainers of the package, not of Autoconf.2003-02-20 Klee Dienes <kdienes@apple.com>* bin/autoreconf.in (autoreconf_current_directory): Properlyhandle an empty aclocal.m4.2003-02-20 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote$ac_prefix_program.From Larry Jones.2002-12-23 Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to aninnocuous variant befor including <limits.h> or <assert.h>. Thisworks around a bug reported by Albert Chin: HP-UX 11i(and earlier versions) have a <limits.h> that declaresgettimeofday and many other functions.2002-12-03 Paul Eggert <eggert@twinsun.com>Version 2.57.* NEWS, configure.ac: Update version.* doc/fdl.texi: Upgrade to FDL version 1.2.* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function fnontrivially in main's body, so that f's external declaration isnot optimized away in AIX. This should fix the bug reported byMartin Frydl in<http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),_AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ isdefined, to support freestanding compilers. This should fix thebug reported by Momchil Velkov in<http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.* doc/autoconf.texi (Obsolete Macros): Fix typos (insert emptyarg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation forobsolete AC_CHECK_TYPE. The missing empty arg was reportedby Simon Josefsson in<http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.* Makefile.maint (www-gnu): New macro.(standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, asthe location has moved.2002-12-02 Martin Frydl <martin@systinet.com>* bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when\(.*\) match is too long and there is something more to be checked.<http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>2002-11-15 Akim Demaille <akim@epita.fr>Version 2.56.* config/install-sh: chmod +x.From Paul Eggert.* config/move-if-change: Indenting changes.* Makefile.am (AUTOMAKE_OPTIONS): Move to...* configure.ac (AM_INIT_AUTOMAKE): here.Require 1.7.1.2002-11-14 Akim Demaille <akim@epita.fr>Version 2.55.* config/config.guess, config/config.sub, config/install-sh:Update from masters.2002-11-14 Akim Demaille <akim@epita.fr>* Makefile.maint: Sync with Bison, i.e.:(po-check): Scan .l and .y files instead of the.c and the .h files that they generate. This fixes the bugreported by Tim Van Holder in:<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>Look for N_ as well as for _. Try to avoid matching #define forN_ and _.From Paul Eggert.2002-11-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (C Compiler): Compiling several files at once.From Paul Eggert and Albert Chin-A-Young.2002-11-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (C Compiler): Solitary backslashes.From Paul Eggert and Albert Chin-A-Young.2002-11-14 Kevin Ryde <user42@zip.com.au>* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 ratherthan assigning in main, to avoid HP cc +O3 optimizing it away.2002-11-12 Peter Eisentraut <peter_e@gmx.net>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -qoption. Process --recheck after parsing all options. Pass -qoption to configure on --recheck.(AC_OUTPUT): Pass -q from configure to config.status.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q fromarguments to record.* doc/autoconf.texi (config.status Invocation): Documentconfig.status -q option.2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>* bin/autoscan.in (scan_file): Scan Makefile.am too. IgnoreMakefile.in if Makefile.am exists.(output): Strip `.am' from Makefiles. Don'toutput AC_CONFIG_FILES if no Makefiles were found.2002-11-07 Akim Demaille <akim@epita.fr>* Makefile.am (cvs_files): Add elisp-comp, mdate-sh.(local_updates): New.* Makefile.maint: Update, from CVS Bison.(local_updates): New.2002-11-06 Akim Demaille <akim@epita.fr>* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'declaration in extern "C" too.Reported by Roberto Bagnara.2002-11-06 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): Don't use grep-w.* doc/autoconf.texi (Limitations of Usual Tools): Grep -w.Reported by Ezra Peisach.2002-11-05 Akim Demaille <akim@epita.fr>* lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):Remove.We _have_ to stop using the old compatibility scheme that tried toavoid useless backslashes because Libtool 1.4.3 contains aAC_DEFINE([error_t], [int],[Define to a type to use for \`error_t' if it is nototherwise available.])We _have_ to quote the single quote and backslashes with \. Theold compatibility scheme saw that ` was backslashed, and thereforedid not quote the single quote. Hence before this patch, Autoconfwas not compatible with Libtool.2002-11-04 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,LC_NAME, LC_PAPER, LC_TELEPHONE.* doc/autoconf.texi (Special Shell Variables): Mention those vars.2002-11-04 Akim Demaille <akim@epita.fr>Version 2.54c.* Makefile.maint (update, cvs-update, po-update, do-po-update):New.* config/texinfo.tex: Update.2002-11-03 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf_current_directory): New, extractedfrom...(&autoreconf): here.($help, $make, &parse_args, &autoreconf_current_directory):Support -m/--make.* doc/autoconf.texi (autoreconf Invocation): Adjust.2002-10-31 Bruno Haible <bruno@clisp.org>* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.Change name of cache variable to ac_cv_func_malloc_0_nonnull.(AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.(_AC_FUNC_REALLOC_IF): Change message. Change name of cache variableto ac_cv_func_realloc_0_nonnull.(AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.2002-10-31 Akim Demaille <akim@epita.fr>The test suite was no longer checking for trailing envvars and files.* tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.(AT_CHECK_ENV): Make sure the `state-ls.before file exists.2002-10-31 Akim Demaille <akim@epita.fr>* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display`$(MAKE)' instead of '${MAKE}' to emphasize that we refer to theMake variable, not a shell variable.Suggested by Bruno Haible.2002-10-31 Akim Demaille <akim@epita.fr>* bin/autom4te.in (load_configuration): Reject #args out of anylanguage.2002-10-31 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)(_AC_RUN_IFELSE): Use it.* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):(_AC_COMPILER_EXEEXT_DEFAULT): Likewise.* lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,inline it.2002-10-30 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&parse_args, $help): Support --no-cache.* doc/autoconf.texi (autom4te Invocation): Adjust.Suggested by Tim van Holder.2002-10-29 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC andAC_FUNC_REALLOC check for compatibility with glibc, not POSIX.Problem reported by Bruno Haible.2002-10-29 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Templates): Put also in words what thepictures says to assist free style readers.(Customizing autom4te): s/--cache=/--cache /.2002-10-29 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h andsys/wait.h.sparc_address_test returns void.Use it with an argument, as prototyped.From Bruno Haible.2002-10-29 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Subdirectories): Cygnus dirs haveconfigure.in, not configure.ac.Reported by Bruno Haible.2002-10-29 Akim Demaille <akim@epita.fr>* tests/torture.at (Deep Package): New test.(Configuring subdirectories): Don't use a testSubDir as Autotestnow does it itself.2002-10-29 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&parse_args, $help): Support --warnings.* doc/autoconf.texi (Invoking autom4te): Rename as...(autom4te Invocation): this, for consistency with the other nodes.2002-10-29 Akim Demaille <akim@epita.fr>* lib/autom4te.in (Autoconf): s/automate/autom4te/.Reported by Ralf Corsepius.2002-10-29 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quotedcharacters is a back as an `obsolete' warning now.Reported by Ralf Corsepius.2002-10-28 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.54c.2002-10-28 Akim Demaille <akim@epita.fr>Version 2.54b.* tests/foreign.at (Libtool): Adjust to broken libtoolize.2002-10-28 Akim Demaille <akim@epita.fr>* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to differentm4 executable names, and different GNU M4 version.Reported by Ezra Peisach and Paul Jarc.2002-10-27 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really useAC_RUN_IFELSE.2002-10-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: More AC_MSG_FAILURE promotion.* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):Die when a simple Fortran program cannot be compiled.* lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):Issue a warning if no function is given.2002-10-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.Move the documentation of AC_TRY_RUN to...(Obsolete Macros): here.Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.(autoconf Invocation): Remove the duplicates with `invokingautom4te'.* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.2002-10-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Generating Sources): Document AC_LANG_CALLand AC_LANG_FUNC_LINK_TRY.(Examining Libraries): Rename as...(Running the Linker): this.Document AC_LINK_IFELSE.Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...(Obsolete Macros): here.* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't useAC_TRY_LINK_FUNC nor AC_TRY_LINK.* lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.* lib/autoconf/headers.m4 (AC_USG): Likewise.2002-10-27 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.More `check config.log' messages.* lib/autoconf/general.m4 (AC_MSG_FAILURE): New.* doc/autoconf.texi (Printing Messages): Document it.* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it whenappropriate.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)(_AC_COMPILER_OBJEXT): Likewise.* lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.* lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):Likewise.* lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):Likewise.Deprecate macros with unusual interfaces.* lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)(AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.Document the new ones, and proper style.* doc/autoconf.texi (Generating Sources): New.Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.(Examining Declarations): Rename as...(Running the Preprocessor): this.Document AC_PREPROC_IFELSE.(Examining Syntax): Rename as...(Running the Compiler): this.(AC_FOO_IFELSE vs AC_TRY_FOO): New section.(Obsolete Macros): Move the definition of AC_TRY_CPP andAC_TRY_COMPILE here.2002-10-27 Akim Demaille <akim@epita.fr>Move sections around.* doc/autoconf.texi (Customizing autom4te): Remove a lostsentence.Reported by Burno Haible.(Language Choice): Now the first section of...(Writing Tests): this section.Make the introduction less C-centric.(Guidelines, Test Functions): Move to...(Writing Test Programs): this new section.(Test Programs): Merge into...(Run Time): this.2002-10-27 Akim Demaille <akim@epita.fr>* lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency onautom4te.in that resulted in the need for two `make' runs.2002-10-27 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.54b.2002-10-25 Akim Demaille <akim@epita.fr>Version 2.54a.* Makefile.maint: Update from the Coreutils.(AMTAR): Remove, obsolete.(automake_repo): Update to redhat.com.(cvs_file): New.Adjust to the fact that ansi2knr is now hosted by Automake.* Makefile.am (cvs_files): Add install-sh and mkinstalldirs.* config/config.guess, config/mkinstalldirs, config/texinfo.tex:Update from masters.* lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):autoscan.pre is not to be installed, and autoscan.list is not tobe shipped.(CLEANFILES): Add autoscan.list.(autoscan.list): Disable the cache.* bin/Makefile.am: Include freeze.mk.2002-10-25 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&load_configuration): Take the file asargument.(&parse_args): Handle -C, --cache.($help): Adjust.(MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.* lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.* doc/autoconf.texi (Invoking autom4te): Document --cache.Now a subsection of...(Using autom4te): This new section.(Customizing autom4te): New.(autom4te.cache): Adjust.2002-10-25 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Generic Headers): More information on how touse AC_CHECK_HEADERS.2002-10-25 Akim Demaille <akim@epita.fr>* bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):Space changes.2002-10-25 Akim Demaille <akim@epita.fr>* bin/autoscan.in (output): Output AC_PREREQ.(%needed_macros): Add AC_PREREQ so that configure.ac without onebe reported.2002-10-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,document _Bool.2002-10-23 Akim Demaille <akim@epita.fr>* bin/autom4te.in (handle_traces): Handle @&t@ in traces.Reported by Peter Eisentraut.2002-10-23 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for thetype _Bool.Fix a typo.* doc/autoconf.texi (Particular Headers): Adjust according to PaulEggert's recommandations.2002-10-22 Akim Demaille <akim@epita.fr>* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVSBison, by Paul Eggert.* doc/autoconf.texi (Particular Headers): Document it.2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in`$ac_configure_args'.2002-10-22 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.(AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.From Art Haas.2002-10-22 Akim Demaille <akim@epita.fr>Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)(AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.(_AC_CHECK_HEADER_NEW): Rename as...(AC_CHECK_HEADER): this.2002-10-22 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Usual Tools): Remove incorrectwords about HP-UX cmp: it was actually a user-written cmp.2002-10-22 Akim Demaille <akim@epita.fr>* tests/foreign.at (Libtool): Don't check autoconf's stderr: thereare a few warnings.* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):Quote for Perl '' strings, not "".* bin/autoheader.in: Invoke autoconf to get '' strings, not ""strings.2002-10-22 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quotedcharacters is a syntax warning now.(_AS_QUOTE): Accept $2 as list of characters to quote.* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):Quote for Perl, not sh.* bin/autoheader.in: When $debug, report the file which is`do'ne.* tests/tools.at (autom4te, autoheader): Exercise @bar, not merely`@', to tickle Perl's lists.Reported by Carlos Velasco.2002-10-18 Akim Demaille <akim@epita.fr>* bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so thatmissing included files _are_ errors.Thanks to Alexandre Duret-Lutz.* tests/tools.at (autom4te cache): Adjust.* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.(AT_CHECK_M4SUGAR): Use it.* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):Adjust.* tests/tools.at (autom4te): Now it does exit 1.2002-10-17 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.Fixes the `AC_ARG_VAR' test failures.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.* lib/freeze.mk (check-forbidden-patterns): New.* lib/autoconf/Makefile.am, lib/autotest/Makefile.am* lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.* doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and/dev/null.Reported months ago by H. Merijn Brand.2002-10-17 Akim Demaille <akim@epita.fr>* tests/tools.at (autoheader): Put randoms `@' to stress Perl.2002-10-16 Paul Eggert <eggert@twinsun.com>* Makefile.maint (wget_files): Remove ansi2knr.c.(ansi2knr.c-url_prefix): Remove.2002-10-16 Akim Demaille <akim@epita.fr>Because of caching, some files that no longer exist and are nolonger required can still cause errors.Reported by Alexandre Duret-Lutz.* bin/autom4te.in (&parse_args): Do not prepend `--reload-state'to frozen files in @ARGV, as @ARGV must remain being a list offiles. Rather, at M4 call sites, use this...(&files_to_options): New function.(&freeze): Use &error.(&up_to_date): If a file that was included according to the cacheis no longer there, then the output is out dated.(&main): Don't even check whether a file is up to date is anyway--force is given.* tests/tools.at (autom4te cache): New.2002-10-16 Akim Demaille <akim@epita.fr>* bin/autoconf.as: Kill dead options.* bin/autoupdate.in (&parse_args): Kill old options.* bin/autoreconf.in (&parse_args): Remove dead options.Factor some code.(&autoreconf): Report the directories we enter *and leave*, sothat error messages can be easily located, and use GNU Makeformat, so that Emacs' compile mode understands us.* lib/Autom4te/General.pm (&update_file): Use `verbose' to reportif some file was changed instead of `print'.* bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.(&parse_args): Remove the dead options.* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the newautoheader's quiet mode.(AT_CHECK_AUTOUPDATE): Likewise.* tests/tools.at (autoupdate): Adjust.* tests/semantics.at (AC_C_BIGENDIAN): Likewise.2002-10-11 Akim Demaille <akim@epita.fr>No longer use CPP to check for the existing of headers: use CC tocheck for compilability.* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)(AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.(_AC_CHECK_HEADER_NEW): Rename as...(AC_CHECK_HEADER): this.* lib/autotest/general.m4 (AT_INIT): Include the failed testnumbers in the Subject suggestion.2002-10-11 Akim Demaille <akim@epita.fr>* lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.Suggest using AC_CHECK_DECLS instead.2002-10-11 Akim Demaille <akim@epita.fr>* tests/torture.at (AC_ARG_VAR): Have configure report the valueof `precious'.2002-10-11 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in thefile name to enable parallel executions.From Sam Varshavchik.2002-10-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf): Run autopoint before the firstaclocal invocation, as Gettext macros might not be visible toaclocal.Instead of blindly running autopoint, scan configure.ac (not thetraces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.Reported by Paul D. Smith.2002-10-08 Paul Eggert <eggert@twinsun.com>Work around problems found when POSIXLY_CORRECT=1 is set.None of this seems to have anything to do with POSIX, really,but it's how Perl getopt works.* bin/autom4te.in (parse_args): Configure GetOpt with"permute", too.* doc/autoconf.texi (Invoking autom4te):--warning -> --warnings.* lib/autom4te.in: --warning -> --warnings.2002-09-28 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (autom4te.cache): New section.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)(Automake-preselections): Update.* bin/autoreconf.in, bin/autoheader.in: Comment changes.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autoscan/autoscan.pre: Move all the remaining rules to...* lib/autoconf/c.m4, lib/autoconf/functions.m4,* lib/autoconf/headers.m4, lib/autoconf/libs.m4,* lib/autoconf/specific.m4, lib/autoconf/types.m4: here.2002-09-28 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): Be robust tousers who use config.site to require for a cache: in this case,the two last configure runs, using two different sets ofarguments, trigger a legitimate error.2002-09-28 Akim Demaille <akim@epita.fr>* tests/m4sh.at (Functions Support, Functions and return Support):New.2002-09-28 Akim Demaille <akim@epita.fr>* bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames andautoheader are Perl programs.(autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)(autom4te): Specify that the sources are in the $srcdir.* doc/autoconf.texi (Installation Directory Variables): Adjust.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)(tm_zone): Move their rules to...* lib/autoconf/types.m4: here, using AN_ macros.* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)(make, mawk, nawk, ranlib, yacc): Similarly, move to...* lib/autoconf/programs.m4: here.* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)(ETAGS_FOR_AUTOCONF): New.Use it.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autoconf/autoscan.m4: New file.* lib/autoconf/autoconf.m4: Include it.* lib/autoconf/functions.m4: Use AN_FUNCTION for all the functionsthat were listed in the original autoscan.list.* lib/autoconf/headers.m4: Similarly with headers.* lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.(.m4.m4f): Don't pass --prepend-include, since that's done bytests/autom4te itself.* lib/autoscan/Makefile.am: Include freeze.mk.(autoscan.list): New target --this file is no longer a source.(autoscan.pre): New file.2002-09-28 Akim Demaille <akim@epita.fr>* bin/autoscan.in (@kinds): Make them singular.Adjust all uses.(&init_tables): When --debug, report the list of rules to easetracking changes in autoscan.list.* lib/autoscan/autoscan.list (function): Strip comments, sort.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autoscan/functions, lib/autoscan/headers,* lib/autoscan/identifiers, lib/autoscan/makevars,* lib/autoscan/programs: Merge into...* lib/autoscan/autoscan.list: this.* bin/autoscan.in (&init_tables): Adjust.2002-09-28 Akim Demaille <akim@epita.fr>* lib/autoscan/functions, lib/autoscan/headers,* lib/autoscan/identifiers, lib/autoscan/makevars,* lib/autoscan/programs: Make the `kind' explicit, i.e., each`functions' line is now prefixed with `function:'.* bin/autoscan.in (&init_tables): Adjust.2002-09-28 Akim Demaille <akim@epita.fr>From now on, autoscan files must always map a macro name to aword: there is no `default' macro for autoscan.* bin/autoscan.in (&init_tables): Reject entries with no macro atall.* lib/autoscan/functions, lib/autoscan/headers: Make the macroexplicit.2002-09-28 Akim Demaille <akim@epita.fr>* bin/autoscan.in (%c_keywords): Remove.(&used): Keep only track of the words we might be interested in.(&output_kind): It is no longer needed to look for non activechecks.2002-09-27 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen fromjm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.* lib/autoscan/functions: Adjust.* doc/autoconf.texi (Particular Functions): Adjust.2002-09-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Usual Tools): Some about mvfrom /tmp.Thanks to Bill Moseley and Paul Eggert.* lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into whichthe tmpdir must be created.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmpdir be in the build tree, instead of $TMPDIR.2002-09-27 Akim Demaille <akim@epita.fr>* bin/autoscan.in: Improve the comments.(&parse_args): Drop obsolete undocumented options.(&output_kind): Output warnings.* lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.(getwd): Trigger a warning.2002-09-26 Akim Demaille <akim@epita.fr>* bin/autoreconf.in: Clarify that -s is meaningless without -i.Reported by Ralf Corsepius.* doc/autoconf.texi (autoreconf Invocation): Likewise.2002-09-26 Akim Demaille <akim@epita.fr>Single suffix rules and seperated dependencies are not portable.* doc/autoconf.texi (Installation Directory Variables): Update.(Limitations of Make): Some about `Single Suffix Rules andSeparated Dependencies'.* bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)(ifnames, autoscan, autom4te): Un-factor into several rules.2002-09-25 Paul Eggert <eggert@twinsun.com>* BUGS (Interoperability bugs): New section. Mention libtool1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.2002-09-24 Paul Eggert <eggert@twinsun.com>Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8make handles suffix-rules differently from GNU make.* bin/Makefile.am (SUFFIXES, .in): Remove.(autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):Move the body of the old .in rule here.2002-09-16 Akim Demaille <akim@epita.fr>i960 compilers create `b.out' files by default.Reported by Ralf Corsepius.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.(_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.2002-09-13 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Particular Headers): Remove obsoletereference to `struct timezone' in the description ofAC_HEADER_TIME.2002-09-13 Akim Demaille <akim@epita.fr>Version 2.54.* config/config.sub, config/config.guess: Update.* Makefile.maint: Update from bits of the Coreutils 4.5.1.* Makefile.am: Adjust.2002-09-13 Akim Demaille <akim@epita.fr>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggestreading config.log when the compiler is rejected.Suggested by Guido Draheim.2002-09-13 Akim Demaille <akim@epita.fr>* bin/autoreconf.in: Don't use Cwd::chdir, since in its internals(chdir_init) might hang when stat'ing mounted directories.Reported by Vance Shipley.2002-09-12 Akim Demaille <akim@epita.fr>* bin/autoscan.in (&parse_args): Pass a reference to the lists, notthe lists.2002-09-12 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Defining Symbols): Present two differentprototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize thedifference between 1 argument calls, and 2-3 argument calls.2002-09-12 Peter Eisentraut <peter_e@gmx.net>* doc/autoconf.texi: Review grammar and punctuation.2002-09-11 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi: Fix minor formatting, spelling, andgrammatical typos.(Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, butAC_DEFINE(var,,description) does not; and the AC_DEFINE(var) caseis obsolescent.2002-09-11 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Questions): Rename as...(FAQ): this.(Defining Directories): New.2002-09-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Making testsuite Scripts): Update.Suggested by Nishio Futoshi.2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>* doc/autoconf.texi (Making testsuite Scripts): Use `@@' where aplain `@' is wanted.2002-09-09 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the`duplicates', since the algorithm was too naive and could keep`--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', andkeep `--prefix foo --prefix bar' as `--prefix foo bar'.Reported by Ralf Corsepius.* tests/torture.at (Configuring subdirectories): Exercise thesecases.2002-09-09 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir whenlooking for a replacement file.* lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that thedirectory is relative.* doc/autoconf.texi (Generic Functions): Clarify the replacementdirectory definition.Reported by Andreas Schwab and Jim Meyering.2002-09-06 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Setting Output Variables): Clarify whatprecious variables are.Suggested by Pontus Skoeld.2002-09-05 Akim Demaille <akim@epita.fr>* bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)(ifnames, autoscan, autom4te): Since we don't only depend onconfigure.ac variables (such as VERSION etc.), but also on prefixand so forth, depend on Makefile, not configure.ac.Reported by Alexandre Duret-Lutz.* doc/autoconf.texi (Installation Directory Variables): Adjust.2002-09-05 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashesdoesn't seem to be confined to ia64, just say "some versions".2002-09-04 Akim Demaille <akim@epita.fr>* Makefile.am, doc/Makefile.am: Remove pdf targets, handled byAutomake 1.6c.* Makefile.am (maintainer-clean-local): Remove.(MAINTAINERCLEANFILES): Remove COPYING.2002-09-03 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Configuration Commands): Remove obsoleteexample for AC_CONFIG_COMMANDS_PRE. Problem reported by MarcusBrinkmann.2002-09-03 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.53d.* Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automakeas of today, on Automake's team suggestion.2002-09-03 Akim Demaille <akim@epita.fr>Version 2.53c.2002-09-02 Akim Demaille <akim@epita.fr>* bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH andSITE_MACRO_DIR.* configure.ac: Disable SITE_MACRO_DIR.2002-09-02 Jim Meyering <meyering@lucent.com>* doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.Also, tweak grammar: s/make sure to/be sure to/.2002-09-02 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Builtins): Explain why logicaldirectory names are generally preferable to physical names.2002-09-02 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&update_file): s/die/error/.Reported by Raja R. Harinath.* bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,* bin/autoupdate.in: Use error instead of die.2002-09-01 Paul Eggert <eggert@twinsun.com>* tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Useordinary shell concatenation rather than echo+tr+sed command thatruns afoul of a long-line-related sed bug in Solaris 8.* bin/autoheader.in (parse_args): --warning -> --warnings.* bin/autoconf.as: Work even if "ls" outputs "FOO not found" tostdout, as traditional "ls" does.* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,_AC_COMPILER_EXEEXT_O): Likewise.* doc/autoconf.texi (Limitations of Usual Tools): Add "ls".* bin/autoconf.as: Add --prepend-include option. This patch wasapplied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,but bin/autoconf.in is generated automatically from bin/autoconf.as.* bin/autoconf.in, configure: Regenerate.* doc/autoconf.texi (Special Shell Variables): MentionENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,MAILPATH and set PS1, PS2, PS4 to default values, to workaround bug in pre-3.0 UWIN ksh reported by Bruce Lilly.For LC_ALL etc, first try to set to "C" as POSIX requires and asthe Autoconf documentation specifies; fall back to "unset" only ifthis fails. Use a shell for-loop for this rather than an m4 loop,to shorten the output script.2002-08-30 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Special Shell Variables): Mention POSIX1003.1-2001's requirements for CDPATH. Give a simpler workaroundfor the CDPATH problem. Document PWD.(Limitations of Builtins): Document the problem that "cd $foo" and"ls $foo" may refer to different directories in shells conformingto POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"example, since the old example is now out of date.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cdFOO" and "ls FOO" talk about different directories; this catchesproblems when POSIX 1003.1-2001 "cd" fails due to symlinkspaghetti.* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET insteadof rolling our own unset.(_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, sincein practice we needn't worry about CDPATH if unset doesn't work.* Makefile.in, aclocal.m4, bin/Makefile.in,config/Makefile.in, doc/Makefile.in, lib/Makefile.in,lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,lib/autoscan/Makefile.in, lib/autotest/Makefile.in,lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,tests/Makefile.in: Regenerate with Automake 1.6.3.* config/config.guess, config/config.sub, config/mkinstalldirs:Update.* configure: Regenerate with self.2002-08-30 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"default output.2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>* bin/autom4te.in (Request::load): Correctly test for "do" readfailure.2002-08-29 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&xqx): New.(&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? byhand, which is not portable.(&error): New.* bin/autom4te.in: Use them.Use &error instead of die.* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):Adjust.2002-08-17 Paul Eggert <eggert@twinsun.com>* lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from thedefault list of compilers to try, since it was long ago supersededby the ksh fc builtin. Suggested by Steven G. Johnson.2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Invoking autom4te): End the option table,fixing a bug introduced by the previous patch.(Limitations of Make): Add a 'target lookup' subentry in the'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.2002-07-29 Mark D. Roth <roth@feep.net>* bin/autom4te.in: Remove --include-envvar and --site-macro-subdiroptions and use $AUTOM4TE_PATH.* doc/autoconf.texi: Remove documentation of autom4te--include-envvar and --site-macro-subdir options and documentuse of $AUTOM4TE_PATH.* lib/autom4te.in: Remove --include-envvar and --site-macro-subdirarguments from each language section.2002-07-29 Paul Eggert <eggert@twinsun.com>* doc/install.texi: Include copyright symbol in copyright notice.* Makefile.am (MAKEINFO): Remove; it's a user-specified macro.Replace with:(AM_MAKEINFOFLAGS): New macro.* doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.* Makefile.am (INSTALL): Use the new macros.Use -o rather than --output, since "missing" does not grok --output.2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Limitations of Make): Escaped newlines incomments do not always work. Never trust the exit status of`make -k'.2002-07-24 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.2002-07-23 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002apparently treats PATH="nonexistent" as if it contained ".".Bug reported by Stefan `Sec' Zehl.2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Limitations of Make): Mention the specialhandling of the obj/ directory by BSD make.2002-07-20 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailingbackslashes.2002-07-19 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Function Portability): `exit'.(Programming in M4sh): Ethymology of M4sh.2002-07-19 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.2002-07-18 Akim Demaille <akim@epita.fr>Version 2.53b.2002-07-18 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub: Update.2002-07-18 Akim Demaille <akim@epita.fr>Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's andAutomake's parts.* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.* lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.* tests/semantics.at (AC_REPLACE_FUNCS): Adjust.2002-07-18 Akim Demaille <akim@epita.fr>,Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install_AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.2002-07-17 Russ Allbery <rra@stanford.edu>* doc/autoconf.texi (Initializing configure): Clarify thedescription of the tarname default.2002-07-17 Andreas Buening <andreas.buening@nexgo.de>* lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't setac_cv_func_fork_works before running _AC_FUNC_FORK, do it if thelatter was not run.2002-07-17 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (find_file): Browse the directories inthe order they are given.2002-07-17 Akim Demaille <akim@epita.fr>* tests/wrapsh.as, tests/wrappl.as: Merge into...* tests/wrapper.as: this.* tests/Makefile.am, configure.ac: Adjust.2002-07-17 Mark D. Roth <roth@feep.net>* configure.ac: Add --enable-site-macro-dir option.* bin/Makefile.am: Expand @SITE_MACRO_DIR@.* bin/autom4te.in: Add --prepend-include, --include-envvar, and--site-macro-subdir options.* bin/autoconf.in: Add --prepend-include option.* bin/autoheader.in: Add --prepend-include option.* bin/autoreconf.in: Add --prepend-include option.* bin/autoscan.in: Add --prepend-include option.* bin/autoupdate.in: Add --prepend-include option.* doc/autoconf.texi: Document use of $AC_MACRO_PATH and sitemacro directory, remove note that include path directories areused in reverse order, and document --prepend-include option.* lib/autom4te.in: Use --prepend-include instead of --include.* tests/wrapsh.in: Use --prepend-include instead of --include.2002-07-17 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed intarnames.* doc/autoconf.texi (Initializing configure): Adjust.2002-07-17 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)(_AC_FUNC_MALLOC): New.(AC_FUNC_MALLOC): Use the latter.Define HAVE_MALLOC to 0 if broken.* doc/autoconf.texi (Particular Functions): Adjust.2002-07-16 Akim Demaille <akim@epita.fr>* lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.* doc/autoconf.texi (C Compiler): Adjust.2002-07-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Properly set the ``header'' part.2002-07-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Systemology): Some about Darwin.2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):Don't use AC_REQUIRE in AU_DEFUN.2002-07-09 Art Haas <ahaas@neosoft.com>* doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variablesso that Emacs setups GNU style for perl-mode and cperl-mode.2002-06-27 Paul Eggert <eggert@twinsun.com>* config/install-sh: Quote $src. Prefer || to test's -o option,as per "Limitations of Builtins".* tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.* tests/semantics.at (AC_C_BIGENDIAN): Likewise.* tests/mktests.sh: Use grep instead of fgrep, as per"Limitations of Builtins".2002-06-15 Paul Eggert <eggert@twinsun.com>* tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,autom4te_perllibdir): Set to top build dir or src dir as appropriate,so that we consistently test the just-built programs.* tests/wrappl.as: Likewise.2002-06-12 Paul Eggert <eggert@twinsun.com>* bin/autoconf.as (AUTOM4TE): Default to a fully qualified pathname, so that symlinks to 'autoconf' work properly. Bug reportedby Bruno Haible.* bin/autoheader.in (AUTOM4TE): Likewise.* bin/autoreconf.in (autoconf, autoheader): Likewise.* bin/autoscan.in (autom4te): Likewise.* bin/autoupdate.in (autom4te): Likewise.* lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check forbtowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.con Solaris 2.5.1.2002-06-11 Andreas Schwab <schwab@suse.de>* doc/autoconf.texi: Add more dir entries.2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>* bin/autom4te.in ($cache): Don't define using `$me', the nameof the cache should not depend on the name under which autom4tewas installed.2002-06-07 Akim Demaille <akim@epita.fr>* tests/tools.at (autoconf: forbidden tokens, basic)(autoconf: forbidden tokens, exceptions): Adjust to the change ofwords in autom4te.in.2002-06-07 Peter Eisentraut <peter_e@gmx.net>* lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use_AC_LANG_PROGRAM_C_F77_HOOKS.2002-06-07 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,rename as...(AC_REPLACE_FNMATCH): this.* tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,AC_FUNC_FNMATCH_GNU.2002-06-07 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Systemology): Point to Tru64 docs, and theRosetta Stone for Unix.2002-06-07 Akim Demaille <akim@epita.fr>* bin/autom4te.in (warn_forbidden): When rejecting a token,suggest m4_pattern_allow.Suggested by Adam J. Richter.2002-06-07 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initializeac_config_libobj_dir.(AC_CONFIG_LIBOBJ_DIR): New.* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...(_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.Use ac_config_libobj_dir to find the replacement files.(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)(AC_REPLACE_FNMATCH_GNU): these.(AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.* doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.* tests/mktests.sh (ac_exclude_list): Don't checkAC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.2002-06-06 Paul Eggert <eggert@twinsun.com>* lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cpif ln doesn't work.* NEWS: Likewise.* doc/autoconf.texi (Configuration Links): Likewise.(Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.2002-06-05 Paul Eggert <eggert@twinsun.com>* config/config.guess, config/config.sub, config/texinfo.tex:Update from masters.2002-05-29 Paul Eggert <eggert@twinsun.com>* bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.* lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):Likewise.* lib/autoconf/Makefile.am (check-local): Likewise.* lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.* lib/autoconf/types.m4 (commentary only): Likewise.* lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.* lib/autotest/Makefile.am (check-local): Likewise.* lib/m4sugar/Makefile.am (check-local): Likewise.* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.* tests/mktests.sh (egrep): New var; use it instead of plain egrep.* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.* doc/autoconf.texi (Particular Programs): Document them.(Limitations of Usual Tools): Warn that egrep and fgrep may not exist.* NEWS: Likewise.2002-05-27 Paul Eggert <eggert@twinsun.com>* lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.* NEWS, doc/autoconf.texi (Particular Types): Document it.* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require itinstead of AC_MBSTATE_T, which never existed.2002-05-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Hosts and Cross-Compilation): Specify theversion of Autoconf that is discussed.2002-05-22 Paul Eggert <eggert@twinsun.com>* lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77from the default list of compilers to try. Suggested byKate Hedstrom.* NEWS: Document the above.* doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.2002-05-17 Paul Eggert <eggert@twinsun.com>* lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even ifthe member is itself an aggregate. Bug reported by Sergey Poznyakoff.This improves on an earlier suggestion by H. Peter Anvin.2002-05-16 Paul Eggert <eggert@twinsun.com>AC_FUNC_FNMATCH now tests only for POSIX compatibility.AC_FUNC_FNMATCH_GNU also tests for GNU extensions.Both macros now accept an optional source-dir arg.New macro AC_GNU_SOURCE to define _GNU_SOURCE.* NEWS: Document this.* doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.(AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,not for GNU extensions; this undoes part of the 2000-11-03 change,reverting to 2.13-compatible behavior.Add new optional argument DIR.(AC_FUNC_FNMATCH_GNU): New macro.* lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.2002-05-08 Paul Eggert <eggert@twinsun.com>* lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,and it causes a 'test' syntax error if it fails.Bug reported by Stephen Gildea.* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):If prototypes are supported, use them to check this at compile-time,instead of trying to check it at run-time. If we must do a run-timecheck, assume that setvbuf is standard when cross-compiling, asnonstandard setvbuf occurs only on ancient and unlikely hosts.Bug reported by Paul D. Smith.* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optionalargument specifying location of getloadavg.c. This removes aFIXME. This idea was taken from Jim Meyering's implementation intextutils.* doc/autoconf.texi (Particular Functions): Document this.Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, sincethat's what the code does; this fixes a bug reported byPaul D. Smith.2002-05-03 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (autoreconf): Rewrite to use Gettext'sautopoint instead of gettextize.($uses_alocal): Rename as...($uses_aclocal): this.* doc/autoconf.texi (autoreconf Invocation): Adjust.Suggested by Bruno Haible.2002-05-03 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_map_sep): New.2002-04-29 Paul Eggert <eggert@twinsun.com>* bin/autoreconf.in (autoreconf): Don't age aclocal.m4's inputfiles to be 1 second older; just set them to be the same time.Also, sleep 1 second after the first aclocal, to work aroundproblems with sub-second time stamps on the input files.2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>* doc/autoconf.texi: Mention "set -e -x" lossageunder node "Limitations of Builtins".2002-04-29 Akim Demaille <akim@epita.fr>* doc/install.texi: Better wording for setting variables whenrunning configure.From Christian Cornelssen.2002-04-29 Akim Demaille <akim@epita.fr>* tests/m4sh.at (LINENO): If testsuite itself is rewritten becauseof lack of $LINENO support, then the test will compare the $LINENOin testsuite vs. the lineno in the test file. This is wrong, ofcourse.Be sure to protect it.Reported by Patrick Welche.2002-04-25 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Obsolete Macros): Typo.Reported by Vladimir Volovich.2002-04-25 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be olderthan some of the input files, hence, on the second run of aclocal,if some of its input are younger, make them older.Suggested by Paul Eggert.2002-04-25 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.Thanks to Paul Eggert.2002-04-25 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_filesand ac_subst_vars be sh variables containing the list ofAC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in theDEFAULT diversion.(_AC_INIT_PREPARE): Use them to log them.(_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.(AC_SUBST, AC_SUBST_FILE): Instead of buliding the_AC_SUBST_SED_PROGRAM, store the list of output files/variables in_AC_SUBST_FILES and _AC_SUBST_VARS.* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.2002-04-24 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (autoreconf): Run automake after autoconf andautoheader, so that automake does not complain about a missingconfig.h.in that was to be created.2002-04-23 Akim Demaille <akim@epita.fr>* bin/autoheader.in (parse_args): --warning takes an argument.Fixes PR/220.2002-04-22 Peter Eisentraut <peter_e@gmx.net>* lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.outand bb.out when cleaning up.2002-04-22 Akim Demaille <akim@epita.fr>Version 2.53a.2002-04-22 Akim Demaille <akim@epita.fr>* tests/m4sh.at (LINENO): Fix the Zsh skip pattern.2002-04-22 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Pretty Help Strings): Remove a spuriouscomma.Reported by Gregory Giannoni.2002-04-22 Akim Demaille <akim@epita.fr>* tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.Fixes false failures on Darwin.2002-04-21 Paul Eggert <eggert@twinsun.com>* TODO, bin/autoupdate.in, doc/autoconf.texi,lib/autoconf/general.m4, lib/autoconf/libs.m4,lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,tests/tools.at: Minor spelling and grammar fixes.2002-04-20 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday'sZSH_VERSION fixes. Bug reported by Raja R Harinath.* lib/autotest/general.m4 (AT_INIT): Likewise.* tests/atgeneral.m4 (AT_INIT): Likewise.2002-04-19 Paul Eggert <eggert@twinsun.com>* NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,lib/autoconf/autoheader.m4, lib/autoconf/c.m4,lib/autoconf/functions.m4, lib/autoconf/general.m4,lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,tests/atspecific.m4, tests/semantics.at, tests/torture.at:Minor spelling and grammar fixes.* doc/autoconf.texi: Follow the outline suggested in the GNUSample Texts sections of the Texinfo 4.2 manual. Mostimportantly, this makes sure that the copyright notices appear inall output formats. You probably need Texinfo 4.2 to generatethe manual now.Fix some bugs when using "$@" when there might be zero positionalarguments in cases where this matters.* bin/autoconf.as: Rewrite so that the problem does not come up.* lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.* lib/autotest/general.m4 (AT_INIT): Likewise.* bin/autoheader.in: Use 'case' statement to work around problem.* bin/auto4mte.in: Likewise.* bin/autoreconf.in: Likewise.* bin/autoscan.in: Likewise.* bin/autoupdate.in: Likewise.* bin/ifnames.in: Likewise.* doc/autoconf.texi (Shell Substitutions): Document the problem.* lib/autotest/general.m4 (AT_INIT):Use Zsh alias to work around problem.* tests/atgeneral.m4 (AT_INIT): Likewise.* tests/c.at: We can't have zero arguments, so remove workaroundthat is not portable to Zsh.2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>* bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNsfrom aclocal.m4 too.2002-04-12 Akim Demaille <akim@epita.fr>* tests/wrappl.as: New, M4sh precursor of wrappl.in.2002-04-10 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zshworkaround for ${1+"$@"}.* doc/autoconf.texi (Shell Substitutions): Explain it.From Oliver Kiddle and Peter Stephenson.Have M4sh perform minimal shell sanitizing.* lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'part into...(_AS_PREPARE): this new macro.(AS_PREPARE): New.(AS_INIT): Invoke AS_SHELL_SANITIZE.* tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.Adjust Autoconf and Autotest.* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invokeAS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.* lib/autotest/general.m4 (AT_INIT): Likewise.* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):Invoke _AS_PREPARE (not AS_PREPARE) in addition toAS_SHELL_SANITIZE.Use this M4sh to generate Autoconf's shell scripts.* tests/wrapsh.as: New, precursor of wrapsh.in.* tests/Makefile.am: Include lib/freeze.mk to get the dependencieson Autotest and M4sh.($(TESTSUITE)): Use $(autotest_m4f_dependencies).(wrapsh.in): New target.* bin/autoconf.as: New, precursor of autoconf.in.(autoconf.in): New target.2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Limitations of Make): Mention the issuewith indented comments in rules.2002-04-09 Andreas Schwab <schwab@suse.de>* lib/autoconf/status.m4 (_AC_SRCPATHS): Handle emptyac_top_builddir when setting ac_abs_top_builddir.2002-04-06 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.(Portable Shell): Cross reference to Systemology.2002-04-05 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (autoreconf): Be sure to accumulate thedirectories when descending in a SUBDIRS.Reported by Ezra Peisach.2002-04-04 Andreas Schwab <schwab@suse.de>* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if pathcontains no literal separators.2002-04-03 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)(_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.Use dnl, not the KILL diversion.Extracted from...(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)(AC_CONFIG_LINKS): here.Adjust.Don't use the KILL diversion, as it kills spurious output, whichresults in failures being hidden.Use m4_defn where appropriate.(AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesisafter the second argument.Use m4_defn.* lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warningsyntax, as it is provided by M4sugar.* tests/torture.at (Multiple AC_CONFIG_FILES): New.2002-04-03 Andreas Schwab <schwab@suse.de>* lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is notexpanded if $# <= 2.* bin/autoreconf.in (autoreconf): Run automake after rerunningaclocal.2002-04-03 Akim Demaille <akim@epita.fr>* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)(_AC_COMPILER_EXEEXT_REJECT): New.Also recognize *.bb and *.bbg as compilation byproducts.(_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)(_AC_COMPILER_OBJEXT): Use them.Fixes Debian #138666.2002-04-02 Peter Eisentraut <peter_e@gmx.net>Integrate AC_PROG_CC_STDC into AC_PROG_CC.* lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.AU_DEFUN old name. Use _AC_COMPILE_IFELSE.(AC_PROG_CC): Call _AC_PROG_CC_STDC.(AC_C_INLINE): Do not require AC_PROG_CC_STDC.(AC_C_CONST): Same.(AC_C_INLINE): Same.(AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.* doc/autoconf.texi, NEWS: Document.* tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC andAC_C_CROSS.2002-04-02 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke_AS_MKDIR_P_PREPARE.2002-03-28 Kevin Ryde <user42@zip.com.au>* lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,to avoid versions of HP C which don't allow that.2002-03-27 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.(AS_SHELL_SANITIZE): Invoke it.(AS_BASENAME): AS_REQUIRE it, and use $as_basename.2002-03-26 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Portable Shell): Add pointers to FAQs.2002-03-26 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Introduction): The GNATS base moved.2002-03-25 Paul Eggert <eggert@twinsun.com>* tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" workingas POSIX requires, as it doesn't work with Zsh.* doc/autoconf.texi (Assignments): Document the problem.2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Limitations of Make): Mention more issueabout VPATH, overriding of macros in sub-makes, and handling ofSHELL.2002-03-21 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtkshproblem with here-document buffer boundaries.* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENVwhen reinvoking the shell, to work around problems with installerswho put strange things like "cd" commands in their environments.2002-03-19 Akim Demaille <akim@epita.fr>* tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.From Aaron Ucko.2002-03-19 Akim Demaille <akim@epita.fr>* bin/autoscan.in (scan_file): Specify the location in `&used'invocations.From Nicolas Joly.2002-03-19 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.From Nishio Futoshi.2002-03-19 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.2002-03-18 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.(Limitations of Usual Tools): Add mkdir section.* lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.(AS_MKDIR_P): Require it. Use mkdir -p if available, fallingback on AS_DIRNAME to compute prefixes otherwise; this isroughly what mkinstalldirs does. That way, we need not haveour own filename disassembler. The old disassembler did notwork with Solaris 8 dtksh, which is ksh Version M-12/28/93d.* lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):Create at_test_all by a series of assignments,not by a single assignment of a long string. The latter causes kshversion 11/16/88g to silently misbehave on OpenServer 5.0.6a,presumably because of a buffer overrun.2002-03-14 Paul Eggert <eggert@twinsun.com>* lib/autotest/general.m4 (at_times_skip):Renamed from at_times. Now a boolean.ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; itsays 'times: not found'.2002-03-14 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&study_gettextize): New.(&autoreconf): Handle newest gettextize.Rerun aclocal if needed.Suggested by Andreas Schwab.2002-03-13 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Special Shell Variables): More about IFS.2002-03-13 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Header Portability): New.Add information about stdint.h and inttypes.h from Paul Eggert.2002-03-13 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Usual Tools): Some about `cp-p'.From Bob Proulx.2002-03-12 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, notm4_require.2002-03-11 Andreas Schwab <schwab@suse.de>* configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIRdoes not do it if --with-lispdir is given.2002-03-08 Akim Demaille <akim@epita.fr>Version 2.53.2002-03-08 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Subdirectories): Clarify that thesubdirectory should exist.2002-03-08 Akim Demaille <akim@epita.fr>* Makefile.am (AUTOMAKE_OPTIONS): 1.6.2002-03-08 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&handle_m4): Do not foreach with `$_' as italiases the actual variables, and modifications of the formeraffect the latter.2002-03-08 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&handle_m4): Protect us from corrupted filebecause of C-c: have m4 output in tmp files, then mv them.2002-03-08 Akim Demaille <akim@epita.fr>* bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,* bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,* bin/ifnames.in: Copyright update.2002-03-08 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Invoking autom4te): New.2002-03-05 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Specifying Names): Clarification suggested byKevin Ryde.2002-03-05 Akim Demaille <akim@epita.fr>Version 2.52i.2002-03-04 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.* lib/autoconf/general.m4 (AC_INIT): More informative errormessage for LIBOBJ.2002-03-04 Akim Demaille <akim@epita.fr>* lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, forparallel builds.2002-03-04 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Transforming Names): Equality between targetand host is irrelevant.(Specifying Names, Canonicalizing): Remove all references to thebackward compatibility hooks. Rather, collect them all into...(Hosts and Cross-Compilation): this new section.* doc/install.texi (System Type): Ditto.* lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly statethat `--host' implies cross-compilation.2002-03-04 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Evaluation Macros): New.* lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totallyuseless.(_m4_foreach): Define the variant with immediate evaluation sothat it contains exactly the items, not an expression whichevaluation is the current item.(m4_re_string, m4_re_word): Don't over quote them.2002-03-04 Akim Demaille <akim@epita.fr>Instead of having stacking `shift's evaluated at the end, let`foreach' loops immediately evaluate them.* lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than$*. This is the n-th time I change my mind, but hopefully this isthe last...(m4_lquote): New.(m4_text_wrap): Use m4_foreach, which is finally correct _and_efficient.(m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, asit was only a hack for m4_text_wrap.(m4_car2): Remove, replaced by...(m4_cdr): New.(_m4_foreach): Adjust.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and usem4_bpatsubst for clarification.2002-03-04 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Changequote is Evil): New.2002-03-03 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limiton old systems like SunOS.2002-03-01 Peter Eisentraut <peter_e@gmx.net>* lib/autoconf/c.m4, lib/autoconf/fortran.m4,lib/autoconf/functions.m4, lib/autoconf/general.m4,lib/autoconf/headers.m4, lib/autoconf/lang.m4,lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spellingof messages.2002-02-28 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Suggest a title to themessage to be sent.2002-02-28 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Add va_copy and va_list.2002-02-25 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.From Akinori Musha.2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/Autom4te/XFile.pm (getline, getlines): New functions,translate \r\n to \n.2002-02-07 Akim Demaille <akim@epita.fr>Version 2.52h.2002-02-07 Akim Demaille <akim@epita.fr>Fix Autoconf PR/209.Also reported by Frank Denis.* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.2002-02-07 Akim Demaille <akim@epita.fr>Fix Autoconf PR/207:AC_PREFIX_PROGRAM fails with dashed program names* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a freshvariable when looking for the prefix program.Now it also works for shell variables.2002-02-07 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Builtins): More aboutcase/esac.2002-02-06 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output emptycase/esac, some shells don't support it.Reported by Zack Weinberg.* tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.2002-02-06 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): When handling --keywords, besure not to introduce newlines in at_groups.* lib/autotest/Makefile.am (autotest.m4f): Typo.2002-02-06 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): Skip if aclocalis not available.2002-02-05 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Specific Compiler Characteristics):Describe HP-UX cc bug workaround more accurately.* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,not unsigned long.* tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCCcross-compilers, too. This undoes some of the most recent changeto this file.2002-02-05 Akim Demaille <akim@epita.fr>* tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,to make sure they are up to date when `check' is run.2002-02-05 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Making testsuite Scripts): Documentpackage.m4.2002-02-05 Akim Demaille <akim@epita.fr>* lib/freeze.mk: New.2002-02-05 Akim Demaille <akim@epita.fr>Implement `autom4te --freeze'.* bin/autom4te.in (&freeze): New.* lib/autoconf/autoconf.m4, lib/autotest/general.m4,* lib/m4sugar/m4sh.m4: Don't include files given by autom4te.2002-02-05 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&parse_args): Implement `frozen files areoptional are the sum of the previous files on the command line'.Also, pass `--reload-state=' on them, so...(handle_m4): don't.* lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.(M4sh): Rely on M4sugar.(Autotest, M4sh, M4sugar): Use frozen files.2002-01-31 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.* doc/autoconf.texi (Initializing configure): Adjust.2002-01-30 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map nonalphanumeric to `-' instead of `_'.2002-01-30 Akim Demaille <akim@epita.fr>* tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: onefor plain code, the other for cross-compilation code. The latteris now run with GCC only.* doc/autoconf.texi (Compilers and Preprocessors): New.2002-01-30 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-definedvalues.* doc/autoconf.texi (Initializing configure): Explain how tochange AC_INIT default values.2002-01-29 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): Use configure.in,so that aclocal 1.4 works.Reported by Alexandre Duret-Lutz and Larry Schmitt.2002-01-28 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longerneeds an argument.2002-01-28 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjustAUTOTEST_PATH *after* it was set.Don't put `.' in the PATH: the user should be precise and `./' ifneeded. In addition, given that the test suite does some `cd', if`.' is in the path, the `tested programs' sections will reportprograms found in the test suite's directory, while during thetests (performed in their own directory), these programs are nolonger visible. In other words, the results is confusing anduseless.* tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.2002-01-24 Akim Demaille <akim@epita.fr>Version 2.52g.2002-01-24 Akim Demaille <akim@epita.fr>* bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,* doc/autoconf.texi: Finally add Akim as an author.2002-01-24 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.(_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to beBourne. Use /bin/sh.From Andreas Buening.2002-01-24 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, config/texinfo.tex:Update from masters.2002-01-24 Akim Demaille <akim@epita.fr>* Makefile.am (AUTOMAKE_OPTIONS): 1.5b.* config/auxdir.m4, config/cond.m4, config/depend.m4,* config/init.m4, config/install-sh.m4, config/lispdir.m4,* config/missing.m4, config/sanity.m4, config/select.m4,* config/strip.m4: Remove, to ease sync'ing with any version ofAutomake.2002-01-24 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)(_AC_INIT_PREPARE): Support -n as --no-create, as documented.Reported by Geir Ove Myhr.2002-01-21 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.2002-01-21 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (getopt): Use a more GNUish errormessage on invalid options.* bin/autom4te.in (parse_args): Don't useAutoconf::General::getopt with non valid options.2002-01-17 Jim Meyering <meyering@lucent.com>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize$ac_cv_exeext so we don't use an old, invalid, cached value.2002-01-11 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from JimMeyering.* doc/autoconf.texi (Function Portability): Document the strnlenlimitation.(Particular Functions): Document AC_FUNC_STRNLEN.* lib/autoscan/functions: Adjust.2002-01-06 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't createpackage.m4, since is really depends upon configure.ac, notconfigure.* doc/autoconf.texi (testsuite Scripts): Adjust.* tests/Makefile.am (package.m4): New.EXTRA_DIST it since its a source.2002-01-06 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBSTof PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,and PACKAGE_BUGREPORT from here...(_AC_INIT_DEFAULTS): to here, since it is unrelated to thearguments.(_AC_INIT_PREPARE): AC_DEFINE these symbols.* lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.(AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.* tests/tools.at (autoheader): Adjust.* tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.2002-01-06 Akim Demaille <akim@epita.fr>* bin/autoscan.in (scan_file): Use `&used'.2002-01-03 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Output): Improved wording regarding use ofAC_OUTPUT.From Olly Betts.2001-12-18 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Add notes on sscanfsometimes needing writable input.2001-12-17 Jim Meyering <meyering@lucent.com>* doc/autoconf.texi (New Macros): Tweak wording.2001-12-14 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up thetrailing files, don't apply `-rf' to files which might not becreated by configure (core, core.*, and *.core), but just `rm -f'.Suggested by Jonathan Kamens.2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>* lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.2001-12-14 Akim Demaille <akim@epita.fr>* Makefile.am (MAINTAINERCLEANFILES): Remove configure.2001-12-13 Peter Eisentraut <peter_e@gmx.net>* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath toabs_builddir, top_buildpath to abs_top_builddir, srcpath toabs_srcdir, top_srcpath to abs_top_srcdir.(_AC_OUTPUT_FILES): Adjust.* NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,* tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,* tests/wrappl.in, tests/wrapsh.in: Adjust.2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>* lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failedC/Fortran linking on HP/UX, by extracting the Fortran librarysearch path from the LPATH line in the $F77 -v output.2001-12-12 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (File Descriptors): Use a clearer layout for theforbidden file descriptors table.2001-11-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (%c_keywords): Build it at top level.Map to 1 in order to simplify its uses.2001-11-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):Remove $filepath, useless.(&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@variables, they are really part of the tokens.Split the input line on spaces and then look for tokens.Now autoscan ceases to ask for AC_PROG_LEX for the package Bisonbecause of `lex$U.$(OBJEXT)'.(&scan_files): Use "@list" instead of join.* doc/Makefile.am (CLEANFILES): Add *.fns.2001-11-26 Akim Demaille <akim@epita.fr>* tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:Remove, replaced by...* tests/wrappl.in: Be common for all the Perl executables.In particular autoscan and autoheader want -I.* configure.ac: Adjust.* lib/autoscan/headers: errno.h is portable.2001-11-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (used): New.Use it.2001-11-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (&scan_c_file): Better parsing of CPPdirectives.(&scan_sh_file): Remove a duplicate pattern.(&check_configure_ac): Use long options.* lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.2001-11-26 Akim Demaille <akim@epita.fr>* bin/autoscan.in (scan_c_file): Fix the handling of C comments.Before, having a line containing the opening of a multi linecomment made the whole line be ignored.2001-11-26 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Using an Autotest Test Suite): New.(testsuite Scripts): Be one of its subsection.(Autotest Logs): New.2001-11-26 Akim Demaille <akim@epita.fr>Test groups are now run two directories deeper.* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,top_srcdir and top_builddir with at_srcdir, at_top_srcdir andat_top_builddir.* lib/autotest/general.m4 (AT_INIT): Compute srcdir,top_srcdir, builddir and top_builddir.Use `at_*dir' relatively to the directory containing thesuite, use `*dir' when relatively to the current group dir.2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>* doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,lib/autoconf/functions.m4, lib/autoconf/headers.m4,tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fixspelling errors.2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Using System Type): Add an example of `case$host' usage so people quit using `case $target' everywhere.2001-11-22 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Installation Directory Variables): Englishoesspotted by Jim Meyering.2001-11-16 Paul Eggert <eggert@twinsun.com>This patch implements a `long double' suggestion by Oliver Kiddle.* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the arraystatic, to catch errors if the value isn't known at compile-timeand the compiler supports dynamic arrays. Change its name from`_array_' to `test_array' to avoid potential name clashes.(AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-timetest. Do not define HAVE_LONG_DOUBLE if `long double' is nobetter than double. Catch a bug in GCC 2.95.2 x86.* doc/autoconf.texi (C Compiler): Document the above.* NEWS: Likewise.2001-11-13 Akim Demaille <akim@epita.fr>* tests/m4sh.at (LINENO): Protect from autom4te's substitution byhand.* tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.2001-11-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): After having run the testgroup, go back to the initial directory, not to at_suite_dir.2001-11-13 Akim Demaille <akim@epita.fr>* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)(AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.(AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --includeoption.(AT_CHECK_CONFIGURE): Use absolute paths.(_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.The problem is still the old one: there is no means in M4 (that Iknow about) to create a defining macro, because there is no meansto create `$1' etc., therefore, the defining macro ``swallows''all the arguments meant to the defined macro.2001-11-13 Akim Demaille <akim@epita.fr>* tests/atspecific.m4 (AT_DATA_AUTOCONF): New.(AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE inconfigure.ac.* tests/aclocal.m4: Remove, as it is no longer used.2001-11-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4: Change `tests?' into `groups?' invariable names when referring to a single test group, or to`suite' when referring to the whole test suite.`at_last_test' is removed: m4 compute at_format itself.(at_stdout, at_stder1, at_stderr): New variables.(AT_CHECK): Use them.2001-11-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,in PATH.Create `testsuite.dir/003/run' instead of `testsuite.003'.Do it as soon as a test fails, don't wait till the end of the testsuite.Don't remove $as_me.[0-9]*, since these files no longer exist.2001-11-13 Akim Demaille <akim@epita.fr>* tests/tools.at: Use absolute paths, since we are no longer runin place.2001-11-13 Akim Demaille <akim@epita.fr>Now that tests are running in their own private dir, there is noneed to list the files to remove at the end of tests groups.* lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):(AT_data_files, at_data_files): Remove.(AT_CLEANUP, AT_DATA): Simplify.(AT_INIT): Adjust.Remove the group dir if !debug && !failed.* tests/atspecific.m4: Adjust.2001-11-13 Akim Demaille <akim@epita.fr>Start a new layout for Autotest: `testsuite' creates`testsuite.dir' in which the at-check-line etc. files are to befound, and `testsuite.dir/003' where the test group 3 is run.* lib/autotest/general.m4 (AT_INIT): at_tests_dir,at_check_line_file, at_format, at_test_normalized, at_group_dirare new variables.Create the directories.Use absolute paths for at- files.(AT_CHECK): Adjust.2001-11-11 Michael Matz <matz@kde.org>* m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.(m4_car2): New.(m4_car): Properly quote arguments.2001-11-13 Akim Demaille <akim@epita.fr>* tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to copewith stricter rules on LIBOBJS.2001-11-12 Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.* doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines__PROTOTYPES too.2001-11-12 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.2001-11-12 Akim Demaille <akim@epita.fr>* lib/autoconf/c.m4, lib/autoconf/fortran.m4,* lib/autoconf/functions.m4, lib/autoconf/general.m4,* lib/autoconf/headers.m4, lib/autoconf/libs.m4,* lib/autoconf/programs.m4, lib/autoconf/specific.m4,* lib/autoconf/types.m4: When invoking AC_DEFINE and friends,specify to what the macro should be defined (typically to 1).2001-11-12 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.From Jim Meyering.2001-11-12 Akim Demaille <akim@epita.fr>* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): UseAC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates thedefinition used by Automake where LEX is +/- "${missing} lex" and`missing' itself contains variables.2001-11-12 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Push KILL at the end.Now that M4sh pushes BODY, the comments were output at the end ofthe test suites.2001-11-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf): Run aclocal before tracing, sothat we can trace macros from aclocal.m4.Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter isobsoleted, and redirect to the former anyway.Reported by Ralf Corsepius.2001-11-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to beprocessed only if present.* tests/torture.at (Configuring subdirectories): Use autoreconfinstead of successive calls to autoconf.Add a nonexistent subdirectory to exercise the patch above.Reported by Ralf Corsepius.2001-11-08 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX ccdoesn't accept .S files.2001-11-07 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.* lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.(_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.* bin/autom4te.in (warn_forbidden): New.(handle_output): Use it.Read m4_pattern_forbid with messages.2001-11-05 Akim Demaille <akim@epita.fr>* bin/autom4te.in (--normalize): Remove.* lib/autom4te.in: Adjust.2001-11-05 Akim Demaille <akim@epita.fr>* tests/Makefile.am (testsuite): Rename this target as...($(TESTSUITE)): this.From Nicolas Joly.2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removingthe --prefix option, also remove it's argument.2001-11-05 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (testsuite Invocation): Update.(Writing testsuite.at): Update.2001-11-03 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: s/@code/@command/ where appropriate.2001-11-03 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm: (&catfile, &canonfile)(&file_name_is_absolute): New, wrappers around routines fromFile::Spec.Use and export them.(&find_configure_ac): Optionally take a directory where to look at.* bin/autoreconf.in (&parse_args): Trim the configure.ac part ofthe arguments.Default @ARGV to `.', not find_configure_ac.(&autoreconf): Argument is a directory.Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.* doc/autoconf.texi (autoreconf Invocation): Update.2001-11-03 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (@export_vars, @export_subs)(@export_forward_subs): New.Add basename, dirname, and fileparse.(@EXPORT): Adjust.* bin/autoreconf.in (&autoreconf): Fix call to fileparse.Don't look for aclocal flags if we already know aclocal is notused.Move aclocal.m4t only if it exists.Reported by Ezra Peisach.2001-11-03 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&parse_args): Work only on the configure.acpassed on command line, defaulting to ./configure.ac if present.(&maybe_autoreconf, File::Find): Remove, unused.(&autoreconf): If autoconf is not used, don't try to trace.2001-11-02 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.52g.2001-11-02 Akim Demaille <akim@epita.fr>Version 2.52f.2001-11-02 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, doc/standards.texi:* config/lispdir.m4: Update from masters.* configure.ac: Bump to 2.52f.2001-11-02 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.Don't run aclocal when aclocal.m4 is not from aclocal.From Ezra Peisach.Don't run libtoolize and gettextize if --install is not given.2001-11-01 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs tobe invoked before _AS_LINENO_PREPARE.(_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum ratherthan character ranges.* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS beforeinvoking AS_BASENAME. Set the locale variables to 'C' ifpossible, as POSIX requires this to get the traditionalbehavior.* doc/autoconf.texi (Special Shell Variables): Describe the above.2001-10-31 Paul Eggert <eggert@twinsun.com>* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround bodywith {}, as that triggers a bug in Bash 2.05.(_AS_LINENO_PREPARE): Use Sed rather thanAwk. Fix the sed prepass to work even if there are multipleinstances of $LINENO on the same line. Do not substitute forother variables like $LINENOT. Do not check file dates; such acheck is unreliable on sufficiently fast machines, and removingthe check makes the code simpler and more reliable. Check foroutput and chmod failures.* doc/autoconf.texi (Special Shell Variables): Documentthe above.2001-10-31 Akim Demaille <akim@epita.fr>* tests/Makefile.am (atconfig): Remove this target, Automakehandles it now.2001-10-31 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do notAC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* beprovided, while it is optional.* configure.ac: Adjust.2001-10-26 Paul Eggert <eggert@twinsun.com>* NEWS, README, configure.ac, lib/Autom4te/General.pm,lib/Autom4te/Struct.pm:Require Perl 5.005_03 instead of just 5.005, as some tests failwith 5.005_02.* doc/autoconf.texi (Special Shell Variables): Document somemore LINENO gotchas, particularly with respect to the Awk+Sed hack.* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.(_AS_LINENO_PREPARE): Use it instead of shell eval, sinceeval $LINENO is not portable in practice.2001-10-24 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (backname): New.2001-10-24 Akim Demaille <akim@epita.fr>* m4/: Remove, merged into...* config/: here.2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>* doc/autoconf.texi (Shellology): Mention the problems with bash2.05's use of ANSI quoting in its `set' builtin.2001-10-22 Paul Eggert <eggert@twinsun.com>* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, sincePOSIX decided to standardize on the int flavor of strerror_r.Always do char* test, as there's no reason not to.Assign to a char* var, to catch strerror_r that returns int*.* doc/autoconf.texi (Particular Functions):Document the above changes. Also, document the fact thatAC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.* NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.2001-10-20 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name ofthe executable was missing from the log.2001-10-20 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&update_file): If destination isunchanged, remove the source.(&up_to_date_p): Don't be verbose, be debug.* bin/autoreconf.in: No longer support --m4dir.(&autoreconf): Display the full path of the configure.ac we arestudying.Trace it only once.Be sure to honor --force with gettextize.Always run aclocal.* doc/autoconf.texi: Adjust.2001-10-20 Akim Demaille <akim@epita.fr>* bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):Remove, dead.* bin/autoreconf.in (&autoreconf): Do not run gettextize when`intl' is already present, as it refuses unless --force.(&parse_args): Use -I, --include instead of the old Autoconfoptions.($localdir, $autoconf_dir): Remove.(@include): New.(&maybe_autoreconf): New, to preserve $_ for File::Find.2001-10-19 Jens Petersen <petersen@redhat.com>* lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.* doc/autoconf.texi (Particular Programs): Likewise.2001-10-19 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generatedfile in @configure_input@.Don't mention `automatically' in addition to `generated'.* tests/torture.at (#define header templates): Adjust.2001-10-19 Akim Demaille <akim@epita.fr>* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In acomment, explain how to install automatic mode selection.From Russ Allbery.2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>* bin/autoreconf.in (autoreconf): Display the path to theconfigure.ac being studied.2001-10-18 Paul Eggert <eggert@twinsun.com>* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsignedlong, to work around a bug in the HP C compiler version HP92453-01B.11.11.23709.GP.* lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.(AS_BASENAME_EXPR): New macro.(AS_BASENAME_SED): Do not assume GNU sed semantics.(AS_BASENAME): Use 'basename' if that works; then try 'expr';and fall back on 'sed' only if the other two fail. This makesAS_BASENAME act more like AS_DIRNAME.(as_me): Shell-quote the argument of AS_BASENAME, in case $0contains white space.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR):Use AS_DIRNAME, since I think it's now DOS-friendly.* tests/m4sh.at (DIRNAME_TEST): New arg $3.Allow "dirname //FOO" to return either / or //, as POSIX allowseither behavior.2001-10-10 Akim Demaille <akim@epita.fr>* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize`a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.From Eric Sharkey.2001-10-10 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, notm4_define, since...(_AS_ECHO_N): AS_REQUIREs it.2001-10-10 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)(AC_INCLUDES_DEFAULT): Move to...* lib/autoconf/headers.m4: here.* lib/autoconf/types.m4: Comment changes.* doc/autoconf.texi: Specify where the default includes are usedin the macro prototypes.2001-10-09 Akim Demaille <akim@epita.fr>* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): Newtransition code.2001-10-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (&autoreconf): Remove debugging code.(&parse_args): Pass verbosity/debugging options to subtools when--debug, not when --verbose.* lib/autom4te.in (Autoreconf-preselections): New.(Autoconf): Use it.2001-10-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.2001-10-08 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (autoreconf Invocation): Adjust.* bin/autoreconf.in (autoreconf): Run gettextize when appropriate.2001-10-08 Akim Demaille <akim@epita.fr>* tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.(Syntax of the shell scripts): Don't.* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don'tbother with $force since...* lib/Autom4te/General.pm: does.2001-10-08 Akim Demaille <akim@epita.fr>* bin/autoreconf.in: Rewrite in Perl.* configure.ac: Adjust.* lib/Autom4te/General.pm (&up_to_date_p): New.* bin/autom4te.in (&up_to_date_p): Use it.Rename as...(&up_to_date): this.2001-10-08 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)(m4_list_cmp): Use $0 to reinvoke yourself.(m4_patsubsts): New.(m4_strip, m4_version_unletter): Use it.* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.2001-10-08 Akim Demaille <akim@epita.fr>* lib/autoconf/autoconf.m4, lib/autoconf/general.m4,* lib/autoconf/libs.m4, lib/autoconf/status.m4,* lib/autoconf/types.m4, lib/autotest/general.m4,* lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,* tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match tom4_bregexp, m4_bpatsubst, and m4_bmatch.* doc/autoconf.texi (Redefined M4 Macros): Adjust.2001-10-08 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4: Use AS_REQUIRE.2001-10-08 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.* tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.* tests/tools.at, tests/m4sh.at: Use it.* tests/m4sh.at: Don't rely on Autoconf macros.(DIRNAME_TEST): Also exercise the expr variant.* tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): Thepreferred M4sugar extension is now `.4s'.* tests/README: Remove.2001-10-08 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...(m4_provide_if): this.* lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.* lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)(AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of theM4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.2001-10-08 Akim Demaille <akim@epita.fr>Use `add-log-current-defun-function' for ChangeLog creation.Suggested by Tom Tromey.* lib/emacs/autotest-mode.el (autotest-mode-map): New.(autotest-mode): Adjust.* lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map'comment-region onto `C-c ;'.Comments are `#', not `dnl'.(autoconf-current-defun): New.(autoconf-font-lock-keywords): Recognize `m4_defun'.2001-10-08 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...* lib/m4sugar/m4sh.m4: here.(AS_INIT): Push the BODY diversion, set the #! /bin/sh line.* lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.(AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,include handle the m4_pattern_*, no longer push theBODY diversion nor set the /bin/sh line, AS_INIT does it.* lib/autotest/general.m4 (AT_INIT): Likewise.* tests/base.at: Adjust the tests to use AS_INIT.* tests/tools.at (AT_DATA_FORBIDDEN): New.(autoconf: forbidden tokens): Adjust to work on M4sh instead ofAutoconf.2001-10-07 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (config.status Invocation):CONFIG_SHELL defaults to a shell that supports LINENO if available.* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the currentshell does not support LINENO, and if CONFIG_SHELL is unset orempty, and if we can find a shell that does support LINENO,then set CONFIG_SHELL to that shell and then re-executeourselves with CONFIG_SHELL.2001-10-05 Paul Eggert <eggert@twinsun.com>* tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if itdoesn't exist. Remove *.tmp, as a .tmp file is created during thebuild of $(TESTSUITE).2001-10-05 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the pathiff we are a bareword.Reported by Raja R Harinath.2001-10-05 Akim Demaille <akim@epita.fr>* tests/m4sh.at (LINENO): New.* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to setPATH_SEPARATOR before using it.Fix the absolute path case/esac pattern.Provide $0 as fallback for as_myself.Reported by Raja R Harinath.2001-10-05 Akim Demaille <akim@epita.fr>* Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,* m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.2001-10-05 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...(AS_SHELL_SANITIZE): here. Use it.(_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.From Paul Eggert.2001-10-04 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portablecombination of Awk and sed to replace $LINENO.2001-10-02 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Limitations of Builtins): You can't use"source"; it's not portable. Remove confusing andsomewhat-incorrect example involving "." and "/".* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", forcompatibility with POSIX shells.2001-10-02 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.linenoinstead of exec'ing to preserve $0 and $@.2001-10-01 Akim Demaille <akim@epita.fr>* tests/testsuite (AT_INIT) <at_pass_list>: New.Don't run twice the same test.2001-10-01 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.No longer output the list of tests.<--list>: New option.<--full-help>: Remove.Complete the short/long options duality.Various small adjustments.2001-10-01 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Use @kbd for user input.Always use `$' as shell prompt.2001-09-30 Paul Eggert <eggert@twinsun.com>* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):Don't use nested parenthesization. This patch was originallysuggested to bug-autoconf by Philippe De Muyter on 2000-05-28,but somehow it didn't get incorporated then.* doc/autoconf.texi (Limitations of Usual Tools):Clarify remark about sed and nested parenthesization.* lib/autoconf/types.m4 (AC_CHECK_SIZEOF):Report an error if the size cannot be determined even thoughthe type exists.* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):Check for `expr' arithmetic overflow, and for compilation failure,and invoke a new argument $4 if either is discovered.This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.(_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.2001-09-28 Akim Demaille <akim@epita.fr>* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.* m4/lispdir.m4: New.* aclocal.m4, configure.ac: Adjust.2001-09-28 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_VICTIMS): Rename as...(AT_TESTED): this.(AT_INIT): More the wrapped section to where it will be expanded.Output `AT_tested' only when existing.Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.2001-09-27 Akim Demaille <akim@epita.fr>Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, thatgenerates too many bug reports.* lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exitstatus when executing the ACTION-IF-FALSE.* tests/base.at (AC_TRY_*): Rename as...(AC_TRY_COMMAND): this.(AC_RUN_IFELSE): New.* tests/compile.at (Extensions, C keywords)(AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)(Broken/missing compilers, AC_PROG_CPP with warnings)(AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...* tests/c.at (Extensions, C keywords)(Broken/missing compilers, AC_PROG_CPP with warnings)(AC_PROG_CPP without warnings, AC_PROG_CPP via CC)(AC_PROG_CPP requires AC_PROG_CC): here and...* tests/fortran.at (GNU Fortran 77): there.* doc/autoconf.texi (autoconf Invocation): Fix the example:AC_TRY_RUN is about compilation, not shell commands.(Test Programs): AC_TRY_RUN works as used to be advertised.2001-09-27 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted byRaja R Harinath:Be sure to detect when $LINENO always returns the same value.Look for the original script, basename($0) is certainly notenough.Pass the CLI arguments to `$as_me.lineno'.2001-09-25 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.Be sure the close and reopen the LOG fd before and after using teeto extend the log.<at_tests_pattern>: Adjust to the new format of at_help_all.2001-09-23 Akim Demaille <akim@epita.fr>* bin/autom4te.in (parse_args): There can be several invocationsof --language now.2001-09-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Top): Wrap in @ifnottex.2001-09-23 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provideac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.(_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,builddir, buildpath, top_builddir, and top_buildpath.(_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changingthe current directory.* lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dirvariables *before* changing the current directory.Skip nonexistent dirs.* doc/autoconf.texi (Preset Output Variables): Document thesevariables.* lib/autotest/general.m4: Do not reset AT_victims.Don't compute at_srcdir nor at_top_srcdir.* tests/tools.at: Hence use top_srcdir.* tests/Makefile.am, tests/autoconf, tests/autoheader,* tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:Remove.* tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,* tests/wrapsh.in, tests/autoupdate.in: New.* tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.* configure.ac: Build the position independent wrappers.* man/Makefile.am: Now that test wrappers are positionindependent, use them and drop dark envvar magic.2001-09-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Common Shell Constructs): Rename as...(Programming in M4sh): this.Promote to @section.2001-09-23 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Dump config.log last.Pass $at_debug_args to the rerun test suite.* lib/m4sugar/Makefile.am (DISTCLEANFILES): New.* bin/Makefile.am (ETAGS_SH): Don't use characters ranges.From Paul Eggert.2001-09-23 Akim Demaille <akim@epita.fr>* bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.2001-09-23 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shellover-escaping.2001-09-23 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&debug): New.* bin/autom4te.in ($language): Move to...(parse_args): here.Handle --language in languages.* lib/autom4te.in (Automake-selections, Autoheader-selections)(Autoscan-selections): New.(Autoconf): Adjust.2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,* m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updatedto match current versions from CVS Automake.2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Special Shell Variables): Add pdksh outputfor $LINENO.2001-09-22 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4: Create `package.m4'.* tests/Makefile.am (package.m4): Remove.2001-09-22 Akim Demaille <akim@epita.fr>Rely on `$LINENO' when possible instead of `__oline__'.* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of`$LINENO' support replacement when not supported.(_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invokethem explicitly to be sure they are not output before this section(via m4_require). Cosmetic only.* lib/autoconf/c.m4, lib/autoconf/general.m4,* lib/autoconf/programs.m4: Replace all the occurrences of`__oline__' with `$LINENO'.* doc/autoconf.texi (Special Shell Variables): Document LINENO.2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>* lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bitcharacter (u: -> ue) in a code comment.(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we knowit works.2001-09-21 Akim Demaille <akim@epita.fr>* Makefile.maint (AUTOM4TE): Neutralize autom4te.Suggested by Jim Meyering.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* lib/autoconf/programs.m4: Use extensions listed in$ac_executable_extensions when looking for programs.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* lib/autoconf/general.m4: Fix a small Englisho.* lib/autoconf/status.m4: Fix a small typo. Handle DOS paths whensetting up ac_dir_suffix and ac_top_builddir.* lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* doc/autoconf.texi (File System Conventions): Clarify the use ofPATH_SEPARATOR.(Special Shell Variables[PATH_SEPARATOR]): Ditto.(Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR shouldbe used instead of ':'.* lib/autotest/general.m4: Replace occurrences of ':' inAUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) asarguments. Fixed a typo.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up$PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.* bin/autoupdate.in: Ditto.* bin/autoheader.in: Reworded a few comments.* bin/autoconf.in: Reworded help text for a few options.* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,* bin/autoscan.in, bin/autoupdate.in: Ditto.2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>* lib/Autom4te/XFile.pm (open): Simplified the error message (wealready have $file). Set output files to binary mode (helps avoidCR issues on DOSish systems).2001-09-19 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4: Englishoes.From Tim Van Holder and Alexey Mahotkin.2001-09-18 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Common Shell Constructs): New node,documenting AS_DIRNAME.(Limitations of Usual Tools): Refer to it when discussing dirname.Also, update discussion of POSIX standard to reflect latest draft.* lib/autoconf/c.m4:(AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):Do not pass a first argument with leading '-'to expr, by parenthesizing initial integers that might be negative.* doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRPnow merely checks whether it is an error to pass an argumentto getpgrp.* lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.(AC_FUNC_GETPGRP): Don't bother with a runtime test. Just checkwhether it is a (compile-time) error to pass an argument togetpgrp. This simpler test supports the revised documentation,and is all that AC_FUNC_GETPGRP's users really need.2001-09-18 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Make) <$<>: New.2001-09-18 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Usual Tools) <find>: More about`{}'.* lib/autotest/general.m4 (AT_INIT): Adjust.2001-09-18 Paul Wagland <paul@wagland.net>* tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'correctly.Add test for AS_BASENAME.* lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previousadded test. It now correctly handles /1/2/3/, returning '3' not ''.Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.* tests/base.at: Fixed the expected responses. The old ones wereone line out...* lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves asthe documentation claims it should (and how it behaved in 2.13).2001-09-18 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS inthe AC_CONFIG_COMMANDS invocation.This also solves the name clash problems.Don't set the package's ID.* lib/m4sugar/Makefile.am (version.m4): Revamp.No longer to be shipped.(version.in): Remove.* lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,* lib/autoconf/status.m4: Adjust.Use `m4_PACKAGE_STRING'.* lib/autotest/general.m4 (AT_INIT): N-th signature change: nowthe only optional argument is the name of the test suite.Expect `package.m4' to define the package signature.* lib/autom4te.in (Autotest): Add `package.m4?'.* tests/Makefile.am (package.m4): New.* tests/suite.at: ifnames is a victim.2001-09-18 Akim Demaille <akim@epita.fr>* lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,AC_LIBSOURCE, AC_CONFIG_FILES.* lib/autotest/general.m4 (AT_INIT): Don't abort when a testedprogram version string doesn't match the package's.* lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the spaceafter `(cached)'.2001-09-17 Paul Eggert <eggert@twinsun.com>* lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):Allow expression to return any value that can fit into unsigned long(not int, as before). Check for output errors.2001-09-17 Bruno Haible <haible@ilog.fr>* lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):Always include <stdio.h> and <stdlib.h>. Evaluatethe expression in an extra function before these includes. Callfprintf "%d" only after ensuring the argument is of type 'int'.Reported by Wayne Chapeskie <waynec@spinnaker.com>.2001-09-17 Paul Eggert <eggert@twinsun.com>Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4or CFLAGS=-O5. In that case, the linker has a relaxed view offatal errors, and AC_CHECK_LIB causes it to include libraries evenwhen they don't exist.* lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don'tneed it.* lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, cruftyversion with the version used by fileutils 4.1, except useAC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix ifwe don't need it.* doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.2001-09-13 Akim Demaille <akim@epita.fr>* tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line_first_.Reported by Gerrit P. Haase.2001-09-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so thatm4_defn'ing is valid.2001-09-13 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.* lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):Use it.2001-09-13 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Usem4_match.(m4_re_escape): New.* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):Likewise.* lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)(_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.* lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL asAT_tests_all for consistency.Set at_victims.(AT_VICTIMS): Similar to AT_KEYWORDS.(_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.2001-09-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.2001-09-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Create and remove`$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multipletest suites can cohabit.2001-09-13 Akim Demaille <akim@epita.fr>* tests/mktests.sh: Don't output banners for empty test files.2001-09-13 Akim Demaille <akim@epita.fr>Test suites can be run independently of configure.* lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.* lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBSTECHO_N etc.* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_nand at_c.* lib/autotest/general.m4: Use ECHO_*.2001-09-13 Akim Demaille <akim@epita.fr>* bin/ifnames.in: Rewrite in Perl.* configure.ac: Don't look for AWK.* tests/tools.at (AWK portability): Remove.(Syntax of the shell scripts): Don't check ifnames.(AT_CHECK_PERL_SYNTAX): New.(Syntax of the Perl scripts): Check ifnames.* tests/ifnames: New.2001-09-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Let --keywords also matchtest group titles.* tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).Remove all the other keywords.2001-09-10 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP andSETUP: no longer used.Support -k, --keywords.<at_help>: Be `no', `short', or `long'.<at_help_all>: New variable.(AT_KEYWORDS): New.(AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...(_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.(_AT_CLEANUP_FILE_IF): Simplify the regexp.(AT_SETUP): Reset AT_line, AT_keywords, AT_description.No longer fill the HELP diversion.(AT_CLEANUP): Use them.* lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.(m4_list_append): Remove.Spread a few keywords in the Autoconf test suite.2001-09-10 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't passPATH_SEPARATOR, let M4sh compute it.* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.* lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.Move to...* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.Simplify when the path is not a literal.(AS_UNAME): Use it to report PATH.* lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.(_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.* lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK tonormalize the path, and to look for victims.* tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)(AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.2001-09-07 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5doesn't neutralize SIGINT, making autoconf etc. non interruptible.* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the packagerelated variables into `at_package_*'.* lib/autotest/general.m4 (AT_VICTIMS): New.(AT_INIT): Adjust for stand-alone/embedded test suites.(AS_MESSAGE_LOG_FD): Define and use it.* tests/suite.at (AT_VICTIMS): Use it.* tests/tools.at (autoupdating AC_PREREQ): Don't depend uponat_version.2001-09-07 Akim Demaille <akim@epita.fr>Move toward possibly stand-alone test suites.* lib/autotest/general.m4: Stop displaying srcdir everywhere as,in addition, it introduces useless differences in logs.(AT_INIT): Let atconfig and atlocal be both optional.Adjust PATH computation.* lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.2001-09-07 Akim Demaille <akim@epita.fr>* lib/autoconf/Makefile.am (autoconf.m4f): Depends uponm4sugar/version.m4.2001-09-05 Akim Demaille <akim@epita.fr>* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'to avoid GCC warnings.From Uwe Seimet.2001-09-05 Akim Demaille <akim@epita.fr>* bin/autom4te.in: --language is -l, not -s.2001-09-05 Akim Demaille <akim@epita.fr>Be ready to handle filenames as stupid as `dnl.at', for if eventhe maintainer is dumb enough to do that...* lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates yourexcellence in M4 quotation: consider `__file__' is active.And BTW, when invoking m4, pass the --include in the right order:the wrong one.* bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to4m.2001-09-05 Akim Demaille <akim@epita.fr>* lib/Autom4te/XFile.pm: New lib file.* bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,* bin/autoheader.in: Use it.2001-09-05 Akim Demaille <akim@epita.fr>* bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iffdefined.2001-09-05 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.* bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.* bin/autoscan.in: Use `getopt' and `find_files' etc.Add -I, --include support.* doc/autoconf.texi (autoscan Invocation): Adjust.2001-09-05 Akim Demaille <akim@epita.fr>CVS GNU M4 doesn't like `undefine(undefined)'.* bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):New, extracted from main.Use IO::File wherever possible.(input.m4): Be constant, use -I instead of hard coding $tmp.Therefore be a quoted heredoc.Don't invoke `_au_disable', since ac was not loaded, but just`unm4.m4'.2001-08-31 Akim Demaille <akim@epita.fr>Version 2.52d.2001-08-31 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix theprevious patch.* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.2001-08-31 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 hasserious problems handling heredocs in heredocs.Reported by Nicolas Joly.2001-08-31 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Don't promote non `m4_*' M4 macros.(Making testsuite Scripts): Update.2001-08-31 Akim Demaille <akim@epita.fr>* lib/Makefile.am (CLEANFILES): Add autom4te.cfg.2001-08-31 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Quadrigraphs): Document `@&t@'.(testsuite Scripts): There is no such thing as `atconfig.in'.And actually one diagram is missing: test suite runtime.2001-08-31 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&find_file): Browse the includes in theinverse order.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autoupdate.in (@include): `installcheck' revealed the pathto m4sugar was lacking!2001-08-31 Akim Demaille <akim@epita.fr>* man/Makefile.am (.x.1): We really have to passautom4te_perllibdir.2001-08-31 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Don't pass all the args todebug scripts, in particular passing explicitly listed tests torun is stupid.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&parse_args): Strip `.' from `@include'.* bin/autoupdate.in: Use --include, -I, and --force, -f, too.Use directly autom4te, not autoconf.* tests/autoupdate: $top_srcdir/lib is needed too for melt files.2001-08-31 Akim Demaille <akim@epita.fr>* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.* bin/autoheader.in (%symbol): Strip arguments of macros.2001-08-31 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Catch up -I, --include changes.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&parse_args): Die on unknown languages.* bin/autoheader.in: Run directly autom4te --mode=autoconf, noneed for autoconf.Promote --include over --macrodir and other obsolete options.2001-08-31 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm ($version, $help, &getopt): New.* bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.* bin/autom4te.in ($autoconf): Pass --force.`print $out' doesn't print `$_' but `$out'.* tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.(autoheader): Pass --force since the test suite goes too fast forthe time stamps.Adjust to the new autoheader messages.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autoheader.in: Handle the acconfig.h etc. junk files.Check the completeness of the #template.* lib/Autom4te/General.pm (&update_file): s/remove/unlink/.* tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADERinvocation.2001-08-31 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&find_file, &update_file): New.* bin/autoupdate.in, bin/autoheader.in: Adjust.Drop AC_MACRODIR dead for real.* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says`autoheader: `config.hin' is created'.* tests/tools.at (Syntax of the Perl scripts): Check autoheader.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autoheader.in: Rewrite in Perl.* tests/autoheader: Adjust.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autoconf.in (--include, -I): New option.Map --localdir, --autoconf-dir onto it.Forward autom4te's options instead of interpreting them.* bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):There is no such envvar since the inception of autom4te.cfg.* bin/autom4te.in (&parse_args): Uniquify `@include'.* bin/autoupdate.in: Adjust, and perform more control.* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.* tests/autoconf: Dittowise.2001-08-31 Akim Demaille <akim@epita.fr>* bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.* bin/autom4te.in (&find_file): Support `FILE?' standing foroptionally `FILE'.Use -e, not -f, since /dev/null for instance is OK.(&parse_args): Adjust.* lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.2001-08-31 Akim Demaille <akim@epita.fr>* configure.ac: Also find tested executables in bin.* bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,* bin/autoscan.in, autoupdate.in: Use exclusively the name of theinstalled peer executables, only PATH is allowed to resolve it.Pass `autoconf_dir' via options, not via invisible envvars.* lib/Autom4te/General.pm (&find_peer): Remove.* lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives`abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.* man/Makefile.am: Let help2man rely on PATH instead of trying tofind the executables for it.* tests/Makefile.am: Major cleanup. Too lazy to document...* tests/atlocal.in: Remove all the obscure envvar manipulations.We only need PERL.* tests/atspecific.m4, tests/tools.at: Passing --localdir isindeed related to running the test suite, while passing--autoconf-dir and others is related to running non installedAutoconf executables. So don't do that, leave it to...* tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,* tests/autoscan: New.* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don'trefer to library files: rely on --language.2001-08-29 Akim Demaille <akim@epita.fr>* bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:s/--set/--language/.2001-08-29 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Strip the @nodes.Suggested by Paul Eggert.(Initializing configure): Typo.2001-08-29 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&handle_output): s/@__@/@&t@/.Suggested by Paul Eggert.2001-08-29 Akim Demaille <akim@epita.fr>* Makefile.maint (do-po-update): Wget refuses to overwrite files:download in a tmp dir.2001-08-29 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4: s/AT-devnull/devnull/ since there arecase insensitive OSes out there :(From Tim Van Holder.2001-08-29 Akim Demaille <akim@epita.fr>* lib/autom4te.in: New.* lib/Makefile.am (edit, autom4te.cfg): New.* bin/autom4te.in (BEGIN): Simplify.Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.(&load_configuration): New. Use it.(&parse_args): Support --mode, --set, and --melt.* bin/autoconf.in: Simplify and adjust.* tests/Makefile.am (AUTOMAKE): Use --set.* tests/atlocal.in: Adjust.* BUGS: distcheck and check are weak.2001-08-29 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4: Usefoo=`(command) 2>/dev/null`notfoo=`command` 2>/dev/null(at-devnull): Rename as...(AT-devnull): this.(--clean): Remove AT-* files too.* doc/autoconf.texi (Limitations of Usual Tools): Document `date'.Reported by Nicolas Joly.2001-08-28 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use singlequotes inside single quotes.Reported by Nicolas Joly.2001-08-28 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (Function Portability): Mention C right shifts.2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>* lib/autotest/general.m4: Reword some messages.(AT_INIT): Check for the `times' builtin before using it.Support test ranges as arguments to the testsuite.Have -e imply -d as the help text suggested.2001-08-27 Akim Demaille <akim@epita.fr>* Makefile.maint: Formatting changes.(do-po-update, po-update, cvs-update, update): New targets.(AMTAR): Remove.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.<at_cmd_line>: New.Pass it to debug-*.sh scripts.<AUTOTEST_PATH>: May contain absolute dir names.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Log the command line.Support `VAR=VAL' as arguments.Compute PATH _after_ the options processing, so that AUTOTEST_PATHmay be set via the command line.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.* lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH intofirst the build dirs, then the src dirs.* configure.ac (AC_CONFIG_TESTDIR): Adjust.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Output the definition ofat_data_files earlier.(--clean, -c): New option.* tests/Makefile.am: Use this option.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as`ac_top_builddir' to mimic Automake's vocabulary, which much morereadable.Adjust callers.* doc/autoconf.texi (Configuration Actions): Document the varsavailable in commands.Emphasize the risks of collisions in init-cmds.2001-08-27 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Input) <AC_INIT>: Move to..(Initializing configure): this new node.2001-08-27 Akim Demaille <akim@epita.fr>* Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.2001-08-27 Akim Demaille <akim@epita.fr>* m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.New file.* m4/Makefile.am (EXTRA_DIST): Oops, adjust...2001-08-27 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Moveto...* lib/autoconf/autoheader.m4: this new file.* lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)(_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):Move to...* lib/autoconf/autoupdate.m4: this new file.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autoconf/status.m4 (_AC_SRCPATHS): New.(_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir-> ac_dir).(_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.* lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.2001-08-27 Akim Demaille <akim@epita.fr>* lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)(AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)(AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)(AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)(AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)(AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)(AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)(AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)(AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)(_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)(_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)(_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)(_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)(_AC_OUTPUT_SUBDIRS): Move to...* lib/autoconf/status.m4: this new file.* lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.* tests/Makefile.am, tests/suite.at: Adjust.2001-08-27 Akim Demaille <akim@epita.fr>Automake 1.5.* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.(AMTAR): Help automake define it.(INSTALL, install-data-hook): The INSTALL.txt trick is no longerneeded, 1.5 can have a macro and a target with the same name.* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,* m4/strip.m4: New.* m4/init.m4, m4/sanity.m4: Update.* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.2001-08-27 Akim Demaille <akim@epita.fr>Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.* lib/autoconf/version.in: Remove.* lib/m4sugar/version.in: New.* lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.Adjust callers.* bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros bythe name of the directory they're in, instead of the filename,since version.m4 is now in m4sugar, but m4_acversion must not beclassified as an Autoconf macro.($input_m4): Don't qualify the path to m4sugar.Rather, pass autoconf_dir to m4.* tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.* tests/suite.at: Require 2.52c.2001-08-27 Akim Demaille <akim@epita.fr>testsuite.log should include config.log.* lib/autotest/autotest.m4: New.* lib/autotest/general.m4, tests/atspecific.m4: Adjust.* tests/suite.at : Adjust.(AT_INIT): Log config.log.* lib/m4sugar/m4sugar.m4 (m4_text_box): New.* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.(_AC_INIT_PREPARE): Fix the incredibly messy and buggy completionof config.log on traps.(_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'for config.status'.Open the log as soon as possible.Use the same log introduction as configure's.2001-08-22 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Indices): New node.Move indices out of the top level menu and into this submenu.2001-08-22 Akim Demaille <akim@epita.fr>* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): UseAC_TRY_COMMAND.(AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.2001-08-22 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)(AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...* lib/autoconf/programs.m4: here.* lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)(AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)(AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...* lib/autoconf/programs.m4: here.(_AC_DECL_YYTEXT): Rename as...(_AC_PROG_LEX_YYTEXT_DECL): this.* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am* tests/Makefile.am, tests/suite.am: Adjust.2001-08-22 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):Move to...* lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):here.* lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...* lib/autoconf/functions.m4: here.* lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)(AH_CHECK_LIB): Move to...* lib/autoconf/libs: this new file.* lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)(_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...* lib/autoconf/libs.m4: here.* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.2001-08-22 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.(AC_SITE_LOAD): Better logging of config.site.2001-08-20 Akim Demaille <akim@epita.fr>* configure.ac (AT_CONFIG): Fix the path.* m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52can be used.2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compileprogram with AC_LANG_PROGRAM before feeding it toAC_COMPILE_IFELSE. Cleanup grep usage.2001-08-20 Akim Demaille <akim@epita.fr>* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,* NEWS, README, README-alpha, TODO, tests/README: This package is`Autoconf', not `autoconf' (the executable).2001-08-20 Akim Demaille <akim@epita.fr>Info readers seem to need `Index' in the index node title :(* doc/autoconf.texi: Reverse the 2001-08-15 change whichsimplified index node names.2001-08-20 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if thearguments are not literals.* doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.Specify the output variables, and macros defined.2001-08-20 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:(Examining Syntax) <AC_TRY_COMPILE>(Examining Libraries) <AC_TRY_LINK>(Test Programs) <AC_TRY_RUN>: These macros double quote some oftheir arguments.Reported by Werner Lemberg.2001-08-20 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Compute top_builddir,top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.Load atlocal late enough to dump it in the log.* m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.2001-08-20 Akim Demaille <akim@epita.fr>* tests/torture.at (Configuring subdirectories): New test.* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you arelooking for.* m4/atconfig.m4: Be sure the let $[0] be expandable.(top_srcdir): Fix its computation.2001-08-20 Akim Demaille <akim@epita.fr>* lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.* m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where thetest suite lives.Create `atconfig' automagically.Configure atlocal.in if present.* tests/atconfig.in: Remove.* tests/atlocal.in: New.* tests/Makefile.am: Adjust.2001-08-20 Akim Demaille <akim@epita.fr>Huh!?!?! There are still some user EOF tags used, which preventstheir use in AC_CONFIG_COMMANDS for instance...* lib/autoconf/general.m4, lib/autoconf/specific.m4,* lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',`_CSEOF', or `_ATEOF', as appropriate.* lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,* lib/autotest/Makefile.am (check-local): Enforce this constraint.2001-08-20 Akim Demaille <akim@epita.fr>* tests/base.at, tests/m4sh.at, tests/m4sugar.at,* tests/semantics.at, tests/tools.at, tests/torture.at:s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.2001-08-20 Akim Demaille <akim@epita.fr>Autotest invokes M4sh's initialization.* lib/autotest/general.m4: Adjust the diversion names.(AT_INIT): Run AS_INIT.Use the BINSH diversion to invoke /bin/sh.* tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:* tests/torture.at: Respect M4sugar and M4sh macro name spaces.2001-08-20 Akim Demaille <akim@epita.fr>Let M4sh have its own diversions.* lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))(_m4_divert(NOTICE)): Rename as...* lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))(_m4_divert(HEADER-COMMENT)): these.(_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.(_m4_divert(NOTICE)): New, for Libtool.* lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replacedlong ago with `_m4_divert(GROW)'.(AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.2001-08-20 Akim Demaille <akim@epita.fr>* tests/base.at, tests/compile.at, tests/foreign.at,* tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,* tests/semantics.at, tests/suite.at, tests/tools.at,* tests/torture.at: Ask Autotest mode, not Autoconf mode.2001-08-20 Akim Demaille <akim@epita.fr>* bin/autom4te.in (handle_output): Handle @__@.2001-08-20 Akim Demaille <akim@epita.fr>* lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,* lib/autotest/general.m4: Adjust the license.2001-08-17 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Function Portability): Mention snprintf,following up on a suggestion by Kevin Ryde.2001-08-17 Akim Demaille <akim@epita.fr>* doc/install.texi, doc/autoconf.texi: Use `autoconf', not`autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.2001-08-17 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not`$0.log' as for projects where testsuite is in src, we'd havetestsuite.log created in src.2001-08-17 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&parse_args): Recognize --normalize.2001-08-17 Akim Demaille <akim@epita.fr>Start implementing the AC_CHECK_HEADER transition scheme.* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)(_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.(AC_CHECK_HEADER): Use them.2001-08-17 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Work around Texinfo buglets.(Transformation Rules): One example is enough, users are expectedto have their brains on. And BTW, use DESTDIR.(dvar): New macro. Use it.2001-08-17 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.* lib/autotest/general.m4 (AT_INIT): Use the relative dir whenlooking for ChangeLogs.2001-08-17 Akim Demaille <akim@epita.fr>* bin/autom4te.in: --normalize is a new option.* bin/autoconf.in: Use it.2001-08-17 Akim Demaille <akim@epita.fr>* bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am* lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.2001-08-16 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi, doc/install.texi: Put copyright notice atstart, not at end.2001-08-15 Akim Demaille <akim@epita.fr>* doc/Makefile.am (fu): New index, can't use fn because of defmac.Use it.2001-08-15 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (pr): New index.(prindex, findex): Use, merge, and output them.(Environment Variable Index, Output Variable Index)(Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)(Autotest Macro Index): Rename as...(Environment Variables, Output Variables,Preprocessor Symbols)(Autoconf Macros, M4 Macros, Autotest Macros): these.* doc/install.texi: Use @command.(Environment Variables): Rename as...(Defining Variables): this.2001-08-15 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Function Portability): sprintf's returnvalue.From Kevin Ryde.2001-08-15 Akim Demaille <akim@epita.fr>* Makefile.maint (CVS): New.(local-check): Run changelog-check. last.(alpha): Don't depend upon local-check, since...(cvs-dist): depends upon it.2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>* tests/Makefile.am: Use a clean-local rule to removeautom4te.cache (it's a directory, not a file.* Makefile.am: Ditto (but maintainer-clean-local).2001-08-15 Akim Demaille <akim@epita.fr>* bin/autom4te.in (@m4_warning): New.(&handle_m4): Use it.* tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure thewarnings are issued at each run.* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugaris in the src tree.2001-08-15 Akim Demaille <akim@epita.fr>* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:don't waste time running `autoupdate --version' works.* tests/tools.at (autoupdating AC_PREREQ): Likewise.2001-08-13 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (ma): Rename this index as...(ac): this.2001-08-13 Akim Demaille <akim@epita.fr>* Makefile.am: Remove dead code and dead comments.(pdf, html): New targets.* doc/autoconf.texi (Using Autotest): New chapter.* doc/Makefile.am (pdf): New targets.(CLEANFILES): Adjust.2001-08-13 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): Log the start/stop dates andduration of the test suite.2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>* tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and loadendianness for comparison instead of relying on AT_CHECK_ENV.2001-08-11 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi, doc/install.texi: Add a copyright noticeto the INSTALL file.2001-08-11 Paul Eggert <eggert@twinsun.com>* NEWS: The autoconf manual now is distributed under the termsof the GNU Free Documentation License.* doc/autoconf.texi: Switch from old style copyright notice to FDL.Add an appendix "Copying This Manual" for the FDL.* doc/fdl.texi: New file, from<http://www.gnu.org/licenses/fdl.texi>.* doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.2001-08-10 Paul Eggert <eggert@twinsun.com>* AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,m4/sanity.m4, tests/README, tests/aclocal.m4,tests/atspecific.m4, tests/base.at, tests/compile.at,tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,tests/semantics.at, tests/suite.at, tests/tools.at,tests/torture.at: Add copyright notice.* tests/mktests.sh: Update year in copyright notice.2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>* tests/semantics.at (AC_C_BIGENDIAN): New test.2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.* doc/autoconf.texi (C Compiler Characteristics): Updatedocumentation for AC_C_BIGENDIAN.2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ingmagic values from an object file when cross-compiling.Based on code by Guido Draheim <Guido.Draheim@gmx.de>.2001-08-10 Akim Demaille <akim@epita.fr>* bin/autom4te.in (&handle_output): Don't use `grep' with sideeffects.Suggested by Russ Allbery.2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate thecurrent $prefix to the sub-configures.2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>* lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executableextension (needed on BeOS). Reported by Guido van Rossum.2001-08-09 Akim Demaille <akim@epita.fr>* bin/autom4te.in ($icache): Load it only if older than autom4te.2001-08-07 Akim Demaille <akim@epita.fr>* lib/autotest/general.m4 (AT_INIT): All the `at-*' are to beremoved.(at-setup-line): Huh? Be a variable `at_setup_line', not a file.No need to remove the files before and after the each test, beforeeach test and at the end of the suite is enough.Display only the children `times', not the shell's.If the test failed or was skipped, at-times is not available.2001-08-07 Akim Demaille <akim@epita.fr>Always produce testsuite.log, including when there are nofailures. This helps getting information on skipped tests, andduration of the tests. Err, implement the latter btw.* lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.Dump information on the first run of each test.(AT_CLEANUP): Create `at-times' containing the duration of thetest group.2001-08-07 Akim Demaille <akim@epita.fr>The use of `dumpstat' revealed that `len' was used although itshould not. m4_text_wrap was using it, but in the Autoconf worldwhere it is legal. Hence (i) test M4sh in its own world, notAutoconf's, and (ii), ahem, fix the bug :)* lib/autotest/general.m4: Be sure the set good quotes, as tracingdoes not like `' instead of [].(AT_INIT): Forbid `^_?AT_'.And don't output such tokens.* tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',`script.as', and `autom4te.cache'.Remove `empty' and `macro' which are no longer used.* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.* tests/m4sugar.at: Use it.* lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.2001-08-07 Akim Demaille <akim@epita.fr>* bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>* bin/autom4te.in (handle_output): Typo in quadrigraph substitution.2001-08-04 Akim Demaille <akim@epita.fr>* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)(AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, notAC_TRY_LINK.* lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.* lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)(AC_F77_MAIN): Likewise.2001-08-04 Akim Demaille <akim@epita.fr>Don't rely on M4sugar outputting the patterns in files, since wemight process the output _without_ running m4, hence without thesefiles.* lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.* bin/autom4te.in (@Request::includes): Remove, unused.(@Request::source): Rename as...(@Request::input): this.(@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.(&handle_output): Fetch the patterns from the traces.`$forbidden' and `$allowed' are constant: use m//o.(&handle_m4): M4sugar no longer wants `m4_tmpdir'.(m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.2001-08-04 Akim Demaille <akim@epita.fr>`autoconf && autoheader' is sped up. Now, speed up `autoheader &&autoconf', i.e., in addition to caching traces, cache the output.* bin/autom4te.in (Request::cache): Rename as...(Request::id): this.($cache, $icache, $tcache, $ocache): New.(&handle_m4): Save M4 output in the cache instead of $tmp.(&handle_output): Adjust.(&up_to_date_p): Check that the output cache is up to date too.(top level): Run `&handle_m4' iff force or the cache is invalid.Run `&handle_output' if the output cache is more recent.2001-08-04 Akim Demaille <akim@epita.fr>* bin/autom4te.in ($force): New.(&parse_args, &print_usage): -f, --force is a new option.(&handle_output): CPP directives might have spaces after `#'.(&parse_args): The first file only can be frozen.2001-08-04 Akim Demaille <akim@epita.fr>Don't let autom4te compute the `include' traces several times:first check that the trace cache file is up to date, and thencompare its timestamp with that of the output.* bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalizethe preamble. Don't require 5.005 as Autom4te::General does it,and better yet (use `use', not `require'!).* lib/Autom4te/Struct.pm: Rename the last occurrences ofClass::Struct as Autom4te::Struct.* lib/Autom4te/General.pm (File::stat): Use it.(&mtime): New, export it.* bin/autom4te.in: Use it.Declare `$req' is invalid if it is outdated.Don't declare it valid before saving it if something went wrong.2001-08-04 Akim Demaille <akim@epita.fr>Autom4te shall not encode Autoconf data, and preselecting tracesmust be proposed to the users.* bin/autom4te.in (@required_trace): Remove.(@preselect): New.(&parse_args, &print_usage): -p, --preselect is a new option.(&up_to_date_p): Adjust.* bin/autoconf.in: Preselect some Autoconf macros.2001-08-04 Akim Demaille <akim@epita.fr>* tests/tools.at (autoconf --trace: user macros): Check traces onmacros invoked without arguments, and macros invoked with multiplelines arguments.2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>* bin/autom4te.in (handle_traces): Fix rewriting of traces withoutarguments.2001-08-03 Akim Demaille <akim@epita.fr>* bin/autoconf.in ($@): Work around the usual sh bug.From Nicolas Joly.2001-08-03 Akim Demaille <akim@epita.fr>Clean up the handling of the M4 builtins tracing exception.* bin/autom4te.in (Request::request): Don't complete M4 builtinstrace requests.(@m4_builtins): Rename as...(@m4_builtin): this.(%m4_builtin_alternate_name): New.(&parse_args): Complete the trace requests with alternate names.(&handle_traces): Hence no longer do it here.(&trace_requests): Remove, unused.2001-08-03 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,m4_if, and m4_wrap.2001-08-03 Akim Demaille <akim@epita.fr>* lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.(m4_divert_pop): Dump the whole diversion stack when a diversionmismatch happens.* bin/autom4te.in (&handle_output): Remember of the firstoccurrence of a possibly undefined macro, not the last.Complain about the possibly undefined macros in the same order asthe appear in the output.* lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.* tests/tools.at (autoconf: forbidden tokens, basic)(autoconf: forbidden tokens, exceptions): No longer sortautoconf's stderr, as it is now deterministic.Check that `dnl' is caught.2001-08-01 Akim Demaille <akim@epita.fr>* configure.ac: Bump to 2.52c.2001-08-01 Akim Demaille <akim@epita.fr>Version 2.52b.* lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.2001-08-01 Akim Demaille <akim@epita.fr>Version 2.52a.2001-08-01 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and`die'.(&END): New.* bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your`END', as `Autom4te::General::END' will be triggered.* bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.* bin/autoupdate.in (File::Compare, File::Copy): Use them instead ofsystem to run `mv', `rm', and `cmp'.2001-08-01 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm (&unique): New.* bin/autoscan.in (&output): Use it to issue trace requests once.2001-08-01 Akim Demaille <akim@epita.fr>* lib/Autom4te/General.pm: New.* bin/autom4te.in (Autom4te::General): Use it.($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)(&find_configure_ac, &find_slave): Remove.* bin/autoscan.in: Likewise.* bin/autoupdate.in: Likewise.2001-08-01 Akim Demaille <akim@epita.fr>* autoconf.in, autom4te.in, autoscan.in, ifnames.in,* autoheader.in, autoreconf.in, autoupdate.in: Move to...* bin: here, new directory.* lib/Autoconf: Rename as...* lib/Autom4te: this, to please case insensitive junkie OSes.2001-08-01 Akim Demaille <akim@epita.fr>* autom4te.in ($m4): Handle the --nesting-limit.* autoconf.in (M4): Remove.2001-08-01 Akim Demaille <akim@epita.fr>* autoconf.in ($AWK): Remove, no longer used.* test/tools.at: Use AT_CHECK_AUTOCONF.(AWK portability): Remove, for autoconf no longer uses AWK.(Syntax of the Perl scripts): New.* configure.ac: autoconf no longer needs an AWK with a goodregexp engine.Use a static test on AC_PACKAGE_VERSION.* autom4te.in (&up_to_date_p): Output depends on the arguments.* lib/autoconf/Makefile.am: Ship version.m4, maintainer file.* tests/atconfig.in (PERL): New.2001-08-01 Akim Demaille <akim@epita.fr>* lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))(AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))(AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))(AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))(AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)(AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)(AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)(AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))(AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)(AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)(AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)(AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)(AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...* lib/autoconf/c.m4: here, new file.* lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)(_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))(AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))(AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))(ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)(_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)(AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)(_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)(AC_F77_FUNC): Move to...* lib/autoconf/fortran.m4: here, new file.2001-08-01 Akim Demaille <akim@epita.fr>* acfunctions.m4: Rename as...* lib/autoconf/functions.m4: this.* acgeneral.m4: Rename as...* lib/autoconf/general.m4: this.* acheaders.m4: Rename as...* lib/autoconf/headers.m4: this.* aclang.m4: Rename as...* lib/autoconf/lang.m4: this.* acoldnames.m4: Rename as...* lib/autoconf/oldnames.m4: this.* acspecific.m4: Rename as...* lib/autoconf/specific.m4: this.* actypes.m4: Rename as...* lib/autoconf/types.m4: this.* autoconf.m4: Rename as...* lib/autoconf/autoconf.m4: this.* m4sugar.m4: Rename as...* lib/m4sugar/m4sugar.m4: this.* m4sh.m4: Rename as...* lib/m4sugar/m4sh.m4: this.* tests/atgeneral.m4: Rename as...* lib/autotest/general.m4: this.* acfunctions: Rename as...* lib/autoscan/functions: this.* acheaders: Rename as...* lib/autoscan/headers: this.* acidentifiers: Rename as...* lib/autoscan/identifiers: this.* aclibraries: Rename as...* lib/autoscan/libraries: this.* acmakevars: Rename as...* lib/autoscan/makevars: this.* acprograms: Rename as...* lib/autoscan/programs: this.2001-08-01 Akim Demaille <akim@epita.fr>* doc/autoconf.texi: Moving/deleting open files is not portable.Portability issues for `.' (source), and more information about sed.2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),which has a special meaning and is not a reference to libibmil.a.Reported by Matteo Frigo.2001-07-25 Pavel Roskin <proski@gnu.org>* autom4te.in (mktmpdir): Strip trailing newline from mktempoutput.2001-07-25 Akim Demaille <akim@epita.fr>* autoconf.in: Try to define the variables before using them.* autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvarinstead of `$perllibdir'.* tests/atconfig.in ($autom4te_perllibdir): Export it.2001-07-25 Akim Demaille <akim@epita.fr>* autoconf.in (ac_LF_and_DOT): Remove, unused.2001-07-24 Akim Demaille <akim@epita.fr>Let autoconf use autom4te for traces.* autoconf.in ($task, task trace): Remove, merely pass --trace toautom4te.* autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.(Because I found no way for autom4te to accept `-').* autom4te.in (&Request::request): Beware of M4 builtins.(END): Don't try to remove the content of an empty dir.(&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.(&handle_output): Set a default value to `$forbidden'.* autoupdate.in (&verbose, &xsystem): New, from autom4te.in.($autoconf): Pass --debug and --verbose.* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te'scache.2001-07-24 Akim Demaille <akim@epita.fr>Let autoconf use autom4te to create configure.* autoconf.in ($automate): New var.(task script): Use autom4te.* autom4te.in (File::Spec): Use it.(&find_file): New.(&parse_args): --warning is -W, not -w.Find the top level files.(&handle_m4): Pass the warnings flags.Don't report verbosely m4's failures, unless requested.(&handle_output): Don't complain for forbidden tokens in comments.Be sure to report all the forbidden tokens within a single line.(&trace_format_to_m4): Preserve `$_'.(&handle_traces): Sort the output macros.(&up_to_date_p): Find the files before trying to get its time stamp.2001-07-24 Akim Demaille <akim@epita.fr>* Makefile.am: Ship, build and install Autom4te.(SUBDIRS): Add lib.* lib/Autoconf/Struct.pm: New, from Automake 1.5.* configure.in: Require Perl.* man/autom4te.in: New.2001-07-19 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR inexample, rather than (exit 1); exit (which isn't portable).2001-07-18 Akim Demaille <akim@epita.fr>Version 2.52.2001-07-18 Akim Demaille <akim@epita.fr>The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAINwas run, while they are needed also when it is expanded.Reported by Nicolas Joly.* aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.(AC_LANG_PROGRAM(C)): Use it instead of depending uponAC_F77_DUMMY_MAIN being expanded.2001-07-18 Akim Demaille <akim@epita.fr>* configure.in: Bump to 2.51a.2001-07-17 Akim Demaille <akim@epita.fr>Version 2.51.2001-07-17 Akim Demaille <akim@epita.fr>* aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be moreAutoconfy: $1 = action-if-found, $2 = action-if-not-found.2001-07-17 Akim Demaille <akim@epita.fr>The runtime test for AC_FUNC_GETPGRP fails when prototypes areused. Well, then use the prototypes when you can, and runtime asa last resort.Reported by Artur Frysiak* acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.(AC_FUNC_GETPGRP): Use it.First try to compile with 0-ary or 1-ary calls.2001-07-17 Akim Demaille <akim@epita.fr>* actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is areplacement type.From Paul Eggert.2001-07-17 Akim Demaille <akim@epita.fr>* Makefile.maint: Sync. with cppi 1.10.2001-07-17 Akim Demaille <akim@epita.fr>* aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only whenAC_F77_DUMMY_MAIN has been run.From Pavel Roskin and Steven G. Johnson.2001-07-17 Akim Demaille <akim@epita.fr>* configure.in: Rename as...* configure.ac: this.2001-07-17 Akim Demaille <akim@epita.fr>* Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffixrules.From Marc Espie.* Makefile.maint (release-archive-dir): Rename as...(release_archive_dir): this, so that it can be specialized inMakefile.2001-07-14 Akim Demaille <akim@epita.fr>* configure.in: Bump to 2.50d.2001-07-14 Akim Demaille <akim@epita.fr>Version 2.50c.* Makefile.maint (alpha): Typo.2001-07-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Make): Macro names and underscore.2001-07-14 Akim Demaille <akim@epita.fr>* config/config.guess, config/config.sub, config/texinfo.tex* doc/standards.texi, doc/make-stds.texi: Update.2001-07-14 Akim Demaille <akim@epita.fr>* Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.2001-07-14 Akim Demaille <akim@epita.fr>* Makefile.maint (maintainer-check): Rename as...(maintainer-distcheck): this.(changelog-check, static-check): New.Use them.2001-07-14 Kevin Ryde <user42@zip.com.au>* doc/autoconf.texi (C++ Compilers Characteristics): Last resortfor CXX is g++, not gcc.2001-07-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Files): New subsection.2001-07-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsectionsof...(Generic Compiler Characteristics): this.(C++ Compiler): New subsection.2001-07-14 Akim Demaille <akim@epita.fr>* autoscan.in: Use IO::File.Adjust all the routines to use it.($log): New file (autoscan.log).(output): Dump detailed logs into $log, and a shortened version tostderr.(&scan_makefile): Refine the regexp catching tokens in the code.* doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'and the `configure.ac' checking feature.2001-07-12 Akim Demaille <akim@epita.fr>For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.Reported by Michael Elizabeth Chastain.* autoconf.in: Refuse such AWK.* configure.in: Likewise.* Makefile.am (acversion.m4): Do not use move-if-change this filehas dependencies.* doc/autoconf.texi (Fortran 77 Compiler): Some typos.2001-07-10 Jens Petersen <petersen@redhat.com>* autoscan.in (&scan_makefile): Improve programs regexp to parsethings like "g++", "file.c" and "some-conf" as tokens.(&scan_file): Match C++ files extensions.If the filename extension is C++ then ask for c++.2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>* aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, notAC_TRY_LINK_FUNC, to check whether defining a dummymain-like routine is needed for linking with F77 libs.2001-07-05 Pavel Roskin <proski@gnu.org>* aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*after using break.(_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* afterlinking.2001-07-05 Akim Demaille <akim@epita.fr>* Makefile.am (move_if_change): New. Use it instead of `mv'.(acversion.m4): Name it `$(srcdir)/acversion.m4' to ease brokenMakes' lives.Reported by Nicolas Joly.2001-07-04 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaningup.* acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent somewarnings from compilers.* aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version informationfor all the compilers, not only GNU. Hence move from here...(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.2001-07-04 Akim Demaille <akim@epita.fr>* acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)(AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE andAC_COMPILE_IFELSE.2001-07-04 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually applythe ``strings.h'' change claimed below.2001-07-04 Akim Demaille <akim@epita.fr>* aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.2001-07-04 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Includestrings.h if usable with string.h.Suggested by Paul Eggert.2001-07-04 Akim Demaille <akim@epita.fr>* autoscan.in (&scan_file): Skip FILE if there is FILE.in.From Jens Petersen.2001-07-03 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILESetc. in the log.2001-07-03 Akim Demaille <akim@epita.fr>* acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use thecompiler, not the preprocessor.* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer usededicated code to check for inttypes.h, as AC_CHECK_HEADERS doesthe right thing.* Makefile.am (.m4.m4f): Emphasize M4 error messages and failearlier if there are.2001-07-03 Akim Demaille <akim@epita.fr>* autoscan.in ($initfile): Remove.(&find_file): Rename as...(&scan_file): this.Immediately scan the current file, instead of gathering them, andlater having them handled by &scan_files.(&scan_files): Merely invoke Find::File.Adjust.2001-07-02 Akim Demaille <akim@epita.fr>* autoscan.in: Formatting changes, matching the invocation order.(File::Find): Use it instead of Perl 4's `find.pl'.(&wanted): Rename as...(&find_file): this.2001-07-01 Pavel Roskin <proski@gnu.org>* aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after usingbreak in the argument to AC_TRY_LINK_FUNC.(AC_F77_MAIN): Remove conftest* after using break in theargument to AC_TRY_LINK.2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>Add alternate 'main' routine detection for linking C/C++ with Fortran,fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.* aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether adummy alternate main is required even if the user provides her own'main'.(AC_F77_MAIN): New macro to detect whether it is possible toprovide an alternate 'main' function name, using the 'main' fromthe Fortran libraries.(AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so thatcross-language link tests can be performed successfully.(_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBSafter $LIBS, for consistency; this should be the general rule sincethe user may want to link to Fortran libraries that require $FLIBS.* doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.2001-06-29 Pavel Roskin <proski@gnu.org>* atgeneral.m4 (AT_CHECK): Add a newline to the end ofat-stdout and at-stderr instead of removing the newlinefrom the echo output, which is not guaranteed to work.2001-06-28 Jens Petersen <petersen@redhat.com>* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration toconfdefs.h when non-zero.2001-06-28 Akim Demaille <akim@epita.fr>* configure.in: Bump to 2.50c.2001-06-26 Akim Demaille <akim@epita.fr>Version 2.50b.2001-06-26 Akim Demaille <akim@epita.fr>Version 2.50a.2001-06-25 Pavel Roskin <proski@gnu.org>* tests/atspecific.m4 (AT_CHECK_MACRO): Accept one moreargument, AUTOCONF-FLAGS.* tests/mktests.sh (update_exclude_list): AddAC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.* tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS andAC_FUNC_WAIT3 with "-W no-obsolete".2001-06-25 Akim Demaille <akim@epita.fr>* tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.2001-06-25 Akim Demaille <akim@epita.fr>* autoscan.in (%macro): Now maps from word to list of macros.(&init_tables): Die when a word which is already handled byexplicit macros is mapped to the default macro.(&print_unique): Remove, inlined in...(&output_kind): here.(File::Basename): Use it.(&output): Sort the CONFIG_FILES.* acheaders: Normalize.* acfunctions: Likewise.2001-06-25 Akim Demaille <akim@epita.fr>* aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compilercharacteristics in the logs.Suggested by Mo DeJong.2001-06-24 Akim Demaille <akim@epita.fr>* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)(AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.* doc/autoconf.texi (Autoconf 2.13): New section.2001-06-24 Akim Demaille <akim@epita.fr>* autoconf.in (Task traces): Separate the error messages from thetraces to improve robustness.2001-06-23 Akim Demaille <akim@epita.fr>* tests/torture.at (AC_ARG_VAR): Make it a single test instead ofthree as failures are unlikely, and speed matters.2001-06-23 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Redefined M4 Macros): New.2001-06-23 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Considerinttypes.h is missing if it conflicts with sys/types.h, as on IRIX5.3.2001-06-23 Paolo Bonzini <bonzini@gnu.org>* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing ofconfig.status targets to after the evaluation of the INIT-CMDS.Double quote config.status targets (used to be single quoted).2001-06-23 Akim Demaille <akim@epita.fr>* tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):Check the content of the created file.Check the ./config.status command line invocation.2001-06-23 Akim Demaille <akim@epita.fr>* tests/foreign.at (Libtool): Reject prehistoric versions.2001-06-23 Akim Demaille <akim@epita.fr>* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust topreexisting files matching a.*.2001-06-23 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages onstderr.* doc/autoconf.texi (AC_ARG_VAR): Update.2001-06-21 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning whenprecious variables have changed.* tests/torture.at (AC_ARG_VAR): Adjust.2001-06-21 Akim Demaille <akim@epita.fr>./configure --program-suffix=foo produces `transform=s,$$,foo,;',but some sed choke on multiple `;', and other tools (e.g.,Automake), include the separator themselves.* acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>* doc/autoconf.texi (Functions Portability): Rename as...(Function Portability): this.(Function Portability): Document potential problems with unlink().2001-06-19 Paul Eggert <eggert@twinsun.com>* NEWS, doc/autoconf.texi: Document quadrigraphs.2001-06-18 Akim Demaille <akim@epita.fr>* acfunctions.m4 (AC_FUNC_FORK): Fix typos.2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>* acfunctions.m4: (AC_FUNC_VFORK) rename as...(_AC_FUNC_VFORK): this.Remove AC_DEFINEs and don't guess cross-compilation values.(_AC_FUNC_FORK): New, check whether fork() isn't just a stub.(AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK todefine HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork ifvfork doesn't work.Guess values if cross-compiling, but warn.* acfunctions: Add AC_FUNC_FORK.* doc/autoconf.texi: Document AC_FUNC_FORK. Give example to defineand vfork appropriately.2001-06-18 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Functions Portability): New section.2001-06-18 Akim Demaille <akim@epita.fr>* autoconf.in (M4): Pass --nesting-limit=1024, unless already setin $M4.Suggested by Andreas Schwab.2001-06-18 Akim Demaille <akim@epita.fr>* acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)(AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)(AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)(AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,and either AC_LANG_SOURCE or AC_LANG_PROGRAM.(AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (orthe converse).2001-06-18 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (ms): New index.(Macro Index): Rename as...(Autoconf Macro Index): this.(M4 Macro Index): New appendix.(Programming in M4): New chapter.Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.(Quoting): Rename as...(M$ Quotation): this.Be part of `Programming in M4).2001-06-18 Nicolas Joly <njoly@pasteur.fr>* tests/torture.at (AC_ARG_VAR): Set variables and export themin separate statements for compatibility with Tru64 v5.1.2001-06-17 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache thecurrent values of the precious variables, not the previouslycached values.Pass precious variables which are set to config.status.* doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.* tests/torture.at (AC_ARG_VAR): New.2001-06-15 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi: Move AC_FUNC_WAIT3 andAC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,and explain why and how to replace them.* acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.2001-06-15 Akim Demaille <akim@epita.fr>`build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.Reported by Bruno Haible.* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...(_AC_ARG_VAR_PRECIOUS): to here.2001-06-15 Pavel Roskin <proski@gnu.org>* acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of definingan unused pointer use cast to this type and `if' statement toavoid warnings from the compiler.(AC_HEADER_TIME): Likewise.* actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the memberin `if' statement to avoid warnings from the compiler. Declareac_aggr static to avoid the need to initialize it.2001-06-14 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Portable Shell): Move to follow `WritingMacros'.2001-06-13 Akim Demaille <akim@epita.fr>* m4/missing.m4, config/missing: Updated to Automake 1.4g's.Suggested by Alexander Mai.2001-06-13 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guardsys/types.h and sys/stat.h, and check for them.2001-06-13 Akim Demaille <akim@epita.fr>* acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =INCLUDES.2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>* acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11succeeds and only try adding libdnet upon a failure.2001-06-12 Akim Demaille <akim@epita.fr>* autoscan.in (&output_kind): Output the comment only if it exists.(%kind_comment): Add entry for `programs'.(&output_programs): Use &output_kind.(&output_functions, &output_identifiers, &output_headers)(&output_programs): Inline, and remove.2001-06-12 Akim Demaille <akim@epita.fr>* autoscan.in (%kind_comment): New.(output_kind): New.(output_functions, output_identifiers, output_headers): Use it.2001-06-12 Akim Demaille <akim@epita.fr>* autoscan.in (&print_unique): Take `$kind' and `$word' asarguments, to factor indirections into `%macro' and `%used'.(%generic_macro): Fix a typo.2001-06-12 Akim Demaille <akim@epita.fr>* aclibraries: New.* autoscan.in (@kinds): Add `libraries'.Use `@kinds' instead of hard coded lists.(%programs, %headers, %identifiers, %makevars, %libraries, %functions):Remove, replaced by...(%used): this.2001-06-12 Akim Demaille <akim@epita.fr>* autoscan.in (%functions_macros %headers_macros)(%identifiers_macros %programs_macros %makevars_macros): Remove,replaced by...(%macro): New.2001-06-11 Raja R Harinath <harinath@cs.umn.edu>* aclang.m4 (AC_NO_EXECUTABLES): Override_AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.2001-06-11 Akim Demaille <akim@epita.fr>* aclang.m4 (AC_NO_EXECUTABLES): Define the macros with theirtrailing new line.Reported by Andreas Schwab.2001-06-11 Akim Demaille <akim@epita.fr>* Makefile.am, Makefile.maint: Typos.2001-06-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Here-Documents): New section, gatheringdocumentation about here-documents.Use `href', not `uref', and other changes.2001-06-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Portable Shell Programming): Promoted as achapter.2001-06-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Limitations of Builtins): Complete thedescription of the here-docs penalties with Alexandre Oliva'sexplanations.2001-06-01 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi: Talk about here documents and speedups.Do not use "echo" on arbitrary strings.Spell "here-documents" consistently with the standard.2001-06-09 Akim Demaille <akim@epita.fr>* doc/autoconf.texi (Concept Index): Introduce it.Regenerate the menus.2001-06-09 Akim Demaille <akim@epita.fr>* Makefile.maint, GNUmakefile: New, from Jim Meyering.* config/prev-version.txt: New.* config/move-if-change: New, for GNU libc.2001-06-06 Pavel Roskin <proski@gnu.org>* tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.2001-06-06 Akim Demaille <akim@epita.fr>* acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to workproperly when $1 is not a literal.Fixes PR Autoconf/187, reported by Bram Moolenaar.2001-06-06 Akim Demaille <akim@epita.fr>Invoking AC_COPYRIGHT before AC_INIT fails.* Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.* acgeneral.m4 (_m4_divert(VERSION_FSF))(_m4_divert(VERSION_USER)): New.(AC_COPYRIGHT): $2 is the diversion to use.(_AC_INIT_COPYRIGHT): Use the FSF diversion.(AC_INIT): Remove dead comments as now it's commutative.2001-06-06 Akim Demaille <akim@epita.fr>* tests/semantics.at (AC_CHECK_LIB): Strengthen to reflectPR autoconf/187.2001-06-05 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'can be empty.`*dir' variables cannot be NONE.Reported by Mark Kettenis.2001-06-05 Paul Eggert <eggert@twinsun.com>* doc/autoconf.texi: Fix references to Solaris and SunOS versions.2001-06-04 Akim Demaille <akim@epita.fr>* acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)(AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)(AC_TR_SH): Move as...* m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)(AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)(AS_TR_SH): these.(_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)(_AS_TR_SH_PREPARE): New.(AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.* tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.2001-06-02 Akim Demaille <akim@epita.fr>* Makefile.am (.m4.m4f): Pass the options first.Fixes PR autoconf/182.2001-06-02 Nathan Sidwell <nathan@codesourcery.com>GNU getopt, when POSIXLY_CORRECT does not permute options andarguments. So pass the options first.Fixes PR autoconf/184.* autoconf.sh (m4_prefiles, m4f_prefiles): New variables.(run_m4): Remove files.(run_m4f): Remove.Update remainder of script to use them.(for warning in): Do not use a literal comma as it will not besplit by IFS.2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>* aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list ofFortran compilers to check.(_AC_PROG_F77_V): Add '-###' as a possible option to printinformation on library and object files.(AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilersto check.2001-06-02 Akim Demaille <akim@epita.fr>* autom4te.in (Request::@request): Declare with `vars', not `my',as it prevents updates via `do FILENAME'.2001-06-02 Akim Demaille <akim@epita.fr>* configure.in (standards_texi): Remove, dead code.2001-06-02 Akim Demaille <akim@epita.fr>* autom4te.in: New.2001-06-02 Pavel Roskin <proski@gnu.org>* acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the trapsfor signals other than 0 - exit with code 1.* m4sh.m4 (AS_TMPDIR): Likewise.* autoconf.in: Likewise. Also don't rely on exit == exit $?.* autoheader.in: Likewise.* autoreconf.in: Likewise.* tests/torture.at (Signal handling): New test for the above.2001-06-01 Akim Demaille <akim@epita.fr>* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the errormessage.2001-05-31 Akim Demaille <akim@epita.fr>* acfunctions, acheaders, acidentifiers, acmakevars, acprograms:Add copyright and comments.* acheaders: Add stdint.h.Suggested by Paul Eggert.2001-05-31 Akim Demaille <akim@epita.fr>* atgeneral.m4 (AT_INIT): Use $SHELL.* atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.2001-05-31 Akim Demaille <akim@epita.fr>* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Includestdint.h.From Paul Eggert and Lars Hecking.2001-05-31 Akim Demaille <akim@epita.fr>* tests/base.at: Adjust line numbers in error messages.2001-05-31 Akim Demaille <akim@epita.fr>* tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sureto emit the bangshe line.Reported by David Carter.2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>* aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list ofFortran (95) compilers to check.2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>* doc/autoconf.texi (Introduction, Pointers): Update the AutoconfMacro Archive URL.2001-05-23 Pavel Roskin <proski@gnu.org>* aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since_AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.(AC_PROG_CXXCPP): Likewise.2001-05-22 Akim Demaille <akim@epita.fr>* config: New directory.* configure.in: AC_CONFIG_AUX_DIR it.* tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.2001-05-22 Akim Demaille <akim@epita.fr>* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,* autoupdate.in: Specify the Emacs mode.* acversion.m4.in: Rename as...* acversion.m4: this.* tests/Makefile.am (CLEANFILES): More garbage.2001-05-22 Akim Demaille <akim@epita.fr>* autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:Rename as...* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:these.2001-05-21 Akim Demaille <akim@epita.fr>* configure.in: Bump to 2.50a.-----Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free SoftwareFoundation, Inc.This file is part of GNU Autoconf.GNU Autoconf is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Autoconf is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with autoconf; see the file COPYING. If not, write tothe Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,Boston, MA 02110-1301, USA.