]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
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.

19 years ago* config/install-sh: Update to Automake CVS version, as follows:
Paul Eggert [Wed, 10 May 2006 19:17:56 +0000 (19:17 +0000)] 
* 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.

19 years ago* tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
Ralf Wildenhues [Tue, 9 May 2006 21:26:36 +0000 (21:26 +0000)] 
* tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of
`./autom4te' to create `./testsuite', since the `all' target
will ensure its presence, but `installcheck' should not create
the uninstalled wrappers.

19 years ago* tests/torture.at (Unusual Automake input files): Skip if we
Ralf Wildenhues [Tue, 9 May 2006 21:25:42 +0000 (21:25 +0000)] 
* tests/torture.at (Unusual Automake input files): Skip if we
detect automake < 1.8.

19 years agoRegenerate.
Ralf Wildenhues [Tue, 9 May 2006 16:45:01 +0000 (16:45 +0000)] 
Regenerate.

19 years ago* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
Ralf Wildenhues [Sun, 7 May 2006 20:36:01 +0000 (20:36 +0000)] 
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc
is set to `no', then that overrides and sets ac_cv_prog_cc_c89
and ac_cv_prog_cc_c99 to `no', for backward compatibility.
* NEWS: Update.

19 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
Ralf Wildenhues [Sat, 6 May 2006 05:53:50 +0000 (05:53 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to
munge (multiple) white space and other oddities.
* tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape
single quotes in variable assignment.
(AC_ARG_VAR, configure invocation): Adjust tests to expose this
and similar failures by adding multiple spaces, tabs, and other
special characters.
Report and different test suggested by Francesco Romani
<fromani@gmail.com> and Andrew Church <achurch@achurch.org>.

19 years ago* lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
Ralf Wildenhues [Sat, 6 May 2006 05:52:28 +0000 (05:52 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape
single quotes, we only need to search for single quotes; this
both simplifies the search pattern, and makes us less
susceptible to `echo' variations for arguments not containing
single quotes.
(_AC_ARG_VAR_VALIDATE): Likewise.

19 years ago* doc/autoconf.texi (Special Shell Variables) <IFS>: Document
Ralf Wildenhues [Thu, 4 May 2006 07:08:19 +0000 (07:08 +0000)] 
* doc/autoconf.texi (Special Shell Variables) <IFS>: Document
`$*' and IFS concatenation issue with traditional shells and
bash-2.04.  Report by Seanster@Seanster.com.

19 years ago* doc/autoconf.texi (Limitations of Usual Tools): Identify more
Paul Eggert [Wed, 3 May 2006 18:28:56 +0000 (18:28 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Identify more
precisely which Mac OS X versions have the od problem.

19 years ago* doc/autoconf.texi (Integer Overflow):
Paul Eggert [Wed, 3 May 2006 01:08:27 +0000 (01:08 +0000)] 
* doc/autoconf.texi (Integer Overflow):
Mention the special case of integer division overflow.

19 years ago* doc/autoconf.texi: Use @option systematically.
Paul Eggert [Wed, 3 May 2006 00:36:32 +0000 (00:36 +0000)] 
* doc/autoconf.texi: Use @option systematically.

19 years ago* doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
Paul Eggert [Wed, 3 May 2006 00:30:23 +0000 (00:30 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
about 'od'.

19 years ago* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
Ralf Wildenhues [Tue, 2 May 2006 20:09:24 +0000 (20:09 +0000)] 
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
traditional shells like the Solaris one that do not use the
first IFS character for assembling `$*'.
Prompted by a related report from autoconf_bug@nro.ca.

19 years agoFix typo in previous checkin.
Paul Eggert [Tue, 2 May 2006 03:20:26 +0000 (03:20 +0000)] 
Fix typo in previous checkin.

19 years ago* doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
Paul Eggert [Mon, 1 May 2006 17:35:50 +0000 (17:35 +0000)] 
* doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
Mention more problems with the -e option.

19 years agoSupplement 2.59c release ChangeLog entry:
Ralf Wildenhues [Mon, 1 May 2006 09:01:32 +0000 (09:01 +0000)] 
Supplement 2.59c release ChangeLog entry:
* Makefile.maint (news-date-check): Do not require a leading `*'
before the release date in NEWS.

19 years ago* NEWS: Typo.
Ralf Wildenhues [Sun, 30 Apr 2006 17:06:13 +0000 (17:06 +0000)] 
* NEWS: Typo.
* doc/autoconf.texi (Systemology): Mention the Heirloom Project.

19 years ago* doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
Ralf Wildenhues [Sun, 30 Apr 2006 17:05:05 +0000 (17:05 +0000)] 
* doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
in 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 nicer
output.

19 years ago* doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
Ralf Wildenhues [Sun, 30 Apr 2006 17:04:06 +0000 (17:04 +0000)] 
* doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
continuous 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.

19 years agoAdd missing word in my ChangeLog entry.
Ralf Wildenhues [Sat, 29 Apr 2006 17:33:26 +0000 (17:33 +0000)] 
Add missing word in my ChangeLog entry.

19 years ago* doc/autoconf.texi (Limitations of Make): Clean up markup.
Ralf Wildenhues [Sat, 29 Apr 2006 06:24:23 +0000 (06:24 +0000)] 
* doc/autoconf.texi (Limitations of Make): Clean up markup.

19 years ago* ChangeLog: Typo.
Ralf Wildenhues [Sat, 29 Apr 2006 06:23:15 +0000 (06:23 +0000)] 
* ChangeLog: Typo.
* doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
DVI output.

19 years agoRegenerate.
Ralf Wildenhues [Fri, 28 Apr 2006 04:18:00 +0000 (04:18 +0000)] 
Regenerate.

19 years ago* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
Ralf Wildenhues [Fri, 28 Apr 2006 04:17:51 +0000 (04:17 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at

19 years ago* doc/autoconf.texi (Portable C and C++, Varities of Unportability):
Paul Eggert [Wed, 26 Apr 2006 20:30:54 +0000 (20:30 +0000)] 
* doc/autoconf.texi (Portable C and C++, Varities of Unportability):
(Integer Overflow, Null Pointers, Buffer Overruns):
(Floating Point Portability, Exiting Portably): New sections.
(Writing Test Programs): Fix some langauge.  Recommend exiting
with 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.

19 years ago* bin/autoconf.as (me): Replace by as_me.
Stepan Kasal [Tue, 25 Apr 2006 12:57:28 +0000 (12:57 +0000)] 
* bin/autoconf.as (me): Replace by as_me.

19 years ago* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
Paul Eggert [Tue, 25 Apr 2006 12:27:45 +0000 (12:27 +0000)] 
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
since as_me isn't set yet.

19 years agoRegenerate.
Ralf Wildenhues [Tue, 25 Apr 2006 07:04:20 +0000 (07:04 +0000)] 
Regenerate.

19 years agoUndo many of the recent changes, substituting these instead:
Paul Eggert [Mon, 24 Apr 2006 19:36:01 +0000 (19:36 +0000)] 
Undo many of the recent changes, substituting these instead:

* doc/autoconf.texi (Programming in M4sh): Comment out the
documentation of AS_BASENAME, for now.
(Shell Substitutions): Do not use AS_DIRNAME in an example.
(Limitations of Builtins) <basename>: Do not refer to
AS_BASENAME.
* bin/autoconf.as (me): Don't use AS_BASENAME.
(dir): Remove the unused variable.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_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 --".

19 years ago* doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
Paul Eggert [Mon, 24 Apr 2006 06:51:53 +0000 (06:51 +0000)] 
* doc/autoconf.texi (Runtime): Renamed from "Run Time".  All uses
of "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.

19 years ago* doc/autoconf.texi (Run Time): Document the exit status situation
Paul Eggert [Mon, 24 Apr 2006 05:54:54 +0000 (05:54 +0000)] 
* doc/autoconf.texi (Run Time): Document the exit status situation
with more accuracy and detail.

19 years ago* NEWS: Remove mention of AS_VAR_SET_BASENAME and AS_VAR_SET_DIRNAME.
Paul Eggert [Sun, 23 Apr 2006 08:41:06 +0000 (08:41 +0000)] 
* NEWS: Remove mention of AS_VAR_SET_BASENAME and AS_VAR_SET_DIRNAME.
* doc/autoconf.texi (Programming in M4sh): Remove mention of
AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME, and AS_BASENAME.
We have to keep AS_DIRNAME since it was part of a stable Autoconf,
but AS_BASENAME doesn't have to be supported.

19 years ago* NEWS: Update wording to say merely "should" for AS_DIRNAME
Paul Eggert [Sun, 23 Apr 2006 08:13:43 +0000 (08:13 +0000)] 
* NEWS: Update wording to say merely "should" for AS_DIRNAME
and AS_BASENAME.
* lib/m4sugar/m4sh.m4 (AS_BASENAME, AS_DIRNAME): Bring these
back, albeit undocumented.  Programs now have a grace period
to switch to AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.

19 years ago* doc/autoconf.texi (Introduction): The GNU Autoconf Macro
Ralf Wildenhues [Sun, 23 Apr 2006 07:13:52 +0000 (07:13 +0000)] 
* doc/autoconf.texi (Introduction): The GNU Autoconf Macro
Archive is not officially `GNU' any more.  Update URL.
(Defining Directories): Likewise
* lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.

19 years agoRegenerate.
Paul Eggert [Sun, 23 Apr 2006 06:50:11 +0000 (06:50 +0000)] 
Regenerate.

19 years ago* NEWS: Remove AS_DIRNAME and AS_BASENAME, replacing them with
Paul Eggert [Sun, 23 Apr 2006 06:49:53 +0000 (06:49 +0000)] 
* NEWS: Remove AS_DIRNAME and AS_BASENAME, replacing them with
AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
* doc/autoconf.texi (Programming in M4sh): Document this.  All uses
changed.  The newer interfaces are more reliable, as they allow
implementations that handle trailing newline correctly.  For now,
we're in a freeze, so I did not include the more-reliable
implementations, but I wanted to correct the interface before 2.60
goes out.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_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): Renamed from AS_BASENAME.  All uses changed.
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): Renamed from AS_DIRNAME.  All uses changed.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
Use "dirname --".
(AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME): New macros.
* tests/m4sh.at (AS_VAR_SET_DIRNAME): Renamed from AS_DIRNAME.
Test the new API.  Don't test internals, since they're probably
going to change anyway.
(AS_VAR_SET_BASENAME): Likewise, renamed from AS_BASENAME.

* bin/autoconf.as: Don't use AS_BASENAME or AS_DIRNAME.  This
removes a bootstrapping problem with the changes described above.
The AS_DIRNAME part wasn't used, anyway, and the AS_BASENAME
part can be done portably without all the deep Autoconf magic.

20 years agoRegenerate.
Paul Eggert [Wed, 19 Apr 2006 18:16:51 +0000 (18:16 +0000)] 
Regenerate.

20 years ago* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
Paul Eggert [Wed, 19 Apr 2006 18:16:36 +0000 (18:16 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
newline from the `trap' code to finish `config.log'; the NetBSD
/bin/sh resets the exit status after an empty command, as
documented in doc/autoconf.texi.

20 years agoRegenerate.
Ralf Wildenhues [Wed, 19 Apr 2006 08:02:45 +0000 (08:02 +0000)] 
Regenerate.

20 years ago* doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
Paul Eggert [Wed, 19 Apr 2006 07:10:13 +0000 (07:10 +0000)] 
* doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.

20 years ago* configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
Paul Eggert [Wed, 19 Apr 2006 04:13:48 +0000 (04:13 +0000)] 
* configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
some 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 uses
changed.  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 error
when sh -n does not work.

20 years ago* lib/Autom4te/FileUtils.pm: Sync from Automake.
Ralf Wildenhues [Mon, 17 Apr 2006 12:17:01 +0000 (12:17 +0000)] 
* lib/Autom4te/FileUtils.pm: Sync from Automake.

20 years ago* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
Paul Eggert [Mon, 17 Apr 2006 06:10:50 +0000 (06:10 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
use ">&-" 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.

* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
before opening config.log, to avoid hitting a bug on MinGW.

20 years ago* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
Paul Eggert [Sat, 15 Apr 2006 01:13:32 +0000 (01:13 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
AS_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.

20 years ago* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
Stepan Kasal [Fri, 14 Apr 2006 07:05:36 +0000 (07:05 +0000)] 
* lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
description.

20 years ago* NEWS: Update.
Ralf Wildenhues [Thu, 13 Apr 2006 07:31:47 +0000 (07:31 +0000)] 
* NEWS: Update.

20 years agoRegenerate.
Ralf Wildenhues [Wed, 12 Apr 2006 23:11:13 +0000 (23:11 +0000)] 
Regenerate.

20 years ago* configure.ac (AC_INIT): Bump to 2.59d.
Ralf Wildenhues [Wed, 12 Apr 2006 23:08:21 +0000 (23:08 +0000)] 
* configure.ac (AC_INIT): Bump to 2.59d.

20 years ago.
Ralf Wildenhues [Wed, 12 Apr 2006 23:03:55 +0000 (23:03 +0000)] 
.

20 years ago(news-date-check): Require no `*' before the date. AUTOCONF-2.59c
Ralf Wildenhues [Wed, 12 Apr 2006 21:24:56 +0000 (21:24 +0000)] 
(news-date-check): Require no `*' before the date.

20 years agoUse old date.
Ralf Wildenhues [Wed, 12 Apr 2006 21:20:19 +0000 (21:20 +0000)] 
Use old date.

20 years agoVersion 2.59c.
Ralf Wildenhues [Wed, 12 Apr 2006 21:19:27 +0000 (21:19 +0000)] 
Version 2.59c.

20 years agoRegenerate.
Ralf Wildenhues [Wed, 12 Apr 2006 20:41:46 +0000 (20:41 +0000)] 
Regenerate.