]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
18 years ago* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
Paul Eggert [Fri, 29 Dec 2006 06:44:41 +0000 (06:44 +0000)] 
* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
preprocessor macro arguments in traced name.
* doc/autoconf.texi (Defining symbols): Document longstanding
support for AC_DEFINE-ing macros with arguments, and document
behavior when the same variable has multiple AC_DEFINEs.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
macros directly, giving much shorter and simpler code.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
Paul Eggert [Thu, 28 Dec 2006 23:20:18 +0000 (23:20 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Insert a
space before "$ac_configure_args" to prevent a 'config.status
--recheck' failure if ac_configure_args doesn't contain a leading
space.  This works around a problem with the XEmacs configure.ac,
which uses the (undocumented) ac_configure_args variable
inconsistently with Autoconf.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
Paul Eggert [Fri, 22 Dec 2006 08:42:17 +0000 (08:42 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
Include <limits.h>, and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'.  Problem reported by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
Also, don't assume time_t uses two's complement.

18 years ago* tests/torture.at (Substitute a 2000-byte string): Avoid using
Ralf Wildenhues [Wed, 20 Dec 2006 00:09:44 +0000 (00:09 +0000)] 
* tests/torture.at (Substitute a 2000-byte string): Avoid using
a 10kB long (multi-line) string literal, OpenServer 5.0.7 ksh
dumps core on it.  Report by Tim Rice.

18 years ago* lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
Paul Eggert [Tue, 19 Dec 2006 05:41:18 +0000 (05:41 +0000)] 
* lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
--disable-option-checking to --help output even when
AC_PRESERVE_HELP_ORDER is not used.
(_AC_INIT_PARSE_ENABLE2): Print warnings using actual --enable or
--with argument, rather than argument with [-.] replaced by
underscores.
* NEWS: Fix typo in previous change; the news was in the
wrong section.

18 years agoRegenerate.
Paul Eggert [Mon, 18 Dec 2006 20:11:11 +0000 (20:11 +0000)] 
Regenerate.

18 years ago* NEWS: Warnings are now generated by default for unknown
Paul Eggert [Mon, 18 Dec 2006 20:10:05 +0000 (20:10 +0000)] 
* NEWS: Warnings are now generated by default for unknown
--enable-* and --with-* options.
* doc/autoconf.texi (Option Checking): Renamed from
(Configure Option Checking).  Tighten up the wording a bit.
(External Software, Package Options): Cross-reference to Option
Checking, and use this to shorten our section.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
"$x" to test "x$foo" != x.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
Don't warn if $enable_option_checking is "no".
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
ac_unrecognized_opts to the empty string.
Don't echo the unrecognized opts, as this might mishandle
backslashes or leading -.
(AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
usage next to the other --disable-FEATURE options in the
help string.

2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>

* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
(_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
Print warning for unrecognized --with and --enable options
(AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
Disable option checking when subdirs are configured.
(AC_OUTPUT): If warnings are enabled, print warning about
unrecognized --with and --enable options at the end of
the configure output (as well as at the beginning).
* doc/autoconf.texi (Option Checking): New node.
Document new option warning functionality.

18 years ago* configure.ac (AC_INIT): Bump version, since 2.61a is released.
Eric Blake [Sat, 16 Dec 2006 19:09:50 +0000 (19:09 +0000)] 
* configure.ac (AC_INIT): Bump version, since 2.61a is released.
* NEWS: Start news for current version.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
Paul Eggert [Sat, 16 Dec 2006 05:38:41 +0000 (05:38 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
Define HAVE_GETMNTENT to 1, not to the empty string.
Problem originally reported by Jochen Friedrich in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.

18 years ago(_AC_FC_WRAPPERS): Fix typos in previous patch.
Paul Eggert [Fri, 15 Dec 2006 18:34:20 +0000 (18:34 +0000)] 
(_AC_FC_WRAPPERS): Fix typos in previous patch.

18 years agoThis change prompted by a problem report by Andrey Simonenko in
Paul Eggert [Fri, 15 Dec 2006 18:25:23 +0000 (18:25 +0000)] 
This change prompted by a problem report by Andrey Simonenko in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
* doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
object-like macros only, in the traditional portable character
set.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
Warn about attempts to define things that are not identifiers.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
awful hack that AC_DEFINEd macro names containing parentheses.

18 years ago* doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
Paul Eggert [Tue, 12 Dec 2006 17:53:13 +0000 (17:53 +0000)] 
* doc/autoconf.texi: Undo some of the 2006-12-10 change.  It was
too drastic, even if Texinfo in theory requires it for info mode.

(config.status Invocation): Renamed back from Recreating a
Configuration).
(Obsolete config.status Use): Renamed back from Obsolete Recreation.
(Autoconf 2.13): Renamed back from 20th-century Autoconf 2.

18 years ago* NEWS: Version 2.61a. AUTOCONF-2.61a v2.61a
Paul Eggert [Tue, 12 Dec 2006 00:54:52 +0000 (00:54 +0000)] 
* NEWS: Version 2.61a.

2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>

18 years agoAdd *.1.
Paul Eggert [Tue, 12 Dec 2006 00:10:51 +0000 (00:10 +0000)] 
Add *.1.

18 years agoDocument FSEEKO fix.
Paul Eggert [Mon, 11 Dec 2006 17:45:26 +0000 (17:45 +0000)] 
Document FSEEKO fix.

18 years ago* NEWS: Document changes with echo and printf, and the lack
Paul Eggert [Mon, 11 Dec 2006 17:39:00 +0000 (17:39 +0000)] 
* NEWS: Document changes with echo and printf, and the lack
of limits on the total size of multi-line values of substituted
variables.

18 years agoInitial version, stolen from coreutils with a lot of changes.
Paul Eggert [Mon, 11 Dec 2006 17:07:51 +0000 (17:07 +0000)] 
Initial version, stolen from coreutils with a lot of changes.

18 years ago* doc/autoconf.texi (Writing Autoconf Input): Renamed from
Paul Eggert [Mon, 11 Dec 2006 07:12:06 +0000 (07:12 +0000)] 
* doc/autoconf.texi (Writing Autoconf Input): Renamed from
Writing configure.ac.
(Autoconf Input Layout): Renamed from configure.ac Layout.
(Recreating a Configuration): Renamed from config.status Invocation.
(Obsolete Recreation): Renamed from Obsolete config.status Use.
(acconfig Header): Renamed from acconfig.h.
(20th-century Autoconf 2): Renamed from Autoconf 2.13.
(Writing Testsuites): Renamed from Writing testsuite.at.
(Autom4te Cache): Renamed from autom4te.cache.

18 years ago* BUGS: Remove mention of VPATH problem, since it's now documented
Paul Eggert [Mon, 11 Dec 2006 06:40:13 +0000 (06:40 +0000)] 
* BUGS: Remove mention of VPATH problem, since it's now documented
not to be a bug in the Autoconf build procedure itself, but rather
a problem with the proprietary `make' programs.

* doc/autoconf.texi (Build Directories): Add a cross reference
to VPATH and Make.

* build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
* doc/standards.texi: Sync from gnulib.

18 years agoRemove man files from CVS, as they're generated automatically.
Paul Eggert [Mon, 11 Dec 2006 06:39:08 +0000 (06:39 +0000)] 
Remove man files from CVS, as they're generated automatically.

18 years agoRemove from CVS, as these files are generated automatically.
Paul Eggert [Mon, 11 Dec 2006 06:37:18 +0000 (06:37 +0000)] 
Remove from CVS, as these files are generated automatically.

18 years ago* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
Paul Eggert [Thu, 7 Dec 2006 06:39:40 +0000 (06:39 +0000)] 
* lib/autoconf/c.m4 (_AC_PROG_CC_C89): Also try -xc99=all, for Sun
C 5.8 on Solaris 10.  Using -xc99=all rather than -xc99 bypasses
the buggy -xc99 option of Forte Developer 7 C on Solaris 9.

18 years agoRegenerate.
Ralf Wildenhues [Thu, 7 Dec 2006 05:17:38 +0000 (05:17 +0000)] 
Regenerate.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
Ralf Wildenhues [Thu, 7 Dec 2006 05:16:59 +0000 (05:16 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Drop the
`CEOF$ac_eof' special marker, the awk script cannot contain a
line matching `^CEOF', so this is not needed any more.
* tests/torture.at (Substitute a newline): Expose the `%!_!# '
special marker in the test.

18 years ago* tests/tools.at (autom4te preselections): Use `find -newer';
Stepan Kasal [Wed, 6 Dec 2006 21:20:58 +0000 (21:20 +0000)] 
* tests/tools.at (autom4te preselections): Use `find -newer';
remove one of the sleeps.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
Stepan Kasal [Wed, 6 Dec 2006 21:17:48 +0000 (21:17 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Make it
more readable, using ...
(_AC_INIT_PARSE_ENABLE2): ... this new helper macro.

18 years ago* doc/autoconf.texi (autoheader Invocation): Do not double-
Stepan Kasal [Wed, 6 Dec 2006 13:08:02 +0000 (13:08 +0000)] 
* doc/autoconf.texi (autoheader Invocation): Do not double-
quote the parameter of `AH_BOTTOM' in the example.

18 years ago* doc/autoconf.texi (Configuration Headers): Remove the
Stepan Kasal [Wed, 6 Dec 2006 12:12:31 +0000 (12:12 +0000)] 
* doc/autoconf.texi (Configuration Headers): Remove the
example with multiple input files.
(autoheader Invocation): Encourage `AH_BOTTOM', discouraging
multiple input files.

18 years agoRegenerate.
Ralf Wildenhues [Tue, 5 Dec 2006 21:36:37 +0000 (21:36 +0000)] 
Regenerate.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
Ralf Wildenhues [Tue, 5 Dec 2006 21:36:25 +0000 (21:36 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
creating the awk substitution script, handle one input line at a
time, so that the maximum length of a substituted (multi-line)
value is not limited by the size of the sed pattern space.
The trade-off is a slightly repetitive sed script.
* doc/autoconf.texi (Limitations of Usual Tools): Branch labels
can only have up to 7 characters, due to Solaris 10 /bin/sed.
* tests/torture.at (Substitute a 2000-byte string): Increase the
test with several long lines, they should not be caught by sed
limits any more.

18 years ago* tests/tools.at (autom4te preselections): New test, to flag
Ralf Wildenhues [Tue, 5 Dec 2006 21:08:50 +0000 (21:08 +0000)] 
* tests/tools.at (autom4te preselections): New test, to flag
entries missing from autom4te.cfg.
Report by David Byron <dbyron@hheld.com>.

18 years ago* tests/torture.at (Substitute a 2000-byte string): Actually use
Ralf Wildenhues [Tue, 5 Dec 2006 18:57:06 +0000 (18:57 +0000)] 
* tests/torture.at (Substitute a 2000-byte string): Actually use
AC_PROG_AWK, so the last change works as intended.
(Substitute and define special characters): Likewise.
(Substitute a newline): Likewise.

18 years agoRegenerate.
Ralf Wildenhues [Tue, 5 Dec 2006 06:00:52 +0000 (06:00 +0000)] 
Regenerate.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
Ralf Wildenhues [Tue, 5 Dec 2006 06:00:42 +0000 (06:00 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `$AWK'
instead of `awk' consistently.
(_AC_OUTPUT_CONFIG_STATUS): Initialize $AWK.
* tests/torture.at (Torturing config.status): Test both the
result of AC_PROG_AWK and plain awk.
(Substitute a 2000-byte string): Likewise.
(Substitute and define special characters): Likewise.
(Substitute a newline): Likewise.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
Paul Eggert [Mon, 4 Dec 2006 23:54:25 +0000 (23:54 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko
can be assigned to a function pointer.  Problem reported by
Peter Palfrader in <http://bugs.debian.org/401377>.  Based on
part of a patch by Ralf Wildenhues in that same bug report.

18 years ago* tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
Paul Eggert [Fri, 1 Dec 2006 19:36:56 +0000 (19:36 +0000)] 
* tests/mktests.sh (ac_exclude_list): Exclude AC_FUNC_SETVBUF_REVERSED.
* tests/semantics.at (AC_FUNC_SETVBUF_REVERSED): New test.

18 years ago* lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
Paul Eggert [Fri, 1 Dec 2006 19:21:03 +0000 (19:21 +0000)] 
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in
cross-compiling from cygwin to mingw.
Reported by Bob Rossi.  This resurrects the 2000-11-30 patch to
aclang.m4, which was mistakenly removed in the 2001-09-17 patch
to lib/autoconf/c.m4.

18 years agoRegenerate.
Paul Eggert [Fri, 1 Dec 2006 18:55:51 +0000 (18:55 +0000)] 
Regenerate.

18 years ago* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
Paul Eggert [Fri, 1 Dec 2006 18:32:34 +0000 (18:32 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Use a longer test
string for more reliable failure.  Wrap the entire test that
causes the broken Solaris printf to dump core, in a subshell,
so the segmentation fault message is reliably suppressed.
Fix shell expansion errors by using /usr/ucb/echo always;
avoid an error on systems without it by another subshell.
Avoid m4 expansion of `$1'.  Set the zeroth argument of the
subshell-$as_echo to `as_echo', for better error message.

18 years agoRegenerate.
Ralf Wildenhues [Tue, 28 Nov 2006 06:20:25 +0000 (06:20 +0000)] 
Regenerate.

18 years ago* lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
Ralf Wildenhues [Tue, 28 Nov 2006 06:20:17 +0000 (06:20 +0000)] 
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): If `BASH_ARGV' or
`BASH_SOURCE' contain a newline, set them to empty, as they may
not be unset.

18 years agoRegenerate.
Paul Eggert [Tue, 28 Nov 2006 03:34:48 +0000 (03:34 +0000)] 
Regenerate.

18 years agoTurn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
Paul Eggert [Tue, 28 Nov 2006 03:29:47 +0000 (03:29 +0000)] 
Turn AC_FUNC_SETVBUF_REVERSED into a noop.  It's been obsolete for
years and is too hard to maintain now.  The last straw was
reported by Jerker Baeck in
<http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
* NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
* doc/autoconf.texi (Particular Functions): Move
AC_FUNC_SETVBUF_REVERSED from here...
(Obsolete Macros): ... to here.  Say that it does nothing now.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
Turn into (almost) a no-op.

18 years ago* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
Paul Eggert [Tue, 28 Nov 2006 00:26:45 +0000 (00:26 +0000)] 
* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_CONST):
(AC_C_VOLATILE):
Do not recommend via AN_FUNCTION, AN_IDENTIFIER, or AN_HEADER.
These macros are obsolescent and new applications shouldn't need them.
* lib/autoconf/functions.m4 (AC_FUNC_CLOSEDIR_VOID, AC_REPLACE_FNMATCH):
(AC_FUNC_GETLOADAVG, AC_FUNC_GETPGRP, AC_FUNC_MEMCMP):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, AC_FUNC_STAT, AC_FUNC_LSTAT):
(AC_FUNC_STRFTIME, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
(AC_FUNC_VPRINTF): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_DIRENT, AC_HEADER_STAT):
(AC_HEADER_STDC, AC_HEADER_SYS_WAIT, AC_HEADER_TIME): Likewise.
* lib/autoconf/types.m4 (AC_STRUCT_TM): Likewise.

18 years ago* doc/autoconf.texi (Setting Output Variables): Mention that
Paul Eggert [Mon, 27 Nov 2006 22:47:33 +0000 (22:47 +0000)] 
* doc/autoconf.texi (Setting Output Variables): Mention that
@VAR1@VAR2 has unspecified behavior.  Problem reported by
Ralf Wildenhues.
* NEWS: Mention this.

18 years agoRegenerate.
Paul Eggert [Mon, 27 Nov 2006 21:39:32 +0000 (21:39 +0000)] 
Regenerate.

18 years ago* Makefile.am: Put only a single '#' into the copyright notice,
Paul Eggert [Mon, 27 Nov 2006 21:35:37 +0000 (21:35 +0000)] 
* Makefile.am: Put only a single '#' into the copyright notice,
so that it's also present in the output file.  Standardize wording
in makefile copyright notices to match GNU coding standards.
* bin/Makefile.am: Likewise.
* doc/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* lib/freeze.mk: Likewise.
* lib/autoconf/Makefile.am: Likewise.
* lib/autoscan/Makefile.am: Likewise.
* lib/autotest/Makefile.am: Likewise.
* lib/m4sugar/Makefile.am: Likewise.
* man/Makefile.am: Likewise.
* tests/Makefile.am: Likewise.
* lib/emacs/Makefile.am: Remove copyright notice; it's just a
one-line file.

18 years agoRegenerate.
Ralf Wildenhues [Mon, 27 Nov 2006 18:59:50 +0000 (18:59 +0000)] 
Regenerate.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
Ralf Wildenhues [Mon, 27 Nov 2006 18:59:43 +0000 (18:59 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix error
in the sed script that mangles the awk script: delete up to the
first exclamation mark only.
* tests/torture.at (Substitute and define special characters):
Test '!' too.

18 years agoRegenerate.
Paul Eggert [Sun, 26 Nov 2006 17:58:16 +0000 (17:58 +0000)] 
Regenerate.

18 years agoRewrite config files generation: avoid quadratic growth in
Paul Eggert [Sun, 26 Nov 2006 17:53:10 +0000 (17:53 +0000)] 
Rewrite config files generation: avoid quadratic growth in
the number of substituted variables by using awk instead of sed
for the bulk of the substitutions.
* NEWS: Mention this.
* doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
forbidden in the output (and thus input) file.
* lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
(_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
generate just one large awk script for substitutions,
eliminating much of the earlier complexity, while adding some
new complexity.  Only expand the substitution templates at
configure time, for smaller configure script size.  If
_AC_SUBST_FILES are used, test 'awk' for working getline support
at config.status time.  If absent, interpolate through the
shell.  The awk script was written with much help
from Paolo Bonzini and Paul Eggert.
(_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
(_AC_SED_FRAG_NUM): Likewise.
(_AC_SUBST_CMDS): Renamed from...
(_AC_SED_CMDS): ...this.
(_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
* tests/torture.at (Substitute a 2000-byte string): Also
substitute a line with 1000 words, and a variable with several
long lines.
(Substitute and define special characters): Test awk special
characters, and put substitution input strings `@foo@' in the
output, to test that no recursion happens; test several other
combinations from Paolo Bonzini.

18 years ago* lib/autotest/general.m4 (AT_INIT): Undo recent changes
Paul Eggert [Sat, 25 Nov 2006 09:57:34 +0000 (09:57 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Undo recent changes
that replaced echo with AS_ECHO where this wasn't necessary.
Problem reportd by Ralf Wildenhues.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Port to Solaris 7,
where "/usr/bin/printf '%s\n' S" dumps core if S is long.
This is Sun bug 4206210.  Problem reportd by Ralf Wildenhues.

18 years ago* lib/freeze.mk (GREP): Removed, no need to initialize this.
Ralf Wildenhues [Fri, 24 Nov 2006 18:42:24 +0000 (18:42 +0000)] 
* lib/freeze.mk (GREP): Removed, no need to initialize this.

18 years ago* doc/autoconf.texi: Mention that if (i in a) doesn't work with traditional Awk.
Paul Eggert [Tue, 21 Nov 2006 20:54:35 +0000 (20:54 +0000)] 
* doc/autoconf.texi: Mention that if (i in a) doesn't work with traditional Awk.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Don't claim
Paul Eggert [Tue, 21 Nov 2006 17:29:01 +0000 (17:29 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Don't claim
that traditional Awk lacks 3-arg "split".  It has it.
Mention that FS must be a single character, and a few other
99-byte limits of traditional Awk.

18 years ago* tests/autotest.at (BSx641-newline in command):
Paul Eggert [Sun, 19 Nov 2006 01:14:34 +0000 (01:14 +0000)] 
* tests/autotest.at (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):
Use printf '%s\n' instead of echo, for portability to hosts
where echo interprets backslashes.  This will break on hosts
that lack printf, but for now let's assume all such hosts
are dead (if not, we should get reports of test failures).

18 years agoRegenerate.
Paul Eggert [Fri, 17 Nov 2006 21:10:38 +0000 (21:10 +0000)] 
Regenerate.

18 years ago'echo' has some portability problems, when given a first argument
Paul Eggert [Fri, 17 Nov 2006 21:04:54 +0000 (21:04 +0000)] 
'echo' has some portability problems, when given a first argument
with a leading '-', or when given any argument containing '\'.
Avoid using 'echo' in these cases.
* bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
argument might be unportable.
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
(_AC_FC_LIBRARY_LDFLAGS): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
(_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
(AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
(AC_PROG_MAKE_SET): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
(_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
(AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
(_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
(AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
* bin/autoconf.as: Redo verbose flag implementation, as the old
scheme wouldn't work with AS_ECHO.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
Don't use ECHO_T, since ECHO_N is now reliable.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
rather than using a here-document to put the script into a file.
(_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
use AS_ECHO.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
bug, but we might as well stop using ECHO_N and ECHO_C internally.
* lib/autotest/general.m4 (AT_SETUP): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
(_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
operand, as AS_ECHO requires.  Avoid double file name expansion.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
Don't set as_nl, since _AS_ECHO_PREPARE does that now.
(_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
(AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
Double-quote strings that would otherwise contain M4 comments.
* tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.

18 years agoRegenerate.
Paul Eggert [Fri, 17 Nov 2006 20:01:56 +0000 (20:01 +0000)] 
Regenerate.

18 years ago* configure.ac (AC_INIT): Bump to 2.61a.
Paul Eggert [Fri, 17 Nov 2006 20:01:04 +0000 (20:01 +0000)] 
* configure.ac (AC_INIT): Bump to 2.61a.
* NEWS: Likewise.

2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>

18 years agoRegenerate. AUTOCONF-2.61
Paul Eggert [Fri, 17 Nov 2006 19:05:17 +0000 (19:05 +0000)] 
Regenerate.

18 years agoVersion 2.61.
Paul Eggert [Fri, 17 Nov 2006 19:04:48 +0000 (19:04 +0000)] 
Version 2.61.

* configure.ac (AC_INIT): Bump to 2.61.
* NEWS: Likewise.

18 years ago* tests/autotest.at (Macro with backslash in a test title):
Paul Eggert [Fri, 17 Nov 2006 09:17:38 +0000 (09:17 +0000)] 
* tests/autotest.at (Macro with backslash in a test title):
Comment out for now, as this tests neither fails nor passes
reliably.  Problem reported by Ralf Wildenhues.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
Paul Eggert [Fri, 17 Nov 2006 00:37:17 +0000 (00:37 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
in previous change, which caused test failures.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
Paul Eggert [Fri, 17 Nov 2006 00:16:27 +0000 (00:16 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
code 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.

18 years agoImport upstream changes.
Paul Eggert [Fri, 17 Nov 2006 00:00:31 +0000 (00:00 +0000)] 
Import upstream changes.

18 years ago* NEWS: Document the AC_ARG_WITH change.
Paul Eggert [Mon, 13 Nov 2006 20:40:06 +0000 (20:40 +0000)] 
* 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, --without
options, transliterate also dots to underscores.
(_AC_ENABLE_IF): Transliterate also dots to underscores.
* doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
first argument may also contain dots.

18 years ago* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
Paul Eggert [Thu, 9 Nov 2006 21:03:54 +0000 (21:03 +0000)] 
* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
benefit of platforms like Solaris+GCC where it is common to have a
non-working g++ installation.

18 years ago* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
Paul Eggert [Thu, 9 Nov 2006 05:59:00 +0000 (05:59 +0000)] 
* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
and non-portable sed scripts, and use $CONFIG_SHELL when invoking
./micro-suite.

18 years ago* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
Paul Eggert [Wed, 8 Nov 2006 21:44:32 +0000 (21:44 +0000)] 
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
ac_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>

18 years ago* NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
Paul Eggert [Wed, 8 Nov 2006 08:26:43 +0000 (08:26 +0000)] 
* 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.

18 years ago* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Paul Eggert [Wed, 8 Nov 2006 06:25:34 +0000 (06:25 +0000)] 
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.

18 years ago* tests/torture.at (Configuring subdirectories): Do not skip
Ralf Wildenhues [Sat, 28 Oct 2006 09:41:07 +0000 (09:41 +0000)] 
* tests/torture.at (Configuring subdirectories): Do not skip
Automake 1.10 nor future Automake 11.1 (sic).

18 years agoHandle special characters in test case titles correctly.
Paul Eggert [Fri, 27 Oct 2006 23:05:33 +0000 (23:05 +0000)] 
Handle special characters in test case titles correctly.
* lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
properly.
(AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
* tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
argument.  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 the
backslash so that Bourne shells might actually see it as an escape
sequence.
(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 in
AT_SETUP call so that no M4 code is commented inadvertently somewhere.
The visible effect was a stray [] in the testsuite output.

18 years ago* doc/autoconf.texi (Limitations of Builtins): Do not invoke
Ralf Wildenhues [Fri, 27 Oct 2006 23:01:06 +0000 (23:01 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): Do not invoke
`trap ... 0' inside a function, for AIX sh.

18 years ago* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
Paul Eggert [Thu, 26 Oct 2006 19:30:32 +0000 (19:30 +0000)] 
* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
5363) simply issues a warning when dividing by zero at compile
time.  Problem reported by Elias Pipping.

18 years ago* THANKS: Update.
Eric Blake [Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)] 
* THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.

18 years ago* THANKS: Update.
Eric Blake [Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)] 
* THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.

18 years ago* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Eric Blake [Thu, 26 Oct 2006 14:41:44 +0000 (14:41 +0000)] 
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Also work with M4 1.4.8.

18 years ago* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Paul Eggert [Wed, 25 Oct 2006 20:21:05 +0000 (20:21 +0000)] 
* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Jim Meyering.

18 years ago* tests/tools.at (autom4te --force): New test, verifies that
Paul Eggert [Wed, 25 Oct 2006 18:31:02 +0000 (18:31 +0000)] 
* tests/tools.at (autom4te --force): New test, verifies that
`--force' always rewrites the output file.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Document that rm
Paul Eggert [Wed, 25 Oct 2006 00:35:45 +0000 (00:35 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Document that rm
needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.

18 years agoUpdate Simons email address.
Paul Eggert [Tue, 24 Oct 2006 19:47:07 +0000 (19:47 +0000)] 
Update Simons email address.

18 years ago* tools/trace.at (autoconf --trace: user macros): Test `$%'.
Stepan Kasal [Tue, 24 Oct 2006 19:44:31 +0000 (19:44 +0000)] 
* tools/trace.at (autoconf --trace: user macros): Test `$%'.

18 years ago* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Paul Eggert [Tue, 24 Oct 2006 19:34:09 +0000 (19:34 +0000)] 
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
reported by Nelson H. F. Beebe for Coreutils 6.4.

18 years ago.
Stepan Kasal [Tue, 24 Oct 2006 19:33:28 +0000 (19:33 +0000)] 
.

18 years ago* tests/tools.at (autoconf --trace: user macros): Remove test
Paul Eggert [Tue, 24 Oct 2006 19:25:46 +0000 (19:25 +0000)] 
* tests/tools.at (autoconf --trace: user macros): Remove test
for tracing multiline macros, since m4 1.4.7a uses a different
way to number lines.

18 years ago* bin/autom4te.in (handle_m4): Do not redirect stdin to
Stepan Kasal [Tue, 24 Oct 2006 18:25:30 +0000 (18:25 +0000)] 
* bin/autom4te.in (handle_m4): Do not redirect stdin to
/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.

18 years agoGive credit.
Stepan Kasal [Tue, 24 Oct 2006 16:03:52 +0000 (16:03 +0000)] 
Give credit.

18 years ago* bin/autom4te.in: With --force, always refresh the output
Stepan Kasal [Tue, 24 Oct 2006 15:57:57 +0000 (15:57 +0000)] 
* bin/autom4te.in: With --force, always refresh the output
file.

18 years ago* bin/autoconf.as: Fix the verbose message at the end.
Stepan Kasal [Tue, 24 Oct 2006 13:13:29 +0000 (13:13 +0000)] 
* bin/autoconf.as: Fix the verbose message at the end.

18 years agoRegenerate.
Paul Eggert [Mon, 23 Oct 2006 07:19:55 +0000 (07:19 +0000)] 
Regenerate.

18 years ago* configure.ac (AC_INIT): Bump to 2.60c.
Paul Eggert [Mon, 23 Oct 2006 07:18:28 +0000 (07:18 +0000)] 
* configure.ac (AC_INIT): Bump to 2.60c.
* NEWS: Likewise.

18 years agoVersion 2.60b. AUTOCONF-2.60b
Paul Eggert [Mon, 23 Oct 2006 06:50:26 +0000 (06:50 +0000)] 
Version 2.60b.

18 years agoImport this change from Texinfo:
Paul Eggert [Mon, 23 Oct 2006 06:21:53 +0000 (06:21 +0000)] 
Import this change from Texinfo:
2006-10-15  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex: automake 1.10

18 years agoRegenerate.
Paul Eggert [Mon, 23 Oct 2006 06:12:57 +0000 (06:12 +0000)] 
Regenerate.

18 years ago* NEWS: Remove AC_CACHE_CHECK_INT.
Paul Eggert [Mon, 23 Oct 2006 06:12:40 +0000 (06:12 +0000)] 
* NEWS: Remove AC_CACHE_CHECK_INT.
* doc/autoconf.texi (Caching Results): Likewise.
* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
AC_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.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
Ralf Wildenhues [Fri, 20 Oct 2006 16:25:30 +0000 (16:25 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.

18 years ago* lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
Eric Blake [Fri, 20 Oct 2006 01:34:32 +0000 (01:34 +0000)] 
* 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): Color
m4_mkstemp.
* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
* NEWS: Likewise.

18 years ago* doc/autoconf.texi (Setting Output Variables): Fix typo.
Eric Blake [Tue, 17 Oct 2006 02:31:44 +0000 (02:31 +0000)] 
* doc/autoconf.texi (Setting Output Variables): Fix typo.