]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
19 years ago* doc/autoconf.texi (Initializing configure, Shell Substitutions):
Paul Eggert [Wed, 14 Jun 2006 19:11:43 +0000 (19:11 +0000)] 
* 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>.

19 years agoRegenerate.
Ralf Wildenhues [Wed, 14 Jun 2006 05:54:48 +0000 (05:54 +0000)] 
Regenerate.

19 years agobehave -> behaves (fixing a typo in the previous patch).
Paul Eggert [Wed, 14 Jun 2006 05:14:09 +0000 (05:14 +0000)] 
behave -> behaves (fixing a typo in the previous patch).

19 years ago* doc/autoconf.texi: Some systematic minor improvements, as
Paul Eggert [Wed, 14 Jun 2006 05:08:20 +0000 (05:08 +0000)] 
* doc/autoconf.texi: Some systematic minor improvements, as
follows.  Use "makefile" when talking about makefiles
generally (which might be named "makefile" or "Makefile" or even
"foo.mk"), "Makefile" when talking about a specific makefile
called "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".  Minor
English-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 from
a section to a chapter, and all subnodes accordingly.
Redo the introductory wording to match the new organization.
(Installation Directory Variables): Use an example that is
closer to what Autoconf actually does.  Mention that VPATH's
value 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 longer
of practical concern.
(VPATH and Make): Reword the advice to make it clearer
that Autoconf and Automake support VPATH in non-GNU make, but
many packages have bugs in this area.
($< in Explicit Rules): Refer to Build Directories rather
than using a (non-VPATH-safe) example.
(Automatic Rule Rewriting): Mention the sort of disaster that
can ensue with Solaris-style rule rewriting with VPATH.

19 years agoRegenerate.
Paul Eggert [Wed, 14 Jun 2006 03:42:11 +0000 (03:42 +0000)] 
Regenerate.

19 years ago* doc/install.texi (Compilers and Options): Weaken the
Paul Eggert [Wed, 14 Jun 2006 03:41:56 +0000 (03:41 +0000)] 
* doc/install.texi (Compilers and Options): Weaken the
suggestion to use GNU make for VPATH builds.

19 years ago* lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O,
Ralf Wildenhues [Tue, 13 Jun 2006 18:03:30 +0000 (18:03 +0000)] 
* 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.

19 years ago* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
Ralf Wildenhues [Tue, 13 Jun 2006 17:02:59 +0000 (17:02 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
in sed regular expression.

19 years ago* doc/autoconf.texi (Installation Directory Variables):
Ralf Wildenhues [Thu, 8 Jun 2006 17:25:10 +0000 (17:25 +0000)] 
* 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.

19 years ago* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for
Paul Eggert [Wed, 7 Jun 2006 23:46:47 +0000 (23:46 +0000)] 
* 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>.

19 years ago* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
Ralf Wildenhues [Wed, 7 Jun 2006 18:24:01 +0000 (18:24 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around
`unused variable' compiler warning, for `-Wall -Werror'.
Report by Jaap Haitsma <jaap@haitsma.org>.

19 years ago* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
Paul Eggert [Wed, 7 Jun 2006 05:35:46 +0000 (05:35 +0000)] 
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in
case the compiler dumps core.  Problem reported for
OpenServer 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.

19 years ago* lib/freeze.mk: Quiet check-forbidden-patterns so the string
Ralf Wildenhues [Tue, 6 Jun 2006 20:31:55 +0000 (20:31 +0000)] 
* lib/freeze.mk: Quiet check-forbidden-patterns so the string
"ERROR" only shows up in "make check" output if there is an
error.

19 years ago* tests/tools.at (automatically allowed tokens): Fix typo.
Eric Blake [Tue, 6 Jun 2006 14:51:01 +0000 (14:51 +0000)] 
* tests/tools.at (automatically allowed tokens): Fix typo.

19 years ago* NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.
Paul Eggert [Tue, 6 Jun 2006 06:18:40 +0000 (06:18 +0000)] 
* NEWS: Don't blame non-GNU VPATH compatibility issues on Automake.

19 years ago* doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
Paul Eggert [Tue, 6 Jun 2006 01:44:53 +0000 (01:44 +0000)] 
* doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
typically overflows on x86 CPUs, even though the C standard
requires otherwise.

19 years agoUpdate time stamps.
Ralf Wildenhues [Mon, 5 Jun 2006 15:33:05 +0000 (15:33 +0000)] 
Update time stamps.

19 years ago* configure.ac (AC_INIT): Bump to 2.59e.
Ralf Wildenhues [Mon, 5 Jun 2006 13:32:11 +0000 (13:32 +0000)] 
* configure.ac (AC_INIT): Bump to 2.59e.
* NEWS: Update.

19 years ago.
Ralf Wildenhues [Mon, 5 Jun 2006 13:23:19 +0000 (13:23 +0000)] 
.

19 years agoVersion 2.59d. AUTOCONF-2.59d
Ralf Wildenhues [Mon, 5 Jun 2006 12:48:24 +0000 (12:48 +0000)] 
Version 2.59d.

19 years ago* config/texinfo.tex: Sync from upstream.
Ralf Wildenhues [Mon, 5 Jun 2006 12:21:45 +0000 (12:21 +0000)] 
* config/texinfo.tex: Sync from upstream.

19 years ago* bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
Ralf Wildenhues [Mon, 5 Jun 2006 12:16:06 +0000 (12:16 +0000)] 
* bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been
seen, invoke libtoolize with `--ltdl' argument.
* lib/autom4te.in (Autoreconf-preselections): Adjust.
* NEWS: Update.
Suggested by Eric Blake.

19 years ago* NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
Paul Eggert [Mon, 5 Jun 2006 08:39:57 +0000 (08:39 +0000)] 
* NEWS: Whoops!  AC_FUNC_STRNLEN isn't obsolescent.  Problem
reported by Ralf Wildenhues.
* doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.

19 years ago* THANKS: Update.
Ralf Wildenhues [Mon, 5 Jun 2006 08:28:32 +0000 (08:28 +0000)] 
* THANKS: Update.

19 years ago* doc/autoconf.texi: Modernize some of the references to Solaris.
Paul Eggert [Mon, 5 Jun 2006 08:20:28 +0000 (08:20 +0000)] 
* doc/autoconf.texi: Modernize some of the references to Solaris.

19 years ago* lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
Ralf Wildenhues [Mon, 5 Jun 2006 08:18:33 +0000 (08:18 +0000)] 
* lib/m4sugar/m4sugar.m4 (m4_require): Modify the error
message 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 identical
to...
(AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around
AT_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.

19 years ago* doc/autoconf.texi (Limitations of Usual Tools): Correct
Paul Eggert [Sun, 4 Jun 2006 20:22:48 +0000 (20:22 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Correct
information about race-free implementations of mkdir.

19 years agoRegenerate.
Paul Eggert [Sun, 4 Jun 2006 19:56:41 +0000 (19:56 +0000)] 
Regenerate.

19 years ago* bin/autoreconf.in (help): Document M4 environment variable.
Paul Eggert [Sun, 4 Jun 2006 19:56:27 +0000 (19:56 +0000)] 
* bin/autoreconf.in (help): Document M4 environment variable.
* bin/autoconf.as (Usage): Likewise.
* bin/autom4te.in (help): Likewise.
* doc/autoconf.texi (autom4te Invocation): Likewise.

19 years agoRegenerate.
Paul Eggert [Sun, 4 Jun 2006 07:39:19 +0000 (07:39 +0000)] 
Regenerate.

19 years ago* NEWS: GNU make now recommended for VPATH builds.
Paul Eggert [Sun, 4 Jun 2006 07:38:28 +0000 (07:38 +0000)] 
* 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 describe
currently-used (albeit perhaps old-fashioned) hosts.
Mention which ancient features no longer need to be worried about.
setgid -> set-group-ID
setuid -> 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 more
specific about why this file is generic.  Remove unnecessary
parens.  Remove misleading "only".  Remove obsolete advice
about csh.  Don't say "configure" takes awhile; say it
might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
and CC=c99 rather than CC=c89, as these are blessed by current
Posix.  Recommend GNU make if doing a VPATH build.

19 years ago* doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
Paul Eggert [Sat, 3 Jun 2006 23:21:06 +0000 (23:21 +0000)] 
* doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
examples involving shell prompts.

19 years ago* doc/autoconf.texi (Here-Documents): Add details about the
Paul Eggert [Fri, 2 Jun 2006 22:42:32 +0000 (22:42 +0000)] 
* doc/autoconf.texi (Here-Documents): Add details about the
pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
use "here-documents" instead of "here documents".

19 years ago* config/texinfo.tex, doc/standards.texi: Sync from upstream.
Ralf Wildenhues [Thu, 1 Jun 2006 18:17:54 +0000 (18:17 +0000)] 
* config/texinfo.tex, doc/standards.texi: Sync from upstream.

19 years ago* doc/autoconf.texi (File System Conventions): Warn about ":"
Paul Eggert [Thu, 1 Jun 2006 07:47:40 +0000 (07:47 +0000)] 
* doc/autoconf.texi (File System Conventions): Warn about ":"
anywhere in directory names.

19 years ago(AC_PROG_MKDIR_P): Improve the comment.
Paul Eggert [Wed, 31 May 2006 20:52:38 +0000 (20:52 +0000)] 
(AC_PROG_MKDIR_P): Improve the comment.

19 years ago(System Services): Do not document overriding EXEEXT via ac_cv_exeext=ext.
Paul Eggert [Wed, 31 May 2006 20:20:13 +0000 (20:20 +0000)] 
(System Services): Do not document overriding EXEEXT via ac_cv_exeext=ext.

19 years agoksh93g fix
Paul Eggert [Wed, 31 May 2006 19:53:38 +0000 (19:53 +0000)] 
ksh93g fix

19 years agoksh99g -> ksh93g
Paul Eggert [Wed, 31 May 2006 19:51:39 +0000 (19:51 +0000)] 
ksh99g -> ksh93g

19 years ago* lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
Paul Eggert [Wed, 31 May 2006 19:49:15 +0000 (19:49 +0000)] 
* lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
about quoting the case statement, just in case.
* doc/autoconf.texi (Particular Programs) <AC_PROG_MKDIR_P>:
Document that ${MKDIR_P} understands --.
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
comment.

19 years ago* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
Ralf Wildenhues [Wed, 31 May 2006 09:44:39 +0000 (09:44 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test
argument with leading hyphen.  Problem reported by Paul Eggert.

19 years ago* lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
Paul Eggert [Wed, 31 May 2006 01:28:06 +0000 (01:28 +0000)] 
* lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative
about 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 via
underquoting 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 this
undocumented and dangerous macro.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>.

19 years ago* lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether
Ralf Wildenhues [Tue, 30 May 2006 23:24:55 +0000 (23:24 +0000)] 
* 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>.

19 years agoFix typo.
Paul Eggert [Tue, 30 May 2006 07:38:17 +0000 (07:38 +0000)] 
Fix typo.

19 years ago* lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND,
Paul Eggert [Tue, 30 May 2006 07:28:01 +0000 (07:28 +0000)] 
* 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 the
pre-2006-05-26 definitions, but leave in the comments that
these 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.

19 years agoRegenerate.
Paul Eggert [Tue, 30 May 2006 05:47:56 +0000 (05:47 +0000)] 
Regenerate.

19 years ago* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
Paul Eggert [Tue, 30 May 2006 05:47:40 +0000 (05:47 +0000)] 
* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
the use of 'tr', since this is our only use of 'tr'.

19 years agoRegenerate.
Paul Eggert [Tue, 30 May 2006 05:18:28 +0000 (05:18 +0000)] 
Regenerate.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
Paul Eggert [Tue, 30 May 2006 05:17:17 +0000 (05:17 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
Don't assume 'grep' works on long lines, since AIX grep doesn't.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
Ralf Wildenhues [Sun, 28 May 2006 12:51:49 +0000 (12:51 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
the output file in the `${datarootdir}' test.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
Ralf Wildenhues [Sun, 28 May 2006 12:38:49 +0000 (12:38 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen
mention 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.

19 years ago* doc/autoconf.texi (autoheader Invocation): The first argument to
Paul Eggert [Sat, 27 May 2006 22:22:01 +0000 (22:22 +0000)] 
* doc/autoconf.texi (autoheader Invocation): The first argument to
`AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
alternatives and clear up the language a bit.

19 years ago* NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL,
Paul Eggert [Sat, 27 May 2006 21:59:04 +0000 (21:59 +0000)] 
* 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.html

19 years agoUndo previous change.
Paul Eggert [Sat, 27 May 2006 03:20:51 +0000 (03:20 +0000)] 
Undo previous change.

19 years ago* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG):
Paul Eggert [Sat, 27 May 2006 03:03:37 +0000 (03:03 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG):
Don't test whether getloadavg.c is where it belongs.

19 years ago* doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
Paul Eggert [Sat, 27 May 2006 02:54:33 +0000 (02:54 +0000)] 
* 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 race
conditions, since the problem is more a process than a thread
issue.  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 mimics
the 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 check
for race-free implementations.)
* tests/tools.at (autoconf: subdirectories): Adjust to above
changes, since MKDIR_P now might end in "/mkdir -p".

19 years ago* doc/autoconf.texi (autoheader Invocation): Mention that the
Paul Eggert [Sat, 27 May 2006 00:05:36 +0000 (00:05 +0000)] 
* doc/autoconf.texi (autoheader Invocation): Mention that the
first arg of AC_DEFINE_UNQUOTED must not be a literal.

19 years agoUpdate copyright year.
Paul Eggert [Sat, 27 May 2006 00:01:27 +0000 (00:01 +0000)] 
Update copyright year.

19 years ago* NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
Paul Eggert [Fri, 26 May 2006 22:29:50 +0000 (22:29 +0000)] 
* 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 space
in 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 get
removed.
(_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
exposed by quoting of eval argument.  Put the command on line line
so 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 needs
to be replaced.
* tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
lines, exposed by quoting of eval argument.

19 years ago* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
Ralf Wildenhues [Fri, 26 May 2006 17:25:35 +0000 (17:25 +0000)] 
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
initialization of `ac_cv_exeext', do not override it if it was
already set, unless it was set to `no', for compatibility with
Autoconf-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'.

19 years agoRevert these two patches:
Ralf Wildenhues [Fri, 26 May 2006 17:23:02 +0000 (17:23 +0000)] 
Revert these two patches:

2006-04-06  Eric Blake  <ebb9@byu.net>
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
check, s/ac_exeext/ac_cv_exeext/.  Fixes regression introduced
2006-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 to
  detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
  ac_file to the name of the default output file and call
  _AC_COMPILER_EXEEXT_WORKS.  Move the definition of ac_files and the
  initial `rm' of the candidate files...
(_AC_COMPILER_EXEEXT): ... here and simplify them.  Moreover, use
  the same list in subsequent `rm' calls, and for the temporary
  redefinition 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 (or
  no longer needed) by libtool.  Make it a cache check.
(_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
  copied 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.

19 years ago* doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
Ralf Wildenhues [Thu, 25 May 2006 17:23:11 +0000 (17:23 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
Fix description of how the buggy `sed' works.

19 years agoSync from Automake:
Ralf Wildenhues [Thu, 25 May 2006 10:25:44 +0000 (10:25 +0000)] 
Sync from Automake:

* lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides
ENOLCK.  Only mention `make -j' when applicable.  Only raise
fatal errors when `make -j' is involved.  Improve error message.

19 years ago* doc/autoconf.texi (Here-Documents): We now know more about
Ralf Wildenhues [Thu, 25 May 2006 08:49:02 +0000 (08:49 +0000)] 
* doc/autoconf.texi (Here-Documents): We now know more about
the variable expansion in here documents bug.
Thanks to Tim Rice and Stepan Kasal.

19 years ago* doc/autoconf.texi (Making testsuite Scripts): Add an example
Ralf Wildenhues [Thu, 25 May 2006 07:39:57 +0000 (07:39 +0000)] 
* doc/autoconf.texi (Making testsuite Scripts): Add an example
how to use TESTSUITEFLAGS.  Suggested by Eric Blake.

19 years ago* tests/autotest.at (Multiline command from M4 expansion):
Ralf Wildenhues [Wed, 24 May 2006 03:46:00 +0000 (03:46 +0000)] 
* tests/autotest.at (Multiline command from M4 expansion):
No failure to be expected if the shell quotes newlines in
commands in the `set -x' output.  Report by Tim Rice.
* THANKS: Update.

19 years agoFix a bug in the previous patch: it assumed that echo '...\...' had
Paul Eggert [Tue, 23 May 2006 23:30:57 +0000 (23:30 +0000)] 
Fix a bug in the previous patch: it assumed that echo '...\...' had
the BSD interpretation rather than the SysV interpretation.  Use
a short here-document instead.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
Paul Eggert [Tue, 23 May 2006 23:07:50 +0000 (23:07 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell
expansion in the here-documents used by config.status, as that
runs afoul of the Korn shell version M-12/28/93d bug described in
the Autoconf manual, and this in turn causes a Coreutils 5.95 build to
fail as described by Tim Rice and diagnosed by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>.

19 years ago* lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
Jim Meyering [Tue, 23 May 2006 21:23:32 +0000 (21:23 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
Fix typo introduced with 2006-04-02 change.  It reversed the sense
of the test.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
Paul Eggert [Tue, 23 May 2006 08:27:32 +0000 (08:27 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and
ac_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.

19 years ago* lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
Ralf Wildenhues [Tue, 23 May 2006 04:44:27 +0000 (04:44 +0000)] 
* lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret
`tr -d -' as bad option argument.  Work around this by deleting
an unrelated character.
Report by Tim Rice <tim@multitalents.net>.

19 years agoRegenerate.
Ralf Wildenhues [Mon, 22 May 2006 18:23:03 +0000 (18:23 +0000)] 
Regenerate.

19 years ago* doc/autoconf.texi (Particular Programs): Do not promise that
Paul Eggert [Mon, 22 May 2006 17:27:50 +0000 (17:27 +0000)] 
* doc/autoconf.texi (Particular Programs): Do not promise that
we always prefer the GNU version of the program, and that we
search 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 limitations
to the Limitations of Usual Tools section.
(Limitations of Usual Tools) <sed>: Mention script length
limitations 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 be
combined.

19 years ago* lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
Stepan Kasal [Mon, 22 May 2006 16:27:08 +0000 (16:27 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length
limits in Solaris 8 /usr/ucb/sed by testing a long script.

19 years ago* doc/autoconf.texi (Defining Symbols): Literal parameter of
Stepan Kasal [Mon, 22 May 2006 15:54:09 +0000 (15:54 +0000)] 
* doc/autoconf.texi (Defining Symbols): Literal parameter of
AC_DEFINE is now passed to m4_pattern_allow.
* NEWS: Mention that; likewise for AC_SUBST.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
the parameter to m4_pattern_allow.
* tests/tools.at: Add a check for that.

19 years ago* lib/autoconf/status.m4: Fix typos.
Stepan Kasal [Mon, 22 May 2006 10:40:40 +0000 (10:40 +0000)] 
* lib/autoconf/status.m4: Fix typos.

19 years ago* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
Stepan Kasal [Mon, 22 May 2006 10:37:15 +0000 (10:37 +0000)] 
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
only the files that this macro generates.

19 years ago* doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
Stepan Kasal [Mon, 22 May 2006 10:28:33 +0000 (10:28 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
the HP-UX sed limitation of 99 commands, labels do not count.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
in the comment.
(_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.

19 years ago* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
Paul Eggert [Mon, 22 May 2006 04:45:03 +0000 (04:45 +0000)] 
* 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) need
not double-quote uses of that variable, to accommodate the rare
case in which getmntent is available in none of the libraries
checked.  This happens at least on FreeBSD 5.0.

19 years ago* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
Paul Eggert [Sun, 21 May 2006 00:19:42 +0000 (00:19 +0000)] 
* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
ac_config_guess, ac_config_sub, and ac_configure, since evidently
some 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.

19 years ago* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
Ralf Wildenhues [Sat, 20 May 2006 15:49:27 +0000 (15:49 +0000)] 
* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
and set the language to C++ (analogous to the equivalent Fortran
tests).

19 years agotypo
Stepan Kasal [Sat, 20 May 2006 14:39:54 +0000 (14:39 +0000)] 
typo

19 years ago* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
Ralf Wildenhues [Sat, 20 May 2006 05:39:03 +0000 (05:39 +0000)] 
* 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.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
Paul Eggert [Fri, 19 May 2006 21:02:10 +0000 (21:02 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug
that caused config.status to generate 100-command sed scripts; the
portable limit is 99.

19 years ago* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
Ralf Wildenhues [Fri, 19 May 2006 08:11:26 +0000 (08:11 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
variable `ac_d' instead of `d' to avoid infringing namespace.
Report by Ralf Menzel.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend
Paul Eggert [Fri, 19 May 2006 04:14:13 +0000 (04:14 +0000)] 
* 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 from
the corresponding problem report by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html

19 years ago* lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
Paul Eggert [Fri, 19 May 2006 02:57:45 +0000 (02:57 +0000)] 
* lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU):
Quote some uses of shell variables if they might suffer unexpected
globbing.  This doesn't fix all instances of quoting problems that
I 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.

19 years ago* bin/autoreconf.in ($help): Reword according to the manual.
Ralf Wildenhues [Thu, 18 May 2006 06:50:35 +0000 (06:50 +0000)] 
* bin/autoreconf.in ($help): Reword according to the manual.
Suggested by Olly Betts.

19 years ago* bin/autoreconf.in: Pass the directory argument to
Ralf Wildenhues [Wed, 17 May 2006 02:20:15 +0000 (02:20 +0000)] 
* bin/autoreconf.in: Pass the directory argument to
`require_configure_ac'.  Fix comment.
* tests/torture.at (Configuring subdirectories): Expose this.
Reported by Olly Betts.

19 years ago* lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
Ralf Wildenhues [Wed, 17 May 2006 02:17:57 +0000 (02:17 +0000)] 
* lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm,
lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from
Automake as follows:

* lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
`$configure_in' instead of `configure.in', to preserve
directory component.

19 years ago* config/config.guess, config/config.sub, config/texinfo.tex,
Ralf Wildenhues [Wed, 17 May 2006 02:15:30 +0000 (02:15 +0000)] 
* config/config.guess, config/config.sub, config/texinfo.tex,
doc/make-stds.texi, doc/standards.texi: Sync from upstream.

19 years ago* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
Paul Eggert [Mon, 15 May 2006 02:22:28 +0000 (02:22 +0000)] 
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky
test for C99 conformance; (bool) 0.5 is an integer constant
expression, but (bool) -0.5 is not.  Problem reported by Fedor
Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.

19 years agoRegenerate.
Paul Eggert [Sat, 13 May 2006 09:55:13 +0000 (09:55 +0000)] 
Regenerate.

19 years ago* doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
Paul Eggert [Sat, 13 May 2006 09:54:51 +0000 (09:54 +0000)] 
* doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
Warn about obsolete install-sh files.  Remove stray sentence
fragment and fix cross reference.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
install -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, so
that we don't require $INSTALL to be thread-safe.  Move comments
out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
of AC_PROG_INSTALL.  Output a message saying that we're checking
mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
MKDIR_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 defeated
a dnl.
* tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.

19 years agoUpdate scriptversion.
Paul Eggert [Thu, 11 May 2006 19:51:12 +0000 (19:51 +0000)] 
Update scriptversion.

19 years agoSync from Automake, as follows:
Paul Eggert [Thu, 11 May 2006 19:43:58 +0000 (19:43 +0000)] 
Sync from Automake, as follows:

2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* config/install-sh: Initialize IFS, so field splitting isn't
turned 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.  Fixes
PR automake/483.  Report by Dennis J. Linse.
(autom4te): Document in `missing --help'.

19 years agoInsist on install -d, and have mkdir -p replacement rely on that.
Paul Eggert [Wed, 10 May 2006 23:44:19 +0000 (23:44 +0000)] 
Insist on install -d, and have mkdir -p replacement rely on that.

19 years agoInsist that install -d works, and have mkdir -p fall back on that.
Paul Eggert [Wed, 10 May 2006 23:43:36 +0000 (23:43 +0000)] 
Insist that install -d works, and have mkdir -p fall back on that.

19 years ago(Particular Programs): AC_PROG_MKDIR_P falls back on $INSTALL, not
Paul Eggert [Wed, 10 May 2006 23:42:59 +0000 (23:42 +0000)] 
(Particular Programs): AC_PROG_MKDIR_P falls back on $INSTALL, not
necessarily install-sh.

19 years ago* NEWS: New macro AC_PROG__MKDIR_P. AS_MKDIR_P is now more robust.
Paul Eggert [Wed, 10 May 2006 23:05:15 +0000 (23:05 +0000)] 
* 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 Ralf
Wildenhues and Stepan Kasal.  There is still a race condition
on 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 to
AC_PROG_MKDIR_P from AS_MKDIR_P.
(Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
earlier editions are not (including Automake 1.8.3).
Do not suggest mkinstalldirs for thread-safety.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
presence of special characters and race conditions.
* tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
in Autoconf's name space.

* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
from Automake with minor changes.
* doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.