]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
18 years ago* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.
Stepan Kasal [Tue, 27 Mar 2007 12:58:17 +0000 (12:58 +0000)] 
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment.

18 years ago* doc/autoconf.texi (Shellology): Rework treatment of the 'test'
Paul Eggert [Mon, 26 Mar 2007 20:19:23 +0000 (20:19 +0000)] 
* doc/autoconf.texi (Shellology): Rework treatment of the 'test'
command and case statements to make it a bit clearer and describe
more pitfalls.

18 years ago* doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
Paul Eggert [Fri, 23 Mar 2007 14:53:18 +0000 (14:53 +0000)] 
* doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
checks for unsigned long long int.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Warn about other
Paul Eggert [Mon, 19 Mar 2007 18:13:36 +0000 (18:13 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Warn about other
nonstandard grep R.E. escape sequences.

18 years ago(Limitations of Usual Tools): Also list \< and \>, and mention that
Jim Meyering [Sat, 17 Mar 2007 09:13:54 +0000 (09:13 +0000)] 
(Limitations of Usual Tools): Also list \< and \>, and mention that
HP-UX's grep, like the one from Solaris, does not support that syntax.

18 years ago* doc/autoconf.texi: Adjust grammar around use of "heuristics".
Jim Meyering [Sat, 17 Mar 2007 09:01:58 +0000 (09:01 +0000)] 
* doc/autoconf.texi: Adjust grammar around use of "heuristics".

18 years ago* doc/autoconf.texi (Specifying Names): `--host' does not
Stepan Kasal [Fri, 9 Mar 2007 19:51:24 +0000 (19:51 +0000)] 
* doc/autoconf.texi (Specifying Names): `--host' does not
change the build type.

18 years agoReplace the entry for my 2007-01-15 change by the right one.
Stepan Kasal [Fri, 9 Mar 2007 19:42:09 +0000 (19:42 +0000)] 
Replace the entry for my 2007-01-15 change by the right one.

18 years ago* doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
Paul Eggert [Tue, 6 Mar 2007 07:30:17 +0000 (07:30 +0000)] 
* doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
suggests AC_CONFIG_HEADERS.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
AC_CONFIG_HEADERS.  Problem reported by
Peter O'Gorman.

18 years agoRegenerate.
Paul Eggert [Thu, 1 Mar 2007 00:19:57 +0000 (00:19 +0000)] 
Regenerate.

18 years ago* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
Paul Eggert [Thu, 1 Mar 2007 00:18:28 +0000 (00:18 +0000)] 
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
Problem reported by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
* tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
universal binaries.  Problem reported by Elias Pipping.

18 years ago* NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
Paul Eggert [Wed, 28 Feb 2007 00:03:33 +0000 (00:03 +0000)] 
* NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
* doc/autoconf.texi (C Compiler): Document this.  There is a new
extra argument ACTION-IF-UNIVERSAL.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
Reindent for sanity's sake.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
Eric Blake [Sat, 24 Feb 2007 21:48:24 +0000 (21:48 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
copyright.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
(_AT_DECIDE_TRACEABLE): Fix syntax highlighting.

18 years ago* lib/autotest/general.m4 (AT_INIT): With --clean, return exit
Ralf Wildenhues [Tue, 13 Feb 2007 06:22:45 +0000 (06:22 +0000)] 
* lib/autotest/general.m4 (AT_INIT): With --clean, return exit
status of rm so we know when it failed.
If cleaning of test dir failed before running the test, warn.
Output the line separator in verbose mode before the warning
to make clear the warning belongs to the following test.

18 years agoRegenerate.
Ralf Wildenhues [Sun, 11 Feb 2007 17:26:01 +0000 (17:26 +0000)] 
Regenerate.

18 years ago* doc/autoconf.texi (Parentheses): Mention problem with (( in
Paul Eggert [Thu, 8 Feb 2007 23:42:46 +0000 (23:42 +0000)] 
* doc/autoconf.texi (Parentheses): Mention problem with (( in
shells.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
Paul Eggert [Thu, 8 Feb 2007 04:26:44 +0000 (04:26 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
errors introduced in last change.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
Paul Eggert [Wed, 7 Feb 2007 17:45:37 +0000 (17:45 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
an actual carriage return.  Use "ac_cr" to contain the actual
carriage return.
* doc/autoconf.texi (Limitations of Usual Tools): Document problem
with traditional Awk and begin.
* tests/torture.at (Limitations of Builtins): Document the problem
with Bash 2.03 printf.
(Substitute and define special characters):
Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
Ralf Wildenhues [Tue, 6 Feb 2007 18:52:33 +0000 (18:52 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
input from /dev/null in awk test, so even Solaris /usr/bin/awk
will not wait for input with a script containing only a BEGIN
rule.

18 years ago* doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
Paul Eggert [Sun, 4 Feb 2007 02:46:48 +0000 (02:46 +0000)] 
* doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
requirements.
* README: Likewise.

18 years ago* NEWS: Update copyright.
Eric Blake [Fri, 2 Feb 2007 14:11:43 +0000 (14:11 +0000)] 
* NEWS: Update copyright.

18 years ago* m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
Eric Blake [Fri, 2 Feb 2007 14:07:38 +0000 (14:07 +0000)] 
* m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
broken.
* configure.ac: Update error message.
* NEWS: Note that M4 1.4.5 or later is now a hard dependency.
Reported by Gary Vaughan and Jim Meyering, and problem analyzed
by Stepan Kasal:
http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html

18 years ago* THANKS (people): Update.
Eric Blake [Wed, 31 Jan 2007 23:49:25 +0000 (23:49 +0000)] 
* THANKS (people): Update.

18 years ago* doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
Paul Eggert [Mon, 29 Jan 2007 01:26:12 +0000 (01:26 +0000)] 
* doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
latest version.
(Shell Substitutions): Note problems with @{var:=value} etc.
Add a new section for problems with @{#var} etc.  Problem noted
by Ralf Wildenhues.  See:
http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html

18 years ago* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
Ralf Wildenhues [Tue, 23 Jan 2007 18:54:37 +0000 (18:54 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
substitution will still be done by the special code.
Report by Jim Meyering.

18 years ago* doc/autoconf.texi (File System Conventions): Mention that
Ralf Wildenhues [Tue, 23 Jan 2007 18:47:23 +0000 (18:47 +0000)] 
* doc/autoconf.texi (File System Conventions): Mention that
$PATH_SEPARATOR is for the build system only.
Report by Keith Marshall.

18 years agoRegenerate.
Ralf Wildenhues [Fri, 19 Jan 2007 06:55:05 +0000 (06:55 +0000)] 
Regenerate.

18 years ago* doc/autoconf.texi (Setting Output Variables): Mention that
Ralf Wildenhues [Fri, 19 Jan 2007 06:54:34 +0000 (06:54 +0000)] 
* doc/autoconf.texi (Setting Output Variables): Mention that
all non-NUL characters are ok in substituted values.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
(_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
carriage return for $AWK, needed for BSD awk.
* tests/torture.at (Substitute and define special characters):
Test all 8 bit non-NUL characters.
Report against Automake by Patrick Welche.

18 years ago* doc/autoconf.texi (Specifying Names): `--host' does not
Stepan Kasal [Tue, 16 Jan 2007 16:22:04 +0000 (16:22 +0000)] 
* doc/autoconf.texi (Specifying Names): `--host' does not
change the build type.

18 years agoRegenerate.
Ralf Wildenhues [Thu, 11 Jan 2007 21:17:43 +0000 (21:17 +0000)] 
Regenerate.

18 years ago* lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
Ralf Wildenhues [Thu, 11 Jan 2007 21:17:37 +0000 (21:17 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions.  Reports by Ian Macdonald
<iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.

18 years agoRegenerate.
Ralf Wildenhues [Wed, 10 Jan 2007 18:00:03 +0000 (18:00 +0000)] 
Regenerate.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
Ralf Wildenhues [Wed, 10 Jan 2007 17:59:57 +0000 (17:59 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
separate items of `ac_user_opts', to avoid long lines.
(_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.

18 years ago* doc/autoconf.texi: Fix some typos.
Ralf Wildenhues [Mon, 8 Jan 2007 19:54:10 +0000 (19:54 +0000)] 
* doc/autoconf.texi: Fix some typos.

18 years agoFix some wording problems noted by Paolo Bonzini in:
Paul Eggert [Fri, 5 Jan 2007 23:44:26 +0000 (23:44 +0000)] 
Fix some wording problems noted by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
* doc/autoconf.texi (Signed Overflow Examples): Give more
discussion about the allow_superuser_privileges example,
and change it a bit to make things clearer.
(Optimization and Wraparound): Clarify whether the compiler
will generate an infinite loop for the example derived from
Autoconf's mktime test.
(Signed Overflow Advice): Say that -ftrapv is meant for debugging.
Also, clarify unsigned multiplication overflow.

18 years ago* bin/Makefile.am (RELEASE_YEAR): New macro.
Eric Blake [Thu, 4 Jan 2007 16:43:06 +0000 (16:43 +0000)] 
* bin/Makefile.am (RELEASE_YEAR): New macro.
(edit): Use it to supply correct copyright year to scripts.
* bin/autoconf.as (version): Use it.
* bin/autoheader.in ($version): Likewise.
* bin/autom4te.in ($version): Likewise.
* bin/autoreconf.in ($version): Likewise.
* bin/autoscan.in ($version): Likewise.
* bin/autoupdate.in ($version): Likewise.
* bin/ifnames.in ($version): Likewise.

18 years ago* doc/autoconf.texi (Integer Overflow): Revised based on today's
Paul Eggert [Wed, 3 Jan 2007 07:18:38 +0000 (07:18 +0000)] 
* doc/autoconf.texi (Integer Overflow): Revised based on today's
feedback.  The most important changes document what happens when
you convert an out-of-range value to a signed integer type, and
say that (sum < a) != (b < 0) reliably detects overflow when sum =
a + b.

18 years ago* doc/autoconf.texi (Integer Overflow): Greatly expand and
Paul Eggert [Tue, 2 Jan 2007 23:06:07 +0000 (23:06 +0000)] 
* doc/autoconf.texi (Integer Overflow): Greatly expand and
rewrite, taking notions from the recent discussion on the gcc and
autoconf mailing lists; please see
http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
and follow the many links.
(Integer Overflow Basics, Signed Overflow Examples):
(Optimization and Wraparound, Signed Overflow Advice):
(Signed Integer Division): New sections.

SCALAR(0x828309c)
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
Software Foundation, Inc.

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.